From d515ae16d52b829430c27facdff5589f44905a05 Mon Sep 17 00:00:00 2001 From: Kubernetes Prow Robot Date: Thu, 12 Dec 2024 18:59:28 +0000 Subject: [PATCH] Automated openapi generation from release-1.32 Signed-off-by: Kubernetes Prow Robot --- src/gen/.openapi-generator/FILES | 198 +- .../swagger.json-default.sha256 | 2 +- src/gen/AdmissionregistrationV1Api.md | 106 +- src/gen/AdmissionregistrationV1alpha1Api.md | 779 +- src/gen/AdmissionregistrationV1beta1Api.md | 58 +- src/gen/ApiextensionsV1Api.md | 34 +- src/gen/ApiregistrationV1Api.md | 34 +- src/gen/AppsV1Api.md | 536 +- src/gen/AuthenticationV1Api.md | 6 +- src/gen/AuthenticationV1beta1Api.md | 4 +- src/gen/AuthorizationV1Api.md | 82 +- src/gen/AutoscalingV1Api.md | 36 +- src/gen/AutoscalingV2Api.md | 36 +- src/gen/BatchV1Api.md | 244 +- src/gen/CertificatesV1Api.md | 42 +- src/gen/CertificatesV1alpha1Api.md | 26 +- src/gen/CoordinationV1Api.md | 32 +- src/gen/CoordinationV1alpha2Api.md | 828 + src/gen/CoreV1Api.md | 3448 ++- src/gen/CustomObjectsApi.md | 4 + src/gen/DiscoveryV1Api.md | 28 +- src/gen/EventsV1Api.md | 28 +- src/gen/FlowcontrolApiserverV1Api.md | 66 +- src/gen/InternalApiserverV1alpha1Api.md | 34 +- src/gen/NetworkingV1Api.md | 86 +- src/gen/NetworkingV1beta1Api.md | 1670 + src/gen/NodeV1Api.md | 26 +- src/gen/PolicyV1Api.md | 36 +- src/gen/RbacAuthorizationV1Api.md | 102 +- src/gen/ResourceV1alpha3Api.md | 3795 +++ src/gen/ResourceV1beta1Api.md | 3799 +++ src/gen/SchedulingV1Api.md | 26 +- src/gen/StorageV1Api.md | 132 +- src/gen/StorageV1alpha1Api.md | 26 +- src/gen/StorageV1beta1Api.md | 714 + src/gen/StoragemigrationV1alpha1Api.md | 34 +- src/gen/apis/AdmissionregistrationApi.ts | 16 +- src/gen/apis/AdmissionregistrationV1Api.ts | 132 +- .../apis/AdmissionregistrationV1alpha1Api.ts | 753 +- .../apis/AdmissionregistrationV1beta1Api.ts | 76 +- src/gen/apis/ApiextensionsApi.ts | 16 +- src/gen/apis/ApiextensionsV1Api.ts | 50 +- src/gen/apis/ApiregistrationApi.ts | 16 +- src/gen/apis/ApiregistrationV1Api.ts | 50 +- src/gen/apis/ApisApi.ts | 16 +- src/gen/apis/AppsApi.ts | 16 +- src/gen/apis/AppsV1Api.ts | 184 +- src/gen/apis/AuthenticationApi.ts | 16 +- src/gen/apis/AuthenticationV1Api.ts | 20 +- src/gen/apis/AuthenticationV1beta1Api.ts | 18 +- src/gen/apis/AuthorizationApi.ts | 16 +- src/gen/apis/AuthorizationV1Api.ts | 24 +- src/gen/apis/AutoscalingApi.ts | 16 +- src/gen/apis/AutoscalingV1Api.ts | 50 +- src/gen/apis/AutoscalingV2Api.ts | 50 +- src/gen/apis/BatchApi.ts | 16 +- src/gen/apis/BatchV1Api.ts | 80 +- src/gen/apis/CertificatesApi.ts | 16 +- src/gen/apis/CertificatesV1Api.ts | 54 +- src/gen/apis/CertificatesV1alpha1Api.ts | 46 +- src/gen/apis/CoordinationApi.ts | 16 +- src/gen/apis/CoordinationV1Api.ts | 46 +- src/gen/apis/CoordinationV1alpha2Api.ts | 1172 + src/gen/apis/CoreApi.ts | 16 +- src/gen/apis/CoreV1Api.ts | 825 +- src/gen/apis/CustomObjectsApi.ts | 18 +- src/gen/apis/DiscoveryApi.ts | 16 +- src/gen/apis/DiscoveryV1Api.ts | 46 +- src/gen/apis/EventsApi.ts | 16 +- src/gen/apis/EventsV1Api.ts | 46 +- src/gen/apis/FlowcontrolApiserverApi.ts | 16 +- src/gen/apis/FlowcontrolApiserverV1Api.ts | 80 +- src/gen/apis/InternalApiserverApi.ts | 16 +- src/gen/apis/InternalApiserverV1alpha1Api.ts | 50 +- src/gen/apis/LogsApi.ts | 14 +- src/gen/apis/NetworkingApi.ts | 16 +- src/gen/apis/NetworkingV1Api.ts | 106 +- src/gen/apis/NetworkingV1beta1Api.ts | 2202 ++ src/gen/apis/NodeApi.ts | 16 +- src/gen/apis/NodeV1Api.ts | 46 +- src/gen/apis/OpenidApi.ts | 14 +- src/gen/apis/PolicyApi.ts | 16 +- src/gen/apis/PolicyV1Api.ts | 50 +- src/gen/apis/RbacAuthorizationApi.ts | 16 +- src/gen/apis/RbacAuthorizationV1Api.ts | 128 +- src/gen/apis/ResourceApi.ts | 16 +- src/gen/apis/ResourceV1alpha3Api.ts | 4396 +++ src/gen/apis/ResourceV1beta1Api.ts | 4396 +++ src/gen/apis/SchedulingApi.ts | 16 +- src/gen/apis/SchedulingV1Api.ts | 46 +- src/gen/apis/StorageApi.ts | 16 +- src/gen/apis/StorageV1Api.ts | 158 +- src/gen/apis/StorageV1alpha1Api.ts | 46 +- src/gen/apis/StorageV1beta1Api.ts | 978 + src/gen/apis/StoragemigrationApi.ts | 16 +- src/gen/apis/StoragemigrationV1alpha1Api.ts | 50 +- src/gen/apis/VersionApi.ts | 16 +- src/gen/apis/WellKnownApi.ts | 14 +- src/gen/apis/baseapi.ts | 2 +- src/gen/auth/auth.ts | 2 +- src/gen/configuration.ts | 10 +- src/gen/http/http.ts | 4 +- src/gen/http/isomorphic-fetch.ts | 4 +- src/gen/index.ts | 20 +- src/gen/middleware.ts | 4 +- ...AdmissionregistrationV1ServiceReference.ts | 4 +- ...issionregistrationV1WebhookClientConfig.ts | 6 +- .../models/ApiextensionsV1ServiceReference.ts | 4 +- .../ApiextensionsV1WebhookClientConfig.ts | 6 +- .../ApiregistrationV1ServiceReference.ts | 4 +- .../models/AuthenticationV1TokenRequest.ts | 10 +- src/gen/models/CoreV1EndpointPort.ts | 4 +- src/gen/models/CoreV1Event.ts | 14 +- src/gen/models/CoreV1EventList.ts | 8 +- src/gen/models/CoreV1EventSeries.ts | 6 +- src/gen/models/DiscoveryV1EndpointPort.ts | 4 +- src/gen/models/EventsV1Event.ts | 14 +- src/gen/models/EventsV1EventList.ts | 8 +- src/gen/models/EventsV1EventSeries.ts | 6 +- src/gen/models/FlowcontrolV1Subject.ts | 10 +- src/gen/models/ObjectSerializer.ts | 2656 +- src/gen/models/RbacV1Subject.ts | 4 +- src/gen/models/StorageV1TokenRequest.ts | 4 +- src/gen/models/V1APIGroup.ts | 8 +- src/gen/models/V1APIGroupList.ts | 6 +- src/gen/models/V1APIResource.ts | 4 +- src/gen/models/V1APIResourceList.ts | 6 +- src/gen/models/V1APIService.ts | 10 +- src/gen/models/V1APIServiceCondition.ts | 4 +- src/gen/models/V1APIServiceList.ts | 8 +- src/gen/models/V1APIServiceSpec.ts | 6 +- src/gen/models/V1APIServiceStatus.ts | 6 +- src/gen/models/V1APIVersions.ts | 6 +- .../V1AWSElasticBlockStoreVolumeSource.ts | 4 +- src/gen/models/V1Affinity.ts | 10 +- src/gen/models/V1AggregationRule.ts | 6 +- src/gen/models/V1AppArmorProfile.ts | 4 +- src/gen/models/V1AttachedVolume.ts | 4 +- src/gen/models/V1AuditAnnotation.ts | 4 +- src/gen/models/V1AzureDiskVolumeSource.ts | 4 +- .../V1AzureFilePersistentVolumeSource.ts | 4 +- src/gen/models/V1AzureFileVolumeSource.ts | 4 +- src/gen/models/V1Binding.ts | 10 +- src/gen/models/V1BoundObjectReference.ts | 4 +- src/gen/models/V1CSIDriver.ts | 8 +- src/gen/models/V1CSIDriverList.ts | 8 +- src/gen/models/V1CSIDriverSpec.ts | 6 +- src/gen/models/V1CSINode.ts | 8 +- src/gen/models/V1CSINodeDriver.ts | 6 +- src/gen/models/V1CSINodeList.ts | 8 +- src/gen/models/V1CSINodeSpec.ts | 6 +- src/gen/models/V1CSIPersistentVolumeSource.ts | 8 +- src/gen/models/V1CSIStorageCapacity.ts | 8 +- src/gen/models/V1CSIStorageCapacityList.ts | 8 +- src/gen/models/V1CSIVolumeSource.ts | 6 +- src/gen/models/V1Capabilities.ts | 4 +- .../models/V1CephFSPersistentVolumeSource.ts | 6 +- src/gen/models/V1CephFSVolumeSource.ts | 6 +- src/gen/models/V1CertificateSigningRequest.ts | 10 +- .../V1CertificateSigningRequestCondition.ts | 4 +- .../models/V1CertificateSigningRequestList.ts | 8 +- .../models/V1CertificateSigningRequestSpec.ts | 4 +- .../V1CertificateSigningRequestStatus.ts | 6 +- .../models/V1CinderPersistentVolumeSource.ts | 6 +- src/gen/models/V1CinderVolumeSource.ts | 6 +- src/gen/models/V1ClientIPConfig.ts | 4 +- src/gen/models/V1ClusterRole.ts | 10 +- src/gen/models/V1ClusterRoleBinding.ts | 10 +- src/gen/models/V1ClusterRoleBindingList.ts | 8 +- src/gen/models/V1ClusterRoleList.ts | 8 +- .../models/V1ClusterTrustBundleProjection.ts | 6 +- src/gen/models/V1ComponentCondition.ts | 4 +- src/gen/models/V1ComponentStatus.ts | 8 +- src/gen/models/V1ComponentStatusList.ts | 8 +- src/gen/models/V1Condition.ts | 4 +- src/gen/models/V1ConfigMap.ts | 6 +- src/gen/models/V1ConfigMapEnvSource.ts | 4 +- src/gen/models/V1ConfigMapKeySelector.ts | 4 +- src/gen/models/V1ConfigMapList.ts | 8 +- src/gen/models/V1ConfigMapNodeConfigSource.ts | 4 +- src/gen/models/V1ConfigMapProjection.ts | 6 +- src/gen/models/V1ConfigMapVolumeSource.ts | 6 +- src/gen/models/V1Container.ts | 24 +- src/gen/models/V1ContainerImage.ts | 4 +- src/gen/models/V1ContainerPort.ts | 4 +- src/gen/models/V1ContainerResizePolicy.ts | 4 +- src/gen/models/V1ContainerState.ts | 10 +- src/gen/models/V1ContainerStateRunning.ts | 4 +- src/gen/models/V1ContainerStateTerminated.ts | 4 +- src/gen/models/V1ContainerStateWaiting.ts | 4 +- src/gen/models/V1ContainerStatus.ts | 29 +- src/gen/models/V1ContainerUser.ts | 40 + src/gen/models/V1ControllerRevision.ts | 6 +- src/gen/models/V1ControllerRevisionList.ts | 8 +- src/gen/models/V1CronJob.ts | 10 +- src/gen/models/V1CronJobList.ts | 8 +- src/gen/models/V1CronJobSpec.ts | 6 +- src/gen/models/V1CronJobStatus.ts | 6 +- .../models/V1CrossVersionObjectReference.ts | 4 +- .../V1CustomResourceColumnDefinition.ts | 4 +- src/gen/models/V1CustomResourceConversion.ts | 6 +- src/gen/models/V1CustomResourceDefinition.ts | 10 +- .../V1CustomResourceDefinitionCondition.ts | 4 +- .../models/V1CustomResourceDefinitionList.ts | 8 +- .../models/V1CustomResourceDefinitionNames.ts | 4 +- .../models/V1CustomResourceDefinitionSpec.ts | 10 +- .../V1CustomResourceDefinitionStatus.ts | 8 +- .../V1CustomResourceDefinitionVersion.ts | 12 +- .../V1CustomResourceSubresourceScale.ts | 4 +- .../models/V1CustomResourceSubresources.ts | 6 +- src/gen/models/V1CustomResourceValidation.ts | 6 +- src/gen/models/V1DaemonEndpoint.ts | 4 +- src/gen/models/V1DaemonSet.ts | 10 +- src/gen/models/V1DaemonSetCondition.ts | 4 +- src/gen/models/V1DaemonSetList.ts | 8 +- src/gen/models/V1DaemonSetSpec.ts | 10 +- src/gen/models/V1DaemonSetStatus.ts | 6 +- src/gen/models/V1DaemonSetUpdateStrategy.ts | 6 +- src/gen/models/V1DeleteOptions.ts | 16 +- src/gen/models/V1Deployment.ts | 10 +- src/gen/models/V1DeploymentCondition.ts | 4 +- src/gen/models/V1DeploymentList.ts | 8 +- src/gen/models/V1DeploymentSpec.ts | 10 +- src/gen/models/V1DeploymentStatus.ts | 6 +- src/gen/models/V1DeploymentStrategy.ts | 6 +- src/gen/models/V1DownwardAPIProjection.ts | 6 +- src/gen/models/V1DownwardAPIVolumeFile.ts | 8 +- src/gen/models/V1DownwardAPIVolumeSource.ts | 6 +- src/gen/models/V1EmptyDirVolumeSource.ts | 4 +- src/gen/models/V1Endpoint.ts | 10 +- src/gen/models/V1EndpointAddress.ts | 6 +- src/gen/models/V1EndpointConditions.ts | 4 +- src/gen/models/V1EndpointHints.ts | 6 +- src/gen/models/V1EndpointSlice.ts | 10 +- src/gen/models/V1EndpointSliceList.ts | 8 +- src/gen/models/V1EndpointSubset.ts | 8 +- src/gen/models/V1Endpoints.ts | 8 +- src/gen/models/V1EndpointsList.ts | 8 +- src/gen/models/V1EnvFromSource.ts | 8 +- src/gen/models/V1EnvVar.ts | 6 +- src/gen/models/V1EnvVarSource.ts | 12 +- src/gen/models/V1EphemeralContainer.ts | 24 +- src/gen/models/V1EphemeralVolumeSource.ts | 6 +- src/gen/models/V1EventSource.ts | 4 +- src/gen/models/V1Eviction.ts | 8 +- src/gen/models/V1ExecAction.ts | 4 +- .../V1ExemptPriorityLevelConfiguration.ts | 4 +- src/gen/models/V1ExpressionWarning.ts | 4 +- src/gen/models/V1ExternalDocumentation.ts | 4 +- src/gen/models/V1FCVolumeSource.ts | 4 +- src/gen/models/V1FieldSelectorAttributes.ts | 53 + src/gen/models/V1FieldSelectorRequirement.ts | 62 + .../models/V1FlexPersistentVolumeSource.ts | 6 +- src/gen/models/V1FlexVolumeSource.ts | 6 +- src/gen/models/V1FlockerVolumeSource.ts | 4 +- src/gen/models/V1FlowDistinguisherMethod.ts | 4 +- src/gen/models/V1FlowSchema.ts | 10 +- src/gen/models/V1FlowSchemaCondition.ts | 4 +- src/gen/models/V1FlowSchemaList.ts | 8 +- src/gen/models/V1FlowSchemaSpec.ts | 10 +- src/gen/models/V1FlowSchemaStatus.ts | 6 +- src/gen/models/V1ForZone.ts | 4 +- .../models/V1GCEPersistentDiskVolumeSource.ts | 4 +- src/gen/models/V1GRPCAction.ts | 7 +- src/gen/models/V1GitRepoVolumeSource.ts | 4 +- .../V1GlusterfsPersistentVolumeSource.ts | 4 +- src/gen/models/V1GlusterfsVolumeSource.ts | 4 +- src/gen/models/V1GroupSubject.ts | 4 +- src/gen/models/V1GroupVersionForDiscovery.ts | 4 +- src/gen/models/V1HTTPGetAction.ts | 8 +- src/gen/models/V1HTTPHeader.ts | 4 +- src/gen/models/V1HTTPIngressPath.ts | 6 +- src/gen/models/V1HTTPIngressRuleValue.ts | 6 +- src/gen/models/V1HorizontalPodAutoscaler.ts | 10 +- .../models/V1HorizontalPodAutoscalerList.ts | 8 +- .../models/V1HorizontalPodAutoscalerSpec.ts | 6 +- .../models/V1HorizontalPodAutoscalerStatus.ts | 4 +- src/gen/models/V1HostAlias.ts | 4 +- src/gen/models/V1HostIP.ts | 6 +- src/gen/models/V1HostPathVolumeSource.ts | 4 +- src/gen/models/V1IPBlock.ts | 4 +- .../models/V1ISCSIPersistentVolumeSource.ts | 6 +- src/gen/models/V1ISCSIVolumeSource.ts | 6 +- src/gen/models/V1ImageVolumeSource.ts | 52 + src/gen/models/V1Ingress.ts | 10 +- src/gen/models/V1IngressBackend.ts | 8 +- src/gen/models/V1IngressClass.ts | 8 +- src/gen/models/V1IngressClassList.ts | 8 +- .../V1IngressClassParametersReference.ts | 4 +- src/gen/models/V1IngressClassSpec.ts | 6 +- src/gen/models/V1IngressList.ts | 8 +- .../models/V1IngressLoadBalancerIngress.ts | 6 +- src/gen/models/V1IngressLoadBalancerStatus.ts | 6 +- src/gen/models/V1IngressPortStatus.ts | 4 +- src/gen/models/V1IngressRule.ts | 6 +- src/gen/models/V1IngressServiceBackend.ts | 6 +- src/gen/models/V1IngressSpec.ts | 10 +- src/gen/models/V1IngressStatus.ts | 6 +- src/gen/models/V1IngressTLS.ts | 4 +- src/gen/models/V1JSONSchemaProps.ts | 12 +- src/gen/models/V1Job.ts | 10 +- src/gen/models/V1JobCondition.ts | 4 +- src/gen/models/V1JobList.ts | 8 +- src/gen/models/V1JobSpec.ts | 14 +- src/gen/models/V1JobStatus.ts | 10 +- src/gen/models/V1JobTemplateSpec.ts | 8 +- src/gen/models/V1KeyToPath.ts | 4 +- src/gen/models/V1LabelSelector.ts | 6 +- src/gen/models/V1LabelSelectorAttributes.ts | 53 + src/gen/models/V1LabelSelectorRequirement.ts | 4 +- src/gen/models/V1Lease.ts | 8 +- src/gen/models/V1LeaseList.ts | 8 +- src/gen/models/V1LeaseSpec.ts | 30 +- src/gen/models/V1Lifecycle.ts | 6 +- src/gen/models/V1LifecycleHandler.ts | 12 +- src/gen/models/V1LimitRange.ts | 8 +- src/gen/models/V1LimitRangeItem.ts | 4 +- src/gen/models/V1LimitRangeList.ts | 8 +- src/gen/models/V1LimitRangeSpec.ts | 6 +- src/gen/models/V1LimitResponse.ts | 6 +- .../V1LimitedPriorityLevelConfiguration.ts | 6 +- src/gen/models/V1LinuxContainerUser.ts | 62 + src/gen/models/V1ListMeta.ts | 4 +- src/gen/models/V1LoadBalancerIngress.ts | 6 +- src/gen/models/V1LoadBalancerStatus.ts | 6 +- src/gen/models/V1LocalObjectReference.ts | 4 +- src/gen/models/V1LocalSubjectAccessReview.ts | 10 +- src/gen/models/V1LocalVolumeSource.ts | 6 +- src/gen/models/V1ManagedFieldsEntry.ts | 4 +- src/gen/models/V1MatchCondition.ts | 4 +- src/gen/models/V1MatchResources.ts | 8 +- src/gen/models/V1ModifyVolumeStatus.ts | 4 +- src/gen/models/V1MutatingWebhook.ts | 12 +- .../models/V1MutatingWebhookConfiguration.ts | 8 +- .../V1MutatingWebhookConfigurationList.ts | 8 +- src/gen/models/V1NFSVolumeSource.ts | 4 +- src/gen/models/V1NamedRuleWithOperations.ts | 4 +- src/gen/models/V1Namespace.ts | 10 +- src/gen/models/V1NamespaceCondition.ts | 12 +- src/gen/models/V1NamespaceList.ts | 8 +- src/gen/models/V1NamespaceSpec.ts | 4 +- src/gen/models/V1NamespaceStatus.ts | 6 +- src/gen/models/V1NetworkPolicy.ts | 8 +- src/gen/models/V1NetworkPolicyEgressRule.ts | 8 +- src/gen/models/V1NetworkPolicyIngressRule.ts | 8 +- src/gen/models/V1NetworkPolicyList.ts | 8 +- src/gen/models/V1NetworkPolicyPeer.ts | 8 +- src/gen/models/V1NetworkPolicyPort.ts | 6 +- src/gen/models/V1NetworkPolicySpec.ts | 10 +- src/gen/models/V1Node.ts | 10 +- src/gen/models/V1NodeAddress.ts | 4 +- src/gen/models/V1NodeAffinity.ts | 8 +- src/gen/models/V1NodeCondition.ts | 4 +- src/gen/models/V1NodeConfigSource.ts | 6 +- src/gen/models/V1NodeConfigStatus.ts | 6 +- src/gen/models/V1NodeDaemonEndpoints.ts | 6 +- src/gen/models/V1NodeFeatures.ts | 42 + src/gen/models/V1NodeList.ts | 8 +- src/gen/models/V1NodeRuntimeHandler.ts | 6 +- .../models/V1NodeRuntimeHandlerFeatures.ts | 16 +- src/gen/models/V1NodeSelector.ts | 6 +- src/gen/models/V1NodeSelectorRequirement.ts | 4 +- src/gen/models/V1NodeSelectorTerm.ts | 6 +- src/gen/models/V1NodeSpec.ts | 8 +- src/gen/models/V1NodeStatus.ts | 34 +- src/gen/models/V1NodeSystemInfo.ts | 6 +- src/gen/models/V1NonResourceAttributes.ts | 4 +- src/gen/models/V1NonResourcePolicyRule.ts | 4 +- src/gen/models/V1NonResourceRule.ts | 4 +- src/gen/models/V1ObjectFieldSelector.ts | 4 +- src/gen/models/V1ObjectMeta.ts | 8 +- src/gen/models/V1ObjectReference.ts | 4 +- src/gen/models/V1Overhead.ts | 4 +- src/gen/models/V1OwnerReference.ts | 4 +- src/gen/models/V1ParamKind.ts | 4 +- src/gen/models/V1ParamRef.ts | 6 +- src/gen/models/V1PersistentVolume.ts | 10 +- src/gen/models/V1PersistentVolumeClaim.ts | 10 +- .../V1PersistentVolumeClaimCondition.ts | 10 +- src/gen/models/V1PersistentVolumeClaimList.ts | 8 +- src/gen/models/V1PersistentVolumeClaimSpec.ts | 14 +- .../models/V1PersistentVolumeClaimStatus.ts | 10 +- .../models/V1PersistentVolumeClaimTemplate.ts | 8 +- .../V1PersistentVolumeClaimVolumeSource.ts | 4 +- src/gen/models/V1PersistentVolumeList.ts | 8 +- src/gen/models/V1PersistentVolumeSpec.ts | 54 +- src/gen/models/V1PersistentVolumeStatus.ts | 6 +- .../V1PhotonPersistentDiskVolumeSource.ts | 4 +- src/gen/models/V1Pod.ts | 10 +- src/gen/models/V1PodAffinity.ts | 8 +- src/gen/models/V1PodAffinityTerm.ts | 10 +- src/gen/models/V1PodAntiAffinity.ts | 8 +- src/gen/models/V1PodCondition.ts | 4 +- src/gen/models/V1PodDNSConfig.ts | 6 +- src/gen/models/V1PodDNSConfigOption.ts | 9 +- src/gen/models/V1PodDisruptionBudget.ts | 10 +- src/gen/models/V1PodDisruptionBudgetList.ts | 8 +- src/gen/models/V1PodDisruptionBudgetSpec.ts | 8 +- src/gen/models/V1PodDisruptionBudgetStatus.ts | 6 +- src/gen/models/V1PodFailurePolicy.ts | 6 +- ...1PodFailurePolicyOnExitCodesRequirement.ts | 4 +- ...1PodFailurePolicyOnPodConditionsPattern.ts | 4 +- src/gen/models/V1PodFailurePolicyRule.ts | 8 +- src/gen/models/V1PodIP.ts | 6 +- src/gen/models/V1PodList.ts | 8 +- src/gen/models/V1PodOS.ts | 4 +- src/gen/models/V1PodReadinessGate.ts | 4 +- src/gen/models/V1PodResourceClaim.ts | 28 +- src/gen/models/V1PodResourceClaimStatus.ts | 6 +- src/gen/models/V1PodSchedulingGate.ts | 4 +- src/gen/models/V1PodSecurityContext.ts | 36 +- src/gen/models/V1PodSpec.ts | 44 +- src/gen/models/V1PodStatus.ts | 20 +- src/gen/models/V1PodTemplate.ts | 8 +- src/gen/models/V1PodTemplateList.ts | 8 +- src/gen/models/V1PodTemplateSpec.ts | 8 +- src/gen/models/V1PolicyRule.ts | 4 +- src/gen/models/V1PolicyRulesWithSubjects.ts | 10 +- src/gen/models/V1PortStatus.ts | 7 +- src/gen/models/V1PortworxVolumeSource.ts | 4 +- src/gen/models/V1Preconditions.ts | 4 +- src/gen/models/V1PreferredSchedulingTerm.ts | 6 +- src/gen/models/V1PriorityClass.ts | 6 +- src/gen/models/V1PriorityClassList.ts | 8 +- .../models/V1PriorityLevelConfiguration.ts | 10 +- .../V1PriorityLevelConfigurationCondition.ts | 4 +- .../V1PriorityLevelConfigurationList.ts | 8 +- .../V1PriorityLevelConfigurationReference.ts | 4 +- .../V1PriorityLevelConfigurationSpec.ts | 8 +- .../V1PriorityLevelConfigurationStatus.ts | 6 +- src/gen/models/V1Probe.ts | 12 +- src/gen/models/V1ProjectedVolumeSource.ts | 8 +- src/gen/models/V1QueuingConfiguration.ts | 4 +- src/gen/models/V1QuobyteVolumeSource.ts | 4 +- src/gen/models/V1RBDPersistentVolumeSource.ts | 6 +- src/gen/models/V1RBDVolumeSource.ts | 6 +- src/gen/models/V1ReplicaSet.ts | 10 +- src/gen/models/V1ReplicaSetCondition.ts | 4 +- src/gen/models/V1ReplicaSetList.ts | 8 +- src/gen/models/V1ReplicaSetSpec.ts | 8 +- src/gen/models/V1ReplicaSetStatus.ts | 6 +- src/gen/models/V1ReplicationController.ts | 10 +- .../V1ReplicationControllerCondition.ts | 4 +- src/gen/models/V1ReplicationControllerList.ts | 8 +- src/gen/models/V1ReplicationControllerSpec.ts | 6 +- .../models/V1ReplicationControllerStatus.ts | 6 +- src/gen/models/V1ResourceAttributes.ts | 20 +- src/gen/models/V1ResourceClaim.ts | 14 +- src/gen/models/V1ResourceFieldSelector.ts | 4 +- src/gen/models/V1ResourceHealth.ts | 52 + src/gen/models/V1ResourcePolicyRule.ts | 4 +- src/gen/models/V1ResourceQuota.ts | 10 +- src/gen/models/V1ResourceQuotaList.ts | 8 +- src/gen/models/V1ResourceQuotaSpec.ts | 6 +- src/gen/models/V1ResourceQuotaStatus.ts | 4 +- src/gen/models/V1ResourceRequirements.ts | 6 +- src/gen/models/V1ResourceRule.ts | 4 +- src/gen/models/V1ResourceStatus.ts | 53 + src/gen/models/V1Role.ts | 8 +- src/gen/models/V1RoleBinding.ts | 10 +- src/gen/models/V1RoleBindingList.ts | 8 +- src/gen/models/V1RoleList.ts | 8 +- src/gen/models/V1RoleRef.ts | 4 +- src/gen/models/V1RollingUpdateDaemonSet.ts | 6 +- src/gen/models/V1RollingUpdateDeployment.ts | 6 +- .../V1RollingUpdateStatefulSetStrategy.ts | 6 +- src/gen/models/V1RuleWithOperations.ts | 4 +- src/gen/models/V1RuntimeClass.ts | 10 +- src/gen/models/V1RuntimeClassList.ts | 8 +- src/gen/models/V1SELinuxOptions.ts | 4 +- src/gen/models/V1Scale.ts | 10 +- .../models/V1ScaleIOPersistentVolumeSource.ts | 6 +- src/gen/models/V1ScaleIOVolumeSource.ts | 6 +- src/gen/models/V1ScaleSpec.ts | 4 +- src/gen/models/V1ScaleStatus.ts | 4 +- src/gen/models/V1Scheduling.ts | 6 +- src/gen/models/V1ScopeSelector.ts | 6 +- .../V1ScopedResourceSelectorRequirement.ts | 4 +- src/gen/models/V1SeccompProfile.ts | 4 +- src/gen/models/V1Secret.ts | 6 +- src/gen/models/V1SecretEnvSource.ts | 4 +- src/gen/models/V1SecretKeySelector.ts | 4 +- src/gen/models/V1SecretList.ts | 8 +- src/gen/models/V1SecretProjection.ts | 6 +- src/gen/models/V1SecretReference.ts | 4 +- src/gen/models/V1SecretVolumeSource.ts | 6 +- src/gen/models/V1SecurityContext.ts | 16 +- src/gen/models/V1SelectableField.ts | 4 +- src/gen/models/V1SelfSubjectAccessReview.ts | 10 +- .../models/V1SelfSubjectAccessReviewSpec.ts | 8 +- src/gen/models/V1SelfSubjectReview.ts | 8 +- src/gen/models/V1SelfSubjectReviewStatus.ts | 6 +- src/gen/models/V1SelfSubjectRulesReview.ts | 10 +- .../models/V1SelfSubjectRulesReviewSpec.ts | 4 +- src/gen/models/V1ServerAddressByClientCIDR.ts | 4 +- src/gen/models/V1Service.ts | 10 +- src/gen/models/V1ServiceAccount.ts | 12 +- src/gen/models/V1ServiceAccountList.ts | 8 +- src/gen/models/V1ServiceAccountSubject.ts | 4 +- .../models/V1ServiceAccountTokenProjection.ts | 4 +- src/gen/models/V1ServiceBackendPort.ts | 4 +- src/gen/models/V1ServiceList.ts | 8 +- src/gen/models/V1ServicePort.ts | 6 +- src/gen/models/V1ServiceSpec.ts | 10 +- src/gen/models/V1ServiceStatus.ts | 8 +- src/gen/models/V1SessionAffinityConfig.ts | 6 +- src/gen/models/V1SleepAction.ts | 4 +- src/gen/models/V1StatefulSet.ts | 10 +- src/gen/models/V1StatefulSetCondition.ts | 4 +- src/gen/models/V1StatefulSetList.ts | 8 +- src/gen/models/V1StatefulSetOrdinals.ts | 4 +- ...SetPersistentVolumeClaimRetentionPolicy.ts | 4 +- src/gen/models/V1StatefulSetSpec.ts | 16 +- src/gen/models/V1StatefulSetStatus.ts | 6 +- src/gen/models/V1StatefulSetUpdateStrategy.ts | 6 +- src/gen/models/V1Status.ts | 8 +- src/gen/models/V1StatusCause.ts | 4 +- src/gen/models/V1StatusDetails.ts | 6 +- src/gen/models/V1StorageClass.ts | 8 +- src/gen/models/V1StorageClassList.ts | 8 +- .../V1StorageOSPersistentVolumeSource.ts | 6 +- src/gen/models/V1StorageOSVolumeSource.ts | 6 +- src/gen/models/V1SubjectAccessReview.ts | 10 +- src/gen/models/V1SubjectAccessReviewSpec.ts | 8 +- src/gen/models/V1SubjectAccessReviewStatus.ts | 4 +- src/gen/models/V1SubjectRulesReviewStatus.ts | 8 +- src/gen/models/V1SuccessPolicy.ts | 6 +- src/gen/models/V1SuccessPolicyRule.ts | 4 +- src/gen/models/V1Sysctl.ts | 4 +- src/gen/models/V1TCPSocketAction.ts | 6 +- src/gen/models/V1Taint.ts | 4 +- src/gen/models/V1TokenRequestSpec.ts | 6 +- src/gen/models/V1TokenRequestStatus.ts | 4 +- src/gen/models/V1TokenReview.ts | 10 +- src/gen/models/V1TokenReviewSpec.ts | 4 +- src/gen/models/V1TokenReviewStatus.ts | 6 +- src/gen/models/V1Toleration.ts | 4 +- .../V1TopologySelectorLabelRequirement.ts | 4 +- src/gen/models/V1TopologySelectorTerm.ts | 6 +- src/gen/models/V1TopologySpreadConstraint.ts | 6 +- src/gen/models/V1TypeChecking.ts | 6 +- src/gen/models/V1TypedLocalObjectReference.ts | 4 +- src/gen/models/V1TypedObjectReference.ts | 7 +- src/gen/models/V1UncountedTerminatedPods.ts | 4 +- src/gen/models/V1UserInfo.ts | 4 +- src/gen/models/V1UserSubject.ts | 4 +- src/gen/models/V1ValidatingAdmissionPolicy.ts | 10 +- .../V1ValidatingAdmissionPolicyBinding.ts | 8 +- .../V1ValidatingAdmissionPolicyBindingList.ts | 10 +- .../V1ValidatingAdmissionPolicyBindingSpec.ts | 10 +- .../models/V1ValidatingAdmissionPolicyList.ts | 10 +- .../models/V1ValidatingAdmissionPolicySpec.ts | 16 +- .../V1ValidatingAdmissionPolicyStatus.ts | 8 +- src/gen/models/V1ValidatingWebhook.ts | 12 +- .../V1ValidatingWebhookConfiguration.ts | 8 +- .../V1ValidatingWebhookConfigurationList.ts | 8 +- src/gen/models/V1Validation.ts | 4 +- src/gen/models/V1ValidationRule.ts | 4 +- src/gen/models/V1Variable.ts | 4 +- src/gen/models/V1Volume.ts | 70 +- src/gen/models/V1VolumeAttachment.ts | 10 +- src/gen/models/V1VolumeAttachmentList.ts | 8 +- src/gen/models/V1VolumeAttachmentSource.ts | 8 +- src/gen/models/V1VolumeAttachmentSpec.ts | 6 +- src/gen/models/V1VolumeAttachmentStatus.ts | 6 +- src/gen/models/V1VolumeDevice.ts | 4 +- src/gen/models/V1VolumeError.ts | 4 +- src/gen/models/V1VolumeMount.ts | 4 +- src/gen/models/V1VolumeMountStatus.ts | 4 +- src/gen/models/V1VolumeNodeAffinity.ts | 6 +- src/gen/models/V1VolumeNodeResources.ts | 4 +- src/gen/models/V1VolumeProjection.ts | 16 +- .../models/V1VolumeResourceRequirements.ts | 4 +- .../V1VsphereVirtualDiskVolumeSource.ts | 4 +- src/gen/models/V1WatchEvent.ts | 4 +- src/gen/models/V1WebhookConversion.ts | 6 +- src/gen/models/V1WeightedPodAffinityTerm.ts | 6 +- .../models/V1WindowsSecurityContextOptions.ts | 4 +- src/gen/models/V1alpha1ApplyConfiguration.ts | 42 + src/gen/models/V1alpha1ClusterTrustBundle.ts | 8 +- .../models/V1alpha1ClusterTrustBundleList.ts | 8 +- .../models/V1alpha1ClusterTrustBundleSpec.ts | 4 +- .../models/V1alpha1GroupVersionResource.ts | 4 +- src/gen/models/V1alpha1JSONPatch.ts | 42 + src/gen/models/V1alpha1MatchCondition.ts | 4 +- src/gen/models/V1alpha1MatchResources.ts | 8 +- src/gen/models/V1alpha1MigrationCondition.ts | 4 +- .../models/V1alpha1MutatingAdmissionPolicy.ts | 68 + .../V1alpha1MutatingAdmissionPolicyBinding.ts | 68 + ...lpha1MutatingAdmissionPolicyBindingList.ts | 71 + ...lpha1MutatingAdmissionPolicyBindingSpec.ts | 58 + .../V1alpha1MutatingAdmissionPolicyList.ts | 71 + .../V1alpha1MutatingAdmissionPolicySpec.ts | 101 + src/gen/models/V1alpha1Mutation.ts | 58 + .../models/V1alpha1NamedRuleWithOperations.ts | 4 +- src/gen/models/V1alpha1ParamKind.ts | 4 +- src/gen/models/V1alpha1ParamRef.ts | 6 +- .../models/V1alpha1ServerStorageVersion.ts | 4 +- src/gen/models/V1alpha1StorageVersion.ts | 8 +- .../models/V1alpha1StorageVersionCondition.ts | 4 +- src/gen/models/V1alpha1StorageVersionList.ts | 8 +- .../models/V1alpha1StorageVersionMigration.ts | 10 +- .../V1alpha1StorageVersionMigrationList.ts | 8 +- .../V1alpha1StorageVersionMigrationSpec.ts | 6 +- .../V1alpha1StorageVersionMigrationStatus.ts | 6 +- .../models/V1alpha1StorageVersionStatus.ts | 8 +- src/gen/models/V1alpha1Variable.ts | 4 +- .../models/V1alpha1VolumeAttributesClass.ts | 6 +- .../V1alpha1VolumeAttributesClassList.ts | 8 +- src/gen/models/V1alpha2LeaseCandidate.ts | 68 + src/gen/models/V1alpha2LeaseCandidateList.ts | 71 + src/gen/models/V1alpha2LeaseCandidateSpec.ts | 93 + .../models/V1alpha3AllocatedDeviceStatus.ts | 91 + src/gen/models/V1alpha3AllocationResult.ts | 48 + src/gen/models/V1alpha3BasicDevice.ts | 53 + src/gen/models/V1alpha3CELDeviceSelector.ts | 42 + src/gen/models/V1alpha3Device.ts | 50 + .../V1alpha3DeviceAllocationConfiguration.ts | 60 + .../models/V1alpha3DeviceAllocationResult.ts | 54 + src/gen/models/V1alpha3DeviceAttribute.ts | 72 + src/gen/models/V1alpha3DeviceClaim.ts | 65 + .../V1alpha3DeviceClaimConfiguration.ts | 50 + src/gen/models/V1alpha3DeviceClass.ts | 68 + .../V1alpha3DeviceClassConfiguration.ts | 40 + src/gen/models/V1alpha3DeviceClassList.ts | 71 + src/gen/models/V1alpha3DeviceClassSpec.ts | 54 + src/gen/models/V1alpha3DeviceConstraint.ts | 52 + src/gen/models/V1alpha3DeviceRequest.ts | 93 + .../V1alpha3DeviceRequestAllocationResult.ts | 82 + src/gen/models/V1alpha3DeviceSelector.ts | 40 + src/gen/models/V1alpha3NetworkDeviceData.ts | 62 + .../V1alpha3OpaqueDeviceConfiguration.ts | 52 + src/gen/models/V1alpha3ResourceClaim.ts | 76 + .../V1alpha3ResourceClaimConsumerReference.ts | 72 + src/gen/models/V1alpha3ResourceClaimList.ts | 71 + src/gen/models/V1alpha3ResourceClaimSpec.ts | 40 + src/gen/models/V1alpha3ResourceClaimStatus.ts | 62 + .../models/V1alpha3ResourceClaimTemplate.ts | 68 + .../V1alpha3ResourceClaimTemplateList.ts | 71 + .../V1alpha3ResourceClaimTemplateSpec.ts | 48 + src/gen/models/V1alpha3ResourcePool.ts | 62 + src/gen/models/V1alpha3ResourceSlice.ts | 68 + src/gen/models/V1alpha3ResourceSliceList.ts | 71 + src/gen/models/V1alpha3ResourceSliceSpec.ts | 89 + .../models/V1beta1AllocatedDeviceStatus.ts | 91 + src/gen/models/V1beta1AllocationResult.ts | 48 + src/gen/models/V1beta1AuditAnnotation.ts | 4 +- src/gen/models/V1beta1BasicDevice.ts | 54 + src/gen/models/V1beta1CELDeviceSelector.ts | 42 + src/gen/models/V1beta1Device.ts | 50 + .../V1beta1DeviceAllocationConfiguration.ts | 60 + .../models/V1beta1DeviceAllocationResult.ts | 54 + src/gen/models/V1beta1DeviceAttribute.ts | 72 + src/gen/models/V1beta1DeviceCapacity.ts | 42 + src/gen/models/V1beta1DeviceClaim.ts | 65 + .../models/V1beta1DeviceClaimConfiguration.ts | 50 + src/gen/models/V1beta1DeviceClass.ts | 68 + .../models/V1beta1DeviceClassConfiguration.ts | 40 + src/gen/models/V1beta1DeviceClassList.ts | 71 + src/gen/models/V1beta1DeviceClassSpec.ts | 54 + src/gen/models/V1beta1DeviceConstraint.ts | 52 + src/gen/models/V1beta1DeviceRequest.ts | 93 + .../V1beta1DeviceRequestAllocationResult.ts | 82 + src/gen/models/V1beta1DeviceSelector.ts | 40 + src/gen/models/V1beta1ExpressionWarning.ts | 4 +- src/gen/models/V1beta1IPAddress.ts | 68 + src/gen/models/V1beta1IPAddressList.ts | 71 + src/gen/models/V1beta1IPAddressSpec.ts | 40 + src/gen/models/V1beta1MatchCondition.ts | 4 +- src/gen/models/V1beta1MatchResources.ts | 8 +- .../models/V1beta1NamedRuleWithOperations.ts | 4 +- src/gen/models/V1beta1NetworkDeviceData.ts | 62 + .../V1beta1OpaqueDeviceConfiguration.ts | 52 + src/gen/models/V1beta1ParamKind.ts | 4 +- src/gen/models/V1beta1ParamRef.ts | 6 +- src/gen/models/V1beta1ParentReference.ts | 72 + src/gen/models/V1beta1ResourceClaim.ts | 76 + .../V1beta1ResourceClaimConsumerReference.ts | 72 + src/gen/models/V1beta1ResourceClaimList.ts | 71 + src/gen/models/V1beta1ResourceClaimSpec.ts | 40 + src/gen/models/V1beta1ResourceClaimStatus.ts | 62 + .../models/V1beta1ResourceClaimTemplate.ts | 68 + .../V1beta1ResourceClaimTemplateList.ts | 71 + .../V1beta1ResourceClaimTemplateSpec.ts | 48 + src/gen/models/V1beta1ResourcePool.ts | 62 + src/gen/models/V1beta1ResourceSlice.ts | 68 + src/gen/models/V1beta1ResourceSliceList.ts | 71 + src/gen/models/V1beta1ResourceSliceSpec.ts | 89 + src/gen/models/V1beta1SelfSubjectReview.ts | 8 +- .../models/V1beta1SelfSubjectReviewStatus.ts | 6 +- src/gen/models/V1beta1ServiceCIDR.ts | 76 + src/gen/models/V1beta1ServiceCIDRList.ts | 71 + src/gen/models/V1beta1ServiceCIDRSpec.ts | 42 + src/gen/models/V1beta1ServiceCIDRStatus.ts | 43 + src/gen/models/V1beta1TypeChecking.ts | 6 +- .../V1beta1ValidatingAdmissionPolicy.ts | 10 +- ...V1beta1ValidatingAdmissionPolicyBinding.ts | 8 +- ...ta1ValidatingAdmissionPolicyBindingList.ts | 10 +- ...ta1ValidatingAdmissionPolicyBindingSpec.ts | 10 +- .../V1beta1ValidatingAdmissionPolicyList.ts | 10 +- .../V1beta1ValidatingAdmissionPolicySpec.ts | 16 +- .../V1beta1ValidatingAdmissionPolicyStatus.ts | 8 +- src/gen/models/V1beta1Validation.ts | 4 +- src/gen/models/V1beta1Variable.ts | 4 +- .../models/V1beta1VolumeAttributesClass.ts | 80 + .../V1beta1VolumeAttributesClassList.ts | 71 + .../models/V2ContainerResourceMetricSource.ts | 6 +- .../models/V2ContainerResourceMetricStatus.ts | 6 +- .../models/V2CrossVersionObjectReference.ts | 4 +- src/gen/models/V2ExternalMetricSource.ts | 8 +- src/gen/models/V2ExternalMetricStatus.ts | 8 +- src/gen/models/V2HPAScalingPolicy.ts | 4 +- src/gen/models/V2HPAScalingRules.ts | 6 +- src/gen/models/V2HorizontalPodAutoscaler.ts | 10 +- .../V2HorizontalPodAutoscalerBehavior.ts | 6 +- .../V2HorizontalPodAutoscalerCondition.ts | 4 +- .../models/V2HorizontalPodAutoscalerList.ts | 8 +- .../models/V2HorizontalPodAutoscalerSpec.ts | 10 +- .../models/V2HorizontalPodAutoscalerStatus.ts | 8 +- src/gen/models/V2MetricIdentifier.ts | 6 +- src/gen/models/V2MetricSpec.ts | 16 +- src/gen/models/V2MetricStatus.ts | 16 +- src/gen/models/V2MetricTarget.ts | 4 +- src/gen/models/V2MetricValueStatus.ts | 4 +- src/gen/models/V2ObjectMetricSource.ts | 10 +- src/gen/models/V2ObjectMetricStatus.ts | 10 +- src/gen/models/V2PodsMetricSource.ts | 8 +- src/gen/models/V2PodsMetricStatus.ts | 8 +- src/gen/models/V2ResourceMetricSource.ts | 6 +- src/gen/models/V2ResourceMetricStatus.ts | 6 +- src/gen/models/VersionInfo.ts | 4 +- src/gen/models/all.ts | 1238 +- src/gen/servers.ts | 2 +- src/gen/swagger.json | 25636 +++++++++------- src/gen/swagger.json.unprocessed | 19563 ++++++------ src/gen/types/ObjectParamAPI.ts | 21581 +++++++------ src/gen/types/ObservableAPI.ts | 10615 ++++--- src/gen/types/PromiseAPI.ts | 9067 +++--- 738 files changed, 87754 insertions(+), 46495 deletions(-) create mode 100644 src/gen/CoordinationV1alpha2Api.md create mode 100644 src/gen/NetworkingV1beta1Api.md create mode 100644 src/gen/ResourceV1alpha3Api.md create mode 100644 src/gen/ResourceV1beta1Api.md create mode 100644 src/gen/StorageV1beta1Api.md create mode 100644 src/gen/apis/CoordinationV1alpha2Api.ts create mode 100644 src/gen/apis/NetworkingV1beta1Api.ts create mode 100644 src/gen/apis/ResourceV1alpha3Api.ts create mode 100644 src/gen/apis/ResourceV1beta1Api.ts create mode 100644 src/gen/apis/StorageV1beta1Api.ts create mode 100644 src/gen/models/V1ContainerUser.ts create mode 100644 src/gen/models/V1FieldSelectorAttributes.ts create mode 100644 src/gen/models/V1FieldSelectorRequirement.ts create mode 100644 src/gen/models/V1ImageVolumeSource.ts create mode 100644 src/gen/models/V1LabelSelectorAttributes.ts create mode 100644 src/gen/models/V1LinuxContainerUser.ts create mode 100644 src/gen/models/V1NodeFeatures.ts create mode 100644 src/gen/models/V1ResourceHealth.ts create mode 100644 src/gen/models/V1ResourceStatus.ts create mode 100644 src/gen/models/V1alpha1ApplyConfiguration.ts create mode 100644 src/gen/models/V1alpha1JSONPatch.ts create mode 100644 src/gen/models/V1alpha1MutatingAdmissionPolicy.ts create mode 100644 src/gen/models/V1alpha1MutatingAdmissionPolicyBinding.ts create mode 100644 src/gen/models/V1alpha1MutatingAdmissionPolicyBindingList.ts create mode 100644 src/gen/models/V1alpha1MutatingAdmissionPolicyBindingSpec.ts create mode 100644 src/gen/models/V1alpha1MutatingAdmissionPolicyList.ts create mode 100644 src/gen/models/V1alpha1MutatingAdmissionPolicySpec.ts create mode 100644 src/gen/models/V1alpha1Mutation.ts create mode 100644 src/gen/models/V1alpha2LeaseCandidate.ts create mode 100644 src/gen/models/V1alpha2LeaseCandidateList.ts create mode 100644 src/gen/models/V1alpha2LeaseCandidateSpec.ts create mode 100644 src/gen/models/V1alpha3AllocatedDeviceStatus.ts create mode 100644 src/gen/models/V1alpha3AllocationResult.ts create mode 100644 src/gen/models/V1alpha3BasicDevice.ts create mode 100644 src/gen/models/V1alpha3CELDeviceSelector.ts create mode 100644 src/gen/models/V1alpha3Device.ts create mode 100644 src/gen/models/V1alpha3DeviceAllocationConfiguration.ts create mode 100644 src/gen/models/V1alpha3DeviceAllocationResult.ts create mode 100644 src/gen/models/V1alpha3DeviceAttribute.ts create mode 100644 src/gen/models/V1alpha3DeviceClaim.ts create mode 100644 src/gen/models/V1alpha3DeviceClaimConfiguration.ts create mode 100644 src/gen/models/V1alpha3DeviceClass.ts create mode 100644 src/gen/models/V1alpha3DeviceClassConfiguration.ts create mode 100644 src/gen/models/V1alpha3DeviceClassList.ts create mode 100644 src/gen/models/V1alpha3DeviceClassSpec.ts create mode 100644 src/gen/models/V1alpha3DeviceConstraint.ts create mode 100644 src/gen/models/V1alpha3DeviceRequest.ts create mode 100644 src/gen/models/V1alpha3DeviceRequestAllocationResult.ts create mode 100644 src/gen/models/V1alpha3DeviceSelector.ts create mode 100644 src/gen/models/V1alpha3NetworkDeviceData.ts create mode 100644 src/gen/models/V1alpha3OpaqueDeviceConfiguration.ts create mode 100644 src/gen/models/V1alpha3ResourceClaim.ts create mode 100644 src/gen/models/V1alpha3ResourceClaimConsumerReference.ts create mode 100644 src/gen/models/V1alpha3ResourceClaimList.ts create mode 100644 src/gen/models/V1alpha3ResourceClaimSpec.ts create mode 100644 src/gen/models/V1alpha3ResourceClaimStatus.ts create mode 100644 src/gen/models/V1alpha3ResourceClaimTemplate.ts create mode 100644 src/gen/models/V1alpha3ResourceClaimTemplateList.ts create mode 100644 src/gen/models/V1alpha3ResourceClaimTemplateSpec.ts create mode 100644 src/gen/models/V1alpha3ResourcePool.ts create mode 100644 src/gen/models/V1alpha3ResourceSlice.ts create mode 100644 src/gen/models/V1alpha3ResourceSliceList.ts create mode 100644 src/gen/models/V1alpha3ResourceSliceSpec.ts create mode 100644 src/gen/models/V1beta1AllocatedDeviceStatus.ts create mode 100644 src/gen/models/V1beta1AllocationResult.ts create mode 100644 src/gen/models/V1beta1BasicDevice.ts create mode 100644 src/gen/models/V1beta1CELDeviceSelector.ts create mode 100644 src/gen/models/V1beta1Device.ts create mode 100644 src/gen/models/V1beta1DeviceAllocationConfiguration.ts create mode 100644 src/gen/models/V1beta1DeviceAllocationResult.ts create mode 100644 src/gen/models/V1beta1DeviceAttribute.ts create mode 100644 src/gen/models/V1beta1DeviceCapacity.ts create mode 100644 src/gen/models/V1beta1DeviceClaim.ts create mode 100644 src/gen/models/V1beta1DeviceClaimConfiguration.ts create mode 100644 src/gen/models/V1beta1DeviceClass.ts create mode 100644 src/gen/models/V1beta1DeviceClassConfiguration.ts create mode 100644 src/gen/models/V1beta1DeviceClassList.ts create mode 100644 src/gen/models/V1beta1DeviceClassSpec.ts create mode 100644 src/gen/models/V1beta1DeviceConstraint.ts create mode 100644 src/gen/models/V1beta1DeviceRequest.ts create mode 100644 src/gen/models/V1beta1DeviceRequestAllocationResult.ts create mode 100644 src/gen/models/V1beta1DeviceSelector.ts create mode 100644 src/gen/models/V1beta1IPAddress.ts create mode 100644 src/gen/models/V1beta1IPAddressList.ts create mode 100644 src/gen/models/V1beta1IPAddressSpec.ts create mode 100644 src/gen/models/V1beta1NetworkDeviceData.ts create mode 100644 src/gen/models/V1beta1OpaqueDeviceConfiguration.ts create mode 100644 src/gen/models/V1beta1ParentReference.ts create mode 100644 src/gen/models/V1beta1ResourceClaim.ts create mode 100644 src/gen/models/V1beta1ResourceClaimConsumerReference.ts create mode 100644 src/gen/models/V1beta1ResourceClaimList.ts create mode 100644 src/gen/models/V1beta1ResourceClaimSpec.ts create mode 100644 src/gen/models/V1beta1ResourceClaimStatus.ts create mode 100644 src/gen/models/V1beta1ResourceClaimTemplate.ts create mode 100644 src/gen/models/V1beta1ResourceClaimTemplateList.ts create mode 100644 src/gen/models/V1beta1ResourceClaimTemplateSpec.ts create mode 100644 src/gen/models/V1beta1ResourcePool.ts create mode 100644 src/gen/models/V1beta1ResourceSlice.ts create mode 100644 src/gen/models/V1beta1ResourceSliceList.ts create mode 100644 src/gen/models/V1beta1ResourceSliceSpec.ts create mode 100644 src/gen/models/V1beta1ServiceCIDR.ts create mode 100644 src/gen/models/V1beta1ServiceCIDRList.ts create mode 100644 src/gen/models/V1beta1ServiceCIDRSpec.ts create mode 100644 src/gen/models/V1beta1ServiceCIDRStatus.ts create mode 100644 src/gen/models/V1beta1VolumeAttributesClass.ts create mode 100644 src/gen/models/V1beta1VolumeAttributesClassList.ts diff --git a/src/gen/.openapi-generator/FILES b/src/gen/.openapi-generator/FILES index 99c624447f4..91828fd7dd8 100644 --- a/src/gen/.openapi-generator/FILES +++ b/src/gen/.openapi-generator/FILES @@ -13,7 +13,6 @@ AppsApi.md AppsV1Api.md AuthenticationApi.md AuthenticationV1Api.md -AuthenticationV1alpha1Api.md AuthenticationV1beta1Api.md AuthorizationApi.md AuthorizationV1Api.md @@ -27,6 +26,7 @@ CertificatesV1Api.md CertificatesV1alpha1Api.md CoordinationApi.md CoordinationV1Api.md +CoordinationV1alpha2Api.md CoreApi.md CoreV1Api.md CustomObjectsApi.md @@ -36,13 +36,12 @@ EventsApi.md EventsV1Api.md FlowcontrolApiserverApi.md FlowcontrolApiserverV1Api.md -FlowcontrolApiserverV1beta3Api.md InternalApiserverApi.md InternalApiserverV1alpha1Api.md LogsApi.md NetworkingApi.md NetworkingV1Api.md -NetworkingV1alpha1Api.md +NetworkingV1beta1Api.md NodeApi.md NodeV1Api.md OpenidApi.md @@ -52,12 +51,14 @@ README.md RbacAuthorizationApi.md RbacAuthorizationV1Api.md ResourceApi.md -ResourceV1alpha2Api.md +ResourceV1alpha3Api.md +ResourceV1beta1Api.md SchedulingApi.md SchedulingV1Api.md StorageApi.md StorageV1Api.md StorageV1alpha1Api.md +StorageV1beta1Api.md StoragemigrationApi.md StoragemigrationV1alpha1Api.md VersionApi.md @@ -75,7 +76,6 @@ apis/AppsApi.ts apis/AppsV1Api.ts apis/AuthenticationApi.ts apis/AuthenticationV1Api.ts -apis/AuthenticationV1alpha1Api.ts apis/AuthenticationV1beta1Api.ts apis/AuthorizationApi.ts apis/AuthorizationV1Api.ts @@ -89,6 +89,7 @@ apis/CertificatesV1Api.ts apis/CertificatesV1alpha1Api.ts apis/CoordinationApi.ts apis/CoordinationV1Api.ts +apis/CoordinationV1alpha2Api.ts apis/CoreApi.ts apis/CoreV1Api.ts apis/CustomObjectsApi.ts @@ -98,13 +99,12 @@ apis/EventsApi.ts apis/EventsV1Api.ts apis/FlowcontrolApiserverApi.ts apis/FlowcontrolApiserverV1Api.ts -apis/FlowcontrolApiserverV1beta3Api.ts apis/InternalApiserverApi.ts apis/InternalApiserverV1alpha1Api.ts apis/LogsApi.ts apis/NetworkingApi.ts apis/NetworkingV1Api.ts -apis/NetworkingV1alpha1Api.ts +apis/NetworkingV1beta1Api.ts apis/NodeApi.ts apis/NodeV1Api.ts apis/OpenidApi.ts @@ -113,12 +113,14 @@ apis/PolicyV1Api.ts apis/RbacAuthorizationApi.ts apis/RbacAuthorizationV1Api.ts apis/ResourceApi.ts -apis/ResourceV1alpha2Api.ts +apis/ResourceV1alpha3Api.ts +apis/ResourceV1beta1Api.ts apis/SchedulingApi.ts apis/SchedulingV1Api.ts apis/StorageApi.ts apis/StorageV1Api.ts apis/StorageV1alpha1Api.ts +apis/StorageV1beta1Api.ts apis/StoragemigrationApi.ts apis/StoragemigrationV1alpha1Api.ts apis/VersionApi.ts @@ -192,7 +194,6 @@ models/V1CertificateSigningRequestSpec.ts models/V1CertificateSigningRequestStatus.ts models/V1CinderPersistentVolumeSource.ts models/V1CinderVolumeSource.ts -models/V1ClaimSource.ts models/V1ClientIPConfig.ts models/V1ClusterRole.ts models/V1ClusterRoleBinding.ts @@ -219,6 +220,7 @@ models/V1ContainerStateRunning.ts models/V1ContainerStateTerminated.ts models/V1ContainerStateWaiting.ts models/V1ContainerStatus.ts +models/V1ContainerUser.ts models/V1ControllerRevision.ts models/V1ControllerRevisionList.ts models/V1CronJob.ts @@ -277,6 +279,8 @@ models/V1ExemptPriorityLevelConfiguration.ts models/V1ExpressionWarning.ts models/V1ExternalDocumentation.ts models/V1FCVolumeSource.ts +models/V1FieldSelectorAttributes.ts +models/V1FieldSelectorRequirement.ts models/V1FlexPersistentVolumeSource.ts models/V1FlexVolumeSource.ts models/V1FlockerVolumeSource.ts @@ -308,6 +312,7 @@ models/V1HostPathVolumeSource.ts models/V1IPBlock.ts models/V1ISCSIPersistentVolumeSource.ts models/V1ISCSIVolumeSource.ts +models/V1ImageVolumeSource.ts models/V1Ingress.ts models/V1IngressBackend.ts models/V1IngressClass.ts @@ -332,6 +337,7 @@ models/V1JobStatus.ts models/V1JobTemplateSpec.ts models/V1KeyToPath.ts models/V1LabelSelector.ts +models/V1LabelSelectorAttributes.ts models/V1LabelSelectorRequirement.ts models/V1Lease.ts models/V1LeaseList.ts @@ -344,6 +350,7 @@ models/V1LimitRangeList.ts models/V1LimitRangeSpec.ts models/V1LimitResponse.ts models/V1LimitedPriorityLevelConfiguration.ts +models/V1LinuxContainerUser.ts models/V1ListMeta.ts models/V1LoadBalancerIngress.ts models/V1LoadBalancerStatus.ts @@ -378,6 +385,7 @@ models/V1NodeCondition.ts models/V1NodeConfigSource.ts models/V1NodeConfigStatus.ts models/V1NodeDaemonEndpoints.ts +models/V1NodeFeatures.ts models/V1NodeList.ts models/V1NodeRuntimeHandler.ts models/V1NodeRuntimeHandlerFeatures.ts @@ -470,6 +478,7 @@ models/V1ReplicationControllerStatus.ts models/V1ResourceAttributes.ts models/V1ResourceClaim.ts models/V1ResourceFieldSelector.ts +models/V1ResourceHealth.ts models/V1ResourcePolicyRule.ts models/V1ResourceQuota.ts models/V1ResourceQuotaList.ts @@ -477,6 +486,7 @@ models/V1ResourceQuotaSpec.ts models/V1ResourceQuotaStatus.ts models/V1ResourceRequirements.ts models/V1ResourceRule.ts +models/V1ResourceStatus.ts models/V1Role.ts models/V1RoleBinding.ts models/V1RoleBindingList.ts @@ -597,29 +607,26 @@ models/V1WatchEvent.ts models/V1WebhookConversion.ts models/V1WeightedPodAffinityTerm.ts models/V1WindowsSecurityContextOptions.ts -models/V1alpha1AuditAnnotation.ts +models/V1alpha1ApplyConfiguration.ts models/V1alpha1ClusterTrustBundle.ts models/V1alpha1ClusterTrustBundleList.ts models/V1alpha1ClusterTrustBundleSpec.ts -models/V1alpha1ExpressionWarning.ts models/V1alpha1GroupVersionResource.ts -models/V1alpha1IPAddress.ts -models/V1alpha1IPAddressList.ts -models/V1alpha1IPAddressSpec.ts +models/V1alpha1JSONPatch.ts models/V1alpha1MatchCondition.ts models/V1alpha1MatchResources.ts models/V1alpha1MigrationCondition.ts +models/V1alpha1MutatingAdmissionPolicy.ts +models/V1alpha1MutatingAdmissionPolicyBinding.ts +models/V1alpha1MutatingAdmissionPolicyBindingList.ts +models/V1alpha1MutatingAdmissionPolicyBindingSpec.ts +models/V1alpha1MutatingAdmissionPolicyList.ts +models/V1alpha1MutatingAdmissionPolicySpec.ts +models/V1alpha1Mutation.ts models/V1alpha1NamedRuleWithOperations.ts models/V1alpha1ParamKind.ts models/V1alpha1ParamRef.ts -models/V1alpha1ParentReference.ts -models/V1alpha1SelfSubjectReview.ts -models/V1alpha1SelfSubjectReviewStatus.ts models/V1alpha1ServerStorageVersion.ts -models/V1alpha1ServiceCIDR.ts -models/V1alpha1ServiceCIDRList.ts -models/V1alpha1ServiceCIDRSpec.ts -models/V1alpha1ServiceCIDRStatus.ts models/V1alpha1StorageVersion.ts models/V1alpha1StorageVersionCondition.ts models/V1alpha1StorageVersionList.ts @@ -628,66 +635,94 @@ models/V1alpha1StorageVersionMigrationList.ts models/V1alpha1StorageVersionMigrationSpec.ts models/V1alpha1StorageVersionMigrationStatus.ts models/V1alpha1StorageVersionStatus.ts -models/V1alpha1TypeChecking.ts -models/V1alpha1ValidatingAdmissionPolicy.ts -models/V1alpha1ValidatingAdmissionPolicyBinding.ts -models/V1alpha1ValidatingAdmissionPolicyBindingList.ts -models/V1alpha1ValidatingAdmissionPolicyBindingSpec.ts -models/V1alpha1ValidatingAdmissionPolicyList.ts -models/V1alpha1ValidatingAdmissionPolicySpec.ts -models/V1alpha1ValidatingAdmissionPolicyStatus.ts -models/V1alpha1Validation.ts models/V1alpha1Variable.ts models/V1alpha1VolumeAttributesClass.ts models/V1alpha1VolumeAttributesClassList.ts -models/V1alpha2AllocationResult.ts -models/V1alpha2DriverAllocationResult.ts -models/V1alpha2DriverRequests.ts -models/V1alpha2NamedResourcesAllocationResult.ts -models/V1alpha2NamedResourcesAttribute.ts -models/V1alpha2NamedResourcesFilter.ts -models/V1alpha2NamedResourcesInstance.ts -models/V1alpha2NamedResourcesIntSlice.ts -models/V1alpha2NamedResourcesRequest.ts -models/V1alpha2NamedResourcesResources.ts -models/V1alpha2NamedResourcesStringSlice.ts -models/V1alpha2PodSchedulingContext.ts -models/V1alpha2PodSchedulingContextList.ts -models/V1alpha2PodSchedulingContextSpec.ts -models/V1alpha2PodSchedulingContextStatus.ts -models/V1alpha2ResourceClaim.ts -models/V1alpha2ResourceClaimConsumerReference.ts -models/V1alpha2ResourceClaimList.ts -models/V1alpha2ResourceClaimParameters.ts -models/V1alpha2ResourceClaimParametersList.ts -models/V1alpha2ResourceClaimParametersReference.ts -models/V1alpha2ResourceClaimSchedulingStatus.ts -models/V1alpha2ResourceClaimSpec.ts -models/V1alpha2ResourceClaimStatus.ts -models/V1alpha2ResourceClaimTemplate.ts -models/V1alpha2ResourceClaimTemplateList.ts -models/V1alpha2ResourceClaimTemplateSpec.ts -models/V1alpha2ResourceClass.ts -models/V1alpha2ResourceClassList.ts -models/V1alpha2ResourceClassParameters.ts -models/V1alpha2ResourceClassParametersList.ts -models/V1alpha2ResourceClassParametersReference.ts -models/V1alpha2ResourceFilter.ts -models/V1alpha2ResourceHandle.ts -models/V1alpha2ResourceRequest.ts -models/V1alpha2ResourceSlice.ts -models/V1alpha2ResourceSliceList.ts -models/V1alpha2StructuredResourceHandle.ts -models/V1alpha2VendorParameters.ts +models/V1alpha2LeaseCandidate.ts +models/V1alpha2LeaseCandidateList.ts +models/V1alpha2LeaseCandidateSpec.ts +models/V1alpha3AllocatedDeviceStatus.ts +models/V1alpha3AllocationResult.ts +models/V1alpha3BasicDevice.ts +models/V1alpha3CELDeviceSelector.ts +models/V1alpha3Device.ts +models/V1alpha3DeviceAllocationConfiguration.ts +models/V1alpha3DeviceAllocationResult.ts +models/V1alpha3DeviceAttribute.ts +models/V1alpha3DeviceClaim.ts +models/V1alpha3DeviceClaimConfiguration.ts +models/V1alpha3DeviceClass.ts +models/V1alpha3DeviceClassConfiguration.ts +models/V1alpha3DeviceClassList.ts +models/V1alpha3DeviceClassSpec.ts +models/V1alpha3DeviceConstraint.ts +models/V1alpha3DeviceRequest.ts +models/V1alpha3DeviceRequestAllocationResult.ts +models/V1alpha3DeviceSelector.ts +models/V1alpha3NetworkDeviceData.ts +models/V1alpha3OpaqueDeviceConfiguration.ts +models/V1alpha3ResourceClaim.ts +models/V1alpha3ResourceClaimConsumerReference.ts +models/V1alpha3ResourceClaimList.ts +models/V1alpha3ResourceClaimSpec.ts +models/V1alpha3ResourceClaimStatus.ts +models/V1alpha3ResourceClaimTemplate.ts +models/V1alpha3ResourceClaimTemplateList.ts +models/V1alpha3ResourceClaimTemplateSpec.ts +models/V1alpha3ResourcePool.ts +models/V1alpha3ResourceSlice.ts +models/V1alpha3ResourceSliceList.ts +models/V1alpha3ResourceSliceSpec.ts +models/V1beta1AllocatedDeviceStatus.ts +models/V1beta1AllocationResult.ts models/V1beta1AuditAnnotation.ts +models/V1beta1BasicDevice.ts +models/V1beta1CELDeviceSelector.ts +models/V1beta1Device.ts +models/V1beta1DeviceAllocationConfiguration.ts +models/V1beta1DeviceAllocationResult.ts +models/V1beta1DeviceAttribute.ts +models/V1beta1DeviceCapacity.ts +models/V1beta1DeviceClaim.ts +models/V1beta1DeviceClaimConfiguration.ts +models/V1beta1DeviceClass.ts +models/V1beta1DeviceClassConfiguration.ts +models/V1beta1DeviceClassList.ts +models/V1beta1DeviceClassSpec.ts +models/V1beta1DeviceConstraint.ts +models/V1beta1DeviceRequest.ts +models/V1beta1DeviceRequestAllocationResult.ts +models/V1beta1DeviceSelector.ts models/V1beta1ExpressionWarning.ts +models/V1beta1IPAddress.ts +models/V1beta1IPAddressList.ts +models/V1beta1IPAddressSpec.ts models/V1beta1MatchCondition.ts models/V1beta1MatchResources.ts models/V1beta1NamedRuleWithOperations.ts +models/V1beta1NetworkDeviceData.ts +models/V1beta1OpaqueDeviceConfiguration.ts models/V1beta1ParamKind.ts models/V1beta1ParamRef.ts +models/V1beta1ParentReference.ts +models/V1beta1ResourceClaim.ts +models/V1beta1ResourceClaimConsumerReference.ts +models/V1beta1ResourceClaimList.ts +models/V1beta1ResourceClaimSpec.ts +models/V1beta1ResourceClaimStatus.ts +models/V1beta1ResourceClaimTemplate.ts +models/V1beta1ResourceClaimTemplateList.ts +models/V1beta1ResourceClaimTemplateSpec.ts +models/V1beta1ResourcePool.ts +models/V1beta1ResourceSlice.ts +models/V1beta1ResourceSliceList.ts +models/V1beta1ResourceSliceSpec.ts models/V1beta1SelfSubjectReview.ts models/V1beta1SelfSubjectReviewStatus.ts +models/V1beta1ServiceCIDR.ts +models/V1beta1ServiceCIDRList.ts +models/V1beta1ServiceCIDRSpec.ts +models/V1beta1ServiceCIDRStatus.ts models/V1beta1TypeChecking.ts models/V1beta1ValidatingAdmissionPolicy.ts models/V1beta1ValidatingAdmissionPolicyBinding.ts @@ -698,29 +733,8 @@ models/V1beta1ValidatingAdmissionPolicySpec.ts models/V1beta1ValidatingAdmissionPolicyStatus.ts models/V1beta1Validation.ts models/V1beta1Variable.ts -models/V1beta3ExemptPriorityLevelConfiguration.ts -models/V1beta3FlowDistinguisherMethod.ts -models/V1beta3FlowSchema.ts -models/V1beta3FlowSchemaCondition.ts -models/V1beta3FlowSchemaList.ts -models/V1beta3FlowSchemaSpec.ts -models/V1beta3FlowSchemaStatus.ts -models/V1beta3GroupSubject.ts -models/V1beta3LimitResponse.ts -models/V1beta3LimitedPriorityLevelConfiguration.ts -models/V1beta3NonResourcePolicyRule.ts -models/V1beta3PolicyRulesWithSubjects.ts -models/V1beta3PriorityLevelConfiguration.ts -models/V1beta3PriorityLevelConfigurationCondition.ts -models/V1beta3PriorityLevelConfigurationList.ts -models/V1beta3PriorityLevelConfigurationReference.ts -models/V1beta3PriorityLevelConfigurationSpec.ts -models/V1beta3PriorityLevelConfigurationStatus.ts -models/V1beta3QueuingConfiguration.ts -models/V1beta3ResourcePolicyRule.ts -models/V1beta3ServiceAccountSubject.ts -models/V1beta3Subject.ts -models/V1beta3UserSubject.ts +models/V1beta1VolumeAttributesClass.ts +models/V1beta1VolumeAttributesClassList.ts models/V2ContainerResourceMetricSource.ts models/V2ContainerResourceMetricStatus.ts models/V2CrossVersionObjectReference.ts diff --git a/src/gen/.openapi-generator/swagger.json-default.sha256 b/src/gen/.openapi-generator/swagger.json-default.sha256 index 6242ac14102..0db1f5332ba 100644 --- a/src/gen/.openapi-generator/swagger.json-default.sha256 +++ b/src/gen/.openapi-generator/swagger.json-default.sha256 @@ -1 +1 @@ -d5bc6d62f45aee0c583cfffb3d4853b27c4d8858ff197a11f01ef193293f00a9 \ No newline at end of file +6b0fba6b5c389b3e739c35e88c343156606d2d1594db1906cc11c5ad8afc9e89 \ No newline at end of file diff --git a/src/gen/AdmissionregistrationV1Api.md b/src/gen/AdmissionregistrationV1Api.md index 4abab980cad..75db144deb9 100644 --- a/src/gen/AdmissionregistrationV1Api.md +++ b/src/gen/AdmissionregistrationV1Api.md @@ -212,7 +212,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -450,7 +450,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -659,7 +659,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -845,7 +845,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -884,6 +884,8 @@ const request: AdmissionregistrationV1ApiDeleteCollectionMutatingWebhookConfigur fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -907,6 +909,7 @@ const request: AdmissionregistrationV1ApiDeleteCollectionMutatingWebhookConfigur "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -932,6 +935,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -953,7 +957,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -990,6 +994,8 @@ const request: AdmissionregistrationV1ApiDeleteCollectionValidatingAdmissionPoli fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -1013,6 +1019,7 @@ const request: AdmissionregistrationV1ApiDeleteCollectionValidatingAdmissionPoli "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -1038,6 +1045,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -1059,7 +1067,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1096,6 +1104,8 @@ const request: AdmissionregistrationV1ApiDeleteCollectionValidatingAdmissionPoli fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -1119,6 +1129,7 @@ const request: AdmissionregistrationV1ApiDeleteCollectionValidatingAdmissionPoli "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -1144,6 +1155,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -1165,7 +1177,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1202,6 +1214,8 @@ const request: AdmissionregistrationV1ApiDeleteCollectionValidatingWebhookConfig fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -1225,6 +1239,7 @@ const request: AdmissionregistrationV1ApiDeleteCollectionValidatingWebhookConfig "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -1250,6 +1265,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -1271,7 +1287,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1306,6 +1322,8 @@ const request: AdmissionregistrationV1ApiDeleteMutatingWebhookConfigurationReque dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -1317,6 +1335,7 @@ const request: AdmissionregistrationV1ApiDeleteMutatingWebhookConfigurationReque "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -1341,6 +1360,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -1356,7 +1376,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1392,6 +1412,8 @@ const request: AdmissionregistrationV1ApiDeleteValidatingAdmissionPolicyRequest dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -1403,6 +1425,7 @@ const request: AdmissionregistrationV1ApiDeleteValidatingAdmissionPolicyRequest "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -1427,6 +1450,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -1442,7 +1466,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1478,6 +1502,8 @@ const request: AdmissionregistrationV1ApiDeleteValidatingAdmissionPolicyBindingR dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -1489,6 +1515,7 @@ const request: AdmissionregistrationV1ApiDeleteValidatingAdmissionPolicyBindingR "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -1513,6 +1540,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -1528,7 +1556,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1564,6 +1592,8 @@ const request: AdmissionregistrationV1ApiDeleteValidatingWebhookConfigurationReq dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -1575,6 +1605,7 @@ const request: AdmissionregistrationV1ApiDeleteValidatingWebhookConfigurationReq "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -1599,6 +1630,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -1614,7 +1646,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1662,7 +1694,7 @@ This endpoint does not need any parameter. ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1746,7 +1778,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -1830,7 +1862,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -1914,7 +1946,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -1998,7 +2030,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -2069,8 +2101,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2142,8 +2174,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2215,8 +2247,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2288,8 +2320,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2361,8 +2393,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2420,7 +2452,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2477,7 +2509,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2534,7 +2566,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2591,7 +2623,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2648,7 +2680,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2836,7 +2868,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -3076,7 +3108,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -3287,7 +3319,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -3527,7 +3559,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -3715,7 +3747,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details diff --git a/src/gen/AdmissionregistrationV1alpha1Api.md b/src/gen/AdmissionregistrationV1alpha1Api.md index ed0c0e6017d..e256036b3b4 100644 --- a/src/gen/AdmissionregistrationV1alpha1Api.md +++ b/src/gen/AdmissionregistrationV1alpha1Api.md @@ -4,42 +4,39 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**createValidatingAdmissionPolicy**](AdmissionregistrationV1alpha1Api.md#createValidatingAdmissionPolicy) | **POST** /apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies | -[**createValidatingAdmissionPolicyBinding**](AdmissionregistrationV1alpha1Api.md#createValidatingAdmissionPolicyBinding) | **POST** /apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicybindings | -[**deleteCollectionValidatingAdmissionPolicy**](AdmissionregistrationV1alpha1Api.md#deleteCollectionValidatingAdmissionPolicy) | **DELETE** /apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies | -[**deleteCollectionValidatingAdmissionPolicyBinding**](AdmissionregistrationV1alpha1Api.md#deleteCollectionValidatingAdmissionPolicyBinding) | **DELETE** /apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicybindings | -[**deleteValidatingAdmissionPolicy**](AdmissionregistrationV1alpha1Api.md#deleteValidatingAdmissionPolicy) | **DELETE** /apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies/{name} | -[**deleteValidatingAdmissionPolicyBinding**](AdmissionregistrationV1alpha1Api.md#deleteValidatingAdmissionPolicyBinding) | **DELETE** /apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicybindings/{name} | +[**createMutatingAdmissionPolicy**](AdmissionregistrationV1alpha1Api.md#createMutatingAdmissionPolicy) | **POST** /apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies | +[**createMutatingAdmissionPolicyBinding**](AdmissionregistrationV1alpha1Api.md#createMutatingAdmissionPolicyBinding) | **POST** /apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings | +[**deleteCollectionMutatingAdmissionPolicy**](AdmissionregistrationV1alpha1Api.md#deleteCollectionMutatingAdmissionPolicy) | **DELETE** /apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies | +[**deleteCollectionMutatingAdmissionPolicyBinding**](AdmissionregistrationV1alpha1Api.md#deleteCollectionMutatingAdmissionPolicyBinding) | **DELETE** /apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings | +[**deleteMutatingAdmissionPolicy**](AdmissionregistrationV1alpha1Api.md#deleteMutatingAdmissionPolicy) | **DELETE** /apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies/{name} | +[**deleteMutatingAdmissionPolicyBinding**](AdmissionregistrationV1alpha1Api.md#deleteMutatingAdmissionPolicyBinding) | **DELETE** /apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings/{name} | [**getAPIResources**](AdmissionregistrationV1alpha1Api.md#getAPIResources) | **GET** /apis/admissionregistration.k8s.io/v1alpha1/ | -[**listValidatingAdmissionPolicy**](AdmissionregistrationV1alpha1Api.md#listValidatingAdmissionPolicy) | **GET** /apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies | -[**listValidatingAdmissionPolicyBinding**](AdmissionregistrationV1alpha1Api.md#listValidatingAdmissionPolicyBinding) | **GET** /apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicybindings | -[**patchValidatingAdmissionPolicy**](AdmissionregistrationV1alpha1Api.md#patchValidatingAdmissionPolicy) | **PATCH** /apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies/{name} | -[**patchValidatingAdmissionPolicyBinding**](AdmissionregistrationV1alpha1Api.md#patchValidatingAdmissionPolicyBinding) | **PATCH** /apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicybindings/{name} | -[**patchValidatingAdmissionPolicyStatus**](AdmissionregistrationV1alpha1Api.md#patchValidatingAdmissionPolicyStatus) | **PATCH** /apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies/{name}/status | -[**readValidatingAdmissionPolicy**](AdmissionregistrationV1alpha1Api.md#readValidatingAdmissionPolicy) | **GET** /apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies/{name} | -[**readValidatingAdmissionPolicyBinding**](AdmissionregistrationV1alpha1Api.md#readValidatingAdmissionPolicyBinding) | **GET** /apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicybindings/{name} | -[**readValidatingAdmissionPolicyStatus**](AdmissionregistrationV1alpha1Api.md#readValidatingAdmissionPolicyStatus) | **GET** /apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies/{name}/status | -[**replaceValidatingAdmissionPolicy**](AdmissionregistrationV1alpha1Api.md#replaceValidatingAdmissionPolicy) | **PUT** /apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies/{name} | -[**replaceValidatingAdmissionPolicyBinding**](AdmissionregistrationV1alpha1Api.md#replaceValidatingAdmissionPolicyBinding) | **PUT** /apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicybindings/{name} | -[**replaceValidatingAdmissionPolicyStatus**](AdmissionregistrationV1alpha1Api.md#replaceValidatingAdmissionPolicyStatus) | **PUT** /apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies/{name}/status | +[**listMutatingAdmissionPolicy**](AdmissionregistrationV1alpha1Api.md#listMutatingAdmissionPolicy) | **GET** /apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies | +[**listMutatingAdmissionPolicyBinding**](AdmissionregistrationV1alpha1Api.md#listMutatingAdmissionPolicyBinding) | **GET** /apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings | +[**patchMutatingAdmissionPolicy**](AdmissionregistrationV1alpha1Api.md#patchMutatingAdmissionPolicy) | **PATCH** /apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies/{name} | +[**patchMutatingAdmissionPolicyBinding**](AdmissionregistrationV1alpha1Api.md#patchMutatingAdmissionPolicyBinding) | **PATCH** /apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings/{name} | +[**readMutatingAdmissionPolicy**](AdmissionregistrationV1alpha1Api.md#readMutatingAdmissionPolicy) | **GET** /apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies/{name} | +[**readMutatingAdmissionPolicyBinding**](AdmissionregistrationV1alpha1Api.md#readMutatingAdmissionPolicyBinding) | **GET** /apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings/{name} | +[**replaceMutatingAdmissionPolicy**](AdmissionregistrationV1alpha1Api.md#replaceMutatingAdmissionPolicy) | **PUT** /apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies/{name} | +[**replaceMutatingAdmissionPolicyBinding**](AdmissionregistrationV1alpha1Api.md#replaceMutatingAdmissionPolicyBinding) | **PUT** /apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings/{name} | -# **createValidatingAdmissionPolicy** -> V1alpha1ValidatingAdmissionPolicy createValidatingAdmissionPolicy(body) +# **createMutatingAdmissionPolicy** +> V1alpha1MutatingAdmissionPolicy createMutatingAdmissionPolicy(body) -create a ValidatingAdmissionPolicy +create a MutatingAdmissionPolicy ### Example ```typescript import { createConfiguration, AdmissionregistrationV1alpha1Api } from ''; -import type { AdmissionregistrationV1alpha1ApiCreateValidatingAdmissionPolicyRequest } from ''; +import type { AdmissionregistrationV1alpha1ApiCreateMutatingAdmissionPolicyRequest } from ''; const configuration = createConfiguration(); const apiInstance = new AdmissionregistrationV1alpha1Api(configuration); -const request: AdmissionregistrationV1alpha1ApiCreateValidatingAdmissionPolicyRequest = { +const request: AdmissionregistrationV1alpha1ApiCreateMutatingAdmissionPolicyRequest = { body: { apiVersion: "apiVersion_example", @@ -87,12 +84,6 @@ const request: AdmissionregistrationV1alpha1ApiCreateValidatingAdmissionPolicyRe uid: "uid_example", }, spec: { - auditAnnotations: [ - { - key: "key_example", - valueExpression: "valueExpression_example", - }, - ], failurePolicy: "failurePolicy_example", matchConditions: [ { @@ -171,18 +162,22 @@ const request: AdmissionregistrationV1alpha1ApiCreateValidatingAdmissionPolicyRe }, ], }, + mutations: [ + { + applyConfiguration: { + expression: "expression_example", + }, + jsonPatch: { + expression: "expression_example", + }, + patchType: "patchType_example", + }, + ], paramKind: { apiVersion: "apiVersion_example", kind: "kind_example", }, - validations: [ - { - expression: "expression_example", - message: "message_example", - messageExpression: "messageExpression_example", - reason: "reason_example", - }, - ], + reinvocationPolicy: "reinvocationPolicy_example", variables: [ { expression: "expression_example", @@ -190,27 +185,6 @@ const request: AdmissionregistrationV1alpha1ApiCreateValidatingAdmissionPolicyRe }, ], }, - status: { - conditions: [ - { - lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), - message: "message_example", - observedGeneration: 1, - reason: "reason_example", - status: "status_example", - type: "type_example", - }, - ], - observedGeneration: 1, - typeChecking: { - expressionWarnings: [ - { - fieldRef: "fieldRef_example", - warning: "warning_example", - }, - ], - }, - }, }, // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) pretty: "pretty_example", @@ -222,7 +196,7 @@ const request: AdmissionregistrationV1alpha1ApiCreateValidatingAdmissionPolicyRe fieldValidation: "fieldValidation_example", }; -const data = await apiInstance.createValidatingAdmissionPolicy(request); +const data = await apiInstance.createMutatingAdmissionPolicy(request); console.log('API called successfully. Returned data:', data); ``` @@ -231,7 +205,7 @@ console.log('API called successfully. Returned data:', data); Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | **V1alpha1ValidatingAdmissionPolicy**| | + **body** | **V1alpha1MutatingAdmissionPolicy**| | **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined @@ -240,7 +214,7 @@ Name | Type | Description | Notes ### Return type -**V1alpha1ValidatingAdmissionPolicy** +**V1alpha1MutatingAdmissionPolicy** ### Authorization @@ -249,7 +223,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -262,22 +236,22 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) -# **createValidatingAdmissionPolicyBinding** -> V1alpha1ValidatingAdmissionPolicyBinding createValidatingAdmissionPolicyBinding(body) +# **createMutatingAdmissionPolicyBinding** +> V1alpha1MutatingAdmissionPolicyBinding createMutatingAdmissionPolicyBinding(body) -create a ValidatingAdmissionPolicyBinding +create a MutatingAdmissionPolicyBinding ### Example ```typescript import { createConfiguration, AdmissionregistrationV1alpha1Api } from ''; -import type { AdmissionregistrationV1alpha1ApiCreateValidatingAdmissionPolicyBindingRequest } from ''; +import type { AdmissionregistrationV1alpha1ApiCreateMutatingAdmissionPolicyBindingRequest } from ''; const configuration = createConfiguration(); const apiInstance = new AdmissionregistrationV1alpha1Api(configuration); -const request: AdmissionregistrationV1alpha1ApiCreateValidatingAdmissionPolicyBindingRequest = { +const request: AdmissionregistrationV1alpha1ApiCreateMutatingAdmissionPolicyBindingRequest = { body: { apiVersion: "apiVersion_example", @@ -416,9 +390,6 @@ const request: AdmissionregistrationV1alpha1ApiCreateValidatingAdmissionPolicyBi }, }, policyName: "policyName_example", - validationActions: [ - "validationActions_example", - ], }, }, // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -431,7 +402,7 @@ const request: AdmissionregistrationV1alpha1ApiCreateValidatingAdmissionPolicyBi fieldValidation: "fieldValidation_example", }; -const data = await apiInstance.createValidatingAdmissionPolicyBinding(request); +const data = await apiInstance.createMutatingAdmissionPolicyBinding(request); console.log('API called successfully. Returned data:', data); ``` @@ -440,7 +411,7 @@ console.log('API called successfully. Returned data:', data); Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | **V1alpha1ValidatingAdmissionPolicyBinding**| | + **body** | **V1alpha1MutatingAdmissionPolicyBinding**| | **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined @@ -449,7 +420,7 @@ Name | Type | Description | Notes ### Return type -**V1alpha1ValidatingAdmissionPolicyBinding** +**V1alpha1MutatingAdmissionPolicyBinding** ### Authorization @@ -458,7 +429,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -471,22 +442,22 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) -# **deleteCollectionValidatingAdmissionPolicy** -> V1Status deleteCollectionValidatingAdmissionPolicy() +# **deleteCollectionMutatingAdmissionPolicy** +> V1Status deleteCollectionMutatingAdmissionPolicy() -delete collection of ValidatingAdmissionPolicy +delete collection of MutatingAdmissionPolicy ### Example ```typescript import { createConfiguration, AdmissionregistrationV1alpha1Api } from ''; -import type { AdmissionregistrationV1alpha1ApiDeleteCollectionValidatingAdmissionPolicyRequest } from ''; +import type { AdmissionregistrationV1alpha1ApiDeleteCollectionMutatingAdmissionPolicyRequest } from ''; const configuration = createConfiguration(); const apiInstance = new AdmissionregistrationV1alpha1Api(configuration); -const request: AdmissionregistrationV1alpha1ApiDeleteCollectionValidatingAdmissionPolicyRequest = { +const request: AdmissionregistrationV1alpha1ApiDeleteCollectionMutatingAdmissionPolicyRequest = { // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) pretty: "pretty_example", // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) @@ -497,6 +468,8 @@ const request: AdmissionregistrationV1alpha1ApiDeleteCollectionValidatingAdmissi fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -520,6 +493,7 @@ const request: AdmissionregistrationV1alpha1ApiDeleteCollectionValidatingAdmissi "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -530,7 +504,7 @@ const request: AdmissionregistrationV1alpha1ApiDeleteCollectionValidatingAdmissi }, }; -const data = await apiInstance.deleteCollectionValidatingAdmissionPolicy(request); +const data = await apiInstance.deleteCollectionMutatingAdmissionPolicy(request); console.log('API called successfully. Returned data:', data); ``` @@ -545,6 +519,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -566,7 +541,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -577,22 +552,22 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) -# **deleteCollectionValidatingAdmissionPolicyBinding** -> V1Status deleteCollectionValidatingAdmissionPolicyBinding() +# **deleteCollectionMutatingAdmissionPolicyBinding** +> V1Status deleteCollectionMutatingAdmissionPolicyBinding() -delete collection of ValidatingAdmissionPolicyBinding +delete collection of MutatingAdmissionPolicyBinding ### Example ```typescript import { createConfiguration, AdmissionregistrationV1alpha1Api } from ''; -import type { AdmissionregistrationV1alpha1ApiDeleteCollectionValidatingAdmissionPolicyBindingRequest } from ''; +import type { AdmissionregistrationV1alpha1ApiDeleteCollectionMutatingAdmissionPolicyBindingRequest } from ''; const configuration = createConfiguration(); const apiInstance = new AdmissionregistrationV1alpha1Api(configuration); -const request: AdmissionregistrationV1alpha1ApiDeleteCollectionValidatingAdmissionPolicyBindingRequest = { +const request: AdmissionregistrationV1alpha1ApiDeleteCollectionMutatingAdmissionPolicyBindingRequest = { // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) pretty: "pretty_example", // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) @@ -603,6 +578,8 @@ const request: AdmissionregistrationV1alpha1ApiDeleteCollectionValidatingAdmissi fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -626,6 +603,7 @@ const request: AdmissionregistrationV1alpha1ApiDeleteCollectionValidatingAdmissi "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -636,7 +614,7 @@ const request: AdmissionregistrationV1alpha1ApiDeleteCollectionValidatingAdmissi }, }; -const data = await apiInstance.deleteCollectionValidatingAdmissionPolicyBinding(request); +const data = await apiInstance.deleteCollectionMutatingAdmissionPolicyBinding(request); console.log('API called successfully. Returned data:', data); ``` @@ -651,6 +629,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -672,7 +651,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -683,23 +662,23 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) -# **deleteValidatingAdmissionPolicy** -> V1Status deleteValidatingAdmissionPolicy() +# **deleteMutatingAdmissionPolicy** +> V1Status deleteMutatingAdmissionPolicy() -delete a ValidatingAdmissionPolicy +delete a MutatingAdmissionPolicy ### Example ```typescript import { createConfiguration, AdmissionregistrationV1alpha1Api } from ''; -import type { AdmissionregistrationV1alpha1ApiDeleteValidatingAdmissionPolicyRequest } from ''; +import type { AdmissionregistrationV1alpha1ApiDeleteMutatingAdmissionPolicyRequest } from ''; const configuration = createConfiguration(); const apiInstance = new AdmissionregistrationV1alpha1Api(configuration); -const request: AdmissionregistrationV1alpha1ApiDeleteValidatingAdmissionPolicyRequest = { - // name of the ValidatingAdmissionPolicy +const request: AdmissionregistrationV1alpha1ApiDeleteMutatingAdmissionPolicyRequest = { + // name of the MutatingAdmissionPolicy name: "name_example", // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) pretty: "pretty_example", @@ -707,6 +686,8 @@ const request: AdmissionregistrationV1alpha1ApiDeleteValidatingAdmissionPolicyRe dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -718,6 +699,7 @@ const request: AdmissionregistrationV1alpha1ApiDeleteValidatingAdmissionPolicyRe "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -728,7 +710,7 @@ const request: AdmissionregistrationV1alpha1ApiDeleteValidatingAdmissionPolicyRe }, }; -const data = await apiInstance.deleteValidatingAdmissionPolicy(request); +const data = await apiInstance.deleteMutatingAdmissionPolicy(request); console.log('API called successfully. Returned data:', data); ``` @@ -738,10 +720,11 @@ console.log('API called successfully. Returned data:', data); Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | **V1DeleteOptions**| | - **name** | [**string**] | name of the ValidatingAdmissionPolicy | defaults to undefined + **name** | [**string**] | name of the MutatingAdmissionPolicy | defaults to undefined **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -757,7 +740,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -769,23 +752,23 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) -# **deleteValidatingAdmissionPolicyBinding** -> V1Status deleteValidatingAdmissionPolicyBinding() +# **deleteMutatingAdmissionPolicyBinding** +> V1Status deleteMutatingAdmissionPolicyBinding() -delete a ValidatingAdmissionPolicyBinding +delete a MutatingAdmissionPolicyBinding ### Example ```typescript import { createConfiguration, AdmissionregistrationV1alpha1Api } from ''; -import type { AdmissionregistrationV1alpha1ApiDeleteValidatingAdmissionPolicyBindingRequest } from ''; +import type { AdmissionregistrationV1alpha1ApiDeleteMutatingAdmissionPolicyBindingRequest } from ''; const configuration = createConfiguration(); const apiInstance = new AdmissionregistrationV1alpha1Api(configuration); -const request: AdmissionregistrationV1alpha1ApiDeleteValidatingAdmissionPolicyBindingRequest = { - // name of the ValidatingAdmissionPolicyBinding +const request: AdmissionregistrationV1alpha1ApiDeleteMutatingAdmissionPolicyBindingRequest = { + // name of the MutatingAdmissionPolicyBinding name: "name_example", // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) pretty: "pretty_example", @@ -793,6 +776,8 @@ const request: AdmissionregistrationV1alpha1ApiDeleteValidatingAdmissionPolicyBi dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -804,6 +789,7 @@ const request: AdmissionregistrationV1alpha1ApiDeleteValidatingAdmissionPolicyBi "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -814,7 +800,7 @@ const request: AdmissionregistrationV1alpha1ApiDeleteValidatingAdmissionPolicyBi }, }; -const data = await apiInstance.deleteValidatingAdmissionPolicyBinding(request); +const data = await apiInstance.deleteMutatingAdmissionPolicyBinding(request); console.log('API called successfully. Returned data:', data); ``` @@ -824,10 +810,11 @@ console.log('API called successfully. Returned data:', data); Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | **V1DeleteOptions**| | - **name** | [**string**] | name of the ValidatingAdmissionPolicyBinding | defaults to undefined + **name** | [**string**] | name of the MutatingAdmissionPolicyBinding | defaults to undefined **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -843,7 +830,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -891,7 +878,7 @@ This endpoint does not need any parameter. ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -902,22 +889,22 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) -# **listValidatingAdmissionPolicy** -> V1alpha1ValidatingAdmissionPolicyList listValidatingAdmissionPolicy() +# **listMutatingAdmissionPolicy** +> V1alpha1MutatingAdmissionPolicyList listMutatingAdmissionPolicy() -list or watch objects of kind ValidatingAdmissionPolicy +list or watch objects of kind MutatingAdmissionPolicy ### Example ```typescript import { createConfiguration, AdmissionregistrationV1alpha1Api } from ''; -import type { AdmissionregistrationV1alpha1ApiListValidatingAdmissionPolicyRequest } from ''; +import type { AdmissionregistrationV1alpha1ApiListMutatingAdmissionPolicyRequest } from ''; const configuration = createConfiguration(); const apiInstance = new AdmissionregistrationV1alpha1Api(configuration); -const request: AdmissionregistrationV1alpha1ApiListValidatingAdmissionPolicyRequest = { +const request: AdmissionregistrationV1alpha1ApiListMutatingAdmissionPolicyRequest = { // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) pretty: "pretty_example", // allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) @@ -942,7 +929,7 @@ const request: AdmissionregistrationV1alpha1ApiListValidatingAdmissionPolicyRequ watch: true, }; -const data = await apiInstance.listValidatingAdmissionPolicy(request); +const data = await apiInstance.listMutatingAdmissionPolicy(request); console.log('API called successfully. Returned data:', data); ``` @@ -966,7 +953,7 @@ Name | Type | Description | Notes ### Return type -**V1alpha1ValidatingAdmissionPolicyList** +**V1alpha1MutatingAdmissionPolicyList** ### Authorization @@ -975,7 +962,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -986,22 +973,22 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) -# **listValidatingAdmissionPolicyBinding** -> V1alpha1ValidatingAdmissionPolicyBindingList listValidatingAdmissionPolicyBinding() +# **listMutatingAdmissionPolicyBinding** +> V1alpha1MutatingAdmissionPolicyBindingList listMutatingAdmissionPolicyBinding() -list or watch objects of kind ValidatingAdmissionPolicyBinding +list or watch objects of kind MutatingAdmissionPolicyBinding ### Example ```typescript import { createConfiguration, AdmissionregistrationV1alpha1Api } from ''; -import type { AdmissionregistrationV1alpha1ApiListValidatingAdmissionPolicyBindingRequest } from ''; +import type { AdmissionregistrationV1alpha1ApiListMutatingAdmissionPolicyBindingRequest } from ''; const configuration = createConfiguration(); const apiInstance = new AdmissionregistrationV1alpha1Api(configuration); -const request: AdmissionregistrationV1alpha1ApiListValidatingAdmissionPolicyBindingRequest = { +const request: AdmissionregistrationV1alpha1ApiListMutatingAdmissionPolicyBindingRequest = { // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) pretty: "pretty_example", // allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) @@ -1026,7 +1013,7 @@ const request: AdmissionregistrationV1alpha1ApiListValidatingAdmissionPolicyBind watch: true, }; -const data = await apiInstance.listValidatingAdmissionPolicyBinding(request); +const data = await apiInstance.listMutatingAdmissionPolicyBinding(request); console.log('API called successfully. Returned data:', data); ``` @@ -1050,7 +1037,7 @@ Name | Type | Description | Notes ### Return type -**V1alpha1ValidatingAdmissionPolicyBindingList** +**V1alpha1MutatingAdmissionPolicyBindingList** ### Authorization @@ -1059,107 +1046,34 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - -# **patchValidatingAdmissionPolicy** -> V1alpha1ValidatingAdmissionPolicy patchValidatingAdmissionPolicy(body) - -partially update the specified ValidatingAdmissionPolicy - -### Example - - -```typescript -import { createConfiguration, AdmissionregistrationV1alpha1Api } from ''; -import type { AdmissionregistrationV1alpha1ApiPatchValidatingAdmissionPolicyRequest } from ''; - -const configuration = createConfiguration(); -const apiInstance = new AdmissionregistrationV1alpha1Api(configuration); - -const request: AdmissionregistrationV1alpha1ApiPatchValidatingAdmissionPolicyRequest = { - // name of the ValidatingAdmissionPolicy - name: "name_example", - - body: {}, - // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - pretty: "pretty_example", - // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - dryRun: "dryRun_example", - // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) - fieldManager: "fieldManager_example", - // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - fieldValidation: "fieldValidation_example", - // Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) - force: true, -}; - -const data = await apiInstance.patchValidatingAdmissionPolicy(request); -console.log('API called successfully. Returned data:', data); -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | **any**| | - **name** | [**string**] | name of the ValidatingAdmissionPolicy | defaults to undefined - **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined - **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined - **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | (optional) defaults to undefined - **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined - **force** | [**boolean**] | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | (optional) defaults to undefined - - -### Return type - -**V1alpha1ValidatingAdmissionPolicy** - -### Authorization - -[BearerToken](README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | -**201** | Created | - | **401** | Unauthorized | - | [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) -# **patchValidatingAdmissionPolicyBinding** -> V1alpha1ValidatingAdmissionPolicyBinding patchValidatingAdmissionPolicyBinding(body) +# **patchMutatingAdmissionPolicy** +> V1alpha1MutatingAdmissionPolicy patchMutatingAdmissionPolicy(body) -partially update the specified ValidatingAdmissionPolicyBinding +partially update the specified MutatingAdmissionPolicy ### Example ```typescript import { createConfiguration, AdmissionregistrationV1alpha1Api } from ''; -import type { AdmissionregistrationV1alpha1ApiPatchValidatingAdmissionPolicyBindingRequest } from ''; +import type { AdmissionregistrationV1alpha1ApiPatchMutatingAdmissionPolicyRequest } from ''; const configuration = createConfiguration(); const apiInstance = new AdmissionregistrationV1alpha1Api(configuration); -const request: AdmissionregistrationV1alpha1ApiPatchValidatingAdmissionPolicyBindingRequest = { - // name of the ValidatingAdmissionPolicyBinding +const request: AdmissionregistrationV1alpha1ApiPatchMutatingAdmissionPolicyRequest = { + // name of the MutatingAdmissionPolicy name: "name_example", body: {}, @@ -1175,7 +1089,7 @@ const request: AdmissionregistrationV1alpha1ApiPatchValidatingAdmissionPolicyBin force: true, }; -const data = await apiInstance.patchValidatingAdmissionPolicyBinding(request); +const data = await apiInstance.patchMutatingAdmissionPolicy(request); console.log('API called successfully. Returned data:', data); ``` @@ -1185,7 +1099,7 @@ console.log('API called successfully. Returned data:', data); Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | **any**| | - **name** | [**string**] | name of the ValidatingAdmissionPolicyBinding | defaults to undefined + **name** | [**string**] | name of the MutatingAdmissionPolicy | defaults to undefined **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | (optional) defaults to undefined @@ -1195,7 +1109,7 @@ Name | Type | Description | Notes ### Return type -**V1alpha1ValidatingAdmissionPolicyBinding** +**V1alpha1MutatingAdmissionPolicy** ### Authorization @@ -1203,8 +1117,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1216,23 +1130,23 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) -# **patchValidatingAdmissionPolicyStatus** -> V1alpha1ValidatingAdmissionPolicy patchValidatingAdmissionPolicyStatus(body) +# **patchMutatingAdmissionPolicyBinding** +> V1alpha1MutatingAdmissionPolicyBinding patchMutatingAdmissionPolicyBinding(body) -partially update status of the specified ValidatingAdmissionPolicy +partially update the specified MutatingAdmissionPolicyBinding ### Example ```typescript import { createConfiguration, AdmissionregistrationV1alpha1Api } from ''; -import type { AdmissionregistrationV1alpha1ApiPatchValidatingAdmissionPolicyStatusRequest } from ''; +import type { AdmissionregistrationV1alpha1ApiPatchMutatingAdmissionPolicyBindingRequest } from ''; const configuration = createConfiguration(); const apiInstance = new AdmissionregistrationV1alpha1Api(configuration); -const request: AdmissionregistrationV1alpha1ApiPatchValidatingAdmissionPolicyStatusRequest = { - // name of the ValidatingAdmissionPolicy +const request: AdmissionregistrationV1alpha1ApiPatchMutatingAdmissionPolicyBindingRequest = { + // name of the MutatingAdmissionPolicyBinding name: "name_example", body: {}, @@ -1248,7 +1162,7 @@ const request: AdmissionregistrationV1alpha1ApiPatchValidatingAdmissionPolicySta force: true, }; -const data = await apiInstance.patchValidatingAdmissionPolicyStatus(request); +const data = await apiInstance.patchMutatingAdmissionPolicyBinding(request); console.log('API called successfully. Returned data:', data); ``` @@ -1258,7 +1172,7 @@ console.log('API called successfully. Returned data:', data); Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | **any**| | - **name** | [**string**] | name of the ValidatingAdmissionPolicy | defaults to undefined + **name** | [**string**] | name of the MutatingAdmissionPolicyBinding | defaults to undefined **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | (optional) defaults to undefined @@ -1268,7 +1182,7 @@ Name | Type | Description | Notes ### Return type -**V1alpha1ValidatingAdmissionPolicy** +**V1alpha1MutatingAdmissionPolicyBinding** ### Authorization @@ -1276,8 +1190,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1289,86 +1203,29 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) -# **readValidatingAdmissionPolicy** -> V1alpha1ValidatingAdmissionPolicy readValidatingAdmissionPolicy() - -read the specified ValidatingAdmissionPolicy - -### Example - - -```typescript -import { createConfiguration, AdmissionregistrationV1alpha1Api } from ''; -import type { AdmissionregistrationV1alpha1ApiReadValidatingAdmissionPolicyRequest } from ''; - -const configuration = createConfiguration(); -const apiInstance = new AdmissionregistrationV1alpha1Api(configuration); - -const request: AdmissionregistrationV1alpha1ApiReadValidatingAdmissionPolicyRequest = { - // name of the ValidatingAdmissionPolicy - name: "name_example", - // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - pretty: "pretty_example", -}; - -const data = await apiInstance.readValidatingAdmissionPolicy(request); -console.log('API called successfully. Returned data:', data); -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | [**string**] | name of the ValidatingAdmissionPolicy | defaults to undefined - **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined - - -### Return type - -**V1alpha1ValidatingAdmissionPolicy** - -### Authorization - -[BearerToken](README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - -# **readValidatingAdmissionPolicyBinding** -> V1alpha1ValidatingAdmissionPolicyBinding readValidatingAdmissionPolicyBinding() +# **readMutatingAdmissionPolicy** +> V1alpha1MutatingAdmissionPolicy readMutatingAdmissionPolicy() -read the specified ValidatingAdmissionPolicyBinding +read the specified MutatingAdmissionPolicy ### Example ```typescript import { createConfiguration, AdmissionregistrationV1alpha1Api } from ''; -import type { AdmissionregistrationV1alpha1ApiReadValidatingAdmissionPolicyBindingRequest } from ''; +import type { AdmissionregistrationV1alpha1ApiReadMutatingAdmissionPolicyRequest } from ''; const configuration = createConfiguration(); const apiInstance = new AdmissionregistrationV1alpha1Api(configuration); -const request: AdmissionregistrationV1alpha1ApiReadValidatingAdmissionPolicyBindingRequest = { - // name of the ValidatingAdmissionPolicyBinding +const request: AdmissionregistrationV1alpha1ApiReadMutatingAdmissionPolicyRequest = { + // name of the MutatingAdmissionPolicy name: "name_example", // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) pretty: "pretty_example", }; -const data = await apiInstance.readValidatingAdmissionPolicyBinding(request); +const data = await apiInstance.readMutatingAdmissionPolicy(request); console.log('API called successfully. Returned data:', data); ``` @@ -1377,13 +1234,13 @@ console.log('API called successfully. Returned data:', data); Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | [**string**] | name of the ValidatingAdmissionPolicyBinding | defaults to undefined + **name** | [**string**] | name of the MutatingAdmissionPolicy | defaults to undefined **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined ### Return type -**V1alpha1ValidatingAdmissionPolicyBinding** +**V1alpha1MutatingAdmissionPolicy** ### Authorization @@ -1392,7 +1249,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1403,29 +1260,29 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) -# **readValidatingAdmissionPolicyStatus** -> V1alpha1ValidatingAdmissionPolicy readValidatingAdmissionPolicyStatus() +# **readMutatingAdmissionPolicyBinding** +> V1alpha1MutatingAdmissionPolicyBinding readMutatingAdmissionPolicyBinding() -read status of the specified ValidatingAdmissionPolicy +read the specified MutatingAdmissionPolicyBinding ### Example ```typescript import { createConfiguration, AdmissionregistrationV1alpha1Api } from ''; -import type { AdmissionregistrationV1alpha1ApiReadValidatingAdmissionPolicyStatusRequest } from ''; +import type { AdmissionregistrationV1alpha1ApiReadMutatingAdmissionPolicyBindingRequest } from ''; const configuration = createConfiguration(); const apiInstance = new AdmissionregistrationV1alpha1Api(configuration); -const request: AdmissionregistrationV1alpha1ApiReadValidatingAdmissionPolicyStatusRequest = { - // name of the ValidatingAdmissionPolicy +const request: AdmissionregistrationV1alpha1ApiReadMutatingAdmissionPolicyBindingRequest = { + // name of the MutatingAdmissionPolicyBinding name: "name_example", // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) pretty: "pretty_example", }; -const data = await apiInstance.readValidatingAdmissionPolicyStatus(request); +const data = await apiInstance.readMutatingAdmissionPolicyBinding(request); console.log('API called successfully. Returned data:', data); ``` @@ -1434,13 +1291,13 @@ console.log('API called successfully. Returned data:', data); Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | [**string**] | name of the ValidatingAdmissionPolicy | defaults to undefined + **name** | [**string**] | name of the MutatingAdmissionPolicyBinding | defaults to undefined **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined ### Return type -**V1alpha1ValidatingAdmissionPolicy** +**V1alpha1MutatingAdmissionPolicyBinding** ### Authorization @@ -1449,7 +1306,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1460,23 +1317,23 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) -# **replaceValidatingAdmissionPolicy** -> V1alpha1ValidatingAdmissionPolicy replaceValidatingAdmissionPolicy(body) +# **replaceMutatingAdmissionPolicy** +> V1alpha1MutatingAdmissionPolicy replaceMutatingAdmissionPolicy(body) -replace the specified ValidatingAdmissionPolicy +replace the specified MutatingAdmissionPolicy ### Example ```typescript import { createConfiguration, AdmissionregistrationV1alpha1Api } from ''; -import type { AdmissionregistrationV1alpha1ApiReplaceValidatingAdmissionPolicyRequest } from ''; +import type { AdmissionregistrationV1alpha1ApiReplaceMutatingAdmissionPolicyRequest } from ''; const configuration = createConfiguration(); const apiInstance = new AdmissionregistrationV1alpha1Api(configuration); -const request: AdmissionregistrationV1alpha1ApiReplaceValidatingAdmissionPolicyRequest = { - // name of the ValidatingAdmissionPolicy +const request: AdmissionregistrationV1alpha1ApiReplaceMutatingAdmissionPolicyRequest = { + // name of the MutatingAdmissionPolicy name: "name_example", body: { @@ -1525,12 +1382,6 @@ const request: AdmissionregistrationV1alpha1ApiReplaceValidatingAdmissionPolicyR uid: "uid_example", }, spec: { - auditAnnotations: [ - { - key: "key_example", - valueExpression: "valueExpression_example", - }, - ], failurePolicy: "failurePolicy_example", matchConditions: [ { @@ -1609,18 +1460,22 @@ const request: AdmissionregistrationV1alpha1ApiReplaceValidatingAdmissionPolicyR }, ], }, + mutations: [ + { + applyConfiguration: { + expression: "expression_example", + }, + jsonPatch: { + expression: "expression_example", + }, + patchType: "patchType_example", + }, + ], paramKind: { apiVersion: "apiVersion_example", kind: "kind_example", }, - validations: [ - { - expression: "expression_example", - message: "message_example", - messageExpression: "messageExpression_example", - reason: "reason_example", - }, - ], + reinvocationPolicy: "reinvocationPolicy_example", variables: [ { expression: "expression_example", @@ -1628,27 +1483,6 @@ const request: AdmissionregistrationV1alpha1ApiReplaceValidatingAdmissionPolicyR }, ], }, - status: { - conditions: [ - { - lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), - message: "message_example", - observedGeneration: 1, - reason: "reason_example", - status: "status_example", - type: "type_example", - }, - ], - observedGeneration: 1, - typeChecking: { - expressionWarnings: [ - { - fieldRef: "fieldRef_example", - warning: "warning_example", - }, - ], - }, - }, }, // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) pretty: "pretty_example", @@ -1660,7 +1494,7 @@ const request: AdmissionregistrationV1alpha1ApiReplaceValidatingAdmissionPolicyR fieldValidation: "fieldValidation_example", }; -const data = await apiInstance.replaceValidatingAdmissionPolicy(request); +const data = await apiInstance.replaceMutatingAdmissionPolicy(request); console.log('API called successfully. Returned data:', data); ``` @@ -1669,8 +1503,8 @@ console.log('API called successfully. Returned data:', data); Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | **V1alpha1ValidatingAdmissionPolicy**| | - **name** | [**string**] | name of the ValidatingAdmissionPolicy | defaults to undefined + **body** | **V1alpha1MutatingAdmissionPolicy**| | + **name** | [**string**] | name of the MutatingAdmissionPolicy | defaults to undefined **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined @@ -1679,7 +1513,7 @@ Name | Type | Description | Notes ### Return type -**V1alpha1ValidatingAdmissionPolicy** +**V1alpha1MutatingAdmissionPolicy** ### Authorization @@ -1688,7 +1522,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1700,23 +1534,23 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) -# **replaceValidatingAdmissionPolicyBinding** -> V1alpha1ValidatingAdmissionPolicyBinding replaceValidatingAdmissionPolicyBinding(body) +# **replaceMutatingAdmissionPolicyBinding** +> V1alpha1MutatingAdmissionPolicyBinding replaceMutatingAdmissionPolicyBinding(body) -replace the specified ValidatingAdmissionPolicyBinding +replace the specified MutatingAdmissionPolicyBinding ### Example ```typescript import { createConfiguration, AdmissionregistrationV1alpha1Api } from ''; -import type { AdmissionregistrationV1alpha1ApiReplaceValidatingAdmissionPolicyBindingRequest } from ''; +import type { AdmissionregistrationV1alpha1ApiReplaceMutatingAdmissionPolicyBindingRequest } from ''; const configuration = createConfiguration(); const apiInstance = new AdmissionregistrationV1alpha1Api(configuration); -const request: AdmissionregistrationV1alpha1ApiReplaceValidatingAdmissionPolicyBindingRequest = { - // name of the ValidatingAdmissionPolicyBinding +const request: AdmissionregistrationV1alpha1ApiReplaceMutatingAdmissionPolicyBindingRequest = { + // name of the MutatingAdmissionPolicyBinding name: "name_example", body: { @@ -1856,249 +1690,6 @@ const request: AdmissionregistrationV1alpha1ApiReplaceValidatingAdmissionPolicyB }, }, policyName: "policyName_example", - validationActions: [ - "validationActions_example", - ], - }, - }, - // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - pretty: "pretty_example", - // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) - dryRun: "dryRun_example", - // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) - fieldManager: "fieldManager_example", - // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) - fieldValidation: "fieldValidation_example", -}; - -const data = await apiInstance.replaceValidatingAdmissionPolicyBinding(request); -console.log('API called successfully. Returned data:', data); -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | **V1alpha1ValidatingAdmissionPolicyBinding**| | - **name** | [**string**] | name of the ValidatingAdmissionPolicyBinding | defaults to undefined - **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined - **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined - **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined - **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined - - -### Return type - -**V1alpha1ValidatingAdmissionPolicyBinding** - -### Authorization - -[BearerToken](README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**201** | Created | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - -# **replaceValidatingAdmissionPolicyStatus** -> V1alpha1ValidatingAdmissionPolicy replaceValidatingAdmissionPolicyStatus(body) - -replace status of the specified ValidatingAdmissionPolicy - -### Example - - -```typescript -import { createConfiguration, AdmissionregistrationV1alpha1Api } from ''; -import type { AdmissionregistrationV1alpha1ApiReplaceValidatingAdmissionPolicyStatusRequest } from ''; - -const configuration = createConfiguration(); -const apiInstance = new AdmissionregistrationV1alpha1Api(configuration); - -const request: AdmissionregistrationV1alpha1ApiReplaceValidatingAdmissionPolicyStatusRequest = { - // name of the ValidatingAdmissionPolicy - name: "name_example", - - body: { - apiVersion: "apiVersion_example", - kind: "kind_example", - metadata: { - annotations: { - "key": "key_example", - }, - creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), - deletionGracePeriodSeconds: 1, - deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), - finalizers: [ - "finalizers_example", - ], - generateName: "generateName_example", - generation: 1, - labels: { - "key": "key_example", - }, - managedFields: [ - { - apiVersion: "apiVersion_example", - fieldsType: "fieldsType_example", - fieldsV1: {}, - manager: "manager_example", - operation: "operation_example", - subresource: "subresource_example", - time: new Date('1970-01-01T00:00:00.00Z'), - }, - ], - name: "name_example", - namespace: "namespace_example", - ownerReferences: [ - { - apiVersion: "apiVersion_example", - blockOwnerDeletion: true, - controller: true, - kind: "kind_example", - name: "name_example", - uid: "uid_example", - }, - ], - resourceVersion: "resourceVersion_example", - selfLink: "selfLink_example", - uid: "uid_example", - }, - spec: { - auditAnnotations: [ - { - key: "key_example", - valueExpression: "valueExpression_example", - }, - ], - failurePolicy: "failurePolicy_example", - matchConditions: [ - { - expression: "expression_example", - name: "name_example", - }, - ], - matchConstraints: { - excludeResourceRules: [ - { - apiGroups: [ - "apiGroups_example", - ], - apiVersions: [ - "apiVersions_example", - ], - operations: [ - "operations_example", - ], - resourceNames: [ - "resourceNames_example", - ], - resources: [ - "resources_example", - ], - scope: "scope_example", - }, - ], - matchPolicy: "matchPolicy_example", - namespaceSelector: { - matchExpressions: [ - { - key: "key_example", - operator: "operator_example", - values: [ - "values_example", - ], - }, - ], - matchLabels: { - "key": "key_example", - }, - }, - objectSelector: { - matchExpressions: [ - { - key: "key_example", - operator: "operator_example", - values: [ - "values_example", - ], - }, - ], - matchLabels: { - "key": "key_example", - }, - }, - resourceRules: [ - { - apiGroups: [ - "apiGroups_example", - ], - apiVersions: [ - "apiVersions_example", - ], - operations: [ - "operations_example", - ], - resourceNames: [ - "resourceNames_example", - ], - resources: [ - "resources_example", - ], - scope: "scope_example", - }, - ], - }, - paramKind: { - apiVersion: "apiVersion_example", - kind: "kind_example", - }, - validations: [ - { - expression: "expression_example", - message: "message_example", - messageExpression: "messageExpression_example", - reason: "reason_example", - }, - ], - variables: [ - { - expression: "expression_example", - name: "name_example", - }, - ], - }, - status: { - conditions: [ - { - lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), - message: "message_example", - observedGeneration: 1, - reason: "reason_example", - status: "status_example", - type: "type_example", - }, - ], - observedGeneration: 1, - typeChecking: { - expressionWarnings: [ - { - fieldRef: "fieldRef_example", - warning: "warning_example", - }, - ], - }, }, }, // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -2111,7 +1702,7 @@ const request: AdmissionregistrationV1alpha1ApiReplaceValidatingAdmissionPolicyS fieldValidation: "fieldValidation_example", }; -const data = await apiInstance.replaceValidatingAdmissionPolicyStatus(request); +const data = await apiInstance.replaceMutatingAdmissionPolicyBinding(request); console.log('API called successfully. Returned data:', data); ``` @@ -2120,8 +1711,8 @@ console.log('API called successfully. Returned data:', data); Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | **V1alpha1ValidatingAdmissionPolicy**| | - **name** | [**string**] | name of the ValidatingAdmissionPolicy | defaults to undefined + **body** | **V1alpha1MutatingAdmissionPolicyBinding**| | + **name** | [**string**] | name of the MutatingAdmissionPolicyBinding | defaults to undefined **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined @@ -2130,7 +1721,7 @@ Name | Type | Description | Notes ### Return type -**V1alpha1ValidatingAdmissionPolicy** +**V1alpha1MutatingAdmissionPolicyBinding** ### Authorization @@ -2139,7 +1730,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details diff --git a/src/gen/AdmissionregistrationV1beta1Api.md b/src/gen/AdmissionregistrationV1beta1Api.md index ab925e579bb..4e47737e28a 100644 --- a/src/gen/AdmissionregistrationV1beta1Api.md +++ b/src/gen/AdmissionregistrationV1beta1Api.md @@ -249,7 +249,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -458,7 +458,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -497,6 +497,8 @@ const request: AdmissionregistrationV1beta1ApiDeleteCollectionValidatingAdmissio fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -520,6 +522,7 @@ const request: AdmissionregistrationV1beta1ApiDeleteCollectionValidatingAdmissio "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -545,6 +548,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -566,7 +570,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -603,6 +607,8 @@ const request: AdmissionregistrationV1beta1ApiDeleteCollectionValidatingAdmissio fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -626,6 +632,7 @@ const request: AdmissionregistrationV1beta1ApiDeleteCollectionValidatingAdmissio "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -651,6 +658,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -672,7 +680,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -707,6 +715,8 @@ const request: AdmissionregistrationV1beta1ApiDeleteValidatingAdmissionPolicyReq dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -718,6 +728,7 @@ const request: AdmissionregistrationV1beta1ApiDeleteValidatingAdmissionPolicyReq "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -742,6 +753,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -757,7 +769,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -793,6 +805,8 @@ const request: AdmissionregistrationV1beta1ApiDeleteValidatingAdmissionPolicyBin dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -804,6 +818,7 @@ const request: AdmissionregistrationV1beta1ApiDeleteValidatingAdmissionPolicyBin "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -828,6 +843,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -843,7 +859,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -891,7 +907,7 @@ This endpoint does not need any parameter. ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -975,7 +991,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -1059,7 +1075,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -1130,8 +1146,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1203,8 +1219,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1276,8 +1292,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1335,7 +1351,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1392,7 +1408,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1449,7 +1465,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1688,7 +1704,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1899,7 +1915,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2139,7 +2155,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details diff --git a/src/gen/ApiextensionsV1Api.md b/src/gen/ApiextensionsV1Api.md index 4e3d7a9d1e2..31234f15c09 100644 --- a/src/gen/ApiextensionsV1Api.md +++ b/src/gen/ApiextensionsV1Api.md @@ -290,7 +290,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -329,6 +329,8 @@ const request: ApiextensionsV1ApiDeleteCollectionCustomResourceDefinitionRequest fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -352,6 +354,7 @@ const request: ApiextensionsV1ApiDeleteCollectionCustomResourceDefinitionRequest "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -377,6 +380,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -398,7 +402,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -433,6 +437,8 @@ const request: ApiextensionsV1ApiDeleteCustomResourceDefinitionRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -444,6 +450,7 @@ const request: ApiextensionsV1ApiDeleteCustomResourceDefinitionRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -468,6 +475,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -483,7 +491,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -531,7 +539,7 @@ This endpoint does not need any parameter. ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -615,7 +623,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -686,8 +694,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -759,8 +767,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -818,7 +826,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -875,7 +883,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1162,7 +1170,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1450,7 +1458,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details diff --git a/src/gen/ApiregistrationV1Api.md b/src/gen/ApiregistrationV1Api.md index 3ab4707ebbe..12530bc6722 100644 --- a/src/gen/ApiregistrationV1Api.md +++ b/src/gen/ApiregistrationV1Api.md @@ -141,7 +141,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -178,6 +178,8 @@ const request: ApiregistrationV1ApiDeleteAPIServiceRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -189,6 +191,7 @@ const request: ApiregistrationV1ApiDeleteAPIServiceRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -213,6 +216,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -228,7 +232,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -266,6 +270,8 @@ const request: ApiregistrationV1ApiDeleteCollectionAPIServiceRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -289,6 +295,7 @@ const request: ApiregistrationV1ApiDeleteCollectionAPIServiceRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -314,6 +321,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -335,7 +343,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -382,7 +390,7 @@ This endpoint does not need any parameter. ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -466,7 +474,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -537,8 +545,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -610,8 +618,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -669,7 +677,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -726,7 +734,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -864,7 +872,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1003,7 +1011,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details diff --git a/src/gen/AppsV1Api.md b/src/gen/AppsV1Api.md index 9ef7b97362f..c0a040adfe3 100644 --- a/src/gen/AppsV1Api.md +++ b/src/gen/AppsV1Api.md @@ -173,7 +173,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -734,6 +734,7 @@ const request: AppsV1ApiCreateNamespacedDaemonSetRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -1045,6 +1046,7 @@ const request: AppsV1ApiCreateNamespacedDaemonSetRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -1359,6 +1361,7 @@ const request: AppsV1ApiCreateNamespacedDaemonSetRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -1485,12 +1488,24 @@ const request: AppsV1ApiCreateNamespacedDaemonSetRequest = { resourceClaims: [ { name: "name_example", - source: { - resourceClaimName: "resourceClaimName_example", - resourceClaimTemplateName: "resourceClaimTemplateName_example", - }, + resourceClaimName: "resourceClaimName_example", + resourceClaimTemplateName: "resourceClaimTemplateName_example", }, ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, restartPolicy: "restartPolicy_example", runtimeClassName: "runtimeClassName_example", schedulerName: "schedulerName_example", @@ -1509,6 +1524,7 @@ const request: AppsV1ApiCreateNamespacedDaemonSetRequest = { runAsGroup: 1, runAsNonRoot: true, runAsUser: 1, + seLinuxChangePolicy: "seLinuxChangePolicy_example", seLinuxOptions: { level: "level_example", role: "role_example", @@ -1522,6 +1538,7 @@ const request: AppsV1ApiCreateNamespacedDaemonSetRequest = { supplementalGroups: [ 1, ], + supplementalGroupsPolicy: "supplementalGroupsPolicy_example", sysctls: [ { name: "name_example", @@ -1797,6 +1814,10 @@ const request: AppsV1ApiCreateNamespacedDaemonSetRequest = { path: "path_example", type: "type_example", }, + image: { + pullPolicy: "pullPolicy_example", + reference: "reference_example", + }, iscsi: { chapAuthDiscovery: true, chapAuthSession: true, @@ -2038,7 +2059,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2609,6 +2630,7 @@ const request: AppsV1ApiCreateNamespacedDeploymentRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -2920,6 +2942,7 @@ const request: AppsV1ApiCreateNamespacedDeploymentRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -3234,6 +3257,7 @@ const request: AppsV1ApiCreateNamespacedDeploymentRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -3360,12 +3384,24 @@ const request: AppsV1ApiCreateNamespacedDeploymentRequest = { resourceClaims: [ { name: "name_example", - source: { - resourceClaimName: "resourceClaimName_example", - resourceClaimTemplateName: "resourceClaimTemplateName_example", - }, + resourceClaimName: "resourceClaimName_example", + resourceClaimTemplateName: "resourceClaimTemplateName_example", }, ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, restartPolicy: "restartPolicy_example", runtimeClassName: "runtimeClassName_example", schedulerName: "schedulerName_example", @@ -3384,6 +3420,7 @@ const request: AppsV1ApiCreateNamespacedDeploymentRequest = { runAsGroup: 1, runAsNonRoot: true, runAsUser: 1, + seLinuxChangePolicy: "seLinuxChangePolicy_example", seLinuxOptions: { level: "level_example", role: "role_example", @@ -3397,6 +3434,7 @@ const request: AppsV1ApiCreateNamespacedDeploymentRequest = { supplementalGroups: [ 1, ], + supplementalGroupsPolicy: "supplementalGroupsPolicy_example", sysctls: [ { name: "name_example", @@ -3672,6 +3710,10 @@ const request: AppsV1ApiCreateNamespacedDeploymentRequest = { path: "path_example", type: "type_example", }, + image: { + pullPolicy: "pullPolicy_example", + reference: "reference_example", + }, iscsi: { chapAuthDiscovery: true, chapAuthSession: true, @@ -3905,7 +3947,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -4466,6 +4508,7 @@ const request: AppsV1ApiCreateNamespacedReplicaSetRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -4777,6 +4820,7 @@ const request: AppsV1ApiCreateNamespacedReplicaSetRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -5091,6 +5135,7 @@ const request: AppsV1ApiCreateNamespacedReplicaSetRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -5217,12 +5262,24 @@ const request: AppsV1ApiCreateNamespacedReplicaSetRequest = { resourceClaims: [ { name: "name_example", - source: { - resourceClaimName: "resourceClaimName_example", - resourceClaimTemplateName: "resourceClaimTemplateName_example", - }, + resourceClaimName: "resourceClaimName_example", + resourceClaimTemplateName: "resourceClaimTemplateName_example", }, ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, restartPolicy: "restartPolicy_example", runtimeClassName: "runtimeClassName_example", schedulerName: "schedulerName_example", @@ -5241,6 +5298,7 @@ const request: AppsV1ApiCreateNamespacedReplicaSetRequest = { runAsGroup: 1, runAsNonRoot: true, runAsUser: 1, + seLinuxChangePolicy: "seLinuxChangePolicy_example", seLinuxOptions: { level: "level_example", role: "role_example", @@ -5254,6 +5312,7 @@ const request: AppsV1ApiCreateNamespacedReplicaSetRequest = { supplementalGroups: [ 1, ], + supplementalGroupsPolicy: "supplementalGroupsPolicy_example", sysctls: [ { name: "name_example", @@ -5529,6 +5588,10 @@ const request: AppsV1ApiCreateNamespacedReplicaSetRequest = { path: "path_example", type: "type_example", }, + image: { + pullPolicy: "pullPolicy_example", + reference: "reference_example", + }, iscsi: { chapAuthDiscovery: true, chapAuthSession: true, @@ -5759,7 +5822,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -6330,6 +6393,7 @@ const request: AppsV1ApiCreateNamespacedStatefulSetRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -6641,6 +6705,7 @@ const request: AppsV1ApiCreateNamespacedStatefulSetRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -6955,6 +7020,7 @@ const request: AppsV1ApiCreateNamespacedStatefulSetRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -7081,12 +7147,24 @@ const request: AppsV1ApiCreateNamespacedStatefulSetRequest = { resourceClaims: [ { name: "name_example", - source: { - resourceClaimName: "resourceClaimName_example", - resourceClaimTemplateName: "resourceClaimTemplateName_example", - }, + resourceClaimName: "resourceClaimName_example", + resourceClaimTemplateName: "resourceClaimTemplateName_example", }, ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, restartPolicy: "restartPolicy_example", runtimeClassName: "runtimeClassName_example", schedulerName: "schedulerName_example", @@ -7105,6 +7183,7 @@ const request: AppsV1ApiCreateNamespacedStatefulSetRequest = { runAsGroup: 1, runAsNonRoot: true, runAsUser: 1, + seLinuxChangePolicy: "seLinuxChangePolicy_example", seLinuxOptions: { level: "level_example", role: "role_example", @@ -7118,6 +7197,7 @@ const request: AppsV1ApiCreateNamespacedStatefulSetRequest = { supplementalGroups: [ 1, ], + supplementalGroupsPolicy: "supplementalGroupsPolicy_example", sysctls: [ { name: "name_example", @@ -7393,6 +7473,10 @@ const request: AppsV1ApiCreateNamespacedStatefulSetRequest = { path: "path_example", type: "type_example", }, + image: { + pullPolicy: "pullPolicy_example", + reference: "reference_example", + }, iscsi: { chapAuthDiscovery: true, chapAuthSession: true, @@ -7754,7 +7838,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -7795,6 +7879,8 @@ const request: AppsV1ApiDeleteCollectionNamespacedControllerRevisionRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -7818,6 +7904,7 @@ const request: AppsV1ApiDeleteCollectionNamespacedControllerRevisionRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -7844,6 +7931,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -7865,7 +7953,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -7904,6 +7992,8 @@ const request: AppsV1ApiDeleteCollectionNamespacedDaemonSetRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -7927,6 +8017,7 @@ const request: AppsV1ApiDeleteCollectionNamespacedDaemonSetRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -7953,6 +8044,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -7974,7 +8066,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -8013,6 +8105,8 @@ const request: AppsV1ApiDeleteCollectionNamespacedDeploymentRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -8036,6 +8130,7 @@ const request: AppsV1ApiDeleteCollectionNamespacedDeploymentRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -8062,6 +8157,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -8083,7 +8179,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -8122,6 +8218,8 @@ const request: AppsV1ApiDeleteCollectionNamespacedReplicaSetRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -8145,6 +8243,7 @@ const request: AppsV1ApiDeleteCollectionNamespacedReplicaSetRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -8171,6 +8270,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -8192,7 +8292,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -8231,6 +8331,8 @@ const request: AppsV1ApiDeleteCollectionNamespacedStatefulSetRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -8254,6 +8356,7 @@ const request: AppsV1ApiDeleteCollectionNamespacedStatefulSetRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -8280,6 +8383,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -8301,7 +8405,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -8338,6 +8442,8 @@ const request: AppsV1ApiDeleteNamespacedControllerRevisionRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -8349,6 +8455,7 @@ const request: AppsV1ApiDeleteNamespacedControllerRevisionRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -8374,6 +8481,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -8389,7 +8497,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -8427,6 +8535,8 @@ const request: AppsV1ApiDeleteNamespacedDaemonSetRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -8438,6 +8548,7 @@ const request: AppsV1ApiDeleteNamespacedDaemonSetRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -8463,6 +8574,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -8478,7 +8590,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -8516,6 +8628,8 @@ const request: AppsV1ApiDeleteNamespacedDeploymentRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -8527,6 +8641,7 @@ const request: AppsV1ApiDeleteNamespacedDeploymentRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -8552,6 +8667,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -8567,7 +8683,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -8605,6 +8721,8 @@ const request: AppsV1ApiDeleteNamespacedReplicaSetRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -8616,6 +8734,7 @@ const request: AppsV1ApiDeleteNamespacedReplicaSetRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -8641,6 +8760,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -8656,7 +8776,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -8694,6 +8814,8 @@ const request: AppsV1ApiDeleteNamespacedStatefulSetRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -8705,6 +8827,7 @@ const request: AppsV1ApiDeleteNamespacedStatefulSetRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -8730,6 +8853,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -8745,7 +8869,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -8793,7 +8917,7 @@ This endpoint does not need any parameter. ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -8877,7 +9001,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -8961,7 +9085,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -9045,7 +9169,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -9132,7 +9256,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -9219,7 +9343,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -9306,7 +9430,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -9393,7 +9517,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -9480,7 +9604,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -9564,7 +9688,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -9648,7 +9772,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -9722,8 +9846,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -9798,8 +9922,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -9874,8 +9998,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -9950,8 +10074,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -10026,8 +10150,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -10102,8 +10226,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -10178,8 +10302,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -10254,8 +10378,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -10330,8 +10454,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -10406,8 +10530,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -10482,8 +10606,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -10558,8 +10682,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -10620,7 +10744,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -10680,7 +10804,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -10740,7 +10864,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -10800,7 +10924,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -10860,7 +10984,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -10920,7 +11044,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -10980,7 +11104,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -11040,7 +11164,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -11100,7 +11224,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -11160,7 +11284,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -11220,7 +11344,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -11280,7 +11404,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -11399,7 +11523,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -11961,6 +12085,7 @@ const request: AppsV1ApiReplaceNamespacedDaemonSetRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -12272,6 +12397,7 @@ const request: AppsV1ApiReplaceNamespacedDaemonSetRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -12586,6 +12712,7 @@ const request: AppsV1ApiReplaceNamespacedDaemonSetRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -12712,12 +12839,24 @@ const request: AppsV1ApiReplaceNamespacedDaemonSetRequest = { resourceClaims: [ { name: "name_example", - source: { - resourceClaimName: "resourceClaimName_example", - resourceClaimTemplateName: "resourceClaimTemplateName_example", - }, + resourceClaimName: "resourceClaimName_example", + resourceClaimTemplateName: "resourceClaimTemplateName_example", }, ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, restartPolicy: "restartPolicy_example", runtimeClassName: "runtimeClassName_example", schedulerName: "schedulerName_example", @@ -12736,6 +12875,7 @@ const request: AppsV1ApiReplaceNamespacedDaemonSetRequest = { runAsGroup: 1, runAsNonRoot: true, runAsUser: 1, + seLinuxChangePolicy: "seLinuxChangePolicy_example", seLinuxOptions: { level: "level_example", role: "role_example", @@ -12749,6 +12889,7 @@ const request: AppsV1ApiReplaceNamespacedDaemonSetRequest = { supplementalGroups: [ 1, ], + supplementalGroupsPolicy: "supplementalGroupsPolicy_example", sysctls: [ { name: "name_example", @@ -13024,6 +13165,10 @@ const request: AppsV1ApiReplaceNamespacedDaemonSetRequest = { path: "path_example", type: "type_example", }, + image: { + pullPolicy: "pullPolicy_example", + reference: "reference_example", + }, iscsi: { chapAuthDiscovery: true, chapAuthSession: true, @@ -13266,7 +13411,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -13828,6 +13973,7 @@ const request: AppsV1ApiReplaceNamespacedDaemonSetStatusRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -14139,6 +14285,7 @@ const request: AppsV1ApiReplaceNamespacedDaemonSetStatusRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -14453,6 +14600,7 @@ const request: AppsV1ApiReplaceNamespacedDaemonSetStatusRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -14579,12 +14727,24 @@ const request: AppsV1ApiReplaceNamespacedDaemonSetStatusRequest = { resourceClaims: [ { name: "name_example", - source: { - resourceClaimName: "resourceClaimName_example", - resourceClaimTemplateName: "resourceClaimTemplateName_example", - }, + resourceClaimName: "resourceClaimName_example", + resourceClaimTemplateName: "resourceClaimTemplateName_example", }, ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, restartPolicy: "restartPolicy_example", runtimeClassName: "runtimeClassName_example", schedulerName: "schedulerName_example", @@ -14603,6 +14763,7 @@ const request: AppsV1ApiReplaceNamespacedDaemonSetStatusRequest = { runAsGroup: 1, runAsNonRoot: true, runAsUser: 1, + seLinuxChangePolicy: "seLinuxChangePolicy_example", seLinuxOptions: { level: "level_example", role: "role_example", @@ -14616,6 +14777,7 @@ const request: AppsV1ApiReplaceNamespacedDaemonSetStatusRequest = { supplementalGroups: [ 1, ], + supplementalGroupsPolicy: "supplementalGroupsPolicy_example", sysctls: [ { name: "name_example", @@ -14891,6 +15053,10 @@ const request: AppsV1ApiReplaceNamespacedDaemonSetStatusRequest = { path: "path_example", type: "type_example", }, + image: { + pullPolicy: "pullPolicy_example", + reference: "reference_example", + }, iscsi: { chapAuthDiscovery: true, chapAuthSession: true, @@ -15133,7 +15299,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -15705,6 +15871,7 @@ const request: AppsV1ApiReplaceNamespacedDeploymentRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -16016,6 +16183,7 @@ const request: AppsV1ApiReplaceNamespacedDeploymentRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -16330,6 +16498,7 @@ const request: AppsV1ApiReplaceNamespacedDeploymentRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -16456,12 +16625,24 @@ const request: AppsV1ApiReplaceNamespacedDeploymentRequest = { resourceClaims: [ { name: "name_example", - source: { - resourceClaimName: "resourceClaimName_example", - resourceClaimTemplateName: "resourceClaimTemplateName_example", - }, + resourceClaimName: "resourceClaimName_example", + resourceClaimTemplateName: "resourceClaimTemplateName_example", }, ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, restartPolicy: "restartPolicy_example", runtimeClassName: "runtimeClassName_example", schedulerName: "schedulerName_example", @@ -16480,6 +16661,7 @@ const request: AppsV1ApiReplaceNamespacedDeploymentRequest = { runAsGroup: 1, runAsNonRoot: true, runAsUser: 1, + seLinuxChangePolicy: "seLinuxChangePolicy_example", seLinuxOptions: { level: "level_example", role: "role_example", @@ -16493,6 +16675,7 @@ const request: AppsV1ApiReplaceNamespacedDeploymentRequest = { supplementalGroups: [ 1, ], + supplementalGroupsPolicy: "supplementalGroupsPolicy_example", sysctls: [ { name: "name_example", @@ -16768,6 +16951,10 @@ const request: AppsV1ApiReplaceNamespacedDeploymentRequest = { path: "path_example", type: "type_example", }, + image: { + pullPolicy: "pullPolicy_example", + reference: "reference_example", + }, iscsi: { chapAuthDiscovery: true, chapAuthSession: true, @@ -17002,7 +17189,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -17127,7 +17314,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -17699,6 +17886,7 @@ const request: AppsV1ApiReplaceNamespacedDeploymentStatusRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -18010,6 +18198,7 @@ const request: AppsV1ApiReplaceNamespacedDeploymentStatusRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -18324,6 +18513,7 @@ const request: AppsV1ApiReplaceNamespacedDeploymentStatusRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -18450,12 +18640,24 @@ const request: AppsV1ApiReplaceNamespacedDeploymentStatusRequest = { resourceClaims: [ { name: "name_example", - source: { - resourceClaimName: "resourceClaimName_example", - resourceClaimTemplateName: "resourceClaimTemplateName_example", - }, + resourceClaimName: "resourceClaimName_example", + resourceClaimTemplateName: "resourceClaimTemplateName_example", }, ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, restartPolicy: "restartPolicy_example", runtimeClassName: "runtimeClassName_example", schedulerName: "schedulerName_example", @@ -18474,6 +18676,7 @@ const request: AppsV1ApiReplaceNamespacedDeploymentStatusRequest = { runAsGroup: 1, runAsNonRoot: true, runAsUser: 1, + seLinuxChangePolicy: "seLinuxChangePolicy_example", seLinuxOptions: { level: "level_example", role: "role_example", @@ -18487,6 +18690,7 @@ const request: AppsV1ApiReplaceNamespacedDeploymentStatusRequest = { supplementalGroups: [ 1, ], + supplementalGroupsPolicy: "supplementalGroupsPolicy_example", sysctls: [ { name: "name_example", @@ -18762,6 +18966,10 @@ const request: AppsV1ApiReplaceNamespacedDeploymentStatusRequest = { path: "path_example", type: "type_example", }, + image: { + pullPolicy: "pullPolicy_example", + reference: "reference_example", + }, iscsi: { chapAuthDiscovery: true, chapAuthSession: true, @@ -18996,7 +19204,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -19558,6 +19766,7 @@ const request: AppsV1ApiReplaceNamespacedReplicaSetRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -19869,6 +20078,7 @@ const request: AppsV1ApiReplaceNamespacedReplicaSetRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -20183,6 +20393,7 @@ const request: AppsV1ApiReplaceNamespacedReplicaSetRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -20309,12 +20520,24 @@ const request: AppsV1ApiReplaceNamespacedReplicaSetRequest = { resourceClaims: [ { name: "name_example", - source: { - resourceClaimName: "resourceClaimName_example", - resourceClaimTemplateName: "resourceClaimTemplateName_example", - }, + resourceClaimName: "resourceClaimName_example", + resourceClaimTemplateName: "resourceClaimTemplateName_example", }, ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, restartPolicy: "restartPolicy_example", runtimeClassName: "runtimeClassName_example", schedulerName: "schedulerName_example", @@ -20333,6 +20556,7 @@ const request: AppsV1ApiReplaceNamespacedReplicaSetRequest = { runAsGroup: 1, runAsNonRoot: true, runAsUser: 1, + seLinuxChangePolicy: "seLinuxChangePolicy_example", seLinuxOptions: { level: "level_example", role: "role_example", @@ -20346,6 +20570,7 @@ const request: AppsV1ApiReplaceNamespacedReplicaSetRequest = { supplementalGroups: [ 1, ], + supplementalGroupsPolicy: "supplementalGroupsPolicy_example", sysctls: [ { name: "name_example", @@ -20621,6 +20846,10 @@ const request: AppsV1ApiReplaceNamespacedReplicaSetRequest = { path: "path_example", type: "type_example", }, + image: { + pullPolicy: "pullPolicy_example", + reference: "reference_example", + }, iscsi: { chapAuthDiscovery: true, chapAuthSession: true, @@ -20852,7 +21081,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -20977,7 +21206,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -21539,6 +21768,7 @@ const request: AppsV1ApiReplaceNamespacedReplicaSetStatusRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -21850,6 +22080,7 @@ const request: AppsV1ApiReplaceNamespacedReplicaSetStatusRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -22164,6 +22395,7 @@ const request: AppsV1ApiReplaceNamespacedReplicaSetStatusRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -22290,12 +22522,24 @@ const request: AppsV1ApiReplaceNamespacedReplicaSetStatusRequest = { resourceClaims: [ { name: "name_example", - source: { - resourceClaimName: "resourceClaimName_example", - resourceClaimTemplateName: "resourceClaimTemplateName_example", - }, + resourceClaimName: "resourceClaimName_example", + resourceClaimTemplateName: "resourceClaimTemplateName_example", }, ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, restartPolicy: "restartPolicy_example", runtimeClassName: "runtimeClassName_example", schedulerName: "schedulerName_example", @@ -22314,6 +22558,7 @@ const request: AppsV1ApiReplaceNamespacedReplicaSetStatusRequest = { runAsGroup: 1, runAsNonRoot: true, runAsUser: 1, + seLinuxChangePolicy: "seLinuxChangePolicy_example", seLinuxOptions: { level: "level_example", role: "role_example", @@ -22327,6 +22572,7 @@ const request: AppsV1ApiReplaceNamespacedReplicaSetStatusRequest = { supplementalGroups: [ 1, ], + supplementalGroupsPolicy: "supplementalGroupsPolicy_example", sysctls: [ { name: "name_example", @@ -22602,6 +22848,10 @@ const request: AppsV1ApiReplaceNamespacedReplicaSetStatusRequest = { path: "path_example", type: "type_example", }, + image: { + pullPolicy: "pullPolicy_example", + reference: "reference_example", + }, iscsi: { chapAuthDiscovery: true, chapAuthSession: true, @@ -22833,7 +23083,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -23405,6 +23655,7 @@ const request: AppsV1ApiReplaceNamespacedStatefulSetRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -23716,6 +23967,7 @@ const request: AppsV1ApiReplaceNamespacedStatefulSetRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -24030,6 +24282,7 @@ const request: AppsV1ApiReplaceNamespacedStatefulSetRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -24156,12 +24409,24 @@ const request: AppsV1ApiReplaceNamespacedStatefulSetRequest = { resourceClaims: [ { name: "name_example", - source: { - resourceClaimName: "resourceClaimName_example", - resourceClaimTemplateName: "resourceClaimTemplateName_example", - }, + resourceClaimName: "resourceClaimName_example", + resourceClaimTemplateName: "resourceClaimTemplateName_example", }, ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, restartPolicy: "restartPolicy_example", runtimeClassName: "runtimeClassName_example", schedulerName: "schedulerName_example", @@ -24180,6 +24445,7 @@ const request: AppsV1ApiReplaceNamespacedStatefulSetRequest = { runAsGroup: 1, runAsNonRoot: true, runAsUser: 1, + seLinuxChangePolicy: "seLinuxChangePolicy_example", seLinuxOptions: { level: "level_example", role: "role_example", @@ -24193,6 +24459,7 @@ const request: AppsV1ApiReplaceNamespacedStatefulSetRequest = { supplementalGroups: [ 1, ], + supplementalGroupsPolicy: "supplementalGroupsPolicy_example", sysctls: [ { name: "name_example", @@ -24468,6 +24735,10 @@ const request: AppsV1ApiReplaceNamespacedStatefulSetRequest = { path: "path_example", type: "type_example", }, + image: { + pullPolicy: "pullPolicy_example", + reference: "reference_example", + }, iscsi: { chapAuthDiscovery: true, chapAuthSession: true, @@ -24830,7 +25101,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -24955,7 +25226,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -25527,6 +25798,7 @@ const request: AppsV1ApiReplaceNamespacedStatefulSetStatusRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -25838,6 +26110,7 @@ const request: AppsV1ApiReplaceNamespacedStatefulSetStatusRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -26152,6 +26425,7 @@ const request: AppsV1ApiReplaceNamespacedStatefulSetStatusRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -26278,12 +26552,24 @@ const request: AppsV1ApiReplaceNamespacedStatefulSetStatusRequest = { resourceClaims: [ { name: "name_example", - source: { - resourceClaimName: "resourceClaimName_example", - resourceClaimTemplateName: "resourceClaimTemplateName_example", - }, + resourceClaimName: "resourceClaimName_example", + resourceClaimTemplateName: "resourceClaimTemplateName_example", }, ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, restartPolicy: "restartPolicy_example", runtimeClassName: "runtimeClassName_example", schedulerName: "schedulerName_example", @@ -26302,6 +26588,7 @@ const request: AppsV1ApiReplaceNamespacedStatefulSetStatusRequest = { runAsGroup: 1, runAsNonRoot: true, runAsUser: 1, + seLinuxChangePolicy: "seLinuxChangePolicy_example", seLinuxOptions: { level: "level_example", role: "role_example", @@ -26315,6 +26602,7 @@ const request: AppsV1ApiReplaceNamespacedStatefulSetStatusRequest = { supplementalGroups: [ 1, ], + supplementalGroupsPolicy: "supplementalGroupsPolicy_example", sysctls: [ { name: "name_example", @@ -26590,6 +26878,10 @@ const request: AppsV1ApiReplaceNamespacedStatefulSetStatusRequest = { path: "path_example", type: "type_example", }, + image: { + pullPolicy: "pullPolicy_example", + reference: "reference_example", + }, iscsi: { chapAuthDiscovery: true, chapAuthSession: true, @@ -26952,7 +27244,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details diff --git a/src/gen/AuthenticationV1Api.md b/src/gen/AuthenticationV1Api.md index 77adbe48149..426eecb0150 100644 --- a/src/gen/AuthenticationV1Api.md +++ b/src/gen/AuthenticationV1Api.md @@ -123,7 +123,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -261,7 +261,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -310,7 +310,7 @@ This endpoint does not need any parameter. ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details diff --git a/src/gen/AuthenticationV1beta1Api.md b/src/gen/AuthenticationV1beta1Api.md index d00ba32b8a8..ab4dd33fc87 100644 --- a/src/gen/AuthenticationV1beta1Api.md +++ b/src/gen/AuthenticationV1beta1Api.md @@ -122,7 +122,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -171,7 +171,7 @@ This endpoint does not need any parameter. ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details diff --git a/src/gen/AuthorizationV1Api.md b/src/gen/AuthorizationV1Api.md index fc25a17e7a6..3cda3dc62f2 100644 --- a/src/gen/AuthorizationV1Api.md +++ b/src/gen/AuthorizationV1Api.md @@ -89,7 +89,31 @@ const request: AuthorizationV1ApiCreateNamespacedLocalSubjectAccessReviewRequest verb: "verb_example", }, resourceAttributes: { + fieldSelector: { + rawSelector: "rawSelector_example", + requirements: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + }, group: "group_example", + labelSelector: { + rawSelector: "rawSelector_example", + requirements: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + }, name: "name_example", namespace: "namespace_example", resource: "resource_example", @@ -145,7 +169,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -226,7 +250,31 @@ const request: AuthorizationV1ApiCreateSelfSubjectAccessReviewRequest = { verb: "verb_example", }, resourceAttributes: { + fieldSelector: { + rawSelector: "rawSelector_example", + requirements: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + }, group: "group_example", + labelSelector: { + rawSelector: "rawSelector_example", + requirements: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + }, name: "name_example", namespace: "namespace_example", resource: "resource_example", @@ -279,7 +327,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -425,7 +473,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -514,7 +562,31 @@ const request: AuthorizationV1ApiCreateSubjectAccessReviewRequest = { verb: "verb_example", }, resourceAttributes: { + fieldSelector: { + rawSelector: "rawSelector_example", + requirements: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + }, group: "group_example", + labelSelector: { + rawSelector: "rawSelector_example", + requirements: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + }, name: "name_example", namespace: "namespace_example", resource: "resource_example", @@ -569,7 +641,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -618,7 +690,7 @@ This endpoint does not need any parameter. ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details diff --git a/src/gen/AutoscalingV1Api.md b/src/gen/AutoscalingV1Api.md index a2b030f8fff..77c199e966f 100644 --- a/src/gen/AutoscalingV1Api.md +++ b/src/gen/AutoscalingV1Api.md @@ -138,7 +138,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -179,6 +179,8 @@ const request: AutoscalingV1ApiDeleteCollectionNamespacedHorizontalPodAutoscaler fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -202,6 +204,7 @@ const request: AutoscalingV1ApiDeleteCollectionNamespacedHorizontalPodAutoscaler "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -228,6 +231,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -249,7 +253,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -286,6 +290,8 @@ const request: AutoscalingV1ApiDeleteNamespacedHorizontalPodAutoscalerRequest = dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -297,6 +303,7 @@ const request: AutoscalingV1ApiDeleteNamespacedHorizontalPodAutoscalerRequest = "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -322,6 +329,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -337,7 +345,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -385,7 +393,7 @@ This endpoint does not need any parameter. ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -469,7 +477,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -556,7 +564,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -630,8 +638,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -706,8 +714,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -768,7 +776,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -828,7 +836,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -962,7 +970,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1097,7 +1105,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details diff --git a/src/gen/AutoscalingV2Api.md b/src/gen/AutoscalingV2Api.md index 1232a03330d..be7a261888e 100644 --- a/src/gen/AutoscalingV2Api.md +++ b/src/gen/AutoscalingV2Api.md @@ -372,7 +372,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -413,6 +413,8 @@ const request: AutoscalingV2ApiDeleteCollectionNamespacedHorizontalPodAutoscaler fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -436,6 +438,7 @@ const request: AutoscalingV2ApiDeleteCollectionNamespacedHorizontalPodAutoscaler "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -462,6 +465,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -483,7 +487,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -520,6 +524,8 @@ const request: AutoscalingV2ApiDeleteNamespacedHorizontalPodAutoscalerRequest = dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -531,6 +537,7 @@ const request: AutoscalingV2ApiDeleteNamespacedHorizontalPodAutoscalerRequest = "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -556,6 +563,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -571,7 +579,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -619,7 +627,7 @@ This endpoint does not need any parameter. ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -703,7 +711,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -790,7 +798,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -864,8 +872,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -940,8 +948,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1002,7 +1010,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1062,7 +1070,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1430,7 +1438,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1799,7 +1807,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details diff --git a/src/gen/BatchV1Api.md b/src/gen/BatchV1Api.md index d121ca4878f..0bbe1336358 100644 --- a/src/gen/BatchV1Api.md +++ b/src/gen/BatchV1Api.md @@ -660,6 +660,7 @@ const request: BatchV1ApiCreateNamespacedCronJobRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -971,6 +972,7 @@ const request: BatchV1ApiCreateNamespacedCronJobRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -1285,6 +1287,7 @@ const request: BatchV1ApiCreateNamespacedCronJobRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -1411,12 +1414,24 @@ const request: BatchV1ApiCreateNamespacedCronJobRequest = { resourceClaims: [ { name: "name_example", - source: { - resourceClaimName: "resourceClaimName_example", - resourceClaimTemplateName: "resourceClaimTemplateName_example", - }, + resourceClaimName: "resourceClaimName_example", + resourceClaimTemplateName: "resourceClaimTemplateName_example", }, ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, restartPolicy: "restartPolicy_example", runtimeClassName: "runtimeClassName_example", schedulerName: "schedulerName_example", @@ -1435,6 +1450,7 @@ const request: BatchV1ApiCreateNamespacedCronJobRequest = { runAsGroup: 1, runAsNonRoot: true, runAsUser: 1, + seLinuxChangePolicy: "seLinuxChangePolicy_example", seLinuxOptions: { level: "level_example", role: "role_example", @@ -1448,6 +1464,7 @@ const request: BatchV1ApiCreateNamespacedCronJobRequest = { supplementalGroups: [ 1, ], + supplementalGroupsPolicy: "supplementalGroupsPolicy_example", sysctls: [ { name: "name_example", @@ -1723,6 +1740,10 @@ const request: BatchV1ApiCreateNamespacedCronJobRequest = { path: "path_example", type: "type_example", }, + image: { + pullPolicy: "pullPolicy_example", + reference: "reference_example", + }, iscsi: { chapAuthDiscovery: true, chapAuthSession: true, @@ -1960,7 +1981,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2558,6 +2579,7 @@ const request: BatchV1ApiCreateNamespacedJobRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -2869,6 +2891,7 @@ const request: BatchV1ApiCreateNamespacedJobRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -3183,6 +3206,7 @@ const request: BatchV1ApiCreateNamespacedJobRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -3309,12 +3333,24 @@ const request: BatchV1ApiCreateNamespacedJobRequest = { resourceClaims: [ { name: "name_example", - source: { - resourceClaimName: "resourceClaimName_example", - resourceClaimTemplateName: "resourceClaimTemplateName_example", - }, + resourceClaimName: "resourceClaimName_example", + resourceClaimTemplateName: "resourceClaimTemplateName_example", }, ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, restartPolicy: "restartPolicy_example", runtimeClassName: "runtimeClassName_example", schedulerName: "schedulerName_example", @@ -3333,6 +3369,7 @@ const request: BatchV1ApiCreateNamespacedJobRequest = { runAsGroup: 1, runAsNonRoot: true, runAsUser: 1, + seLinuxChangePolicy: "seLinuxChangePolicy_example", seLinuxOptions: { level: "level_example", role: "role_example", @@ -3346,6 +3383,7 @@ const request: BatchV1ApiCreateNamespacedJobRequest = { supplementalGroups: [ 1, ], + supplementalGroupsPolicy: "supplementalGroupsPolicy_example", sysctls: [ { name: "name_example", @@ -3621,6 +3659,10 @@ const request: BatchV1ApiCreateNamespacedJobRequest = { path: "path_example", type: "type_example", }, + image: { + pullPolicy: "pullPolicy_example", + reference: "reference_example", + }, iscsi: { chapAuthDiscovery: true, chapAuthSession: true, @@ -3865,7 +3907,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -3906,6 +3948,8 @@ const request: BatchV1ApiDeleteCollectionNamespacedCronJobRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -3929,6 +3973,7 @@ const request: BatchV1ApiDeleteCollectionNamespacedCronJobRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -3955,6 +4000,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -3976,7 +4022,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -4015,6 +4061,8 @@ const request: BatchV1ApiDeleteCollectionNamespacedJobRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -4038,6 +4086,7 @@ const request: BatchV1ApiDeleteCollectionNamespacedJobRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -4064,6 +4113,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -4085,7 +4135,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -4122,6 +4172,8 @@ const request: BatchV1ApiDeleteNamespacedCronJobRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -4133,6 +4185,7 @@ const request: BatchV1ApiDeleteNamespacedCronJobRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -4158,6 +4211,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -4173,7 +4227,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -4211,6 +4265,8 @@ const request: BatchV1ApiDeleteNamespacedJobRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -4222,6 +4278,7 @@ const request: BatchV1ApiDeleteNamespacedJobRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -4247,6 +4304,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -4262,7 +4320,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -4310,7 +4368,7 @@ This endpoint does not need any parameter. ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -4394,7 +4452,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -4478,7 +4536,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -4565,7 +4623,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -4652,7 +4710,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -4726,8 +4784,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -4802,8 +4860,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -4878,8 +4936,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -4954,8 +5012,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -5016,7 +5074,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -5076,7 +5134,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -5136,7 +5194,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -5196,7 +5254,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -5840,6 +5898,7 @@ const request: BatchV1ApiReplaceNamespacedCronJobRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -6151,6 +6210,7 @@ const request: BatchV1ApiReplaceNamespacedCronJobRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -6465,6 +6525,7 @@ const request: BatchV1ApiReplaceNamespacedCronJobRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -6591,12 +6652,24 @@ const request: BatchV1ApiReplaceNamespacedCronJobRequest = { resourceClaims: [ { name: "name_example", - source: { - resourceClaimName: "resourceClaimName_example", - resourceClaimTemplateName: "resourceClaimTemplateName_example", - }, + resourceClaimName: "resourceClaimName_example", + resourceClaimTemplateName: "resourceClaimTemplateName_example", }, ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, restartPolicy: "restartPolicy_example", runtimeClassName: "runtimeClassName_example", schedulerName: "schedulerName_example", @@ -6615,6 +6688,7 @@ const request: BatchV1ApiReplaceNamespacedCronJobRequest = { runAsGroup: 1, runAsNonRoot: true, runAsUser: 1, + seLinuxChangePolicy: "seLinuxChangePolicy_example", seLinuxOptions: { level: "level_example", role: "role_example", @@ -6628,6 +6702,7 @@ const request: BatchV1ApiReplaceNamespacedCronJobRequest = { supplementalGroups: [ 1, ], + supplementalGroupsPolicy: "supplementalGroupsPolicy_example", sysctls: [ { name: "name_example", @@ -6903,6 +6978,10 @@ const request: BatchV1ApiReplaceNamespacedCronJobRequest = { path: "path_example", type: "type_example", }, + image: { + pullPolicy: "pullPolicy_example", + reference: "reference_example", + }, iscsi: { chapAuthDiscovery: true, chapAuthSession: true, @@ -7141,7 +7220,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -7786,6 +7865,7 @@ const request: BatchV1ApiReplaceNamespacedCronJobStatusRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -8097,6 +8177,7 @@ const request: BatchV1ApiReplaceNamespacedCronJobStatusRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -8411,6 +8492,7 @@ const request: BatchV1ApiReplaceNamespacedCronJobStatusRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -8537,12 +8619,24 @@ const request: BatchV1ApiReplaceNamespacedCronJobStatusRequest = { resourceClaims: [ { name: "name_example", - source: { - resourceClaimName: "resourceClaimName_example", - resourceClaimTemplateName: "resourceClaimTemplateName_example", - }, + resourceClaimName: "resourceClaimName_example", + resourceClaimTemplateName: "resourceClaimTemplateName_example", }, ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, restartPolicy: "restartPolicy_example", runtimeClassName: "runtimeClassName_example", schedulerName: "schedulerName_example", @@ -8561,6 +8655,7 @@ const request: BatchV1ApiReplaceNamespacedCronJobStatusRequest = { runAsGroup: 1, runAsNonRoot: true, runAsUser: 1, + seLinuxChangePolicy: "seLinuxChangePolicy_example", seLinuxOptions: { level: "level_example", role: "role_example", @@ -8574,6 +8669,7 @@ const request: BatchV1ApiReplaceNamespacedCronJobStatusRequest = { supplementalGroups: [ 1, ], + supplementalGroupsPolicy: "supplementalGroupsPolicy_example", sysctls: [ { name: "name_example", @@ -8849,6 +8945,10 @@ const request: BatchV1ApiReplaceNamespacedCronJobStatusRequest = { path: "path_example", type: "type_example", }, + image: { + pullPolicy: "pullPolicy_example", + reference: "reference_example", + }, iscsi: { chapAuthDiscovery: true, chapAuthSession: true, @@ -9087,7 +9187,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -9686,6 +9786,7 @@ const request: BatchV1ApiReplaceNamespacedJobRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -9997,6 +10098,7 @@ const request: BatchV1ApiReplaceNamespacedJobRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -10311,6 +10413,7 @@ const request: BatchV1ApiReplaceNamespacedJobRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -10437,12 +10540,24 @@ const request: BatchV1ApiReplaceNamespacedJobRequest = { resourceClaims: [ { name: "name_example", - source: { - resourceClaimName: "resourceClaimName_example", - resourceClaimTemplateName: "resourceClaimTemplateName_example", - }, + resourceClaimName: "resourceClaimName_example", + resourceClaimTemplateName: "resourceClaimTemplateName_example", }, ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, restartPolicy: "restartPolicy_example", runtimeClassName: "runtimeClassName_example", schedulerName: "schedulerName_example", @@ -10461,6 +10576,7 @@ const request: BatchV1ApiReplaceNamespacedJobRequest = { runAsGroup: 1, runAsNonRoot: true, runAsUser: 1, + seLinuxChangePolicy: "seLinuxChangePolicy_example", seLinuxOptions: { level: "level_example", role: "role_example", @@ -10474,6 +10590,7 @@ const request: BatchV1ApiReplaceNamespacedJobRequest = { supplementalGroups: [ 1, ], + supplementalGroupsPolicy: "supplementalGroupsPolicy_example", sysctls: [ { name: "name_example", @@ -10749,6 +10866,10 @@ const request: BatchV1ApiReplaceNamespacedJobRequest = { path: "path_example", type: "type_example", }, + image: { + pullPolicy: "pullPolicy_example", + reference: "reference_example", + }, iscsi: { chapAuthDiscovery: true, chapAuthSession: true, @@ -10994,7 +11115,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -11593,6 +11714,7 @@ const request: BatchV1ApiReplaceNamespacedJobStatusRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -11904,6 +12026,7 @@ const request: BatchV1ApiReplaceNamespacedJobStatusRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -12218,6 +12341,7 @@ const request: BatchV1ApiReplaceNamespacedJobStatusRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -12344,12 +12468,24 @@ const request: BatchV1ApiReplaceNamespacedJobStatusRequest = { resourceClaims: [ { name: "name_example", - source: { - resourceClaimName: "resourceClaimName_example", - resourceClaimTemplateName: "resourceClaimTemplateName_example", - }, + resourceClaimName: "resourceClaimName_example", + resourceClaimTemplateName: "resourceClaimTemplateName_example", }, ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, restartPolicy: "restartPolicy_example", runtimeClassName: "runtimeClassName_example", schedulerName: "schedulerName_example", @@ -12368,6 +12504,7 @@ const request: BatchV1ApiReplaceNamespacedJobStatusRequest = { runAsGroup: 1, runAsNonRoot: true, runAsUser: 1, + seLinuxChangePolicy: "seLinuxChangePolicy_example", seLinuxOptions: { level: "level_example", role: "role_example", @@ -12381,6 +12518,7 @@ const request: BatchV1ApiReplaceNamespacedJobStatusRequest = { supplementalGroups: [ 1, ], + supplementalGroupsPolicy: "supplementalGroupsPolicy_example", sysctls: [ { name: "name_example", @@ -12656,6 +12794,10 @@ const request: BatchV1ApiReplaceNamespacedJobStatusRequest = { path: "path_example", type: "type_example", }, + image: { + pullPolicy: "pullPolicy_example", + reference: "reference_example", + }, iscsi: { chapAuthDiscovery: true, chapAuthSession: true, @@ -12901,7 +13043,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details diff --git a/src/gen/CertificatesV1Api.md b/src/gen/CertificatesV1Api.md index b3dd97f6db2..04d6d18f12c 100644 --- a/src/gen/CertificatesV1Api.md +++ b/src/gen/CertificatesV1Api.md @@ -151,7 +151,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -188,6 +188,8 @@ const request: CertificatesV1ApiDeleteCertificateSigningRequestRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -199,6 +201,7 @@ const request: CertificatesV1ApiDeleteCertificateSigningRequestRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -223,6 +226,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -238,7 +242,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -276,6 +280,8 @@ const request: CertificatesV1ApiDeleteCollectionCertificateSigningRequestRequest fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -299,6 +305,7 @@ const request: CertificatesV1ApiDeleteCollectionCertificateSigningRequestRequest "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -324,6 +331,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -345,7 +353,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -392,7 +400,7 @@ This endpoint does not need any parameter. ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -476,7 +484,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -547,8 +555,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -620,8 +628,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -693,8 +701,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -752,7 +760,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -809,7 +817,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -866,7 +874,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1011,7 +1019,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1157,7 +1165,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1303,7 +1311,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details diff --git a/src/gen/CertificatesV1alpha1Api.md b/src/gen/CertificatesV1alpha1Api.md index 2d138801da3..359cf306c8d 100644 --- a/src/gen/CertificatesV1alpha1Api.md +++ b/src/gen/CertificatesV1alpha1Api.md @@ -118,7 +118,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -155,6 +155,8 @@ const request: CertificatesV1alpha1ApiDeleteClusterTrustBundleRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -166,6 +168,7 @@ const request: CertificatesV1alpha1ApiDeleteClusterTrustBundleRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -190,6 +193,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -205,7 +209,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -243,6 +247,8 @@ const request: CertificatesV1alpha1ApiDeleteCollectionClusterTrustBundleRequest fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -266,6 +272,7 @@ const request: CertificatesV1alpha1ApiDeleteCollectionClusterTrustBundleRequest "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -291,6 +298,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -312,7 +320,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -359,7 +367,7 @@ This endpoint does not need any parameter. ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -443,7 +451,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -514,8 +522,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -573,7 +581,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -691,7 +699,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details diff --git a/src/gen/CoordinationV1Api.md b/src/gen/CoordinationV1Api.md index e8b47f20802..97de52c819c 100644 --- a/src/gen/CoordinationV1Api.md +++ b/src/gen/CoordinationV1Api.md @@ -84,7 +84,9 @@ const request: CoordinationV1ApiCreateNamespacedLeaseRequest = { holderIdentity: "holderIdentity_example", leaseDurationSeconds: 1, leaseTransitions: 1, + preferredHolder: "preferredHolder_example", renewTime: "renewTime_example", + strategy: "strategy_example", }, }, // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -125,7 +127,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -166,6 +168,8 @@ const request: CoordinationV1ApiDeleteCollectionNamespacedLeaseRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -189,6 +193,7 @@ const request: CoordinationV1ApiDeleteCollectionNamespacedLeaseRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -215,6 +220,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -236,7 +242,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -273,6 +279,8 @@ const request: CoordinationV1ApiDeleteNamespacedLeaseRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -284,6 +292,7 @@ const request: CoordinationV1ApiDeleteNamespacedLeaseRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -309,6 +318,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -324,7 +334,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -372,7 +382,7 @@ This endpoint does not need any parameter. ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -456,7 +466,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -543,7 +553,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -617,8 +627,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -679,7 +689,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -761,7 +771,9 @@ const request: CoordinationV1ApiReplaceNamespacedLeaseRequest = { holderIdentity: "holderIdentity_example", leaseDurationSeconds: 1, leaseTransitions: 1, + preferredHolder: "preferredHolder_example", renewTime: "renewTime_example", + strategy: "strategy_example", }, }, // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) @@ -803,7 +815,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details diff --git a/src/gen/CoordinationV1alpha2Api.md b/src/gen/CoordinationV1alpha2Api.md new file mode 100644 index 00000000000..76d509e1bd2 --- /dev/null +++ b/src/gen/CoordinationV1alpha2Api.md @@ -0,0 +1,828 @@ +# .CoordinationV1alpha2Api + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**createNamespacedLeaseCandidate**](CoordinationV1alpha2Api.md#createNamespacedLeaseCandidate) | **POST** /apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates | +[**deleteCollectionNamespacedLeaseCandidate**](CoordinationV1alpha2Api.md#deleteCollectionNamespacedLeaseCandidate) | **DELETE** /apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates | +[**deleteNamespacedLeaseCandidate**](CoordinationV1alpha2Api.md#deleteNamespacedLeaseCandidate) | **DELETE** /apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates/{name} | +[**getAPIResources**](CoordinationV1alpha2Api.md#getAPIResources) | **GET** /apis/coordination.k8s.io/v1alpha2/ | +[**listLeaseCandidateForAllNamespaces**](CoordinationV1alpha2Api.md#listLeaseCandidateForAllNamespaces) | **GET** /apis/coordination.k8s.io/v1alpha2/leasecandidates | +[**listNamespacedLeaseCandidate**](CoordinationV1alpha2Api.md#listNamespacedLeaseCandidate) | **GET** /apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates | +[**patchNamespacedLeaseCandidate**](CoordinationV1alpha2Api.md#patchNamespacedLeaseCandidate) | **PATCH** /apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates/{name} | +[**readNamespacedLeaseCandidate**](CoordinationV1alpha2Api.md#readNamespacedLeaseCandidate) | **GET** /apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates/{name} | +[**replaceNamespacedLeaseCandidate**](CoordinationV1alpha2Api.md#replaceNamespacedLeaseCandidate) | **PUT** /apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates/{name} | + + +# **createNamespacedLeaseCandidate** +> V1alpha2LeaseCandidate createNamespacedLeaseCandidate(body) + +create a LeaseCandidate + +### Example + + +```typescript +import { createConfiguration, CoordinationV1alpha2Api } from ''; +import type { CoordinationV1alpha2ApiCreateNamespacedLeaseCandidateRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new CoordinationV1alpha2Api(configuration); + +const request: CoordinationV1alpha2ApiCreateNamespacedLeaseCandidateRequest = { + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + + body: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + binaryVersion: "binaryVersion_example", + emulationVersion: "emulationVersion_example", + leaseName: "leaseName_example", + pingTime: "pingTime_example", + renewTime: "renewTime_example", + strategy: "strategy_example", + }, + }, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", +}; + +const data = await apiInstance.createNamespacedLeaseCandidate(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1alpha2LeaseCandidate**| | + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + + +### Return type + +**V1alpha2LeaseCandidate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **deleteCollectionNamespacedLeaseCandidate** +> V1Status deleteCollectionNamespacedLeaseCandidate() + +delete collection of LeaseCandidate + +### Example + + +```typescript +import { createConfiguration, CoordinationV1alpha2Api } from ''; +import type { CoordinationV1alpha2ApiDeleteCollectionNamespacedLeaseCandidateRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new CoordinationV1alpha2Api(configuration); + +const request: CoordinationV1alpha2ApiDeleteCollectionNamespacedLeaseCandidateRequest = { + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + _continue: "continue_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + fieldSelector: "fieldSelector_example", + // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, + // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + labelSelector: "labelSelector_example", + // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + limit: 1, + // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + orphanDependents: true, + // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) + propagationPolicy: "propagationPolicy_example", + // resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersion: "resourceVersion_example", + // resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersionMatch: "resourceVersionMatch_example", + // `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + sendInitialEvents: true, + // Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + timeoutSeconds: 1, + + body: { + apiVersion: "apiVersion_example", + dryRun: [ + "dryRun_example", + ], + gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, + kind: "kind_example", + orphanDependents: true, + preconditions: { + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + propagationPolicy: "propagationPolicy_example", + }, +}; + +const data = await apiInstance.deleteCollectionNamespacedLeaseCandidate(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1DeleteOptions**| | + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **_continue** | [**string**] | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined + **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined + **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined + **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined + **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined + **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined + **resourceVersion** | [**string**] | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **resourceVersionMatch** | [**string**] | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **sendInitialEvents** | [**boolean**] | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | (optional) defaults to undefined + **timeoutSeconds** | [**number**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | (optional) defaults to undefined + + +### Return type + +**V1Status** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **deleteNamespacedLeaseCandidate** +> V1Status deleteNamespacedLeaseCandidate() + +delete a LeaseCandidate + +### Example + + +```typescript +import { createConfiguration, CoordinationV1alpha2Api } from ''; +import type { CoordinationV1alpha2ApiDeleteNamespacedLeaseCandidateRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new CoordinationV1alpha2Api(configuration); + +const request: CoordinationV1alpha2ApiDeleteNamespacedLeaseCandidateRequest = { + // name of the LeaseCandidate + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, + // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + orphanDependents: true, + // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) + propagationPolicy: "propagationPolicy_example", + + body: { + apiVersion: "apiVersion_example", + dryRun: [ + "dryRun_example", + ], + gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, + kind: "kind_example", + orphanDependents: true, + preconditions: { + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + propagationPolicy: "propagationPolicy_example", + }, +}; + +const data = await apiInstance.deleteNamespacedLeaseCandidate(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1DeleteOptions**| | + **name** | [**string**] | name of the LeaseCandidate | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined + **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined + **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined + + +### Return type + +**V1Status** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **getAPIResources** +> V1APIResourceList getAPIResources() + +get available resources + +### Example + + +```typescript +import { createConfiguration, CoordinationV1alpha2Api } from ''; + +const configuration = createConfiguration(); +const apiInstance = new CoordinationV1alpha2Api(configuration); + +const request = {}; + +const data = await apiInstance.getAPIResources(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters +This endpoint does not need any parameter. + + +### Return type + +**V1APIResourceList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **listLeaseCandidateForAllNamespaces** +> V1alpha2LeaseCandidateList listLeaseCandidateForAllNamespaces() + +list or watch objects of kind LeaseCandidate + +### Example + + +```typescript +import { createConfiguration, CoordinationV1alpha2Api } from ''; +import type { CoordinationV1alpha2ApiListLeaseCandidateForAllNamespacesRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new CoordinationV1alpha2Api(configuration); + +const request: CoordinationV1alpha2ApiListLeaseCandidateForAllNamespacesRequest = { + // allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) + allowWatchBookmarks: true, + // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + _continue: "continue_example", + // A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + fieldSelector: "fieldSelector_example", + // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + labelSelector: "labelSelector_example", + // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + limit: 1, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersion: "resourceVersion_example", + // resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersionMatch: "resourceVersionMatch_example", + // `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + sendInitialEvents: true, + // Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + timeoutSeconds: 1, + // Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + watch: true, +}; + +const data = await apiInstance.listLeaseCandidateForAllNamespaces(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **allowWatchBookmarks** | [**boolean**] | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | (optional) defaults to undefined + **_continue** | [**string**] | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | (optional) defaults to undefined + **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined + **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined + **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **resourceVersion** | [**string**] | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **resourceVersionMatch** | [**string**] | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **sendInitialEvents** | [**boolean**] | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | (optional) defaults to undefined + **timeoutSeconds** | [**number**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | (optional) defaults to undefined + **watch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | (optional) defaults to undefined + + +### Return type + +**V1alpha2LeaseCandidateList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **listNamespacedLeaseCandidate** +> V1alpha2LeaseCandidateList listNamespacedLeaseCandidate() + +list or watch objects of kind LeaseCandidate + +### Example + + +```typescript +import { createConfiguration, CoordinationV1alpha2Api } from ''; +import type { CoordinationV1alpha2ApiListNamespacedLeaseCandidateRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new CoordinationV1alpha2Api(configuration); + +const request: CoordinationV1alpha2ApiListNamespacedLeaseCandidateRequest = { + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) + allowWatchBookmarks: true, + // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + _continue: "continue_example", + // A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + fieldSelector: "fieldSelector_example", + // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + labelSelector: "labelSelector_example", + // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + limit: 1, + // resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersion: "resourceVersion_example", + // resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersionMatch: "resourceVersionMatch_example", + // `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + sendInitialEvents: true, + // Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + timeoutSeconds: 1, + // Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + watch: true, +}; + +const data = await apiInstance.listNamespacedLeaseCandidate(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **allowWatchBookmarks** | [**boolean**] | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | (optional) defaults to undefined + **_continue** | [**string**] | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | (optional) defaults to undefined + **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined + **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined + **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined + **resourceVersion** | [**string**] | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **resourceVersionMatch** | [**string**] | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **sendInitialEvents** | [**boolean**] | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | (optional) defaults to undefined + **timeoutSeconds** | [**number**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | (optional) defaults to undefined + **watch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | (optional) defaults to undefined + + +### Return type + +**V1alpha2LeaseCandidateList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **patchNamespacedLeaseCandidate** +> V1alpha2LeaseCandidate patchNamespacedLeaseCandidate(body) + +partially update the specified LeaseCandidate + +### Example + + +```typescript +import { createConfiguration, CoordinationV1alpha2Api } from ''; +import type { CoordinationV1alpha2ApiPatchNamespacedLeaseCandidateRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new CoordinationV1alpha2Api(configuration); + +const request: CoordinationV1alpha2ApiPatchNamespacedLeaseCandidateRequest = { + // name of the LeaseCandidate + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + + body: {}, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", + // Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + force: true, +}; + +const data = await apiInstance.patchNamespacedLeaseCandidate(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **any**| | + **name** | [**string**] | name of the LeaseCandidate | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + **force** | [**boolean**] | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | (optional) defaults to undefined + + +### Return type + +**V1alpha2LeaseCandidate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **readNamespacedLeaseCandidate** +> V1alpha2LeaseCandidate readNamespacedLeaseCandidate() + +read the specified LeaseCandidate + +### Example + + +```typescript +import { createConfiguration, CoordinationV1alpha2Api } from ''; +import type { CoordinationV1alpha2ApiReadNamespacedLeaseCandidateRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new CoordinationV1alpha2Api(configuration); + +const request: CoordinationV1alpha2ApiReadNamespacedLeaseCandidateRequest = { + // name of the LeaseCandidate + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", +}; + +const data = await apiInstance.readNamespacedLeaseCandidate(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | [**string**] | name of the LeaseCandidate | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + + +### Return type + +**V1alpha2LeaseCandidate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **replaceNamespacedLeaseCandidate** +> V1alpha2LeaseCandidate replaceNamespacedLeaseCandidate(body) + +replace the specified LeaseCandidate + +### Example + + +```typescript +import { createConfiguration, CoordinationV1alpha2Api } from ''; +import type { CoordinationV1alpha2ApiReplaceNamespacedLeaseCandidateRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new CoordinationV1alpha2Api(configuration); + +const request: CoordinationV1alpha2ApiReplaceNamespacedLeaseCandidateRequest = { + // name of the LeaseCandidate + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + + body: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + binaryVersion: "binaryVersion_example", + emulationVersion: "emulationVersion_example", + leaseName: "leaseName_example", + pingTime: "pingTime_example", + renewTime: "renewTime_example", + strategy: "strategy_example", + }, + }, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", +}; + +const data = await apiInstance.replaceNamespacedLeaseCandidate(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1alpha2LeaseCandidate**| | + **name** | [**string**] | name of the LeaseCandidate | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + + +### Return type + +**V1alpha2LeaseCandidate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + diff --git a/src/gen/CoreV1Api.md b/src/gen/CoreV1Api.md index 4b8a34fc8d4..77f37d9f10d 100644 --- a/src/gen/CoreV1Api.md +++ b/src/gen/CoreV1Api.md @@ -139,6 +139,7 @@ Method | HTTP request | Description [**patchNamespacedPersistentVolumeClaimStatus**](CoreV1Api.md#patchNamespacedPersistentVolumeClaimStatus) | **PATCH** /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status | [**patchNamespacedPod**](CoreV1Api.md#patchNamespacedPod) | **PATCH** /api/v1/namespaces/{namespace}/pods/{name} | [**patchNamespacedPodEphemeralcontainers**](CoreV1Api.md#patchNamespacedPodEphemeralcontainers) | **PATCH** /api/v1/namespaces/{namespace}/pods/{name}/ephemeralcontainers | +[**patchNamespacedPodResize**](CoreV1Api.md#patchNamespacedPodResize) | **PATCH** /api/v1/namespaces/{namespace}/pods/{name}/resize | [**patchNamespacedPodStatus**](CoreV1Api.md#patchNamespacedPodStatus) | **PATCH** /api/v1/namespaces/{namespace}/pods/{name}/status | [**patchNamespacedPodTemplate**](CoreV1Api.md#patchNamespacedPodTemplate) | **PATCH** /api/v1/namespaces/{namespace}/podtemplates/{name} | [**patchNamespacedReplicationController**](CoreV1Api.md#patchNamespacedReplicationController) | **PATCH** /api/v1/namespaces/{namespace}/replicationcontrollers/{name} | @@ -166,6 +167,7 @@ Method | HTTP request | Description [**readNamespacedPod**](CoreV1Api.md#readNamespacedPod) | **GET** /api/v1/namespaces/{namespace}/pods/{name} | [**readNamespacedPodEphemeralcontainers**](CoreV1Api.md#readNamespacedPodEphemeralcontainers) | **GET** /api/v1/namespaces/{namespace}/pods/{name}/ephemeralcontainers | [**readNamespacedPodLog**](CoreV1Api.md#readNamespacedPodLog) | **GET** /api/v1/namespaces/{namespace}/pods/{name}/log | +[**readNamespacedPodResize**](CoreV1Api.md#readNamespacedPodResize) | **GET** /api/v1/namespaces/{namespace}/pods/{name}/resize | [**readNamespacedPodStatus**](CoreV1Api.md#readNamespacedPodStatus) | **GET** /api/v1/namespaces/{namespace}/pods/{name}/status | [**readNamespacedPodTemplate**](CoreV1Api.md#readNamespacedPodTemplate) | **GET** /api/v1/namespaces/{namespace}/podtemplates/{name} | [**readNamespacedReplicationController**](CoreV1Api.md#readNamespacedReplicationController) | **GET** /api/v1/namespaces/{namespace}/replicationcontrollers/{name} | @@ -192,6 +194,7 @@ Method | HTTP request | Description [**replaceNamespacedPersistentVolumeClaimStatus**](CoreV1Api.md#replaceNamespacedPersistentVolumeClaimStatus) | **PUT** /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status | [**replaceNamespacedPod**](CoreV1Api.md#replaceNamespacedPod) | **PUT** /api/v1/namespaces/{namespace}/pods/{name} | [**replaceNamespacedPodEphemeralcontainers**](CoreV1Api.md#replaceNamespacedPodEphemeralcontainers) | **PUT** /api/v1/namespaces/{namespace}/pods/{name}/ephemeralcontainers | +[**replaceNamespacedPodResize**](CoreV1Api.md#replaceNamespacedPodResize) | **PUT** /api/v1/namespaces/{namespace}/pods/{name}/resize | [**replaceNamespacedPodStatus**](CoreV1Api.md#replaceNamespacedPodStatus) | **PUT** /api/v1/namespaces/{namespace}/pods/{name}/status | [**replaceNamespacedPodTemplate**](CoreV1Api.md#replaceNamespacedPodTemplate) | **PUT** /api/v1/namespaces/{namespace}/podtemplates/{name} | [**replaceNamespacedReplicationController**](CoreV1Api.md#replaceNamespacedReplicationController) | **PUT** /api/v1/namespaces/{namespace}/replicationcontrollers/{name} | @@ -3281,7 +3284,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -3406,7 +3409,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -3529,7 +3532,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -3689,7 +3692,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -3841,7 +3844,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -3979,7 +3982,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -4167,7 +4170,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -4668,6 +4671,7 @@ const request: CoreV1ApiCreateNamespacedPodRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -4979,6 +4983,7 @@ const request: CoreV1ApiCreateNamespacedPodRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -5293,6 +5298,7 @@ const request: CoreV1ApiCreateNamespacedPodRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -5419,12 +5425,24 @@ const request: CoreV1ApiCreateNamespacedPodRequest = { resourceClaims: [ { name: "name_example", - source: { - resourceClaimName: "resourceClaimName_example", - resourceClaimTemplateName: "resourceClaimTemplateName_example", - }, + resourceClaimName: "resourceClaimName_example", + resourceClaimTemplateName: "resourceClaimTemplateName_example", }, ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, restartPolicy: "restartPolicy_example", runtimeClassName: "runtimeClassName_example", schedulerName: "schedulerName_example", @@ -5443,6 +5461,7 @@ const request: CoreV1ApiCreateNamespacedPodRequest = { runAsGroup: 1, runAsNonRoot: true, runAsUser: 1, + seLinuxChangePolicy: "seLinuxChangePolicy_example", seLinuxOptions: { level: "level_example", role: "role_example", @@ -5456,6 +5475,7 @@ const request: CoreV1ApiCreateNamespacedPodRequest = { supplementalGroups: [ 1, ], + supplementalGroupsPolicy: "supplementalGroupsPolicy_example", sysctls: [ { name: "name_example", @@ -5731,6 +5751,10 @@ const request: CoreV1ApiCreateNamespacedPodRequest = { path: "path_example", type: "type_example", }, + image: { + pullPolicy: "pullPolicy_example", + reference: "reference_example", + }, iscsi: { chapAuthDiscovery: true, chapAuthSession: true, @@ -5920,6 +5944,17 @@ const request: CoreV1ApiCreateNamespacedPodRequest = { allocatedResources: { "key": "key_example", }, + allocatedResourcesStatus: [ + { + name: "name_example", + resources: [ + { + health: "health_example", + resourceID: "resourceID_example", + }, + ], + }, + ], containerID: "containerID_example", image: "image_example", imageID: "imageID_example", @@ -5947,6 +5982,7 @@ const request: CoreV1ApiCreateNamespacedPodRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -5976,6 +6012,15 @@ const request: CoreV1ApiCreateNamespacedPodRequest = { reason: "reason_example", }, }, + user: { + linux: { + gid: 1, + supplementalGroups: [ + 1, + ], + uid: 1, + }, + }, volumeMounts: [ { mountPath: "mountPath_example", @@ -5991,6 +6036,17 @@ const request: CoreV1ApiCreateNamespacedPodRequest = { allocatedResources: { "key": "key_example", }, + allocatedResourcesStatus: [ + { + name: "name_example", + resources: [ + { + health: "health_example", + resourceID: "resourceID_example", + }, + ], + }, + ], containerID: "containerID_example", image: "image_example", imageID: "imageID_example", @@ -6018,6 +6074,7 @@ const request: CoreV1ApiCreateNamespacedPodRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -6047,6 +6104,15 @@ const request: CoreV1ApiCreateNamespacedPodRequest = { reason: "reason_example", }, }, + user: { + linux: { + gid: 1, + supplementalGroups: [ + 1, + ], + uid: 1, + }, + }, volumeMounts: [ { mountPath: "mountPath_example", @@ -6068,6 +6134,17 @@ const request: CoreV1ApiCreateNamespacedPodRequest = { allocatedResources: { "key": "key_example", }, + allocatedResourcesStatus: [ + { + name: "name_example", + resources: [ + { + health: "health_example", + resourceID: "resourceID_example", + }, + ], + }, + ], containerID: "containerID_example", image: "image_example", imageID: "imageID_example", @@ -6095,6 +6172,7 @@ const request: CoreV1ApiCreateNamespacedPodRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -6124,6 +6202,15 @@ const request: CoreV1ApiCreateNamespacedPodRequest = { reason: "reason_example", }, }, + user: { + linux: { + gid: 1, + supplementalGroups: [ + 1, + ], + uid: 1, + }, + }, volumeMounts: [ { mountPath: "mountPath_example", @@ -6193,7 +6280,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -6321,7 +6408,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -6363,6 +6450,7 @@ const request: CoreV1ApiCreateNamespacedPodEvictionRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -6454,7 +6542,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -6998,6 +7086,7 @@ const request: CoreV1ApiCreateNamespacedPodTemplateRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -7309,6 +7398,7 @@ const request: CoreV1ApiCreateNamespacedPodTemplateRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -7623,6 +7713,7 @@ const request: CoreV1ApiCreateNamespacedPodTemplateRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -7749,12 +7840,24 @@ const request: CoreV1ApiCreateNamespacedPodTemplateRequest = { resourceClaims: [ { name: "name_example", - source: { - resourceClaimName: "resourceClaimName_example", - resourceClaimTemplateName: "resourceClaimTemplateName_example", - }, + resourceClaimName: "resourceClaimName_example", + resourceClaimTemplateName: "resourceClaimTemplateName_example", }, ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, restartPolicy: "restartPolicy_example", runtimeClassName: "runtimeClassName_example", schedulerName: "schedulerName_example", @@ -7773,6 +7876,7 @@ const request: CoreV1ApiCreateNamespacedPodTemplateRequest = { runAsGroup: 1, runAsNonRoot: true, runAsUser: 1, + seLinuxChangePolicy: "seLinuxChangePolicy_example", seLinuxOptions: { level: "level_example", role: "role_example", @@ -7786,6 +7890,7 @@ const request: CoreV1ApiCreateNamespacedPodTemplateRequest = { supplementalGroups: [ 1, ], + supplementalGroupsPolicy: "supplementalGroupsPolicy_example", sysctls: [ { name: "name_example", @@ -8061,6 +8166,10 @@ const request: CoreV1ApiCreateNamespacedPodTemplateRequest = { path: "path_example", type: "type_example", }, + image: { + pullPolicy: "pullPolicy_example", + reference: "reference_example", + }, iscsi: { chapAuthDiscovery: true, chapAuthSession: true, @@ -8274,7 +8383,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -8824,6 +8933,7 @@ const request: CoreV1ApiCreateNamespacedReplicationControllerRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -9135,6 +9245,7 @@ const request: CoreV1ApiCreateNamespacedReplicationControllerRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -9449,6 +9560,7 @@ const request: CoreV1ApiCreateNamespacedReplicationControllerRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -9575,12 +9687,24 @@ const request: CoreV1ApiCreateNamespacedReplicationControllerRequest = { resourceClaims: [ { name: "name_example", - source: { - resourceClaimName: "resourceClaimName_example", - resourceClaimTemplateName: "resourceClaimTemplateName_example", - }, + resourceClaimName: "resourceClaimName_example", + resourceClaimTemplateName: "resourceClaimTemplateName_example", }, ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, restartPolicy: "restartPolicy_example", runtimeClassName: "runtimeClassName_example", schedulerName: "schedulerName_example", @@ -9599,6 +9723,7 @@ const request: CoreV1ApiCreateNamespacedReplicationControllerRequest = { runAsGroup: 1, runAsNonRoot: true, runAsUser: 1, + seLinuxChangePolicy: "seLinuxChangePolicy_example", seLinuxOptions: { level: "level_example", role: "role_example", @@ -9612,6 +9737,7 @@ const request: CoreV1ApiCreateNamespacedReplicationControllerRequest = { supplementalGroups: [ 1, ], + supplementalGroupsPolicy: "supplementalGroupsPolicy_example", sysctls: [ { name: "name_example", @@ -9887,6 +10013,10 @@ const request: CoreV1ApiCreateNamespacedReplicationControllerRequest = { path: "path_example", type: "type_example", }, + image: { + pullPolicy: "pullPolicy_example", + reference: "reference_example", + }, iscsi: { chapAuthDiscovery: true, chapAuthSession: true, @@ -10117,7 +10247,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -10260,7 +10390,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -10384,7 +10514,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -10573,7 +10703,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -10706,7 +10836,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -10841,7 +10971,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -11000,6 +11130,9 @@ const request: CoreV1ApiCreateNodeRequest = { Port: 1, }, }, + features: { + supplementalGroupsPolicy: true, + }, images: [ { names: [ @@ -11025,6 +11158,7 @@ const request: CoreV1ApiCreateNodeRequest = { { features: { recursiveReadOnlyMounts: true, + userNamespaces: true, }, name: "name_example", }, @@ -11077,7 +11211,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -11455,7 +11589,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -11496,6 +11630,8 @@ const request: CoreV1ApiDeleteCollectionNamespacedConfigMapRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -11519,6 +11655,7 @@ const request: CoreV1ApiDeleteCollectionNamespacedConfigMapRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -11545,6 +11682,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -11566,7 +11704,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -11605,6 +11743,8 @@ const request: CoreV1ApiDeleteCollectionNamespacedEndpointsRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -11628,6 +11768,7 @@ const request: CoreV1ApiDeleteCollectionNamespacedEndpointsRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -11654,6 +11795,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -11675,7 +11817,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -11714,6 +11856,8 @@ const request: CoreV1ApiDeleteCollectionNamespacedEventRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -11737,6 +11881,7 @@ const request: CoreV1ApiDeleteCollectionNamespacedEventRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -11763,6 +11908,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -11784,7 +11930,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -11823,6 +11969,8 @@ const request: CoreV1ApiDeleteCollectionNamespacedLimitRangeRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -11846,6 +11994,7 @@ const request: CoreV1ApiDeleteCollectionNamespacedLimitRangeRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -11872,6 +12021,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -11893,7 +12043,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -11932,6 +12082,8 @@ const request: CoreV1ApiDeleteCollectionNamespacedPersistentVolumeClaimRequest = fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -11955,6 +12107,7 @@ const request: CoreV1ApiDeleteCollectionNamespacedPersistentVolumeClaimRequest = "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -11981,6 +12134,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -12002,7 +12156,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -12041,6 +12195,8 @@ const request: CoreV1ApiDeleteCollectionNamespacedPodRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -12064,6 +12220,7 @@ const request: CoreV1ApiDeleteCollectionNamespacedPodRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -12090,6 +12247,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -12111,7 +12269,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -12150,6 +12308,8 @@ const request: CoreV1ApiDeleteCollectionNamespacedPodTemplateRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -12173,6 +12333,7 @@ const request: CoreV1ApiDeleteCollectionNamespacedPodTemplateRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -12199,6 +12360,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -12220,7 +12382,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -12259,6 +12421,8 @@ const request: CoreV1ApiDeleteCollectionNamespacedReplicationControllerRequest = fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -12282,6 +12446,7 @@ const request: CoreV1ApiDeleteCollectionNamespacedReplicationControllerRequest = "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -12308,6 +12473,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -12329,7 +12495,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -12368,6 +12534,8 @@ const request: CoreV1ApiDeleteCollectionNamespacedResourceQuotaRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -12391,6 +12559,7 @@ const request: CoreV1ApiDeleteCollectionNamespacedResourceQuotaRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -12417,6 +12586,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -12438,7 +12608,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -12477,6 +12647,8 @@ const request: CoreV1ApiDeleteCollectionNamespacedSecretRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -12500,6 +12672,7 @@ const request: CoreV1ApiDeleteCollectionNamespacedSecretRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -12526,6 +12699,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -12547,7 +12721,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -12586,6 +12760,8 @@ const request: CoreV1ApiDeleteCollectionNamespacedServiceRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -12609,6 +12785,7 @@ const request: CoreV1ApiDeleteCollectionNamespacedServiceRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -12635,6 +12812,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -12656,7 +12834,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -12695,6 +12873,8 @@ const request: CoreV1ApiDeleteCollectionNamespacedServiceAccountRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -12718,6 +12898,7 @@ const request: CoreV1ApiDeleteCollectionNamespacedServiceAccountRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -12744,6 +12925,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -12765,7 +12947,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -12802,6 +12984,8 @@ const request: CoreV1ApiDeleteCollectionNodeRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -12825,6 +13009,7 @@ const request: CoreV1ApiDeleteCollectionNodeRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -12850,6 +13035,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -12871,7 +13057,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -12908,6 +13094,8 @@ const request: CoreV1ApiDeleteCollectionPersistentVolumeRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -12931,6 +13119,7 @@ const request: CoreV1ApiDeleteCollectionPersistentVolumeRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -12956,6 +13145,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -12977,7 +13167,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -13012,6 +13202,8 @@ const request: CoreV1ApiDeleteNamespaceRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -13023,6 +13215,7 @@ const request: CoreV1ApiDeleteNamespaceRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -13047,6 +13240,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -13062,7 +13256,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -13100,6 +13294,8 @@ const request: CoreV1ApiDeleteNamespacedConfigMapRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -13111,6 +13307,7 @@ const request: CoreV1ApiDeleteNamespacedConfigMapRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -13136,6 +13333,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -13151,7 +13349,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -13189,6 +13387,8 @@ const request: CoreV1ApiDeleteNamespacedEndpointsRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -13200,6 +13400,7 @@ const request: CoreV1ApiDeleteNamespacedEndpointsRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -13225,6 +13426,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -13240,7 +13442,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -13278,6 +13480,8 @@ const request: CoreV1ApiDeleteNamespacedEventRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -13289,6 +13493,7 @@ const request: CoreV1ApiDeleteNamespacedEventRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -13314,6 +13519,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -13329,7 +13535,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -13367,6 +13573,8 @@ const request: CoreV1ApiDeleteNamespacedLimitRangeRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -13378,6 +13586,7 @@ const request: CoreV1ApiDeleteNamespacedLimitRangeRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -13403,6 +13612,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -13418,7 +13628,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -13456,6 +13666,8 @@ const request: CoreV1ApiDeleteNamespacedPersistentVolumeClaimRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -13467,6 +13679,7 @@ const request: CoreV1ApiDeleteNamespacedPersistentVolumeClaimRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -13492,6 +13705,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -13507,7 +13721,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -13545,6 +13759,8 @@ const request: CoreV1ApiDeleteNamespacedPodRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -13556,6 +13772,7 @@ const request: CoreV1ApiDeleteNamespacedPodRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -13581,6 +13798,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -13596,7 +13814,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -13634,6 +13852,8 @@ const request: CoreV1ApiDeleteNamespacedPodTemplateRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -13645,6 +13865,7 @@ const request: CoreV1ApiDeleteNamespacedPodTemplateRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -13670,6 +13891,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -13685,7 +13907,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -13723,6 +13945,8 @@ const request: CoreV1ApiDeleteNamespacedReplicationControllerRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -13734,6 +13958,7 @@ const request: CoreV1ApiDeleteNamespacedReplicationControllerRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -13759,6 +13984,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -13774,7 +14000,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -13812,6 +14038,8 @@ const request: CoreV1ApiDeleteNamespacedResourceQuotaRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -13823,6 +14051,7 @@ const request: CoreV1ApiDeleteNamespacedResourceQuotaRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -13848,6 +14077,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -13863,7 +14093,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -13901,6 +14131,8 @@ const request: CoreV1ApiDeleteNamespacedSecretRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -13912,6 +14144,7 @@ const request: CoreV1ApiDeleteNamespacedSecretRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -13937,6 +14170,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -13952,7 +14186,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -13990,6 +14224,8 @@ const request: CoreV1ApiDeleteNamespacedServiceRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -14001,6 +14237,7 @@ const request: CoreV1ApiDeleteNamespacedServiceRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -14026,6 +14263,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -14041,7 +14279,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -14079,6 +14317,8 @@ const request: CoreV1ApiDeleteNamespacedServiceAccountRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -14090,6 +14330,7 @@ const request: CoreV1ApiDeleteNamespacedServiceAccountRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -14115,6 +14356,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -14130,7 +14372,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -14166,6 +14408,8 @@ const request: CoreV1ApiDeleteNodeRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -14177,6 +14421,7 @@ const request: CoreV1ApiDeleteNodeRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -14201,6 +14446,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -14216,7 +14462,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -14252,6 +14498,8 @@ const request: CoreV1ApiDeletePersistentVolumeRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -14263,6 +14511,7 @@ const request: CoreV1ApiDeletePersistentVolumeRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -14287,6 +14536,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -14302,7 +14552,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -14350,7 +14600,7 @@ This endpoint does not need any parameter. ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -14434,7 +14684,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -14518,7 +14768,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -14602,7 +14852,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -14686,7 +14936,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -14770,7 +15020,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -14854,7 +15104,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -14941,7 +15191,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -15028,7 +15278,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -15115,7 +15365,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -15202,7 +15452,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -15289,7 +15539,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -15376,7 +15626,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -15463,7 +15713,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -15550,7 +15800,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -15637,7 +15887,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -15724,7 +15974,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -15811,7 +16061,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -15898,7 +16148,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -15982,7 +16232,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -16066,7 +16316,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -16150,7 +16400,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -16234,7 +16484,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -16318,7 +16568,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -16402,7 +16652,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -16486,7 +16736,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -16570,7 +16820,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -16654,7 +16904,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -16738,7 +16988,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -16809,8 +17059,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -16882,8 +17132,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -16958,8 +17208,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -17034,8 +17284,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -17110,8 +17360,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -17186,8 +17436,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -17262,8 +17512,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -17338,8 +17588,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -17414,8 +17664,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -17490,8 +17740,84 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **patchNamespacedPodResize** +> V1Pod patchNamespacedPodResize(body) + +partially update resize of the specified Pod + +### Example + + +```typescript +import { createConfiguration, CoreV1Api } from ''; +import type { CoreV1ApiPatchNamespacedPodResizeRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new CoreV1Api(configuration); + +const request: CoreV1ApiPatchNamespacedPodResizeRequest = { + // name of the Pod + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + + body: {}, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", + // Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + force: true, +}; + +const data = await apiInstance.patchNamespacedPodResize(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **any**| | + **name** | [**string**] | name of the Pod | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + **force** | [**boolean**] | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | (optional) defaults to undefined + + +### Return type + +**V1Pod** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -17566,8 +17892,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -17642,8 +17968,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -17718,8 +18044,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -17794,8 +18120,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -17870,8 +18196,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -17946,8 +18272,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -18022,8 +18348,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -18098,8 +18424,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -18174,8 +18500,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -18250,8 +18576,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -18326,8 +18652,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -18399,8 +18725,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -18472,8 +18798,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -18545,8 +18871,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -18618,8 +18944,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -18677,7 +19003,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -18734,7 +19060,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -18791,7 +19117,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -18851,7 +19177,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -18911,7 +19237,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -18971,7 +19297,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -19031,7 +19357,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -19091,7 +19417,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -19151,7 +19477,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -19211,7 +19537,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -19271,7 +19597,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -19316,7 +19642,9 @@ const request: CoreV1ApiReadNamespacedPodLogRequest = { previous: true, // A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. (optional) sinceSeconds: 1, - // If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime (optional) + // Specify which container log stream to return to the client. Acceptable values are \"All\", \"Stdout\" and \"Stderr\". If not specified, \"All\" is used, and both stdout and stderr are returned interleaved. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\". (optional) + stream: "stream_example", + // If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\". (optional) tailLines: 1, // If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. (optional) timestamps: true, @@ -19340,7 +19668,8 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **previous** | [**boolean**] | Return previous terminated container logs. Defaults to false. | (optional) defaults to undefined **sinceSeconds** | [**number**] | A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. | (optional) defaults to undefined - **tailLines** | [**number**] | If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime | (optional) defaults to undefined + **stream** | [**string**] | Specify which container log stream to return to the client. Acceptable values are \"All\", \"Stdout\" and \"Stderr\". If not specified, \"All\" is used, and both stdout and stderr are returned interleaved. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\". | (optional) defaults to undefined + **tailLines** | [**number**] | If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\". | (optional) defaults to undefined **timestamps** | [**boolean**] | If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. | (optional) defaults to undefined @@ -19355,7 +19684,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: text/plain, application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: text/plain, application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -19366,22 +19695,22 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) -# **readNamespacedPodStatus** -> V1Pod readNamespacedPodStatus() +# **readNamespacedPodResize** +> V1Pod readNamespacedPodResize() -read status of the specified Pod +read resize of the specified Pod ### Example ```typescript import { createConfiguration, CoreV1Api } from ''; -import type { CoreV1ApiReadNamespacedPodStatusRequest } from ''; +import type { CoreV1ApiReadNamespacedPodResizeRequest } from ''; const configuration = createConfiguration(); const apiInstance = new CoreV1Api(configuration); -const request: CoreV1ApiReadNamespacedPodStatusRequest = { +const request: CoreV1ApiReadNamespacedPodResizeRequest = { // name of the Pod name: "name_example", // object name and auth scope, such as for teams and projects @@ -19390,7 +19719,7 @@ const request: CoreV1ApiReadNamespacedPodStatusRequest = { pretty: "pretty_example", }; -const data = await apiInstance.readNamespacedPodStatus(request); +const data = await apiInstance.readNamespacedPodResize(request); console.log('API called successfully. Returned data:', data); ``` @@ -19415,67 +19744,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) - -# **readNamespacedPodTemplate** -> V1PodTemplate readNamespacedPodTemplate() - -read the specified PodTemplate - -### Example - - -```typescript -import { createConfiguration, CoreV1Api } from ''; -import type { CoreV1ApiReadNamespacedPodTemplateRequest } from ''; - -const configuration = createConfiguration(); -const apiInstance = new CoreV1Api(configuration); - -const request: CoreV1ApiReadNamespacedPodTemplateRequest = { - // name of the PodTemplate - name: "name_example", - // object name and auth scope, such as for teams and projects - namespace: "namespace_example", - // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) - pretty: "pretty_example", -}; - -const data = await apiInstance.readNamespacedPodTemplate(request); -console.log('API called successfully. Returned data:', data); -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | [**string**] | name of the PodTemplate | defaults to undefined - **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined - **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined - - -### Return type - -**V1PodTemplate** - -### Authorization - -[BearerToken](README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -19486,23 +19755,23 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) -# **readNamespacedReplicationController** -> V1ReplicationController readNamespacedReplicationController() +# **readNamespacedPodStatus** +> V1Pod readNamespacedPodStatus() -read the specified ReplicationController +read status of the specified Pod ### Example ```typescript import { createConfiguration, CoreV1Api } from ''; -import type { CoreV1ApiReadNamespacedReplicationControllerRequest } from ''; +import type { CoreV1ApiReadNamespacedPodStatusRequest } from ''; const configuration = createConfiguration(); const apiInstance = new CoreV1Api(configuration); -const request: CoreV1ApiReadNamespacedReplicationControllerRequest = { - // name of the ReplicationController +const request: CoreV1ApiReadNamespacedPodStatusRequest = { + // name of the Pod name: "name_example", // object name and auth scope, such as for teams and projects namespace: "namespace_example", @@ -19510,7 +19779,7 @@ const request: CoreV1ApiReadNamespacedReplicationControllerRequest = { pretty: "pretty_example", }; -const data = await apiInstance.readNamespacedReplicationController(request); +const data = await apiInstance.readNamespacedPodStatus(request); console.log('API called successfully. Returned data:', data); ``` @@ -19519,14 +19788,14 @@ console.log('API called successfully. Returned data:', data); Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | [**string**] | name of the ReplicationController | defaults to undefined + **name** | [**string**] | name of the Pod | defaults to undefined **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined ### Return type -**V1ReplicationController** +**V1Pod** ### Authorization @@ -19535,7 +19804,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -19546,23 +19815,23 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) -# **readNamespacedReplicationControllerScale** -> V1Scale readNamespacedReplicationControllerScale() +# **readNamespacedPodTemplate** +> V1PodTemplate readNamespacedPodTemplate() -read scale of the specified ReplicationController +read the specified PodTemplate ### Example ```typescript import { createConfiguration, CoreV1Api } from ''; -import type { CoreV1ApiReadNamespacedReplicationControllerScaleRequest } from ''; +import type { CoreV1ApiReadNamespacedPodTemplateRequest } from ''; const configuration = createConfiguration(); const apiInstance = new CoreV1Api(configuration); -const request: CoreV1ApiReadNamespacedReplicationControllerScaleRequest = { - // name of the Scale +const request: CoreV1ApiReadNamespacedPodTemplateRequest = { + // name of the PodTemplate name: "name_example", // object name and auth scope, such as for teams and projects namespace: "namespace_example", @@ -19570,7 +19839,7 @@ const request: CoreV1ApiReadNamespacedReplicationControllerScaleRequest = { pretty: "pretty_example", }; -const data = await apiInstance.readNamespacedReplicationControllerScale(request); +const data = await apiInstance.readNamespacedPodTemplate(request); console.log('API called successfully. Returned data:', data); ``` @@ -19579,14 +19848,14 @@ console.log('API called successfully. Returned data:', data); Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | [**string**] | name of the Scale | defaults to undefined + **name** | [**string**] | name of the PodTemplate | defaults to undefined **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined ### Return type -**V1Scale** +**V1PodTemplate** ### Authorization @@ -19595,7 +19864,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -19606,22 +19875,22 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) -# **readNamespacedReplicationControllerStatus** -> V1ReplicationController readNamespacedReplicationControllerStatus() +# **readNamespacedReplicationController** +> V1ReplicationController readNamespacedReplicationController() -read status of the specified ReplicationController +read the specified ReplicationController ### Example ```typescript import { createConfiguration, CoreV1Api } from ''; -import type { CoreV1ApiReadNamespacedReplicationControllerStatusRequest } from ''; +import type { CoreV1ApiReadNamespacedReplicationControllerRequest } from ''; const configuration = createConfiguration(); const apiInstance = new CoreV1Api(configuration); -const request: CoreV1ApiReadNamespacedReplicationControllerStatusRequest = { +const request: CoreV1ApiReadNamespacedReplicationControllerRequest = { // name of the ReplicationController name: "name_example", // object name and auth scope, such as for teams and projects @@ -19630,7 +19899,7 @@ const request: CoreV1ApiReadNamespacedReplicationControllerStatusRequest = { pretty: "pretty_example", }; -const data = await apiInstance.readNamespacedReplicationControllerStatus(request); +const data = await apiInstance.readNamespacedReplicationController(request); console.log('API called successfully. Returned data:', data); ``` @@ -19655,7 +19924,127 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **readNamespacedReplicationControllerScale** +> V1Scale readNamespacedReplicationControllerScale() + +read scale of the specified ReplicationController + +### Example + + +```typescript +import { createConfiguration, CoreV1Api } from ''; +import type { CoreV1ApiReadNamespacedReplicationControllerScaleRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new CoreV1Api(configuration); + +const request: CoreV1ApiReadNamespacedReplicationControllerScaleRequest = { + // name of the Scale + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", +}; + +const data = await apiInstance.readNamespacedReplicationControllerScale(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | [**string**] | name of the Scale | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + + +### Return type + +**V1Scale** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **readNamespacedReplicationControllerStatus** +> V1ReplicationController readNamespacedReplicationControllerStatus() + +read status of the specified ReplicationController + +### Example + + +```typescript +import { createConfiguration, CoreV1Api } from ''; +import type { CoreV1ApiReadNamespacedReplicationControllerStatusRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new CoreV1Api(configuration); + +const request: CoreV1ApiReadNamespacedReplicationControllerStatusRequest = { + // name of the ReplicationController + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", +}; + +const data = await apiInstance.readNamespacedReplicationControllerStatus(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | [**string**] | name of the ReplicationController | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + + +### Return type + +**V1ReplicationController** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -19715,7 +20104,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -19775,7 +20164,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -19835,7 +20224,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -19895,7 +20284,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -19955,7 +20344,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -20015,7 +20404,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -20072,7 +20461,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -20129,7 +20518,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -20186,7 +20575,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -20243,7 +20632,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -20374,7 +20763,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -20506,7 +20895,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -20638,7 +21027,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -20763,7 +21152,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -20925,7 +21314,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -21079,7 +21468,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -21219,7 +21608,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -21409,7 +21798,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -21599,7 +21988,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -22101,6 +22490,7 @@ const request: CoreV1ApiReplaceNamespacedPodRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -22412,6 +22802,7 @@ const request: CoreV1ApiReplaceNamespacedPodRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -22726,6 +23117,7 @@ const request: CoreV1ApiReplaceNamespacedPodRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -22852,12 +23244,24 @@ const request: CoreV1ApiReplaceNamespacedPodRequest = { resourceClaims: [ { name: "name_example", - source: { - resourceClaimName: "resourceClaimName_example", - resourceClaimTemplateName: "resourceClaimTemplateName_example", - }, + resourceClaimName: "resourceClaimName_example", + resourceClaimTemplateName: "resourceClaimTemplateName_example", }, ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, restartPolicy: "restartPolicy_example", runtimeClassName: "runtimeClassName_example", schedulerName: "schedulerName_example", @@ -22876,6 +23280,7 @@ const request: CoreV1ApiReplaceNamespacedPodRequest = { runAsGroup: 1, runAsNonRoot: true, runAsUser: 1, + seLinuxChangePolicy: "seLinuxChangePolicy_example", seLinuxOptions: { level: "level_example", role: "role_example", @@ -22889,6 +23294,7 @@ const request: CoreV1ApiReplaceNamespacedPodRequest = { supplementalGroups: [ 1, ], + supplementalGroupsPolicy: "supplementalGroupsPolicy_example", sysctls: [ { name: "name_example", @@ -23164,6 +23570,10 @@ const request: CoreV1ApiReplaceNamespacedPodRequest = { path: "path_example", type: "type_example", }, + image: { + pullPolicy: "pullPolicy_example", + reference: "reference_example", + }, iscsi: { chapAuthDiscovery: true, chapAuthSession: true, @@ -23353,6 +23763,17 @@ const request: CoreV1ApiReplaceNamespacedPodRequest = { allocatedResources: { "key": "key_example", }, + allocatedResourcesStatus: [ + { + name: "name_example", + resources: [ + { + health: "health_example", + resourceID: "resourceID_example", + }, + ], + }, + ], containerID: "containerID_example", image: "image_example", imageID: "imageID_example", @@ -23380,6 +23801,7 @@ const request: CoreV1ApiReplaceNamespacedPodRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -23409,6 +23831,15 @@ const request: CoreV1ApiReplaceNamespacedPodRequest = { reason: "reason_example", }, }, + user: { + linux: { + gid: 1, + supplementalGroups: [ + 1, + ], + uid: 1, + }, + }, volumeMounts: [ { mountPath: "mountPath_example", @@ -23424,6 +23855,17 @@ const request: CoreV1ApiReplaceNamespacedPodRequest = { allocatedResources: { "key": "key_example", }, + allocatedResourcesStatus: [ + { + name: "name_example", + resources: [ + { + health: "health_example", + resourceID: "resourceID_example", + }, + ], + }, + ], containerID: "containerID_example", image: "image_example", imageID: "imageID_example", @@ -23451,6 +23893,7 @@ const request: CoreV1ApiReplaceNamespacedPodRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -23480,6 +23923,15 @@ const request: CoreV1ApiReplaceNamespacedPodRequest = { reason: "reason_example", }, }, + user: { + linux: { + gid: 1, + supplementalGroups: [ + 1, + ], + uid: 1, + }, + }, volumeMounts: [ { mountPath: "mountPath_example", @@ -23501,6 +23953,17 @@ const request: CoreV1ApiReplaceNamespacedPodRequest = { allocatedResources: { "key": "key_example", }, + allocatedResourcesStatus: [ + { + name: "name_example", + resources: [ + { + health: "health_example", + resourceID: "resourceID_example", + }, + ], + }, + ], containerID: "containerID_example", image: "image_example", imageID: "imageID_example", @@ -23528,6 +23991,7 @@ const request: CoreV1ApiReplaceNamespacedPodRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -23557,6 +24021,15 @@ const request: CoreV1ApiReplaceNamespacedPodRequest = { reason: "reason_example", }, }, + user: { + linux: { + gid: 1, + supplementalGroups: [ + 1, + ], + uid: 1, + }, + }, volumeMounts: [ { mountPath: "mountPath_example", @@ -23627,7 +24100,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -24129,6 +24602,7 @@ const request: CoreV1ApiReplaceNamespacedPodEphemeralcontainersRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -24440,6 +24914,7 @@ const request: CoreV1ApiReplaceNamespacedPodEphemeralcontainersRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -24754,6 +25229,7 @@ const request: CoreV1ApiReplaceNamespacedPodEphemeralcontainersRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -24880,12 +25356,24 @@ const request: CoreV1ApiReplaceNamespacedPodEphemeralcontainersRequest = { resourceClaims: [ { name: "name_example", - source: { - resourceClaimName: "resourceClaimName_example", - resourceClaimTemplateName: "resourceClaimTemplateName_example", - }, + resourceClaimName: "resourceClaimName_example", + resourceClaimTemplateName: "resourceClaimTemplateName_example", }, ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, restartPolicy: "restartPolicy_example", runtimeClassName: "runtimeClassName_example", schedulerName: "schedulerName_example", @@ -24904,6 +25392,7 @@ const request: CoreV1ApiReplaceNamespacedPodEphemeralcontainersRequest = { runAsGroup: 1, runAsNonRoot: true, runAsUser: 1, + seLinuxChangePolicy: "seLinuxChangePolicy_example", seLinuxOptions: { level: "level_example", role: "role_example", @@ -24917,6 +25406,7 @@ const request: CoreV1ApiReplaceNamespacedPodEphemeralcontainersRequest = { supplementalGroups: [ 1, ], + supplementalGroupsPolicy: "supplementalGroupsPolicy_example", sysctls: [ { name: "name_example", @@ -25192,6 +25682,10 @@ const request: CoreV1ApiReplaceNamespacedPodEphemeralcontainersRequest = { path: "path_example", type: "type_example", }, + image: { + pullPolicy: "pullPolicy_example", + reference: "reference_example", + }, iscsi: { chapAuthDiscovery: true, chapAuthSession: true, @@ -25381,6 +25875,17 @@ const request: CoreV1ApiReplaceNamespacedPodEphemeralcontainersRequest = { allocatedResources: { "key": "key_example", }, + allocatedResourcesStatus: [ + { + name: "name_example", + resources: [ + { + health: "health_example", + resourceID: "resourceID_example", + }, + ], + }, + ], containerID: "containerID_example", image: "image_example", imageID: "imageID_example", @@ -25408,6 +25913,7 @@ const request: CoreV1ApiReplaceNamespacedPodEphemeralcontainersRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -25437,6 +25943,15 @@ const request: CoreV1ApiReplaceNamespacedPodEphemeralcontainersRequest = { reason: "reason_example", }, }, + user: { + linux: { + gid: 1, + supplementalGroups: [ + 1, + ], + uid: 1, + }, + }, volumeMounts: [ { mountPath: "mountPath_example", @@ -25452,6 +25967,17 @@ const request: CoreV1ApiReplaceNamespacedPodEphemeralcontainersRequest = { allocatedResources: { "key": "key_example", }, + allocatedResourcesStatus: [ + { + name: "name_example", + resources: [ + { + health: "health_example", + resourceID: "resourceID_example", + }, + ], + }, + ], containerID: "containerID_example", image: "image_example", imageID: "imageID_example", @@ -25479,6 +26005,7 @@ const request: CoreV1ApiReplaceNamespacedPodEphemeralcontainersRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -25508,6 +26035,15 @@ const request: CoreV1ApiReplaceNamespacedPodEphemeralcontainersRequest = { reason: "reason_example", }, }, + user: { + linux: { + gid: 1, + supplementalGroups: [ + 1, + ], + uid: 1, + }, + }, volumeMounts: [ { mountPath: "mountPath_example", @@ -25529,6 +26065,17 @@ const request: CoreV1ApiReplaceNamespacedPodEphemeralcontainersRequest = { allocatedResources: { "key": "key_example", }, + allocatedResourcesStatus: [ + { + name: "name_example", + resources: [ + { + health: "health_example", + resourceID: "resourceID_example", + }, + ], + }, + ], containerID: "containerID_example", image: "image_example", imageID: "imageID_example", @@ -25556,6 +26103,7 @@ const request: CoreV1ApiReplaceNamespacedPodEphemeralcontainersRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -25585,6 +26133,15 @@ const request: CoreV1ApiReplaceNamespacedPodEphemeralcontainersRequest = { reason: "reason_example", }, }, + user: { + linux: { + gid: 1, + supplementalGroups: [ + 1, + ], + uid: 1, + }, + }, volumeMounts: [ { mountPath: "mountPath_example", @@ -25655,7 +26212,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -25667,22 +26224,22 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) -# **replaceNamespacedPodStatus** -> V1Pod replaceNamespacedPodStatus(body) +# **replaceNamespacedPodResize** +> V1Pod replaceNamespacedPodResize(body) -replace status of the specified Pod +replace resize of the specified Pod ### Example ```typescript import { createConfiguration, CoreV1Api } from ''; -import type { CoreV1ApiReplaceNamespacedPodStatusRequest } from ''; +import type { CoreV1ApiReplaceNamespacedPodResizeRequest } from ''; const configuration = createConfiguration(); const apiInstance = new CoreV1Api(configuration); -const request: CoreV1ApiReplaceNamespacedPodStatusRequest = { +const request: CoreV1ApiReplaceNamespacedPodResizeRequest = { // name of the Pod name: "name_example", // object name and auth scope, such as for teams and projects @@ -26157,6 +26714,7 @@ const request: CoreV1ApiReplaceNamespacedPodStatusRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -26468,6 +27026,7 @@ const request: CoreV1ApiReplaceNamespacedPodStatusRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -26782,6 +27341,7 @@ const request: CoreV1ApiReplaceNamespacedPodStatusRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -26908,12 +27468,24 @@ const request: CoreV1ApiReplaceNamespacedPodStatusRequest = { resourceClaims: [ { name: "name_example", - source: { - resourceClaimName: "resourceClaimName_example", - resourceClaimTemplateName: "resourceClaimTemplateName_example", - }, + resourceClaimName: "resourceClaimName_example", + resourceClaimTemplateName: "resourceClaimTemplateName_example", }, ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, restartPolicy: "restartPolicy_example", runtimeClassName: "runtimeClassName_example", schedulerName: "schedulerName_example", @@ -26932,6 +27504,7 @@ const request: CoreV1ApiReplaceNamespacedPodStatusRequest = { runAsGroup: 1, runAsNonRoot: true, runAsUser: 1, + seLinuxChangePolicy: "seLinuxChangePolicy_example", seLinuxOptions: { level: "level_example", role: "role_example", @@ -26945,6 +27518,7 @@ const request: CoreV1ApiReplaceNamespacedPodStatusRequest = { supplementalGroups: [ 1, ], + supplementalGroupsPolicy: "supplementalGroupsPolicy_example", sysctls: [ { name: "name_example", @@ -27220,6 +27794,10 @@ const request: CoreV1ApiReplaceNamespacedPodStatusRequest = { path: "path_example", type: "type_example", }, + image: { + pullPolicy: "pullPolicy_example", + reference: "reference_example", + }, iscsi: { chapAuthDiscovery: true, chapAuthSession: true, @@ -27409,6 +27987,17 @@ const request: CoreV1ApiReplaceNamespacedPodStatusRequest = { allocatedResources: { "key": "key_example", }, + allocatedResourcesStatus: [ + { + name: "name_example", + resources: [ + { + health: "health_example", + resourceID: "resourceID_example", + }, + ], + }, + ], containerID: "containerID_example", image: "image_example", imageID: "imageID_example", @@ -27436,6 +28025,7 @@ const request: CoreV1ApiReplaceNamespacedPodStatusRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -27465,6 +28055,15 @@ const request: CoreV1ApiReplaceNamespacedPodStatusRequest = { reason: "reason_example", }, }, + user: { + linux: { + gid: 1, + supplementalGroups: [ + 1, + ], + uid: 1, + }, + }, volumeMounts: [ { mountPath: "mountPath_example", @@ -27480,6 +28079,17 @@ const request: CoreV1ApiReplaceNamespacedPodStatusRequest = { allocatedResources: { "key": "key_example", }, + allocatedResourcesStatus: [ + { + name: "name_example", + resources: [ + { + health: "health_example", + resourceID: "resourceID_example", + }, + ], + }, + ], containerID: "containerID_example", image: "image_example", imageID: "imageID_example", @@ -27507,6 +28117,7 @@ const request: CoreV1ApiReplaceNamespacedPodStatusRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -27536,6 +28147,15 @@ const request: CoreV1ApiReplaceNamespacedPodStatusRequest = { reason: "reason_example", }, }, + user: { + linux: { + gid: 1, + supplementalGroups: [ + 1, + ], + uid: 1, + }, + }, volumeMounts: [ { mountPath: "mountPath_example", @@ -27557,6 +28177,17 @@ const request: CoreV1ApiReplaceNamespacedPodStatusRequest = { allocatedResources: { "key": "key_example", }, + allocatedResourcesStatus: [ + { + name: "name_example", + resources: [ + { + health: "health_example", + resourceID: "resourceID_example", + }, + ], + }, + ], containerID: "containerID_example", image: "image_example", imageID: "imageID_example", @@ -27584,6 +28215,7 @@ const request: CoreV1ApiReplaceNamespacedPodStatusRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -27613,6 +28245,2127 @@ const request: CoreV1ApiReplaceNamespacedPodStatusRequest = { reason: "reason_example", }, }, + user: { + linux: { + gid: 1, + supplementalGroups: [ + 1, + ], + uid: 1, + }, + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + name: "name_example", + readOnly: true, + recursiveReadOnly: "recursiveReadOnly_example", + }, + ], + }, + ], + message: "message_example", + nominatedNodeName: "nominatedNodeName_example", + phase: "phase_example", + podIP: "podIP_example", + podIPs: [ + { + ip: "ip_example", + }, + ], + qosClass: "qosClass_example", + reason: "reason_example", + resize: "resize_example", + resourceClaimStatuses: [ + { + name: "name_example", + resourceClaimName: "resourceClaimName_example", + }, + ], + startTime: new Date('1970-01-01T00:00:00.00Z'), + }, + }, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", +}; + +const data = await apiInstance.replaceNamespacedPodResize(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1Pod**| | + **name** | [**string**] | name of the Pod | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + + +### Return type + +**V1Pod** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **replaceNamespacedPodStatus** +> V1Pod replaceNamespacedPodStatus(body) + +replace status of the specified Pod + +### Example + + +```typescript +import { createConfiguration, CoreV1Api } from ''; +import type { CoreV1ApiReplaceNamespacedPodStatusRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new CoreV1Api(configuration); + +const request: CoreV1ApiReplaceNamespacedPodStatusRequest = { + // name of the Pod + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + + body: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + activeDeadlineSeconds: 1, + affinity: { + nodeAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + preference: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + podAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + matchLabelKeys: [ + "matchLabelKeys_example", + ], + mismatchLabelKeys: [ + "mismatchLabelKeys_example", + ], + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + matchLabelKeys: [ + "matchLabelKeys_example", + ], + mismatchLabelKeys: [ + "mismatchLabelKeys_example", + ], + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + podAntiAffinity: { + preferredDuringSchedulingIgnoredDuringExecution: [ + { + podAffinityTerm: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + matchLabelKeys: [ + "matchLabelKeys_example", + ], + mismatchLabelKeys: [ + "mismatchLabelKeys_example", + ], + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + weight: 1, + }, + ], + requiredDuringSchedulingIgnoredDuringExecution: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + matchLabelKeys: [ + "matchLabelKeys_example", + ], + mismatchLabelKeys: [ + "mismatchLabelKeys_example", + ], + namespaceSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + namespaces: [ + "namespaces_example", + ], + topologyKey: "topologyKey_example", + }, + ], + }, + }, + automountServiceAccountToken: true, + containers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "scheme_example", + }, + sleep: { + seconds: 1, + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "scheme_example", + }, + sleep: { + seconds: 1, + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "scheme_example", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "protocol_example", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "scheme_example", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resizePolicy: [ + { + resourceName: "resourceName_example", + restartPolicy: "restartPolicy_example", + }, + ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + restartPolicy: "restartPolicy_example", + securityContext: { + allowPrivilegeEscalation: true, + appArmorProfile: { + localhostProfile: "localhostProfile_example", + type: "type_example", + }, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "type_example", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "scheme_example", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + recursiveReadOnly: "recursiveReadOnly_example", + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + dnsConfig: { + nameservers: [ + "nameservers_example", + ], + options: [ + { + name: "name_example", + value: "value_example", + }, + ], + searches: [ + "searches_example", + ], + }, + dnsPolicy: "dnsPolicy_example", + enableServiceLinks: true, + ephemeralContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "scheme_example", + }, + sleep: { + seconds: 1, + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "scheme_example", + }, + sleep: { + seconds: 1, + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "scheme_example", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "protocol_example", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "scheme_example", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resizePolicy: [ + { + resourceName: "resourceName_example", + restartPolicy: "restartPolicy_example", + }, + ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + restartPolicy: "restartPolicy_example", + securityContext: { + allowPrivilegeEscalation: true, + appArmorProfile: { + localhostProfile: "localhostProfile_example", + type: "type_example", + }, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "type_example", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "scheme_example", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + targetContainerName: "targetContainerName_example", + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + recursiveReadOnly: "recursiveReadOnly_example", + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + hostAliases: [ + { + hostnames: [ + "hostnames_example", + ], + ip: "ip_example", + }, + ], + hostIPC: true, + hostNetwork: true, + hostPID: true, + hostUsers: true, + hostname: "hostname_example", + imagePullSecrets: [ + { + name: "name_example", + }, + ], + initContainers: [ + { + args: [ + "args_example", + ], + command: [ + "command_example", + ], + env: [ + { + name: "name_example", + value: "value_example", + valueFrom: { + configMapKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + secretKeyRef: { + key: "key_example", + name: "name_example", + optional: true, + }, + }, + }, + ], + envFrom: [ + { + configMapRef: { + name: "name_example", + optional: true, + }, + prefix: "prefix_example", + secretRef: { + name: "name_example", + optional: true, + }, + }, + ], + image: "image_example", + imagePullPolicy: "imagePullPolicy_example", + lifecycle: { + postStart: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "scheme_example", + }, + sleep: { + seconds: 1, + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + preStop: { + exec: { + command: [ + "command_example", + ], + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "scheme_example", + }, + sleep: { + seconds: 1, + }, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + }, + }, + livenessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "scheme_example", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + name: "name_example", + ports: [ + { + containerPort: 1, + hostIP: "hostIP_example", + hostPort: 1, + name: "name_example", + protocol: "protocol_example", + }, + ], + readinessProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "scheme_example", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + resizePolicy: [ + { + resourceName: "resourceName_example", + restartPolicy: "restartPolicy_example", + }, + ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + restartPolicy: "restartPolicy_example", + securityContext: { + allowPrivilegeEscalation: true, + appArmorProfile: { + localhostProfile: "localhostProfile_example", + type: "type_example", + }, + capabilities: { + add: [ + "add_example", + ], + drop: [ + "drop_example", + ], + }, + privileged: true, + procMount: "procMount_example", + readOnlyRootFilesystem: true, + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "type_example", + }, + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + startupProbe: { + exec: { + command: [ + "command_example", + ], + }, + failureThreshold: 1, + grpc: { + port: 1, + service: "service_example", + }, + httpGet: { + host: "host_example", + httpHeaders: [ + { + name: "name_example", + value: "value_example", + }, + ], + path: "path_example", + port: "port_example", + scheme: "scheme_example", + }, + initialDelaySeconds: 1, + periodSeconds: 1, + successThreshold: 1, + tcpSocket: { + host: "host_example", + port: "port_example", + }, + terminationGracePeriodSeconds: 1, + timeoutSeconds: 1, + }, + stdin: true, + stdinOnce: true, + terminationMessagePath: "terminationMessagePath_example", + terminationMessagePolicy: "terminationMessagePolicy_example", + tty: true, + volumeDevices: [ + { + devicePath: "devicePath_example", + name: "name_example", + }, + ], + volumeMounts: [ + { + mountPath: "mountPath_example", + mountPropagation: "mountPropagation_example", + name: "name_example", + readOnly: true, + recursiveReadOnly: "recursiveReadOnly_example", + subPath: "subPath_example", + subPathExpr: "subPathExpr_example", + }, + ], + workingDir: "workingDir_example", + }, + ], + nodeName: "nodeName_example", + nodeSelector: { + "key": "key_example", + }, + os: { + name: "name_example", + }, + overhead: { + "key": "key_example", + }, + preemptionPolicy: "preemptionPolicy_example", + priority: 1, + priorityClassName: "priorityClassName_example", + readinessGates: [ + { + conditionType: "conditionType_example", + }, + ], + resourceClaims: [ + { + name: "name_example", + resourceClaimName: "resourceClaimName_example", + resourceClaimTemplateName: "resourceClaimTemplateName_example", + }, + ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + restartPolicy: "restartPolicy_example", + runtimeClassName: "runtimeClassName_example", + schedulerName: "schedulerName_example", + schedulingGates: [ + { + name: "name_example", + }, + ], + securityContext: { + appArmorProfile: { + localhostProfile: "localhostProfile_example", + type: "type_example", + }, + fsGroup: 1, + fsGroupChangePolicy: "fsGroupChangePolicy_example", + runAsGroup: 1, + runAsNonRoot: true, + runAsUser: 1, + seLinuxChangePolicy: "seLinuxChangePolicy_example", + seLinuxOptions: { + level: "level_example", + role: "role_example", + type: "type_example", + user: "user_example", + }, + seccompProfile: { + localhostProfile: "localhostProfile_example", + type: "type_example", + }, + supplementalGroups: [ + 1, + ], + supplementalGroupsPolicy: "supplementalGroupsPolicy_example", + sysctls: [ + { + name: "name_example", + value: "value_example", + }, + ], + windowsOptions: { + gmsaCredentialSpec: "gmsaCredentialSpec_example", + gmsaCredentialSpecName: "gmsaCredentialSpecName_example", + hostProcess: true, + runAsUserName: "runAsUserName_example", + }, + }, + serviceAccount: "serviceAccount_example", + serviceAccountName: "serviceAccountName_example", + setHostnameAsFQDN: true, + shareProcessNamespace: true, + subdomain: "subdomain_example", + terminationGracePeriodSeconds: 1, + tolerations: [ + { + effect: "effect_example", + key: "key_example", + operator: "operator_example", + tolerationSeconds: 1, + value: "value_example", + }, + ], + topologySpreadConstraints: [ + { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + matchLabelKeys: [ + "matchLabelKeys_example", + ], + maxSkew: 1, + minDomains: 1, + nodeAffinityPolicy: "nodeAffinityPolicy_example", + nodeTaintsPolicy: "nodeTaintsPolicy_example", + topologyKey: "topologyKey_example", + whenUnsatisfiable: "whenUnsatisfiable_example", + }, + ], + volumes: [ + { + awsElasticBlockStore: { + fsType: "fsType_example", + partition: 1, + readOnly: true, + volumeID: "volumeID_example", + }, + azureDisk: { + cachingMode: "cachingMode_example", + diskName: "diskName_example", + diskURI: "diskURI_example", + fsType: "fsType_example", + kind: "kind_example", + readOnly: true, + }, + azureFile: { + readOnly: true, + secretName: "secretName_example", + shareName: "shareName_example", + }, + cephfs: { + monitors: [ + "monitors_example", + ], + path: "path_example", + readOnly: true, + secretFile: "secretFile_example", + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + cinder: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeID: "volumeID_example", + }, + configMap: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + csi: { + driver: "driver_example", + fsType: "fsType_example", + nodePublishSecretRef: { + name: "name_example", + }, + readOnly: true, + volumeAttributes: { + "key": "key_example", + }, + }, + downwardAPI: { + defaultMode: 1, + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + emptyDir: { + medium: "medium_example", + sizeLimit: "sizeLimit_example", + }, + ephemeral: { + volumeClaimTemplate: { + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + accessModes: [ + "accessModes_example", + ], + dataSource: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + }, + dataSourceRef: { + apiGroup: "apiGroup_example", + kind: "kind_example", + name: "name_example", + namespace: "namespace_example", + }, + resources: { + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + selector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + storageClassName: "storageClassName_example", + volumeAttributesClassName: "volumeAttributesClassName_example", + volumeMode: "volumeMode_example", + volumeName: "volumeName_example", + }, + }, + }, + fc: { + fsType: "fsType_example", + lun: 1, + readOnly: true, + targetWWNs: [ + "targetWWNs_example", + ], + wwids: [ + "wwids_example", + ], + }, + flexVolume: { + driver: "driver_example", + fsType: "fsType_example", + options: { + "key": "key_example", + }, + readOnly: true, + secretRef: { + name: "name_example", + }, + }, + flocker: { + datasetName: "datasetName_example", + datasetUUID: "datasetUUID_example", + }, + gcePersistentDisk: { + fsType: "fsType_example", + partition: 1, + pdName: "pdName_example", + readOnly: true, + }, + gitRepo: { + directory: "directory_example", + repository: "repository_example", + revision: "revision_example", + }, + glusterfs: { + endpoints: "endpoints_example", + path: "path_example", + readOnly: true, + }, + hostPath: { + path: "path_example", + type: "type_example", + }, + image: { + pullPolicy: "pullPolicy_example", + reference: "reference_example", + }, + iscsi: { + chapAuthDiscovery: true, + chapAuthSession: true, + fsType: "fsType_example", + initiatorName: "initiatorName_example", + iqn: "iqn_example", + iscsiInterface: "iscsiInterface_example", + lun: 1, + portals: [ + "portals_example", + ], + readOnly: true, + secretRef: { + name: "name_example", + }, + targetPortal: "targetPortal_example", + }, + name: "name_example", + nfs: { + path: "path_example", + readOnly: true, + server: "server_example", + }, + persistentVolumeClaim: { + claimName: "claimName_example", + readOnly: true, + }, + photonPersistentDisk: { + fsType: "fsType_example", + pdID: "pdID_example", + }, + portworxVolume: { + fsType: "fsType_example", + readOnly: true, + volumeID: "volumeID_example", + }, + projected: { + defaultMode: 1, + sources: [ + { + clusterTrustBundle: { + labelSelector: { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchLabels: { + "key": "key_example", + }, + }, + name: "name_example", + optional: true, + path: "path_example", + signerName: "signerName_example", + }, + configMap: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + downwardAPI: { + items: [ + { + fieldRef: { + apiVersion: "apiVersion_example", + fieldPath: "fieldPath_example", + }, + mode: 1, + path: "path_example", + resourceFieldRef: { + containerName: "containerName_example", + divisor: "divisor_example", + resource: "resource_example", + }, + }, + ], + }, + secret: { + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + name: "name_example", + optional: true, + }, + serviceAccountToken: { + audience: "audience_example", + expirationSeconds: 1, + path: "path_example", + }, + }, + ], + }, + quobyte: { + group: "group_example", + readOnly: true, + registry: "registry_example", + tenant: "tenant_example", + user: "user_example", + volume: "volume_example", + }, + rbd: { + fsType: "fsType_example", + image: "image_example", + keyring: "keyring_example", + monitors: [ + "monitors_example", + ], + pool: "pool_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + user: "user_example", + }, + scaleIO: { + fsType: "fsType_example", + gateway: "gateway_example", + protectionDomain: "protectionDomain_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + sslEnabled: true, + storageMode: "storageMode_example", + storagePool: "storagePool_example", + system: "system_example", + volumeName: "volumeName_example", + }, + secret: { + defaultMode: 1, + items: [ + { + key: "key_example", + mode: 1, + path: "path_example", + }, + ], + optional: true, + secretName: "secretName_example", + }, + storageos: { + fsType: "fsType_example", + readOnly: true, + secretRef: { + name: "name_example", + }, + volumeName: "volumeName_example", + volumeNamespace: "volumeNamespace_example", + }, + vsphereVolume: { + fsType: "fsType_example", + storagePolicyID: "storagePolicyID_example", + storagePolicyName: "storagePolicyName_example", + volumePath: "volumePath_example", + }, + }, + ], + }, + status: { + conditions: [ + { + lastProbeTime: new Date('1970-01-01T00:00:00.00Z'), + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + status: "status_example", + type: "type_example", + }, + ], + containerStatuses: [ + { + allocatedResources: { + "key": "key_example", + }, + allocatedResourcesStatus: [ + { + name: "name_example", + resources: [ + { + health: "health_example", + resourceID: "resourceID_example", + }, + ], + }, + ], + containerID: "containerID_example", + image: "image_example", + imageID: "imageID_example", + lastState: { + running: { + startedAt: new Date('1970-01-01T00:00:00.00Z'), + }, + terminated: { + containerID: "containerID_example", + exitCode: 1, + finishedAt: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + signal: 1, + startedAt: new Date('1970-01-01T00:00:00.00Z'), + }, + waiting: { + message: "message_example", + reason: "reason_example", + }, + }, + name: "name_example", + ready: true, + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + restartCount: 1, + started: true, + state: { + running: { + startedAt: new Date('1970-01-01T00:00:00.00Z'), + }, + terminated: { + containerID: "containerID_example", + exitCode: 1, + finishedAt: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + signal: 1, + startedAt: new Date('1970-01-01T00:00:00.00Z'), + }, + waiting: { + message: "message_example", + reason: "reason_example", + }, + }, + user: { + linux: { + gid: 1, + supplementalGroups: [ + 1, + ], + uid: 1, + }, + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + name: "name_example", + readOnly: true, + recursiveReadOnly: "recursiveReadOnly_example", + }, + ], + }, + ], + ephemeralContainerStatuses: [ + { + allocatedResources: { + "key": "key_example", + }, + allocatedResourcesStatus: [ + { + name: "name_example", + resources: [ + { + health: "health_example", + resourceID: "resourceID_example", + }, + ], + }, + ], + containerID: "containerID_example", + image: "image_example", + imageID: "imageID_example", + lastState: { + running: { + startedAt: new Date('1970-01-01T00:00:00.00Z'), + }, + terminated: { + containerID: "containerID_example", + exitCode: 1, + finishedAt: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + signal: 1, + startedAt: new Date('1970-01-01T00:00:00.00Z'), + }, + waiting: { + message: "message_example", + reason: "reason_example", + }, + }, + name: "name_example", + ready: true, + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + restartCount: 1, + started: true, + state: { + running: { + startedAt: new Date('1970-01-01T00:00:00.00Z'), + }, + terminated: { + containerID: "containerID_example", + exitCode: 1, + finishedAt: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + signal: 1, + startedAt: new Date('1970-01-01T00:00:00.00Z'), + }, + waiting: { + message: "message_example", + reason: "reason_example", + }, + }, + user: { + linux: { + gid: 1, + supplementalGroups: [ + 1, + ], + uid: 1, + }, + }, + volumeMounts: [ + { + mountPath: "mountPath_example", + name: "name_example", + readOnly: true, + recursiveReadOnly: "recursiveReadOnly_example", + }, + ], + }, + ], + hostIP: "hostIP_example", + hostIPs: [ + { + ip: "ip_example", + }, + ], + initContainerStatuses: [ + { + allocatedResources: { + "key": "key_example", + }, + allocatedResourcesStatus: [ + { + name: "name_example", + resources: [ + { + health: "health_example", + resourceID: "resourceID_example", + }, + ], + }, + ], + containerID: "containerID_example", + image: "image_example", + imageID: "imageID_example", + lastState: { + running: { + startedAt: new Date('1970-01-01T00:00:00.00Z'), + }, + terminated: { + containerID: "containerID_example", + exitCode: 1, + finishedAt: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + signal: 1, + startedAt: new Date('1970-01-01T00:00:00.00Z'), + }, + waiting: { + message: "message_example", + reason: "reason_example", + }, + }, + name: "name_example", + ready: true, + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, + restartCount: 1, + started: true, + state: { + running: { + startedAt: new Date('1970-01-01T00:00:00.00Z'), + }, + terminated: { + containerID: "containerID_example", + exitCode: 1, + finishedAt: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + reason: "reason_example", + signal: 1, + startedAt: new Date('1970-01-01T00:00:00.00Z'), + }, + waiting: { + message: "message_example", + reason: "reason_example", + }, + }, + user: { + linux: { + gid: 1, + supplementalGroups: [ + 1, + ], + uid: 1, + }, + }, volumeMounts: [ { mountPath: "mountPath_example", @@ -27683,7 +30436,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -28228,6 +30981,7 @@ const request: CoreV1ApiReplaceNamespacedPodTemplateRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -28539,6 +31293,7 @@ const request: CoreV1ApiReplaceNamespacedPodTemplateRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -28853,6 +31608,7 @@ const request: CoreV1ApiReplaceNamespacedPodTemplateRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -28979,12 +31735,24 @@ const request: CoreV1ApiReplaceNamespacedPodTemplateRequest = { resourceClaims: [ { name: "name_example", - source: { - resourceClaimName: "resourceClaimName_example", - resourceClaimTemplateName: "resourceClaimTemplateName_example", - }, + resourceClaimName: "resourceClaimName_example", + resourceClaimTemplateName: "resourceClaimTemplateName_example", }, ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, restartPolicy: "restartPolicy_example", runtimeClassName: "runtimeClassName_example", schedulerName: "schedulerName_example", @@ -29003,6 +31771,7 @@ const request: CoreV1ApiReplaceNamespacedPodTemplateRequest = { runAsGroup: 1, runAsNonRoot: true, runAsUser: 1, + seLinuxChangePolicy: "seLinuxChangePolicy_example", seLinuxOptions: { level: "level_example", role: "role_example", @@ -29016,6 +31785,7 @@ const request: CoreV1ApiReplaceNamespacedPodTemplateRequest = { supplementalGroups: [ 1, ], + supplementalGroupsPolicy: "supplementalGroupsPolicy_example", sysctls: [ { name: "name_example", @@ -29291,6 +32061,10 @@ const request: CoreV1ApiReplaceNamespacedPodTemplateRequest = { path: "path_example", type: "type_example", }, + image: { + pullPolicy: "pullPolicy_example", + reference: "reference_example", + }, iscsi: { chapAuthDiscovery: true, chapAuthSession: true, @@ -29505,7 +32279,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -30056,6 +32830,7 @@ const request: CoreV1ApiReplaceNamespacedReplicationControllerRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -30367,6 +33142,7 @@ const request: CoreV1ApiReplaceNamespacedReplicationControllerRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -30681,6 +33457,7 @@ const request: CoreV1ApiReplaceNamespacedReplicationControllerRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -30807,12 +33584,24 @@ const request: CoreV1ApiReplaceNamespacedReplicationControllerRequest = { resourceClaims: [ { name: "name_example", - source: { - resourceClaimName: "resourceClaimName_example", - resourceClaimTemplateName: "resourceClaimTemplateName_example", - }, + resourceClaimName: "resourceClaimName_example", + resourceClaimTemplateName: "resourceClaimTemplateName_example", }, ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, restartPolicy: "restartPolicy_example", runtimeClassName: "runtimeClassName_example", schedulerName: "schedulerName_example", @@ -30831,6 +33620,7 @@ const request: CoreV1ApiReplaceNamespacedReplicationControllerRequest = { runAsGroup: 1, runAsNonRoot: true, runAsUser: 1, + seLinuxChangePolicy: "seLinuxChangePolicy_example", seLinuxOptions: { level: "level_example", role: "role_example", @@ -30844,6 +33634,7 @@ const request: CoreV1ApiReplaceNamespacedReplicationControllerRequest = { supplementalGroups: [ 1, ], + supplementalGroupsPolicy: "supplementalGroupsPolicy_example", sysctls: [ { name: "name_example", @@ -31119,6 +33910,10 @@ const request: CoreV1ApiReplaceNamespacedReplicationControllerRequest = { path: "path_example", type: "type_example", }, + image: { + pullPolicy: "pullPolicy_example", + reference: "reference_example", + }, iscsi: { chapAuthDiscovery: true, chapAuthSession: true, @@ -31350,7 +34145,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -31475,7 +34270,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -32026,6 +34821,7 @@ const request: CoreV1ApiReplaceNamespacedReplicationControllerStatusRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -32337,6 +35133,7 @@ const request: CoreV1ApiReplaceNamespacedReplicationControllerStatusRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -32651,6 +35448,7 @@ const request: CoreV1ApiReplaceNamespacedReplicationControllerStatusRequest = { claims: [ { name: "name_example", + request: "request_example", }, ], limits: { @@ -32777,12 +35575,24 @@ const request: CoreV1ApiReplaceNamespacedReplicationControllerStatusRequest = { resourceClaims: [ { name: "name_example", - source: { - resourceClaimName: "resourceClaimName_example", - resourceClaimTemplateName: "resourceClaimTemplateName_example", - }, + resourceClaimName: "resourceClaimName_example", + resourceClaimTemplateName: "resourceClaimTemplateName_example", }, ], + resources: { + claims: [ + { + name: "name_example", + request: "request_example", + }, + ], + limits: { + "key": "key_example", + }, + requests: { + "key": "key_example", + }, + }, restartPolicy: "restartPolicy_example", runtimeClassName: "runtimeClassName_example", schedulerName: "schedulerName_example", @@ -32801,6 +35611,7 @@ const request: CoreV1ApiReplaceNamespacedReplicationControllerStatusRequest = { runAsGroup: 1, runAsNonRoot: true, runAsUser: 1, + seLinuxChangePolicy: "seLinuxChangePolicy_example", seLinuxOptions: { level: "level_example", role: "role_example", @@ -32814,6 +35625,7 @@ const request: CoreV1ApiReplaceNamespacedReplicationControllerStatusRequest = { supplementalGroups: [ 1, ], + supplementalGroupsPolicy: "supplementalGroupsPolicy_example", sysctls: [ { name: "name_example", @@ -33089,6 +35901,10 @@ const request: CoreV1ApiReplaceNamespacedReplicationControllerStatusRequest = { path: "path_example", type: "type_example", }, + image: { + pullPolicy: "pullPolicy_example", + reference: "reference_example", + }, iscsi: { chapAuthDiscovery: true, chapAuthSession: true, @@ -33320,7 +36136,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -33465,7 +36281,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -33610,7 +36426,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -33736,7 +36552,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -33927,7 +36743,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -34062,7 +36878,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -34253,7 +37069,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -34413,6 +37229,9 @@ const request: CoreV1ApiReplaceNodeRequest = { Port: 1, }, }, + features: { + supplementalGroupsPolicy: true, + }, images: [ { names: [ @@ -34438,6 +37257,7 @@ const request: CoreV1ApiReplaceNodeRequest = { { features: { recursiveReadOnlyMounts: true, + userNamespaces: true, }, name: "name_example", }, @@ -34491,7 +37311,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -34651,6 +37471,9 @@ const request: CoreV1ApiReplaceNodeStatusRequest = { Port: 1, }, }, + features: { + supplementalGroupsPolicy: true, + }, images: [ { names: [ @@ -34676,6 +37499,7 @@ const request: CoreV1ApiReplaceNodeStatusRequest = { { features: { recursiveReadOnlyMounts: true, + userNamespaces: true, }, name: "name_example", }, @@ -34729,7 +37553,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -35109,7 +37933,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -35489,7 +38313,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details diff --git a/src/gen/CustomObjectsApi.md b/src/gen/CustomObjectsApi.md index 334401d5b19..9eee1c18837 100644 --- a/src/gen/CustomObjectsApi.md +++ b/src/gen/CustomObjectsApi.md @@ -219,6 +219,7 @@ const request: CustomObjectsApiDeleteClusterCustomObjectRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -310,6 +311,7 @@ const request: CustomObjectsApiDeleteCollectionClusterCustomObjectRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -403,6 +405,7 @@ const request: CustomObjectsApiDeleteCollectionNamespacedCustomObjectRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -497,6 +500,7 @@ const request: CustomObjectsApiDeleteNamespacedCustomObjectRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { diff --git a/src/gen/DiscoveryV1Api.md b/src/gen/DiscoveryV1Api.md index 94d7e4295d9..3e1bccc61f9 100644 --- a/src/gen/DiscoveryV1Api.md +++ b/src/gen/DiscoveryV1Api.md @@ -161,7 +161,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -202,6 +202,8 @@ const request: DiscoveryV1ApiDeleteCollectionNamespacedEndpointSliceRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -225,6 +227,7 @@ const request: DiscoveryV1ApiDeleteCollectionNamespacedEndpointSliceRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -251,6 +254,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -272,7 +276,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -309,6 +313,8 @@ const request: DiscoveryV1ApiDeleteNamespacedEndpointSliceRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -320,6 +326,7 @@ const request: DiscoveryV1ApiDeleteNamespacedEndpointSliceRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -345,6 +352,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -360,7 +368,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -408,7 +416,7 @@ This endpoint does not need any parameter. ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -492,7 +500,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -579,7 +587,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -653,8 +661,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -715,7 +723,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -875,7 +883,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details diff --git a/src/gen/EventsV1Api.md b/src/gen/EventsV1Api.md index 1c0f959803e..a8a7c245086 100644 --- a/src/gen/EventsV1Api.md +++ b/src/gen/EventsV1Api.md @@ -154,7 +154,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -195,6 +195,8 @@ const request: EventsV1ApiDeleteCollectionNamespacedEventRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -218,6 +220,7 @@ const request: EventsV1ApiDeleteCollectionNamespacedEventRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -244,6 +247,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -265,7 +269,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -302,6 +306,8 @@ const request: EventsV1ApiDeleteNamespacedEventRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -313,6 +319,7 @@ const request: EventsV1ApiDeleteNamespacedEventRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -338,6 +345,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -353,7 +361,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -401,7 +409,7 @@ This endpoint does not need any parameter. ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -485,7 +493,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -572,7 +580,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -646,8 +654,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -708,7 +716,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -861,7 +869,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details diff --git a/src/gen/FlowcontrolApiserverV1Api.md b/src/gen/FlowcontrolApiserverV1Api.md index 300f73d727a..4c71ac4ab5b 100644 --- a/src/gen/FlowcontrolApiserverV1Api.md +++ b/src/gen/FlowcontrolApiserverV1Api.md @@ -193,7 +193,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -337,7 +337,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -376,6 +376,8 @@ const request: FlowcontrolApiserverV1ApiDeleteCollectionFlowSchemaRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -399,6 +401,7 @@ const request: FlowcontrolApiserverV1ApiDeleteCollectionFlowSchemaRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -424,6 +427,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -445,7 +449,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -482,6 +486,8 @@ const request: FlowcontrolApiserverV1ApiDeleteCollectionPriorityLevelConfigurati fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -505,6 +511,7 @@ const request: FlowcontrolApiserverV1ApiDeleteCollectionPriorityLevelConfigurati "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -530,6 +537,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -551,7 +559,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -586,6 +594,8 @@ const request: FlowcontrolApiserverV1ApiDeleteFlowSchemaRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -597,6 +607,7 @@ const request: FlowcontrolApiserverV1ApiDeleteFlowSchemaRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -621,6 +632,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -636,7 +648,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -672,6 +684,8 @@ const request: FlowcontrolApiserverV1ApiDeletePriorityLevelConfigurationRequest dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -683,6 +697,7 @@ const request: FlowcontrolApiserverV1ApiDeletePriorityLevelConfigurationRequest "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -707,6 +722,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -722,7 +738,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -770,7 +786,7 @@ This endpoint does not need any parameter. ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -854,7 +870,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -938,7 +954,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -1009,8 +1025,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1082,8 +1098,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1155,8 +1171,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1228,8 +1244,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1287,7 +1303,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1344,7 +1360,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1401,7 +1417,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1458,7 +1474,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1638,7 +1654,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1819,7 +1835,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1965,7 +1981,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2111,7 +2127,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details diff --git a/src/gen/InternalApiserverV1alpha1Api.md b/src/gen/InternalApiserverV1alpha1Api.md index 4389ff1bd29..0f20d915c2b 100644 --- a/src/gen/InternalApiserverV1alpha1Api.md +++ b/src/gen/InternalApiserverV1alpha1Api.md @@ -143,7 +143,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -182,6 +182,8 @@ const request: InternalApiserverV1alpha1ApiDeleteCollectionStorageVersionRequest fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -205,6 +207,7 @@ const request: InternalApiserverV1alpha1ApiDeleteCollectionStorageVersionRequest "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -230,6 +233,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -251,7 +255,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -286,6 +290,8 @@ const request: InternalApiserverV1alpha1ApiDeleteStorageVersionRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -297,6 +303,7 @@ const request: InternalApiserverV1alpha1ApiDeleteStorageVersionRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -321,6 +328,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -336,7 +344,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -384,7 +392,7 @@ This endpoint does not need any parameter. ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -468,7 +476,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -539,8 +547,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -612,8 +620,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -671,7 +679,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -728,7 +736,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -868,7 +876,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1009,7 +1017,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details diff --git a/src/gen/NetworkingV1Api.md b/src/gen/NetworkingV1Api.md index 5eaec39bed2..c7e4f7dd311 100644 --- a/src/gen/NetworkingV1Api.md +++ b/src/gen/NetworkingV1Api.md @@ -143,7 +143,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -328,7 +328,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -561,7 +561,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -600,6 +600,8 @@ const request: NetworkingV1ApiDeleteCollectionIngressClassRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -623,6 +625,7 @@ const request: NetworkingV1ApiDeleteCollectionIngressClassRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -648,6 +651,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -669,7 +673,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -708,6 +712,8 @@ const request: NetworkingV1ApiDeleteCollectionNamespacedIngressRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -731,6 +737,7 @@ const request: NetworkingV1ApiDeleteCollectionNamespacedIngressRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -757,6 +764,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -778,7 +786,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -817,6 +825,8 @@ const request: NetworkingV1ApiDeleteCollectionNamespacedNetworkPolicyRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -840,6 +850,7 @@ const request: NetworkingV1ApiDeleteCollectionNamespacedNetworkPolicyRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -866,6 +877,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -887,7 +899,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -922,6 +934,8 @@ const request: NetworkingV1ApiDeleteIngressClassRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -933,6 +947,7 @@ const request: NetworkingV1ApiDeleteIngressClassRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -957,6 +972,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -972,7 +988,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1010,6 +1026,8 @@ const request: NetworkingV1ApiDeleteNamespacedIngressRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -1021,6 +1039,7 @@ const request: NetworkingV1ApiDeleteNamespacedIngressRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -1046,6 +1065,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -1061,7 +1081,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1099,6 +1119,8 @@ const request: NetworkingV1ApiDeleteNamespacedNetworkPolicyRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -1110,6 +1132,7 @@ const request: NetworkingV1ApiDeleteNamespacedNetworkPolicyRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -1135,6 +1158,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -1150,7 +1174,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1198,7 +1222,7 @@ This endpoint does not need any parameter. ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1282,7 +1306,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -1366,7 +1390,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -1453,7 +1477,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -1540,7 +1564,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -1624,7 +1648,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -1695,8 +1719,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1771,8 +1795,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1847,8 +1871,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1923,8 +1947,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1982,7 +2006,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2042,7 +2066,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2102,7 +2126,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2162,7 +2186,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2286,7 +2310,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2473,7 +2497,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2660,7 +2684,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2895,7 +2919,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details diff --git a/src/gen/NetworkingV1beta1Api.md b/src/gen/NetworkingV1beta1Api.md new file mode 100644 index 00000000000..5157414b616 --- /dev/null +++ b/src/gen/NetworkingV1beta1Api.md @@ -0,0 +1,1670 @@ +# .NetworkingV1beta1Api + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**createIPAddress**](NetworkingV1beta1Api.md#createIPAddress) | **POST** /apis/networking.k8s.io/v1beta1/ipaddresses | +[**createServiceCIDR**](NetworkingV1beta1Api.md#createServiceCIDR) | **POST** /apis/networking.k8s.io/v1beta1/servicecidrs | +[**deleteCollectionIPAddress**](NetworkingV1beta1Api.md#deleteCollectionIPAddress) | **DELETE** /apis/networking.k8s.io/v1beta1/ipaddresses | +[**deleteCollectionServiceCIDR**](NetworkingV1beta1Api.md#deleteCollectionServiceCIDR) | **DELETE** /apis/networking.k8s.io/v1beta1/servicecidrs | +[**deleteIPAddress**](NetworkingV1beta1Api.md#deleteIPAddress) | **DELETE** /apis/networking.k8s.io/v1beta1/ipaddresses/{name} | +[**deleteServiceCIDR**](NetworkingV1beta1Api.md#deleteServiceCIDR) | **DELETE** /apis/networking.k8s.io/v1beta1/servicecidrs/{name} | +[**getAPIResources**](NetworkingV1beta1Api.md#getAPIResources) | **GET** /apis/networking.k8s.io/v1beta1/ | +[**listIPAddress**](NetworkingV1beta1Api.md#listIPAddress) | **GET** /apis/networking.k8s.io/v1beta1/ipaddresses | +[**listServiceCIDR**](NetworkingV1beta1Api.md#listServiceCIDR) | **GET** /apis/networking.k8s.io/v1beta1/servicecidrs | +[**patchIPAddress**](NetworkingV1beta1Api.md#patchIPAddress) | **PATCH** /apis/networking.k8s.io/v1beta1/ipaddresses/{name} | +[**patchServiceCIDR**](NetworkingV1beta1Api.md#patchServiceCIDR) | **PATCH** /apis/networking.k8s.io/v1beta1/servicecidrs/{name} | +[**patchServiceCIDRStatus**](NetworkingV1beta1Api.md#patchServiceCIDRStatus) | **PATCH** /apis/networking.k8s.io/v1beta1/servicecidrs/{name}/status | +[**readIPAddress**](NetworkingV1beta1Api.md#readIPAddress) | **GET** /apis/networking.k8s.io/v1beta1/ipaddresses/{name} | +[**readServiceCIDR**](NetworkingV1beta1Api.md#readServiceCIDR) | **GET** /apis/networking.k8s.io/v1beta1/servicecidrs/{name} | +[**readServiceCIDRStatus**](NetworkingV1beta1Api.md#readServiceCIDRStatus) | **GET** /apis/networking.k8s.io/v1beta1/servicecidrs/{name}/status | +[**replaceIPAddress**](NetworkingV1beta1Api.md#replaceIPAddress) | **PUT** /apis/networking.k8s.io/v1beta1/ipaddresses/{name} | +[**replaceServiceCIDR**](NetworkingV1beta1Api.md#replaceServiceCIDR) | **PUT** /apis/networking.k8s.io/v1beta1/servicecidrs/{name} | +[**replaceServiceCIDRStatus**](NetworkingV1beta1Api.md#replaceServiceCIDRStatus) | **PUT** /apis/networking.k8s.io/v1beta1/servicecidrs/{name}/status | + + +# **createIPAddress** +> V1beta1IPAddress createIPAddress(body) + +create an IPAddress + +### Example + + +```typescript +import { createConfiguration, NetworkingV1beta1Api } from ''; +import type { NetworkingV1beta1ApiCreateIPAddressRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new NetworkingV1beta1Api(configuration); + +const request: NetworkingV1beta1ApiCreateIPAddressRequest = { + + body: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + parentRef: { + group: "group_example", + name: "name_example", + namespace: "namespace_example", + resource: "resource_example", + }, + }, + }, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", +}; + +const data = await apiInstance.createIPAddress(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1beta1IPAddress**| | + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + + +### Return type + +**V1beta1IPAddress** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **createServiceCIDR** +> V1beta1ServiceCIDR createServiceCIDR(body) + +create a ServiceCIDR + +### Example + + +```typescript +import { createConfiguration, NetworkingV1beta1Api } from ''; +import type { NetworkingV1beta1ApiCreateServiceCIDRRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new NetworkingV1beta1Api(configuration); + +const request: NetworkingV1beta1ApiCreateServiceCIDRRequest = { + + body: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + cidrs: [ + "cidrs_example", + ], + }, + status: { + conditions: [ + { + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + observedGeneration: 1, + reason: "reason_example", + status: "status_example", + type: "type_example", + }, + ], + }, + }, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", +}; + +const data = await apiInstance.createServiceCIDR(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1beta1ServiceCIDR**| | + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + + +### Return type + +**V1beta1ServiceCIDR** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **deleteCollectionIPAddress** +> V1Status deleteCollectionIPAddress() + +delete collection of IPAddress + +### Example + + +```typescript +import { createConfiguration, NetworkingV1beta1Api } from ''; +import type { NetworkingV1beta1ApiDeleteCollectionIPAddressRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new NetworkingV1beta1Api(configuration); + +const request: NetworkingV1beta1ApiDeleteCollectionIPAddressRequest = { + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + _continue: "continue_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + fieldSelector: "fieldSelector_example", + // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, + // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + labelSelector: "labelSelector_example", + // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + limit: 1, + // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + orphanDependents: true, + // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) + propagationPolicy: "propagationPolicy_example", + // resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersion: "resourceVersion_example", + // resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersionMatch: "resourceVersionMatch_example", + // `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + sendInitialEvents: true, + // Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + timeoutSeconds: 1, + + body: { + apiVersion: "apiVersion_example", + dryRun: [ + "dryRun_example", + ], + gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, + kind: "kind_example", + orphanDependents: true, + preconditions: { + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + propagationPolicy: "propagationPolicy_example", + }, +}; + +const data = await apiInstance.deleteCollectionIPAddress(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1DeleteOptions**| | + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **_continue** | [**string**] | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined + **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined + **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined + **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined + **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined + **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined + **resourceVersion** | [**string**] | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **resourceVersionMatch** | [**string**] | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **sendInitialEvents** | [**boolean**] | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | (optional) defaults to undefined + **timeoutSeconds** | [**number**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | (optional) defaults to undefined + + +### Return type + +**V1Status** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **deleteCollectionServiceCIDR** +> V1Status deleteCollectionServiceCIDR() + +delete collection of ServiceCIDR + +### Example + + +```typescript +import { createConfiguration, NetworkingV1beta1Api } from ''; +import type { NetworkingV1beta1ApiDeleteCollectionServiceCIDRRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new NetworkingV1beta1Api(configuration); + +const request: NetworkingV1beta1ApiDeleteCollectionServiceCIDRRequest = { + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + _continue: "continue_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + fieldSelector: "fieldSelector_example", + // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, + // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + labelSelector: "labelSelector_example", + // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + limit: 1, + // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + orphanDependents: true, + // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) + propagationPolicy: "propagationPolicy_example", + // resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersion: "resourceVersion_example", + // resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersionMatch: "resourceVersionMatch_example", + // `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + sendInitialEvents: true, + // Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + timeoutSeconds: 1, + + body: { + apiVersion: "apiVersion_example", + dryRun: [ + "dryRun_example", + ], + gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, + kind: "kind_example", + orphanDependents: true, + preconditions: { + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + propagationPolicy: "propagationPolicy_example", + }, +}; + +const data = await apiInstance.deleteCollectionServiceCIDR(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1DeleteOptions**| | + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **_continue** | [**string**] | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined + **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined + **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined + **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined + **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined + **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined + **resourceVersion** | [**string**] | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **resourceVersionMatch** | [**string**] | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **sendInitialEvents** | [**boolean**] | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | (optional) defaults to undefined + **timeoutSeconds** | [**number**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | (optional) defaults to undefined + + +### Return type + +**V1Status** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **deleteIPAddress** +> V1Status deleteIPAddress() + +delete an IPAddress + +### Example + + +```typescript +import { createConfiguration, NetworkingV1beta1Api } from ''; +import type { NetworkingV1beta1ApiDeleteIPAddressRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new NetworkingV1beta1Api(configuration); + +const request: NetworkingV1beta1ApiDeleteIPAddressRequest = { + // name of the IPAddress + name: "name_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, + // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + orphanDependents: true, + // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) + propagationPolicy: "propagationPolicy_example", + + body: { + apiVersion: "apiVersion_example", + dryRun: [ + "dryRun_example", + ], + gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, + kind: "kind_example", + orphanDependents: true, + preconditions: { + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + propagationPolicy: "propagationPolicy_example", + }, +}; + +const data = await apiInstance.deleteIPAddress(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1DeleteOptions**| | + **name** | [**string**] | name of the IPAddress | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined + **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined + **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined + + +### Return type + +**V1Status** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **deleteServiceCIDR** +> V1Status deleteServiceCIDR() + +delete a ServiceCIDR + +### Example + + +```typescript +import { createConfiguration, NetworkingV1beta1Api } from ''; +import type { NetworkingV1beta1ApiDeleteServiceCIDRRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new NetworkingV1beta1Api(configuration); + +const request: NetworkingV1beta1ApiDeleteServiceCIDRRequest = { + // name of the ServiceCIDR + name: "name_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, + // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + orphanDependents: true, + // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) + propagationPolicy: "propagationPolicy_example", + + body: { + apiVersion: "apiVersion_example", + dryRun: [ + "dryRun_example", + ], + gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, + kind: "kind_example", + orphanDependents: true, + preconditions: { + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + propagationPolicy: "propagationPolicy_example", + }, +}; + +const data = await apiInstance.deleteServiceCIDR(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1DeleteOptions**| | + **name** | [**string**] | name of the ServiceCIDR | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined + **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined + **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined + + +### Return type + +**V1Status** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **getAPIResources** +> V1APIResourceList getAPIResources() + +get available resources + +### Example + + +```typescript +import { createConfiguration, NetworkingV1beta1Api } from ''; + +const configuration = createConfiguration(); +const apiInstance = new NetworkingV1beta1Api(configuration); + +const request = {}; + +const data = await apiInstance.getAPIResources(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters +This endpoint does not need any parameter. + + +### Return type + +**V1APIResourceList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **listIPAddress** +> V1beta1IPAddressList listIPAddress() + +list or watch objects of kind IPAddress + +### Example + + +```typescript +import { createConfiguration, NetworkingV1beta1Api } from ''; +import type { NetworkingV1beta1ApiListIPAddressRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new NetworkingV1beta1Api(configuration); + +const request: NetworkingV1beta1ApiListIPAddressRequest = { + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) + allowWatchBookmarks: true, + // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + _continue: "continue_example", + // A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + fieldSelector: "fieldSelector_example", + // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + labelSelector: "labelSelector_example", + // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + limit: 1, + // resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersion: "resourceVersion_example", + // resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersionMatch: "resourceVersionMatch_example", + // `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + sendInitialEvents: true, + // Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + timeoutSeconds: 1, + // Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + watch: true, +}; + +const data = await apiInstance.listIPAddress(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **allowWatchBookmarks** | [**boolean**] | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | (optional) defaults to undefined + **_continue** | [**string**] | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | (optional) defaults to undefined + **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined + **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined + **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined + **resourceVersion** | [**string**] | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **resourceVersionMatch** | [**string**] | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **sendInitialEvents** | [**boolean**] | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | (optional) defaults to undefined + **timeoutSeconds** | [**number**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | (optional) defaults to undefined + **watch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | (optional) defaults to undefined + + +### Return type + +**V1beta1IPAddressList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **listServiceCIDR** +> V1beta1ServiceCIDRList listServiceCIDR() + +list or watch objects of kind ServiceCIDR + +### Example + + +```typescript +import { createConfiguration, NetworkingV1beta1Api } from ''; +import type { NetworkingV1beta1ApiListServiceCIDRRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new NetworkingV1beta1Api(configuration); + +const request: NetworkingV1beta1ApiListServiceCIDRRequest = { + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) + allowWatchBookmarks: true, + // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + _continue: "continue_example", + // A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + fieldSelector: "fieldSelector_example", + // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + labelSelector: "labelSelector_example", + // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + limit: 1, + // resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersion: "resourceVersion_example", + // resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersionMatch: "resourceVersionMatch_example", + // `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + sendInitialEvents: true, + // Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + timeoutSeconds: 1, + // Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + watch: true, +}; + +const data = await apiInstance.listServiceCIDR(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **allowWatchBookmarks** | [**boolean**] | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | (optional) defaults to undefined + **_continue** | [**string**] | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | (optional) defaults to undefined + **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined + **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined + **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined + **resourceVersion** | [**string**] | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **resourceVersionMatch** | [**string**] | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **sendInitialEvents** | [**boolean**] | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | (optional) defaults to undefined + **timeoutSeconds** | [**number**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | (optional) defaults to undefined + **watch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | (optional) defaults to undefined + + +### Return type + +**V1beta1ServiceCIDRList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **patchIPAddress** +> V1beta1IPAddress patchIPAddress(body) + +partially update the specified IPAddress + +### Example + + +```typescript +import { createConfiguration, NetworkingV1beta1Api } from ''; +import type { NetworkingV1beta1ApiPatchIPAddressRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new NetworkingV1beta1Api(configuration); + +const request: NetworkingV1beta1ApiPatchIPAddressRequest = { + // name of the IPAddress + name: "name_example", + + body: {}, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", + // Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + force: true, +}; + +const data = await apiInstance.patchIPAddress(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **any**| | + **name** | [**string**] | name of the IPAddress | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + **force** | [**boolean**] | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | (optional) defaults to undefined + + +### Return type + +**V1beta1IPAddress** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **patchServiceCIDR** +> V1beta1ServiceCIDR patchServiceCIDR(body) + +partially update the specified ServiceCIDR + +### Example + + +```typescript +import { createConfiguration, NetworkingV1beta1Api } from ''; +import type { NetworkingV1beta1ApiPatchServiceCIDRRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new NetworkingV1beta1Api(configuration); + +const request: NetworkingV1beta1ApiPatchServiceCIDRRequest = { + // name of the ServiceCIDR + name: "name_example", + + body: {}, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", + // Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + force: true, +}; + +const data = await apiInstance.patchServiceCIDR(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **any**| | + **name** | [**string**] | name of the ServiceCIDR | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + **force** | [**boolean**] | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | (optional) defaults to undefined + + +### Return type + +**V1beta1ServiceCIDR** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **patchServiceCIDRStatus** +> V1beta1ServiceCIDR patchServiceCIDRStatus(body) + +partially update status of the specified ServiceCIDR + +### Example + + +```typescript +import { createConfiguration, NetworkingV1beta1Api } from ''; +import type { NetworkingV1beta1ApiPatchServiceCIDRStatusRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new NetworkingV1beta1Api(configuration); + +const request: NetworkingV1beta1ApiPatchServiceCIDRStatusRequest = { + // name of the ServiceCIDR + name: "name_example", + + body: {}, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", + // Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + force: true, +}; + +const data = await apiInstance.patchServiceCIDRStatus(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **any**| | + **name** | [**string**] | name of the ServiceCIDR | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + **force** | [**boolean**] | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | (optional) defaults to undefined + + +### Return type + +**V1beta1ServiceCIDR** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **readIPAddress** +> V1beta1IPAddress readIPAddress() + +read the specified IPAddress + +### Example + + +```typescript +import { createConfiguration, NetworkingV1beta1Api } from ''; +import type { NetworkingV1beta1ApiReadIPAddressRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new NetworkingV1beta1Api(configuration); + +const request: NetworkingV1beta1ApiReadIPAddressRequest = { + // name of the IPAddress + name: "name_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", +}; + +const data = await apiInstance.readIPAddress(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | [**string**] | name of the IPAddress | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + + +### Return type + +**V1beta1IPAddress** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **readServiceCIDR** +> V1beta1ServiceCIDR readServiceCIDR() + +read the specified ServiceCIDR + +### Example + + +```typescript +import { createConfiguration, NetworkingV1beta1Api } from ''; +import type { NetworkingV1beta1ApiReadServiceCIDRRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new NetworkingV1beta1Api(configuration); + +const request: NetworkingV1beta1ApiReadServiceCIDRRequest = { + // name of the ServiceCIDR + name: "name_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", +}; + +const data = await apiInstance.readServiceCIDR(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | [**string**] | name of the ServiceCIDR | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + + +### Return type + +**V1beta1ServiceCIDR** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **readServiceCIDRStatus** +> V1beta1ServiceCIDR readServiceCIDRStatus() + +read status of the specified ServiceCIDR + +### Example + + +```typescript +import { createConfiguration, NetworkingV1beta1Api } from ''; +import type { NetworkingV1beta1ApiReadServiceCIDRStatusRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new NetworkingV1beta1Api(configuration); + +const request: NetworkingV1beta1ApiReadServiceCIDRStatusRequest = { + // name of the ServiceCIDR + name: "name_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", +}; + +const data = await apiInstance.readServiceCIDRStatus(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | [**string**] | name of the ServiceCIDR | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + + +### Return type + +**V1beta1ServiceCIDR** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **replaceIPAddress** +> V1beta1IPAddress replaceIPAddress(body) + +replace the specified IPAddress + +### Example + + +```typescript +import { createConfiguration, NetworkingV1beta1Api } from ''; +import type { NetworkingV1beta1ApiReplaceIPAddressRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new NetworkingV1beta1Api(configuration); + +const request: NetworkingV1beta1ApiReplaceIPAddressRequest = { + // name of the IPAddress + name: "name_example", + + body: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + parentRef: { + group: "group_example", + name: "name_example", + namespace: "namespace_example", + resource: "resource_example", + }, + }, + }, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", +}; + +const data = await apiInstance.replaceIPAddress(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1beta1IPAddress**| | + **name** | [**string**] | name of the IPAddress | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + + +### Return type + +**V1beta1IPAddress** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **replaceServiceCIDR** +> V1beta1ServiceCIDR replaceServiceCIDR(body) + +replace the specified ServiceCIDR + +### Example + + +```typescript +import { createConfiguration, NetworkingV1beta1Api } from ''; +import type { NetworkingV1beta1ApiReplaceServiceCIDRRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new NetworkingV1beta1Api(configuration); + +const request: NetworkingV1beta1ApiReplaceServiceCIDRRequest = { + // name of the ServiceCIDR + name: "name_example", + + body: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + cidrs: [ + "cidrs_example", + ], + }, + status: { + conditions: [ + { + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + observedGeneration: 1, + reason: "reason_example", + status: "status_example", + type: "type_example", + }, + ], + }, + }, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", +}; + +const data = await apiInstance.replaceServiceCIDR(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1beta1ServiceCIDR**| | + **name** | [**string**] | name of the ServiceCIDR | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + + +### Return type + +**V1beta1ServiceCIDR** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **replaceServiceCIDRStatus** +> V1beta1ServiceCIDR replaceServiceCIDRStatus(body) + +replace status of the specified ServiceCIDR + +### Example + + +```typescript +import { createConfiguration, NetworkingV1beta1Api } from ''; +import type { NetworkingV1beta1ApiReplaceServiceCIDRStatusRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new NetworkingV1beta1Api(configuration); + +const request: NetworkingV1beta1ApiReplaceServiceCIDRStatusRequest = { + // name of the ServiceCIDR + name: "name_example", + + body: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + cidrs: [ + "cidrs_example", + ], + }, + status: { + conditions: [ + { + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + observedGeneration: 1, + reason: "reason_example", + status: "status_example", + type: "type_example", + }, + ], + }, + }, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", +}; + +const data = await apiInstance.replaceServiceCIDRStatus(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1beta1ServiceCIDR**| | + **name** | [**string**] | name of the ServiceCIDR | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + + +### Return type + +**V1beta1ServiceCIDR** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + diff --git a/src/gen/NodeV1Api.md b/src/gen/NodeV1Api.md index cb27e1b2afa..cfd84365e10 100644 --- a/src/gen/NodeV1Api.md +++ b/src/gen/NodeV1Api.md @@ -134,7 +134,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -173,6 +173,8 @@ const request: NodeV1ApiDeleteCollectionRuntimeClassRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -196,6 +198,7 @@ const request: NodeV1ApiDeleteCollectionRuntimeClassRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -221,6 +224,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -242,7 +246,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -277,6 +281,8 @@ const request: NodeV1ApiDeleteRuntimeClassRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -288,6 +294,7 @@ const request: NodeV1ApiDeleteRuntimeClassRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -312,6 +319,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -327,7 +335,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -375,7 +383,7 @@ This endpoint does not need any parameter. ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -459,7 +467,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -530,8 +538,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -589,7 +597,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -723,7 +731,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details diff --git a/src/gen/PolicyV1Api.md b/src/gen/PolicyV1Api.md index 2d8991efa2b..732f6b89ead 100644 --- a/src/gen/PolicyV1Api.md +++ b/src/gen/PolicyV1Api.md @@ -160,7 +160,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -201,6 +201,8 @@ const request: PolicyV1ApiDeleteCollectionNamespacedPodDisruptionBudgetRequest = fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -224,6 +226,7 @@ const request: PolicyV1ApiDeleteCollectionNamespacedPodDisruptionBudgetRequest = "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -250,6 +253,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -271,7 +275,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -308,6 +312,8 @@ const request: PolicyV1ApiDeleteNamespacedPodDisruptionBudgetRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -319,6 +325,7 @@ const request: PolicyV1ApiDeleteNamespacedPodDisruptionBudgetRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -344,6 +351,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -359,7 +367,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -407,7 +415,7 @@ This endpoint does not need any parameter. ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -494,7 +502,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -578,7 +586,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -652,8 +660,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -728,8 +736,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -790,7 +798,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -850,7 +858,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1006,7 +1014,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1163,7 +1171,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details diff --git a/src/gen/RbacAuthorizationV1Api.md b/src/gen/RbacAuthorizationV1Api.md index edc131fd8bf..29a6b2fc6f9 100644 --- a/src/gen/RbacAuthorizationV1Api.md +++ b/src/gen/RbacAuthorizationV1Api.md @@ -174,7 +174,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -300,7 +300,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -435,7 +435,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -564,7 +564,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -601,6 +601,8 @@ const request: RbacAuthorizationV1ApiDeleteClusterRoleRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -612,6 +614,7 @@ const request: RbacAuthorizationV1ApiDeleteClusterRoleRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -636,6 +639,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -651,7 +655,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -687,6 +691,8 @@ const request: RbacAuthorizationV1ApiDeleteClusterRoleBindingRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -698,6 +704,7 @@ const request: RbacAuthorizationV1ApiDeleteClusterRoleBindingRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -722,6 +729,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -737,7 +745,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -775,6 +783,8 @@ const request: RbacAuthorizationV1ApiDeleteCollectionClusterRoleRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -798,6 +808,7 @@ const request: RbacAuthorizationV1ApiDeleteCollectionClusterRoleRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -823,6 +834,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -844,7 +856,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -881,6 +893,8 @@ const request: RbacAuthorizationV1ApiDeleteCollectionClusterRoleBindingRequest = fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -904,6 +918,7 @@ const request: RbacAuthorizationV1ApiDeleteCollectionClusterRoleBindingRequest = "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -929,6 +944,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -950,7 +966,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -989,6 +1005,8 @@ const request: RbacAuthorizationV1ApiDeleteCollectionNamespacedRoleRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -1012,6 +1030,7 @@ const request: RbacAuthorizationV1ApiDeleteCollectionNamespacedRoleRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -1038,6 +1057,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -1059,7 +1079,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1098,6 +1118,8 @@ const request: RbacAuthorizationV1ApiDeleteCollectionNamespacedRoleBindingReques fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -1121,6 +1143,7 @@ const request: RbacAuthorizationV1ApiDeleteCollectionNamespacedRoleBindingReques "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -1147,6 +1170,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -1168,7 +1192,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1205,6 +1229,8 @@ const request: RbacAuthorizationV1ApiDeleteNamespacedRoleRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -1216,6 +1242,7 @@ const request: RbacAuthorizationV1ApiDeleteNamespacedRoleRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -1241,6 +1268,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -1256,7 +1284,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1294,6 +1322,8 @@ const request: RbacAuthorizationV1ApiDeleteNamespacedRoleBindingRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -1305,6 +1335,7 @@ const request: RbacAuthorizationV1ApiDeleteNamespacedRoleBindingRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -1330,6 +1361,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -1345,7 +1377,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1393,7 +1425,7 @@ This endpoint does not need any parameter. ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1477,7 +1509,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -1561,7 +1593,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -1648,7 +1680,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -1735,7 +1767,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -1819,7 +1851,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -1903,7 +1935,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -1974,8 +2006,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2047,8 +2079,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2123,8 +2155,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2199,8 +2231,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2258,7 +2290,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2315,7 +2347,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2375,7 +2407,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2435,7 +2467,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2586,7 +2618,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2714,7 +2746,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2851,7 +2883,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2982,7 +3014,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details diff --git a/src/gen/ResourceV1alpha3Api.md b/src/gen/ResourceV1alpha3Api.md new file mode 100644 index 00000000000..cd7c948c678 --- /dev/null +++ b/src/gen/ResourceV1alpha3Api.md @@ -0,0 +1,3795 @@ +# .ResourceV1alpha3Api + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**createDeviceClass**](ResourceV1alpha3Api.md#createDeviceClass) | **POST** /apis/resource.k8s.io/v1alpha3/deviceclasses | +[**createNamespacedResourceClaim**](ResourceV1alpha3Api.md#createNamespacedResourceClaim) | **POST** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims | +[**createNamespacedResourceClaimTemplate**](ResourceV1alpha3Api.md#createNamespacedResourceClaimTemplate) | **POST** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates | +[**createResourceSlice**](ResourceV1alpha3Api.md#createResourceSlice) | **POST** /apis/resource.k8s.io/v1alpha3/resourceslices | +[**deleteCollectionDeviceClass**](ResourceV1alpha3Api.md#deleteCollectionDeviceClass) | **DELETE** /apis/resource.k8s.io/v1alpha3/deviceclasses | +[**deleteCollectionNamespacedResourceClaim**](ResourceV1alpha3Api.md#deleteCollectionNamespacedResourceClaim) | **DELETE** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims | +[**deleteCollectionNamespacedResourceClaimTemplate**](ResourceV1alpha3Api.md#deleteCollectionNamespacedResourceClaimTemplate) | **DELETE** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates | +[**deleteCollectionResourceSlice**](ResourceV1alpha3Api.md#deleteCollectionResourceSlice) | **DELETE** /apis/resource.k8s.io/v1alpha3/resourceslices | +[**deleteDeviceClass**](ResourceV1alpha3Api.md#deleteDeviceClass) | **DELETE** /apis/resource.k8s.io/v1alpha3/deviceclasses/{name} | +[**deleteNamespacedResourceClaim**](ResourceV1alpha3Api.md#deleteNamespacedResourceClaim) | **DELETE** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name} | +[**deleteNamespacedResourceClaimTemplate**](ResourceV1alpha3Api.md#deleteNamespacedResourceClaimTemplate) | **DELETE** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name} | +[**deleteResourceSlice**](ResourceV1alpha3Api.md#deleteResourceSlice) | **DELETE** /apis/resource.k8s.io/v1alpha3/resourceslices/{name} | +[**getAPIResources**](ResourceV1alpha3Api.md#getAPIResources) | **GET** /apis/resource.k8s.io/v1alpha3/ | +[**listDeviceClass**](ResourceV1alpha3Api.md#listDeviceClass) | **GET** /apis/resource.k8s.io/v1alpha3/deviceclasses | +[**listNamespacedResourceClaim**](ResourceV1alpha3Api.md#listNamespacedResourceClaim) | **GET** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims | +[**listNamespacedResourceClaimTemplate**](ResourceV1alpha3Api.md#listNamespacedResourceClaimTemplate) | **GET** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates | +[**listResourceClaimForAllNamespaces**](ResourceV1alpha3Api.md#listResourceClaimForAllNamespaces) | **GET** /apis/resource.k8s.io/v1alpha3/resourceclaims | +[**listResourceClaimTemplateForAllNamespaces**](ResourceV1alpha3Api.md#listResourceClaimTemplateForAllNamespaces) | **GET** /apis/resource.k8s.io/v1alpha3/resourceclaimtemplates | +[**listResourceSlice**](ResourceV1alpha3Api.md#listResourceSlice) | **GET** /apis/resource.k8s.io/v1alpha3/resourceslices | +[**patchDeviceClass**](ResourceV1alpha3Api.md#patchDeviceClass) | **PATCH** /apis/resource.k8s.io/v1alpha3/deviceclasses/{name} | +[**patchNamespacedResourceClaim**](ResourceV1alpha3Api.md#patchNamespacedResourceClaim) | **PATCH** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name} | +[**patchNamespacedResourceClaimStatus**](ResourceV1alpha3Api.md#patchNamespacedResourceClaimStatus) | **PATCH** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status | +[**patchNamespacedResourceClaimTemplate**](ResourceV1alpha3Api.md#patchNamespacedResourceClaimTemplate) | **PATCH** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name} | +[**patchResourceSlice**](ResourceV1alpha3Api.md#patchResourceSlice) | **PATCH** /apis/resource.k8s.io/v1alpha3/resourceslices/{name} | +[**readDeviceClass**](ResourceV1alpha3Api.md#readDeviceClass) | **GET** /apis/resource.k8s.io/v1alpha3/deviceclasses/{name} | +[**readNamespacedResourceClaim**](ResourceV1alpha3Api.md#readNamespacedResourceClaim) | **GET** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name} | +[**readNamespacedResourceClaimStatus**](ResourceV1alpha3Api.md#readNamespacedResourceClaimStatus) | **GET** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status | +[**readNamespacedResourceClaimTemplate**](ResourceV1alpha3Api.md#readNamespacedResourceClaimTemplate) | **GET** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name} | +[**readResourceSlice**](ResourceV1alpha3Api.md#readResourceSlice) | **GET** /apis/resource.k8s.io/v1alpha3/resourceslices/{name} | +[**replaceDeviceClass**](ResourceV1alpha3Api.md#replaceDeviceClass) | **PUT** /apis/resource.k8s.io/v1alpha3/deviceclasses/{name} | +[**replaceNamespacedResourceClaim**](ResourceV1alpha3Api.md#replaceNamespacedResourceClaim) | **PUT** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name} | +[**replaceNamespacedResourceClaimStatus**](ResourceV1alpha3Api.md#replaceNamespacedResourceClaimStatus) | **PUT** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status | +[**replaceNamespacedResourceClaimTemplate**](ResourceV1alpha3Api.md#replaceNamespacedResourceClaimTemplate) | **PUT** /apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name} | +[**replaceResourceSlice**](ResourceV1alpha3Api.md#replaceResourceSlice) | **PUT** /apis/resource.k8s.io/v1alpha3/resourceslices/{name} | + + +# **createDeviceClass** +> V1alpha3DeviceClass createDeviceClass(body) + +create a DeviceClass + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiCreateDeviceClassRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiCreateDeviceClassRequest = { + + body: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + config: [ + { + opaque: { + driver: "driver_example", + parameters: {}, + }, + }, + ], + selectors: [ + { + cel: { + expression: "expression_example", + }, + }, + ], + }, + }, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", +}; + +const data = await apiInstance.createDeviceClass(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1alpha3DeviceClass**| | + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + + +### Return type + +**V1alpha3DeviceClass** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **createNamespacedResourceClaim** +> V1alpha3ResourceClaim createNamespacedResourceClaim(body) + +create a ResourceClaim + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiCreateNamespacedResourceClaimRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiCreateNamespacedResourceClaimRequest = { + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + + body: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + devices: { + config: [ + { + opaque: { + driver: "driver_example", + parameters: {}, + }, + requests: [ + "requests_example", + ], + }, + ], + constraints: [ + { + matchAttribute: "matchAttribute_example", + requests: [ + "requests_example", + ], + }, + ], + requests: [ + { + adminAccess: true, + allocationMode: "allocationMode_example", + count: 1, + deviceClassName: "deviceClassName_example", + name: "name_example", + selectors: [ + { + cel: { + expression: "expression_example", + }, + }, + ], + }, + ], + }, + }, + status: { + allocation: { + devices: { + config: [ + { + opaque: { + driver: "driver_example", + parameters: {}, + }, + requests: [ + "requests_example", + ], + source: "source_example", + }, + ], + results: [ + { + adminAccess: true, + device: "device_example", + driver: "driver_example", + pool: "pool_example", + request: "request_example", + }, + ], + }, + nodeSelector: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + devices: [ + { + conditions: [ + { + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + observedGeneration: 1, + reason: "reason_example", + status: "status_example", + type: "type_example", + }, + ], + data: {}, + device: "device_example", + driver: "driver_example", + networkData: { + hardwareAddress: "hardwareAddress_example", + interfaceName: "interfaceName_example", + ips: [ + "ips_example", + ], + }, + pool: "pool_example", + }, + ], + reservedFor: [ + { + apiGroup: "apiGroup_example", + name: "name_example", + resource: "resource_example", + uid: "uid_example", + }, + ], + }, + }, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", +}; + +const data = await apiInstance.createNamespacedResourceClaim(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1alpha3ResourceClaim**| | + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + + +### Return type + +**V1alpha3ResourceClaim** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **createNamespacedResourceClaimTemplate** +> V1alpha3ResourceClaimTemplate createNamespacedResourceClaimTemplate(body) + +create a ResourceClaimTemplate + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiCreateNamespacedResourceClaimTemplateRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiCreateNamespacedResourceClaimTemplateRequest = { + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + + body: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + devices: { + config: [ + { + opaque: { + driver: "driver_example", + parameters: {}, + }, + requests: [ + "requests_example", + ], + }, + ], + constraints: [ + { + matchAttribute: "matchAttribute_example", + requests: [ + "requests_example", + ], + }, + ], + requests: [ + { + adminAccess: true, + allocationMode: "allocationMode_example", + count: 1, + deviceClassName: "deviceClassName_example", + name: "name_example", + selectors: [ + { + cel: { + expression: "expression_example", + }, + }, + ], + }, + ], + }, + }, + }, + }, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", +}; + +const data = await apiInstance.createNamespacedResourceClaimTemplate(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1alpha3ResourceClaimTemplate**| | + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + + +### Return type + +**V1alpha3ResourceClaimTemplate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **createResourceSlice** +> V1alpha3ResourceSlice createResourceSlice(body) + +create a ResourceSlice + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiCreateResourceSliceRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiCreateResourceSliceRequest = { + + body: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + allNodes: true, + devices: [ + { + basic: { + attributes: { + "key": { + bool: true, + _int: 1, + string: "string_example", + version: "version_example", + }, + }, + capacity: { + "key": "key_example", + }, + }, + name: "name_example", + }, + ], + driver: "driver_example", + nodeName: "nodeName_example", + nodeSelector: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + pool: { + generation: 1, + name: "name_example", + resourceSliceCount: 1, + }, + }, + }, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", +}; + +const data = await apiInstance.createResourceSlice(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1alpha3ResourceSlice**| | + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + + +### Return type + +**V1alpha3ResourceSlice** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **deleteCollectionDeviceClass** +> V1Status deleteCollectionDeviceClass() + +delete collection of DeviceClass + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiDeleteCollectionDeviceClassRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiDeleteCollectionDeviceClassRequest = { + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + _continue: "continue_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + fieldSelector: "fieldSelector_example", + // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, + // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + labelSelector: "labelSelector_example", + // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + limit: 1, + // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + orphanDependents: true, + // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) + propagationPolicy: "propagationPolicy_example", + // resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersion: "resourceVersion_example", + // resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersionMatch: "resourceVersionMatch_example", + // `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + sendInitialEvents: true, + // Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + timeoutSeconds: 1, + + body: { + apiVersion: "apiVersion_example", + dryRun: [ + "dryRun_example", + ], + gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, + kind: "kind_example", + orphanDependents: true, + preconditions: { + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + propagationPolicy: "propagationPolicy_example", + }, +}; + +const data = await apiInstance.deleteCollectionDeviceClass(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1DeleteOptions**| | + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **_continue** | [**string**] | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined + **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined + **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined + **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined + **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined + **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined + **resourceVersion** | [**string**] | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **resourceVersionMatch** | [**string**] | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **sendInitialEvents** | [**boolean**] | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | (optional) defaults to undefined + **timeoutSeconds** | [**number**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | (optional) defaults to undefined + + +### Return type + +**V1Status** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **deleteCollectionNamespacedResourceClaim** +> V1Status deleteCollectionNamespacedResourceClaim() + +delete collection of ResourceClaim + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiDeleteCollectionNamespacedResourceClaimRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiDeleteCollectionNamespacedResourceClaimRequest = { + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + _continue: "continue_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + fieldSelector: "fieldSelector_example", + // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, + // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + labelSelector: "labelSelector_example", + // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + limit: 1, + // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + orphanDependents: true, + // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) + propagationPolicy: "propagationPolicy_example", + // resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersion: "resourceVersion_example", + // resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersionMatch: "resourceVersionMatch_example", + // `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + sendInitialEvents: true, + // Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + timeoutSeconds: 1, + + body: { + apiVersion: "apiVersion_example", + dryRun: [ + "dryRun_example", + ], + gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, + kind: "kind_example", + orphanDependents: true, + preconditions: { + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + propagationPolicy: "propagationPolicy_example", + }, +}; + +const data = await apiInstance.deleteCollectionNamespacedResourceClaim(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1DeleteOptions**| | + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **_continue** | [**string**] | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined + **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined + **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined + **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined + **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined + **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined + **resourceVersion** | [**string**] | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **resourceVersionMatch** | [**string**] | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **sendInitialEvents** | [**boolean**] | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | (optional) defaults to undefined + **timeoutSeconds** | [**number**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | (optional) defaults to undefined + + +### Return type + +**V1Status** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **deleteCollectionNamespacedResourceClaimTemplate** +> V1Status deleteCollectionNamespacedResourceClaimTemplate() + +delete collection of ResourceClaimTemplate + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiDeleteCollectionNamespacedResourceClaimTemplateRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiDeleteCollectionNamespacedResourceClaimTemplateRequest = { + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + _continue: "continue_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + fieldSelector: "fieldSelector_example", + // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, + // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + labelSelector: "labelSelector_example", + // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + limit: 1, + // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + orphanDependents: true, + // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) + propagationPolicy: "propagationPolicy_example", + // resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersion: "resourceVersion_example", + // resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersionMatch: "resourceVersionMatch_example", + // `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + sendInitialEvents: true, + // Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + timeoutSeconds: 1, + + body: { + apiVersion: "apiVersion_example", + dryRun: [ + "dryRun_example", + ], + gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, + kind: "kind_example", + orphanDependents: true, + preconditions: { + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + propagationPolicy: "propagationPolicy_example", + }, +}; + +const data = await apiInstance.deleteCollectionNamespacedResourceClaimTemplate(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1DeleteOptions**| | + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **_continue** | [**string**] | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined + **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined + **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined + **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined + **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined + **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined + **resourceVersion** | [**string**] | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **resourceVersionMatch** | [**string**] | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **sendInitialEvents** | [**boolean**] | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | (optional) defaults to undefined + **timeoutSeconds** | [**number**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | (optional) defaults to undefined + + +### Return type + +**V1Status** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **deleteCollectionResourceSlice** +> V1Status deleteCollectionResourceSlice() + +delete collection of ResourceSlice + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiDeleteCollectionResourceSliceRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiDeleteCollectionResourceSliceRequest = { + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + _continue: "continue_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + fieldSelector: "fieldSelector_example", + // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, + // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + labelSelector: "labelSelector_example", + // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + limit: 1, + // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + orphanDependents: true, + // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) + propagationPolicy: "propagationPolicy_example", + // resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersion: "resourceVersion_example", + // resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersionMatch: "resourceVersionMatch_example", + // `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + sendInitialEvents: true, + // Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + timeoutSeconds: 1, + + body: { + apiVersion: "apiVersion_example", + dryRun: [ + "dryRun_example", + ], + gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, + kind: "kind_example", + orphanDependents: true, + preconditions: { + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + propagationPolicy: "propagationPolicy_example", + }, +}; + +const data = await apiInstance.deleteCollectionResourceSlice(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1DeleteOptions**| | + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **_continue** | [**string**] | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined + **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined + **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined + **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined + **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined + **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined + **resourceVersion** | [**string**] | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **resourceVersionMatch** | [**string**] | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **sendInitialEvents** | [**boolean**] | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | (optional) defaults to undefined + **timeoutSeconds** | [**number**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | (optional) defaults to undefined + + +### Return type + +**V1Status** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **deleteDeviceClass** +> V1alpha3DeviceClass deleteDeviceClass() + +delete a DeviceClass + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiDeleteDeviceClassRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiDeleteDeviceClassRequest = { + // name of the DeviceClass + name: "name_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, + // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + orphanDependents: true, + // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) + propagationPolicy: "propagationPolicy_example", + + body: { + apiVersion: "apiVersion_example", + dryRun: [ + "dryRun_example", + ], + gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, + kind: "kind_example", + orphanDependents: true, + preconditions: { + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + propagationPolicy: "propagationPolicy_example", + }, +}; + +const data = await apiInstance.deleteDeviceClass(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1DeleteOptions**| | + **name** | [**string**] | name of the DeviceClass | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined + **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined + **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined + + +### Return type + +**V1alpha3DeviceClass** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **deleteNamespacedResourceClaim** +> V1alpha3ResourceClaim deleteNamespacedResourceClaim() + +delete a ResourceClaim + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiDeleteNamespacedResourceClaimRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiDeleteNamespacedResourceClaimRequest = { + // name of the ResourceClaim + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, + // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + orphanDependents: true, + // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) + propagationPolicy: "propagationPolicy_example", + + body: { + apiVersion: "apiVersion_example", + dryRun: [ + "dryRun_example", + ], + gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, + kind: "kind_example", + orphanDependents: true, + preconditions: { + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + propagationPolicy: "propagationPolicy_example", + }, +}; + +const data = await apiInstance.deleteNamespacedResourceClaim(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1DeleteOptions**| | + **name** | [**string**] | name of the ResourceClaim | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined + **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined + **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined + + +### Return type + +**V1alpha3ResourceClaim** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **deleteNamespacedResourceClaimTemplate** +> V1alpha3ResourceClaimTemplate deleteNamespacedResourceClaimTemplate() + +delete a ResourceClaimTemplate + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiDeleteNamespacedResourceClaimTemplateRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiDeleteNamespacedResourceClaimTemplateRequest = { + // name of the ResourceClaimTemplate + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, + // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + orphanDependents: true, + // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) + propagationPolicy: "propagationPolicy_example", + + body: { + apiVersion: "apiVersion_example", + dryRun: [ + "dryRun_example", + ], + gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, + kind: "kind_example", + orphanDependents: true, + preconditions: { + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + propagationPolicy: "propagationPolicy_example", + }, +}; + +const data = await apiInstance.deleteNamespacedResourceClaimTemplate(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1DeleteOptions**| | + **name** | [**string**] | name of the ResourceClaimTemplate | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined + **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined + **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined + + +### Return type + +**V1alpha3ResourceClaimTemplate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **deleteResourceSlice** +> V1alpha3ResourceSlice deleteResourceSlice() + +delete a ResourceSlice + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiDeleteResourceSliceRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiDeleteResourceSliceRequest = { + // name of the ResourceSlice + name: "name_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, + // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + orphanDependents: true, + // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) + propagationPolicy: "propagationPolicy_example", + + body: { + apiVersion: "apiVersion_example", + dryRun: [ + "dryRun_example", + ], + gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, + kind: "kind_example", + orphanDependents: true, + preconditions: { + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + propagationPolicy: "propagationPolicy_example", + }, +}; + +const data = await apiInstance.deleteResourceSlice(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1DeleteOptions**| | + **name** | [**string**] | name of the ResourceSlice | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined + **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined + **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined + + +### Return type + +**V1alpha3ResourceSlice** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **getAPIResources** +> V1APIResourceList getAPIResources() + +get available resources + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request = {}; + +const data = await apiInstance.getAPIResources(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters +This endpoint does not need any parameter. + + +### Return type + +**V1APIResourceList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **listDeviceClass** +> V1alpha3DeviceClassList listDeviceClass() + +list or watch objects of kind DeviceClass + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiListDeviceClassRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiListDeviceClassRequest = { + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) + allowWatchBookmarks: true, + // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + _continue: "continue_example", + // A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + fieldSelector: "fieldSelector_example", + // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + labelSelector: "labelSelector_example", + // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + limit: 1, + // resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersion: "resourceVersion_example", + // resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersionMatch: "resourceVersionMatch_example", + // `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + sendInitialEvents: true, + // Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + timeoutSeconds: 1, + // Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + watch: true, +}; + +const data = await apiInstance.listDeviceClass(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **allowWatchBookmarks** | [**boolean**] | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | (optional) defaults to undefined + **_continue** | [**string**] | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | (optional) defaults to undefined + **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined + **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined + **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined + **resourceVersion** | [**string**] | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **resourceVersionMatch** | [**string**] | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **sendInitialEvents** | [**boolean**] | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | (optional) defaults to undefined + **timeoutSeconds** | [**number**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | (optional) defaults to undefined + **watch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | (optional) defaults to undefined + + +### Return type + +**V1alpha3DeviceClassList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **listNamespacedResourceClaim** +> V1alpha3ResourceClaimList listNamespacedResourceClaim() + +list or watch objects of kind ResourceClaim + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiListNamespacedResourceClaimRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiListNamespacedResourceClaimRequest = { + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) + allowWatchBookmarks: true, + // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + _continue: "continue_example", + // A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + fieldSelector: "fieldSelector_example", + // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + labelSelector: "labelSelector_example", + // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + limit: 1, + // resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersion: "resourceVersion_example", + // resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersionMatch: "resourceVersionMatch_example", + // `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + sendInitialEvents: true, + // Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + timeoutSeconds: 1, + // Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + watch: true, +}; + +const data = await apiInstance.listNamespacedResourceClaim(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **allowWatchBookmarks** | [**boolean**] | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | (optional) defaults to undefined + **_continue** | [**string**] | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | (optional) defaults to undefined + **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined + **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined + **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined + **resourceVersion** | [**string**] | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **resourceVersionMatch** | [**string**] | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **sendInitialEvents** | [**boolean**] | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | (optional) defaults to undefined + **timeoutSeconds** | [**number**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | (optional) defaults to undefined + **watch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | (optional) defaults to undefined + + +### Return type + +**V1alpha3ResourceClaimList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **listNamespacedResourceClaimTemplate** +> V1alpha3ResourceClaimTemplateList listNamespacedResourceClaimTemplate() + +list or watch objects of kind ResourceClaimTemplate + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiListNamespacedResourceClaimTemplateRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiListNamespacedResourceClaimTemplateRequest = { + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) + allowWatchBookmarks: true, + // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + _continue: "continue_example", + // A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + fieldSelector: "fieldSelector_example", + // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + labelSelector: "labelSelector_example", + // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + limit: 1, + // resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersion: "resourceVersion_example", + // resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersionMatch: "resourceVersionMatch_example", + // `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + sendInitialEvents: true, + // Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + timeoutSeconds: 1, + // Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + watch: true, +}; + +const data = await apiInstance.listNamespacedResourceClaimTemplate(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **allowWatchBookmarks** | [**boolean**] | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | (optional) defaults to undefined + **_continue** | [**string**] | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | (optional) defaults to undefined + **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined + **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined + **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined + **resourceVersion** | [**string**] | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **resourceVersionMatch** | [**string**] | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **sendInitialEvents** | [**boolean**] | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | (optional) defaults to undefined + **timeoutSeconds** | [**number**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | (optional) defaults to undefined + **watch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | (optional) defaults to undefined + + +### Return type + +**V1alpha3ResourceClaimTemplateList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **listResourceClaimForAllNamespaces** +> V1alpha3ResourceClaimList listResourceClaimForAllNamespaces() + +list or watch objects of kind ResourceClaim + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiListResourceClaimForAllNamespacesRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiListResourceClaimForAllNamespacesRequest = { + // allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) + allowWatchBookmarks: true, + // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + _continue: "continue_example", + // A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + fieldSelector: "fieldSelector_example", + // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + labelSelector: "labelSelector_example", + // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + limit: 1, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersion: "resourceVersion_example", + // resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersionMatch: "resourceVersionMatch_example", + // `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + sendInitialEvents: true, + // Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + timeoutSeconds: 1, + // Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + watch: true, +}; + +const data = await apiInstance.listResourceClaimForAllNamespaces(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **allowWatchBookmarks** | [**boolean**] | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | (optional) defaults to undefined + **_continue** | [**string**] | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | (optional) defaults to undefined + **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined + **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined + **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **resourceVersion** | [**string**] | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **resourceVersionMatch** | [**string**] | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **sendInitialEvents** | [**boolean**] | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | (optional) defaults to undefined + **timeoutSeconds** | [**number**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | (optional) defaults to undefined + **watch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | (optional) defaults to undefined + + +### Return type + +**V1alpha3ResourceClaimList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **listResourceClaimTemplateForAllNamespaces** +> V1alpha3ResourceClaimTemplateList listResourceClaimTemplateForAllNamespaces() + +list or watch objects of kind ResourceClaimTemplate + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiListResourceClaimTemplateForAllNamespacesRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiListResourceClaimTemplateForAllNamespacesRequest = { + // allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) + allowWatchBookmarks: true, + // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + _continue: "continue_example", + // A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + fieldSelector: "fieldSelector_example", + // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + labelSelector: "labelSelector_example", + // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + limit: 1, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersion: "resourceVersion_example", + // resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersionMatch: "resourceVersionMatch_example", + // `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + sendInitialEvents: true, + // Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + timeoutSeconds: 1, + // Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + watch: true, +}; + +const data = await apiInstance.listResourceClaimTemplateForAllNamespaces(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **allowWatchBookmarks** | [**boolean**] | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | (optional) defaults to undefined + **_continue** | [**string**] | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | (optional) defaults to undefined + **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined + **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined + **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **resourceVersion** | [**string**] | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **resourceVersionMatch** | [**string**] | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **sendInitialEvents** | [**boolean**] | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | (optional) defaults to undefined + **timeoutSeconds** | [**number**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | (optional) defaults to undefined + **watch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | (optional) defaults to undefined + + +### Return type + +**V1alpha3ResourceClaimTemplateList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **listResourceSlice** +> V1alpha3ResourceSliceList listResourceSlice() + +list or watch objects of kind ResourceSlice + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiListResourceSliceRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiListResourceSliceRequest = { + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) + allowWatchBookmarks: true, + // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + _continue: "continue_example", + // A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + fieldSelector: "fieldSelector_example", + // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + labelSelector: "labelSelector_example", + // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + limit: 1, + // resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersion: "resourceVersion_example", + // resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersionMatch: "resourceVersionMatch_example", + // `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + sendInitialEvents: true, + // Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + timeoutSeconds: 1, + // Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + watch: true, +}; + +const data = await apiInstance.listResourceSlice(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **allowWatchBookmarks** | [**boolean**] | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | (optional) defaults to undefined + **_continue** | [**string**] | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | (optional) defaults to undefined + **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined + **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined + **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined + **resourceVersion** | [**string**] | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **resourceVersionMatch** | [**string**] | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **sendInitialEvents** | [**boolean**] | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | (optional) defaults to undefined + **timeoutSeconds** | [**number**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | (optional) defaults to undefined + **watch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | (optional) defaults to undefined + + +### Return type + +**V1alpha3ResourceSliceList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **patchDeviceClass** +> V1alpha3DeviceClass patchDeviceClass(body) + +partially update the specified DeviceClass + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiPatchDeviceClassRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiPatchDeviceClassRequest = { + // name of the DeviceClass + name: "name_example", + + body: {}, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", + // Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + force: true, +}; + +const data = await apiInstance.patchDeviceClass(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **any**| | + **name** | [**string**] | name of the DeviceClass | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + **force** | [**boolean**] | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | (optional) defaults to undefined + + +### Return type + +**V1alpha3DeviceClass** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **patchNamespacedResourceClaim** +> V1alpha3ResourceClaim patchNamespacedResourceClaim(body) + +partially update the specified ResourceClaim + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiPatchNamespacedResourceClaimRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiPatchNamespacedResourceClaimRequest = { + // name of the ResourceClaim + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + + body: {}, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", + // Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + force: true, +}; + +const data = await apiInstance.patchNamespacedResourceClaim(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **any**| | + **name** | [**string**] | name of the ResourceClaim | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + **force** | [**boolean**] | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | (optional) defaults to undefined + + +### Return type + +**V1alpha3ResourceClaim** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **patchNamespacedResourceClaimStatus** +> V1alpha3ResourceClaim patchNamespacedResourceClaimStatus(body) + +partially update status of the specified ResourceClaim + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiPatchNamespacedResourceClaimStatusRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiPatchNamespacedResourceClaimStatusRequest = { + // name of the ResourceClaim + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + + body: {}, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", + // Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + force: true, +}; + +const data = await apiInstance.patchNamespacedResourceClaimStatus(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **any**| | + **name** | [**string**] | name of the ResourceClaim | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + **force** | [**boolean**] | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | (optional) defaults to undefined + + +### Return type + +**V1alpha3ResourceClaim** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **patchNamespacedResourceClaimTemplate** +> V1alpha3ResourceClaimTemplate patchNamespacedResourceClaimTemplate(body) + +partially update the specified ResourceClaimTemplate + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiPatchNamespacedResourceClaimTemplateRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiPatchNamespacedResourceClaimTemplateRequest = { + // name of the ResourceClaimTemplate + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + + body: {}, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", + // Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + force: true, +}; + +const data = await apiInstance.patchNamespacedResourceClaimTemplate(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **any**| | + **name** | [**string**] | name of the ResourceClaimTemplate | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + **force** | [**boolean**] | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | (optional) defaults to undefined + + +### Return type + +**V1alpha3ResourceClaimTemplate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **patchResourceSlice** +> V1alpha3ResourceSlice patchResourceSlice(body) + +partially update the specified ResourceSlice + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiPatchResourceSliceRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiPatchResourceSliceRequest = { + // name of the ResourceSlice + name: "name_example", + + body: {}, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", + // Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + force: true, +}; + +const data = await apiInstance.patchResourceSlice(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **any**| | + **name** | [**string**] | name of the ResourceSlice | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + **force** | [**boolean**] | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | (optional) defaults to undefined + + +### Return type + +**V1alpha3ResourceSlice** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **readDeviceClass** +> V1alpha3DeviceClass readDeviceClass() + +read the specified DeviceClass + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiReadDeviceClassRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiReadDeviceClassRequest = { + // name of the DeviceClass + name: "name_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", +}; + +const data = await apiInstance.readDeviceClass(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | [**string**] | name of the DeviceClass | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + + +### Return type + +**V1alpha3DeviceClass** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **readNamespacedResourceClaim** +> V1alpha3ResourceClaim readNamespacedResourceClaim() + +read the specified ResourceClaim + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiReadNamespacedResourceClaimRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiReadNamespacedResourceClaimRequest = { + // name of the ResourceClaim + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", +}; + +const data = await apiInstance.readNamespacedResourceClaim(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | [**string**] | name of the ResourceClaim | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + + +### Return type + +**V1alpha3ResourceClaim** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **readNamespacedResourceClaimStatus** +> V1alpha3ResourceClaim readNamespacedResourceClaimStatus() + +read status of the specified ResourceClaim + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiReadNamespacedResourceClaimStatusRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiReadNamespacedResourceClaimStatusRequest = { + // name of the ResourceClaim + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", +}; + +const data = await apiInstance.readNamespacedResourceClaimStatus(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | [**string**] | name of the ResourceClaim | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + + +### Return type + +**V1alpha3ResourceClaim** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **readNamespacedResourceClaimTemplate** +> V1alpha3ResourceClaimTemplate readNamespacedResourceClaimTemplate() + +read the specified ResourceClaimTemplate + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiReadNamespacedResourceClaimTemplateRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiReadNamespacedResourceClaimTemplateRequest = { + // name of the ResourceClaimTemplate + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", +}; + +const data = await apiInstance.readNamespacedResourceClaimTemplate(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | [**string**] | name of the ResourceClaimTemplate | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + + +### Return type + +**V1alpha3ResourceClaimTemplate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **readResourceSlice** +> V1alpha3ResourceSlice readResourceSlice() + +read the specified ResourceSlice + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiReadResourceSliceRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiReadResourceSliceRequest = { + // name of the ResourceSlice + name: "name_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", +}; + +const data = await apiInstance.readResourceSlice(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | [**string**] | name of the ResourceSlice | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + + +### Return type + +**V1alpha3ResourceSlice** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **replaceDeviceClass** +> V1alpha3DeviceClass replaceDeviceClass(body) + +replace the specified DeviceClass + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiReplaceDeviceClassRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiReplaceDeviceClassRequest = { + // name of the DeviceClass + name: "name_example", + + body: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + config: [ + { + opaque: { + driver: "driver_example", + parameters: {}, + }, + }, + ], + selectors: [ + { + cel: { + expression: "expression_example", + }, + }, + ], + }, + }, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", +}; + +const data = await apiInstance.replaceDeviceClass(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1alpha3DeviceClass**| | + **name** | [**string**] | name of the DeviceClass | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + + +### Return type + +**V1alpha3DeviceClass** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **replaceNamespacedResourceClaim** +> V1alpha3ResourceClaim replaceNamespacedResourceClaim(body) + +replace the specified ResourceClaim + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiReplaceNamespacedResourceClaimRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiReplaceNamespacedResourceClaimRequest = { + // name of the ResourceClaim + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + + body: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + devices: { + config: [ + { + opaque: { + driver: "driver_example", + parameters: {}, + }, + requests: [ + "requests_example", + ], + }, + ], + constraints: [ + { + matchAttribute: "matchAttribute_example", + requests: [ + "requests_example", + ], + }, + ], + requests: [ + { + adminAccess: true, + allocationMode: "allocationMode_example", + count: 1, + deviceClassName: "deviceClassName_example", + name: "name_example", + selectors: [ + { + cel: { + expression: "expression_example", + }, + }, + ], + }, + ], + }, + }, + status: { + allocation: { + devices: { + config: [ + { + opaque: { + driver: "driver_example", + parameters: {}, + }, + requests: [ + "requests_example", + ], + source: "source_example", + }, + ], + results: [ + { + adminAccess: true, + device: "device_example", + driver: "driver_example", + pool: "pool_example", + request: "request_example", + }, + ], + }, + nodeSelector: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + devices: [ + { + conditions: [ + { + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + observedGeneration: 1, + reason: "reason_example", + status: "status_example", + type: "type_example", + }, + ], + data: {}, + device: "device_example", + driver: "driver_example", + networkData: { + hardwareAddress: "hardwareAddress_example", + interfaceName: "interfaceName_example", + ips: [ + "ips_example", + ], + }, + pool: "pool_example", + }, + ], + reservedFor: [ + { + apiGroup: "apiGroup_example", + name: "name_example", + resource: "resource_example", + uid: "uid_example", + }, + ], + }, + }, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", +}; + +const data = await apiInstance.replaceNamespacedResourceClaim(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1alpha3ResourceClaim**| | + **name** | [**string**] | name of the ResourceClaim | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + + +### Return type + +**V1alpha3ResourceClaim** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **replaceNamespacedResourceClaimStatus** +> V1alpha3ResourceClaim replaceNamespacedResourceClaimStatus(body) + +replace status of the specified ResourceClaim + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiReplaceNamespacedResourceClaimStatusRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiReplaceNamespacedResourceClaimStatusRequest = { + // name of the ResourceClaim + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + + body: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + devices: { + config: [ + { + opaque: { + driver: "driver_example", + parameters: {}, + }, + requests: [ + "requests_example", + ], + }, + ], + constraints: [ + { + matchAttribute: "matchAttribute_example", + requests: [ + "requests_example", + ], + }, + ], + requests: [ + { + adminAccess: true, + allocationMode: "allocationMode_example", + count: 1, + deviceClassName: "deviceClassName_example", + name: "name_example", + selectors: [ + { + cel: { + expression: "expression_example", + }, + }, + ], + }, + ], + }, + }, + status: { + allocation: { + devices: { + config: [ + { + opaque: { + driver: "driver_example", + parameters: {}, + }, + requests: [ + "requests_example", + ], + source: "source_example", + }, + ], + results: [ + { + adminAccess: true, + device: "device_example", + driver: "driver_example", + pool: "pool_example", + request: "request_example", + }, + ], + }, + nodeSelector: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + devices: [ + { + conditions: [ + { + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + observedGeneration: 1, + reason: "reason_example", + status: "status_example", + type: "type_example", + }, + ], + data: {}, + device: "device_example", + driver: "driver_example", + networkData: { + hardwareAddress: "hardwareAddress_example", + interfaceName: "interfaceName_example", + ips: [ + "ips_example", + ], + }, + pool: "pool_example", + }, + ], + reservedFor: [ + { + apiGroup: "apiGroup_example", + name: "name_example", + resource: "resource_example", + uid: "uid_example", + }, + ], + }, + }, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", +}; + +const data = await apiInstance.replaceNamespacedResourceClaimStatus(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1alpha3ResourceClaim**| | + **name** | [**string**] | name of the ResourceClaim | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + + +### Return type + +**V1alpha3ResourceClaim** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **replaceNamespacedResourceClaimTemplate** +> V1alpha3ResourceClaimTemplate replaceNamespacedResourceClaimTemplate(body) + +replace the specified ResourceClaimTemplate + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiReplaceNamespacedResourceClaimTemplateRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiReplaceNamespacedResourceClaimTemplateRequest = { + // name of the ResourceClaimTemplate + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + + body: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + devices: { + config: [ + { + opaque: { + driver: "driver_example", + parameters: {}, + }, + requests: [ + "requests_example", + ], + }, + ], + constraints: [ + { + matchAttribute: "matchAttribute_example", + requests: [ + "requests_example", + ], + }, + ], + requests: [ + { + adminAccess: true, + allocationMode: "allocationMode_example", + count: 1, + deviceClassName: "deviceClassName_example", + name: "name_example", + selectors: [ + { + cel: { + expression: "expression_example", + }, + }, + ], + }, + ], + }, + }, + }, + }, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", +}; + +const data = await apiInstance.replaceNamespacedResourceClaimTemplate(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1alpha3ResourceClaimTemplate**| | + **name** | [**string**] | name of the ResourceClaimTemplate | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + + +### Return type + +**V1alpha3ResourceClaimTemplate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **replaceResourceSlice** +> V1alpha3ResourceSlice replaceResourceSlice(body) + +replace the specified ResourceSlice + +### Example + + +```typescript +import { createConfiguration, ResourceV1alpha3Api } from ''; +import type { ResourceV1alpha3ApiReplaceResourceSliceRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1alpha3Api(configuration); + +const request: ResourceV1alpha3ApiReplaceResourceSliceRequest = { + // name of the ResourceSlice + name: "name_example", + + body: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + allNodes: true, + devices: [ + { + basic: { + attributes: { + "key": { + bool: true, + _int: 1, + string: "string_example", + version: "version_example", + }, + }, + capacity: { + "key": "key_example", + }, + }, + name: "name_example", + }, + ], + driver: "driver_example", + nodeName: "nodeName_example", + nodeSelector: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + pool: { + generation: 1, + name: "name_example", + resourceSliceCount: 1, + }, + }, + }, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", +}; + +const data = await apiInstance.replaceResourceSlice(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1alpha3ResourceSlice**| | + **name** | [**string**] | name of the ResourceSlice | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + + +### Return type + +**V1alpha3ResourceSlice** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + diff --git a/src/gen/ResourceV1beta1Api.md b/src/gen/ResourceV1beta1Api.md new file mode 100644 index 00000000000..96ae71ccbe2 --- /dev/null +++ b/src/gen/ResourceV1beta1Api.md @@ -0,0 +1,3799 @@ +# .ResourceV1beta1Api + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**createDeviceClass**](ResourceV1beta1Api.md#createDeviceClass) | **POST** /apis/resource.k8s.io/v1beta1/deviceclasses | +[**createNamespacedResourceClaim**](ResourceV1beta1Api.md#createNamespacedResourceClaim) | **POST** /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims | +[**createNamespacedResourceClaimTemplate**](ResourceV1beta1Api.md#createNamespacedResourceClaimTemplate) | **POST** /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates | +[**createResourceSlice**](ResourceV1beta1Api.md#createResourceSlice) | **POST** /apis/resource.k8s.io/v1beta1/resourceslices | +[**deleteCollectionDeviceClass**](ResourceV1beta1Api.md#deleteCollectionDeviceClass) | **DELETE** /apis/resource.k8s.io/v1beta1/deviceclasses | +[**deleteCollectionNamespacedResourceClaim**](ResourceV1beta1Api.md#deleteCollectionNamespacedResourceClaim) | **DELETE** /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims | +[**deleteCollectionNamespacedResourceClaimTemplate**](ResourceV1beta1Api.md#deleteCollectionNamespacedResourceClaimTemplate) | **DELETE** /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates | +[**deleteCollectionResourceSlice**](ResourceV1beta1Api.md#deleteCollectionResourceSlice) | **DELETE** /apis/resource.k8s.io/v1beta1/resourceslices | +[**deleteDeviceClass**](ResourceV1beta1Api.md#deleteDeviceClass) | **DELETE** /apis/resource.k8s.io/v1beta1/deviceclasses/{name} | +[**deleteNamespacedResourceClaim**](ResourceV1beta1Api.md#deleteNamespacedResourceClaim) | **DELETE** /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims/{name} | +[**deleteNamespacedResourceClaimTemplate**](ResourceV1beta1Api.md#deleteNamespacedResourceClaimTemplate) | **DELETE** /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates/{name} | +[**deleteResourceSlice**](ResourceV1beta1Api.md#deleteResourceSlice) | **DELETE** /apis/resource.k8s.io/v1beta1/resourceslices/{name} | +[**getAPIResources**](ResourceV1beta1Api.md#getAPIResources) | **GET** /apis/resource.k8s.io/v1beta1/ | +[**listDeviceClass**](ResourceV1beta1Api.md#listDeviceClass) | **GET** /apis/resource.k8s.io/v1beta1/deviceclasses | +[**listNamespacedResourceClaim**](ResourceV1beta1Api.md#listNamespacedResourceClaim) | **GET** /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims | +[**listNamespacedResourceClaimTemplate**](ResourceV1beta1Api.md#listNamespacedResourceClaimTemplate) | **GET** /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates | +[**listResourceClaimForAllNamespaces**](ResourceV1beta1Api.md#listResourceClaimForAllNamespaces) | **GET** /apis/resource.k8s.io/v1beta1/resourceclaims | +[**listResourceClaimTemplateForAllNamespaces**](ResourceV1beta1Api.md#listResourceClaimTemplateForAllNamespaces) | **GET** /apis/resource.k8s.io/v1beta1/resourceclaimtemplates | +[**listResourceSlice**](ResourceV1beta1Api.md#listResourceSlice) | **GET** /apis/resource.k8s.io/v1beta1/resourceslices | +[**patchDeviceClass**](ResourceV1beta1Api.md#patchDeviceClass) | **PATCH** /apis/resource.k8s.io/v1beta1/deviceclasses/{name} | +[**patchNamespacedResourceClaim**](ResourceV1beta1Api.md#patchNamespacedResourceClaim) | **PATCH** /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims/{name} | +[**patchNamespacedResourceClaimStatus**](ResourceV1beta1Api.md#patchNamespacedResourceClaimStatus) | **PATCH** /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims/{name}/status | +[**patchNamespacedResourceClaimTemplate**](ResourceV1beta1Api.md#patchNamespacedResourceClaimTemplate) | **PATCH** /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates/{name} | +[**patchResourceSlice**](ResourceV1beta1Api.md#patchResourceSlice) | **PATCH** /apis/resource.k8s.io/v1beta1/resourceslices/{name} | +[**readDeviceClass**](ResourceV1beta1Api.md#readDeviceClass) | **GET** /apis/resource.k8s.io/v1beta1/deviceclasses/{name} | +[**readNamespacedResourceClaim**](ResourceV1beta1Api.md#readNamespacedResourceClaim) | **GET** /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims/{name} | +[**readNamespacedResourceClaimStatus**](ResourceV1beta1Api.md#readNamespacedResourceClaimStatus) | **GET** /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims/{name}/status | +[**readNamespacedResourceClaimTemplate**](ResourceV1beta1Api.md#readNamespacedResourceClaimTemplate) | **GET** /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates/{name} | +[**readResourceSlice**](ResourceV1beta1Api.md#readResourceSlice) | **GET** /apis/resource.k8s.io/v1beta1/resourceslices/{name} | +[**replaceDeviceClass**](ResourceV1beta1Api.md#replaceDeviceClass) | **PUT** /apis/resource.k8s.io/v1beta1/deviceclasses/{name} | +[**replaceNamespacedResourceClaim**](ResourceV1beta1Api.md#replaceNamespacedResourceClaim) | **PUT** /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims/{name} | +[**replaceNamespacedResourceClaimStatus**](ResourceV1beta1Api.md#replaceNamespacedResourceClaimStatus) | **PUT** /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims/{name}/status | +[**replaceNamespacedResourceClaimTemplate**](ResourceV1beta1Api.md#replaceNamespacedResourceClaimTemplate) | **PUT** /apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates/{name} | +[**replaceResourceSlice**](ResourceV1beta1Api.md#replaceResourceSlice) | **PUT** /apis/resource.k8s.io/v1beta1/resourceslices/{name} | + + +# **createDeviceClass** +> V1beta1DeviceClass createDeviceClass(body) + +create a DeviceClass + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiCreateDeviceClassRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiCreateDeviceClassRequest = { + + body: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + config: [ + { + opaque: { + driver: "driver_example", + parameters: {}, + }, + }, + ], + selectors: [ + { + cel: { + expression: "expression_example", + }, + }, + ], + }, + }, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", +}; + +const data = await apiInstance.createDeviceClass(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1beta1DeviceClass**| | + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + + +### Return type + +**V1beta1DeviceClass** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **createNamespacedResourceClaim** +> V1beta1ResourceClaim createNamespacedResourceClaim(body) + +create a ResourceClaim + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiCreateNamespacedResourceClaimRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiCreateNamespacedResourceClaimRequest = { + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + + body: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + devices: { + config: [ + { + opaque: { + driver: "driver_example", + parameters: {}, + }, + requests: [ + "requests_example", + ], + }, + ], + constraints: [ + { + matchAttribute: "matchAttribute_example", + requests: [ + "requests_example", + ], + }, + ], + requests: [ + { + adminAccess: true, + allocationMode: "allocationMode_example", + count: 1, + deviceClassName: "deviceClassName_example", + name: "name_example", + selectors: [ + { + cel: { + expression: "expression_example", + }, + }, + ], + }, + ], + }, + }, + status: { + allocation: { + devices: { + config: [ + { + opaque: { + driver: "driver_example", + parameters: {}, + }, + requests: [ + "requests_example", + ], + source: "source_example", + }, + ], + results: [ + { + adminAccess: true, + device: "device_example", + driver: "driver_example", + pool: "pool_example", + request: "request_example", + }, + ], + }, + nodeSelector: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + devices: [ + { + conditions: [ + { + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + observedGeneration: 1, + reason: "reason_example", + status: "status_example", + type: "type_example", + }, + ], + data: {}, + device: "device_example", + driver: "driver_example", + networkData: { + hardwareAddress: "hardwareAddress_example", + interfaceName: "interfaceName_example", + ips: [ + "ips_example", + ], + }, + pool: "pool_example", + }, + ], + reservedFor: [ + { + apiGroup: "apiGroup_example", + name: "name_example", + resource: "resource_example", + uid: "uid_example", + }, + ], + }, + }, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", +}; + +const data = await apiInstance.createNamespacedResourceClaim(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1beta1ResourceClaim**| | + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + + +### Return type + +**V1beta1ResourceClaim** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **createNamespacedResourceClaimTemplate** +> V1beta1ResourceClaimTemplate createNamespacedResourceClaimTemplate(body) + +create a ResourceClaimTemplate + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiCreateNamespacedResourceClaimTemplateRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiCreateNamespacedResourceClaimTemplateRequest = { + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + + body: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + devices: { + config: [ + { + opaque: { + driver: "driver_example", + parameters: {}, + }, + requests: [ + "requests_example", + ], + }, + ], + constraints: [ + { + matchAttribute: "matchAttribute_example", + requests: [ + "requests_example", + ], + }, + ], + requests: [ + { + adminAccess: true, + allocationMode: "allocationMode_example", + count: 1, + deviceClassName: "deviceClassName_example", + name: "name_example", + selectors: [ + { + cel: { + expression: "expression_example", + }, + }, + ], + }, + ], + }, + }, + }, + }, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", +}; + +const data = await apiInstance.createNamespacedResourceClaimTemplate(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1beta1ResourceClaimTemplate**| | + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + + +### Return type + +**V1beta1ResourceClaimTemplate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **createResourceSlice** +> V1beta1ResourceSlice createResourceSlice(body) + +create a ResourceSlice + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiCreateResourceSliceRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiCreateResourceSliceRequest = { + + body: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + allNodes: true, + devices: [ + { + basic: { + attributes: { + "key": { + bool: true, + _int: 1, + string: "string_example", + version: "version_example", + }, + }, + capacity: { + "key": { + value: "value_example", + }, + }, + }, + name: "name_example", + }, + ], + driver: "driver_example", + nodeName: "nodeName_example", + nodeSelector: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + pool: { + generation: 1, + name: "name_example", + resourceSliceCount: 1, + }, + }, + }, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", +}; + +const data = await apiInstance.createResourceSlice(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1beta1ResourceSlice**| | + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + + +### Return type + +**V1beta1ResourceSlice** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **deleteCollectionDeviceClass** +> V1Status deleteCollectionDeviceClass() + +delete collection of DeviceClass + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiDeleteCollectionDeviceClassRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiDeleteCollectionDeviceClassRequest = { + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + _continue: "continue_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + fieldSelector: "fieldSelector_example", + // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, + // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + labelSelector: "labelSelector_example", + // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + limit: 1, + // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + orphanDependents: true, + // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) + propagationPolicy: "propagationPolicy_example", + // resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersion: "resourceVersion_example", + // resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersionMatch: "resourceVersionMatch_example", + // `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + sendInitialEvents: true, + // Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + timeoutSeconds: 1, + + body: { + apiVersion: "apiVersion_example", + dryRun: [ + "dryRun_example", + ], + gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, + kind: "kind_example", + orphanDependents: true, + preconditions: { + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + propagationPolicy: "propagationPolicy_example", + }, +}; + +const data = await apiInstance.deleteCollectionDeviceClass(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1DeleteOptions**| | + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **_continue** | [**string**] | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined + **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined + **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined + **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined + **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined + **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined + **resourceVersion** | [**string**] | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **resourceVersionMatch** | [**string**] | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **sendInitialEvents** | [**boolean**] | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | (optional) defaults to undefined + **timeoutSeconds** | [**number**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | (optional) defaults to undefined + + +### Return type + +**V1Status** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **deleteCollectionNamespacedResourceClaim** +> V1Status deleteCollectionNamespacedResourceClaim() + +delete collection of ResourceClaim + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiDeleteCollectionNamespacedResourceClaimRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiDeleteCollectionNamespacedResourceClaimRequest = { + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + _continue: "continue_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + fieldSelector: "fieldSelector_example", + // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, + // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + labelSelector: "labelSelector_example", + // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + limit: 1, + // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + orphanDependents: true, + // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) + propagationPolicy: "propagationPolicy_example", + // resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersion: "resourceVersion_example", + // resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersionMatch: "resourceVersionMatch_example", + // `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + sendInitialEvents: true, + // Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + timeoutSeconds: 1, + + body: { + apiVersion: "apiVersion_example", + dryRun: [ + "dryRun_example", + ], + gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, + kind: "kind_example", + orphanDependents: true, + preconditions: { + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + propagationPolicy: "propagationPolicy_example", + }, +}; + +const data = await apiInstance.deleteCollectionNamespacedResourceClaim(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1DeleteOptions**| | + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **_continue** | [**string**] | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined + **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined + **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined + **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined + **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined + **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined + **resourceVersion** | [**string**] | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **resourceVersionMatch** | [**string**] | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **sendInitialEvents** | [**boolean**] | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | (optional) defaults to undefined + **timeoutSeconds** | [**number**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | (optional) defaults to undefined + + +### Return type + +**V1Status** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **deleteCollectionNamespacedResourceClaimTemplate** +> V1Status deleteCollectionNamespacedResourceClaimTemplate() + +delete collection of ResourceClaimTemplate + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiDeleteCollectionNamespacedResourceClaimTemplateRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiDeleteCollectionNamespacedResourceClaimTemplateRequest = { + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + _continue: "continue_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + fieldSelector: "fieldSelector_example", + // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, + // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + labelSelector: "labelSelector_example", + // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + limit: 1, + // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + orphanDependents: true, + // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) + propagationPolicy: "propagationPolicy_example", + // resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersion: "resourceVersion_example", + // resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersionMatch: "resourceVersionMatch_example", + // `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + sendInitialEvents: true, + // Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + timeoutSeconds: 1, + + body: { + apiVersion: "apiVersion_example", + dryRun: [ + "dryRun_example", + ], + gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, + kind: "kind_example", + orphanDependents: true, + preconditions: { + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + propagationPolicy: "propagationPolicy_example", + }, +}; + +const data = await apiInstance.deleteCollectionNamespacedResourceClaimTemplate(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1DeleteOptions**| | + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **_continue** | [**string**] | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined + **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined + **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined + **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined + **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined + **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined + **resourceVersion** | [**string**] | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **resourceVersionMatch** | [**string**] | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **sendInitialEvents** | [**boolean**] | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | (optional) defaults to undefined + **timeoutSeconds** | [**number**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | (optional) defaults to undefined + + +### Return type + +**V1Status** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **deleteCollectionResourceSlice** +> V1Status deleteCollectionResourceSlice() + +delete collection of ResourceSlice + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiDeleteCollectionResourceSliceRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiDeleteCollectionResourceSliceRequest = { + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + _continue: "continue_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + fieldSelector: "fieldSelector_example", + // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, + // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + labelSelector: "labelSelector_example", + // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + limit: 1, + // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + orphanDependents: true, + // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) + propagationPolicy: "propagationPolicy_example", + // resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersion: "resourceVersion_example", + // resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersionMatch: "resourceVersionMatch_example", + // `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + sendInitialEvents: true, + // Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + timeoutSeconds: 1, + + body: { + apiVersion: "apiVersion_example", + dryRun: [ + "dryRun_example", + ], + gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, + kind: "kind_example", + orphanDependents: true, + preconditions: { + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + propagationPolicy: "propagationPolicy_example", + }, +}; + +const data = await apiInstance.deleteCollectionResourceSlice(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1DeleteOptions**| | + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **_continue** | [**string**] | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined + **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined + **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined + **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined + **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined + **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined + **resourceVersion** | [**string**] | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **resourceVersionMatch** | [**string**] | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **sendInitialEvents** | [**boolean**] | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | (optional) defaults to undefined + **timeoutSeconds** | [**number**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | (optional) defaults to undefined + + +### Return type + +**V1Status** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **deleteDeviceClass** +> V1beta1DeviceClass deleteDeviceClass() + +delete a DeviceClass + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiDeleteDeviceClassRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiDeleteDeviceClassRequest = { + // name of the DeviceClass + name: "name_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, + // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + orphanDependents: true, + // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) + propagationPolicy: "propagationPolicy_example", + + body: { + apiVersion: "apiVersion_example", + dryRun: [ + "dryRun_example", + ], + gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, + kind: "kind_example", + orphanDependents: true, + preconditions: { + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + propagationPolicy: "propagationPolicy_example", + }, +}; + +const data = await apiInstance.deleteDeviceClass(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1DeleteOptions**| | + **name** | [**string**] | name of the DeviceClass | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined + **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined + **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined + + +### Return type + +**V1beta1DeviceClass** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **deleteNamespacedResourceClaim** +> V1beta1ResourceClaim deleteNamespacedResourceClaim() + +delete a ResourceClaim + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiDeleteNamespacedResourceClaimRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiDeleteNamespacedResourceClaimRequest = { + // name of the ResourceClaim + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, + // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + orphanDependents: true, + // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) + propagationPolicy: "propagationPolicy_example", + + body: { + apiVersion: "apiVersion_example", + dryRun: [ + "dryRun_example", + ], + gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, + kind: "kind_example", + orphanDependents: true, + preconditions: { + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + propagationPolicy: "propagationPolicy_example", + }, +}; + +const data = await apiInstance.deleteNamespacedResourceClaim(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1DeleteOptions**| | + **name** | [**string**] | name of the ResourceClaim | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined + **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined + **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined + + +### Return type + +**V1beta1ResourceClaim** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **deleteNamespacedResourceClaimTemplate** +> V1beta1ResourceClaimTemplate deleteNamespacedResourceClaimTemplate() + +delete a ResourceClaimTemplate + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiDeleteNamespacedResourceClaimTemplateRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiDeleteNamespacedResourceClaimTemplateRequest = { + // name of the ResourceClaimTemplate + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, + // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + orphanDependents: true, + // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) + propagationPolicy: "propagationPolicy_example", + + body: { + apiVersion: "apiVersion_example", + dryRun: [ + "dryRun_example", + ], + gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, + kind: "kind_example", + orphanDependents: true, + preconditions: { + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + propagationPolicy: "propagationPolicy_example", + }, +}; + +const data = await apiInstance.deleteNamespacedResourceClaimTemplate(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1DeleteOptions**| | + **name** | [**string**] | name of the ResourceClaimTemplate | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined + **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined + **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined + + +### Return type + +**V1beta1ResourceClaimTemplate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **deleteResourceSlice** +> V1beta1ResourceSlice deleteResourceSlice() + +delete a ResourceSlice + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiDeleteResourceSliceRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiDeleteResourceSliceRequest = { + // name of the ResourceSlice + name: "name_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, + // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + orphanDependents: true, + // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) + propagationPolicy: "propagationPolicy_example", + + body: { + apiVersion: "apiVersion_example", + dryRun: [ + "dryRun_example", + ], + gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, + kind: "kind_example", + orphanDependents: true, + preconditions: { + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + propagationPolicy: "propagationPolicy_example", + }, +}; + +const data = await apiInstance.deleteResourceSlice(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1DeleteOptions**| | + **name** | [**string**] | name of the ResourceSlice | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined + **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined + **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined + + +### Return type + +**V1beta1ResourceSlice** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **getAPIResources** +> V1APIResourceList getAPIResources() + +get available resources + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request = {}; + +const data = await apiInstance.getAPIResources(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters +This endpoint does not need any parameter. + + +### Return type + +**V1APIResourceList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **listDeviceClass** +> V1beta1DeviceClassList listDeviceClass() + +list or watch objects of kind DeviceClass + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiListDeviceClassRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiListDeviceClassRequest = { + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) + allowWatchBookmarks: true, + // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + _continue: "continue_example", + // A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + fieldSelector: "fieldSelector_example", + // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + labelSelector: "labelSelector_example", + // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + limit: 1, + // resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersion: "resourceVersion_example", + // resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersionMatch: "resourceVersionMatch_example", + // `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + sendInitialEvents: true, + // Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + timeoutSeconds: 1, + // Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + watch: true, +}; + +const data = await apiInstance.listDeviceClass(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **allowWatchBookmarks** | [**boolean**] | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | (optional) defaults to undefined + **_continue** | [**string**] | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | (optional) defaults to undefined + **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined + **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined + **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined + **resourceVersion** | [**string**] | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **resourceVersionMatch** | [**string**] | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **sendInitialEvents** | [**boolean**] | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | (optional) defaults to undefined + **timeoutSeconds** | [**number**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | (optional) defaults to undefined + **watch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | (optional) defaults to undefined + + +### Return type + +**V1beta1DeviceClassList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **listNamespacedResourceClaim** +> V1beta1ResourceClaimList listNamespacedResourceClaim() + +list or watch objects of kind ResourceClaim + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiListNamespacedResourceClaimRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiListNamespacedResourceClaimRequest = { + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) + allowWatchBookmarks: true, + // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + _continue: "continue_example", + // A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + fieldSelector: "fieldSelector_example", + // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + labelSelector: "labelSelector_example", + // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + limit: 1, + // resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersion: "resourceVersion_example", + // resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersionMatch: "resourceVersionMatch_example", + // `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + sendInitialEvents: true, + // Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + timeoutSeconds: 1, + // Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + watch: true, +}; + +const data = await apiInstance.listNamespacedResourceClaim(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **allowWatchBookmarks** | [**boolean**] | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | (optional) defaults to undefined + **_continue** | [**string**] | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | (optional) defaults to undefined + **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined + **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined + **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined + **resourceVersion** | [**string**] | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **resourceVersionMatch** | [**string**] | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **sendInitialEvents** | [**boolean**] | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | (optional) defaults to undefined + **timeoutSeconds** | [**number**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | (optional) defaults to undefined + **watch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | (optional) defaults to undefined + + +### Return type + +**V1beta1ResourceClaimList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **listNamespacedResourceClaimTemplate** +> V1beta1ResourceClaimTemplateList listNamespacedResourceClaimTemplate() + +list or watch objects of kind ResourceClaimTemplate + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiListNamespacedResourceClaimTemplateRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiListNamespacedResourceClaimTemplateRequest = { + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) + allowWatchBookmarks: true, + // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + _continue: "continue_example", + // A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + fieldSelector: "fieldSelector_example", + // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + labelSelector: "labelSelector_example", + // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + limit: 1, + // resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersion: "resourceVersion_example", + // resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersionMatch: "resourceVersionMatch_example", + // `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + sendInitialEvents: true, + // Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + timeoutSeconds: 1, + // Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + watch: true, +}; + +const data = await apiInstance.listNamespacedResourceClaimTemplate(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **allowWatchBookmarks** | [**boolean**] | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | (optional) defaults to undefined + **_continue** | [**string**] | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | (optional) defaults to undefined + **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined + **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined + **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined + **resourceVersion** | [**string**] | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **resourceVersionMatch** | [**string**] | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **sendInitialEvents** | [**boolean**] | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | (optional) defaults to undefined + **timeoutSeconds** | [**number**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | (optional) defaults to undefined + **watch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | (optional) defaults to undefined + + +### Return type + +**V1beta1ResourceClaimTemplateList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **listResourceClaimForAllNamespaces** +> V1beta1ResourceClaimList listResourceClaimForAllNamespaces() + +list or watch objects of kind ResourceClaim + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiListResourceClaimForAllNamespacesRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiListResourceClaimForAllNamespacesRequest = { + // allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) + allowWatchBookmarks: true, + // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + _continue: "continue_example", + // A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + fieldSelector: "fieldSelector_example", + // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + labelSelector: "labelSelector_example", + // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + limit: 1, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersion: "resourceVersion_example", + // resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersionMatch: "resourceVersionMatch_example", + // `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + sendInitialEvents: true, + // Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + timeoutSeconds: 1, + // Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + watch: true, +}; + +const data = await apiInstance.listResourceClaimForAllNamespaces(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **allowWatchBookmarks** | [**boolean**] | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | (optional) defaults to undefined + **_continue** | [**string**] | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | (optional) defaults to undefined + **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined + **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined + **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **resourceVersion** | [**string**] | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **resourceVersionMatch** | [**string**] | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **sendInitialEvents** | [**boolean**] | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | (optional) defaults to undefined + **timeoutSeconds** | [**number**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | (optional) defaults to undefined + **watch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | (optional) defaults to undefined + + +### Return type + +**V1beta1ResourceClaimList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **listResourceClaimTemplateForAllNamespaces** +> V1beta1ResourceClaimTemplateList listResourceClaimTemplateForAllNamespaces() + +list or watch objects of kind ResourceClaimTemplate + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiListResourceClaimTemplateForAllNamespacesRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiListResourceClaimTemplateForAllNamespacesRequest = { + // allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) + allowWatchBookmarks: true, + // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + _continue: "continue_example", + // A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + fieldSelector: "fieldSelector_example", + // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + labelSelector: "labelSelector_example", + // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + limit: 1, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersion: "resourceVersion_example", + // resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersionMatch: "resourceVersionMatch_example", + // `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + sendInitialEvents: true, + // Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + timeoutSeconds: 1, + // Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + watch: true, +}; + +const data = await apiInstance.listResourceClaimTemplateForAllNamespaces(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **allowWatchBookmarks** | [**boolean**] | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | (optional) defaults to undefined + **_continue** | [**string**] | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | (optional) defaults to undefined + **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined + **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined + **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **resourceVersion** | [**string**] | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **resourceVersionMatch** | [**string**] | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **sendInitialEvents** | [**boolean**] | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | (optional) defaults to undefined + **timeoutSeconds** | [**number**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | (optional) defaults to undefined + **watch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | (optional) defaults to undefined + + +### Return type + +**V1beta1ResourceClaimTemplateList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **listResourceSlice** +> V1beta1ResourceSliceList listResourceSlice() + +list or watch objects of kind ResourceSlice + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiListResourceSliceRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiListResourceSliceRequest = { + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) + allowWatchBookmarks: true, + // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + _continue: "continue_example", + // A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + fieldSelector: "fieldSelector_example", + // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + labelSelector: "labelSelector_example", + // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + limit: 1, + // resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersion: "resourceVersion_example", + // resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersionMatch: "resourceVersionMatch_example", + // `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + sendInitialEvents: true, + // Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + timeoutSeconds: 1, + // Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + watch: true, +}; + +const data = await apiInstance.listResourceSlice(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **allowWatchBookmarks** | [**boolean**] | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | (optional) defaults to undefined + **_continue** | [**string**] | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | (optional) defaults to undefined + **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined + **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined + **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined + **resourceVersion** | [**string**] | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **resourceVersionMatch** | [**string**] | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **sendInitialEvents** | [**boolean**] | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | (optional) defaults to undefined + **timeoutSeconds** | [**number**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | (optional) defaults to undefined + **watch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | (optional) defaults to undefined + + +### Return type + +**V1beta1ResourceSliceList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **patchDeviceClass** +> V1beta1DeviceClass patchDeviceClass(body) + +partially update the specified DeviceClass + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiPatchDeviceClassRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiPatchDeviceClassRequest = { + // name of the DeviceClass + name: "name_example", + + body: {}, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", + // Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + force: true, +}; + +const data = await apiInstance.patchDeviceClass(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **any**| | + **name** | [**string**] | name of the DeviceClass | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + **force** | [**boolean**] | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | (optional) defaults to undefined + + +### Return type + +**V1beta1DeviceClass** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **patchNamespacedResourceClaim** +> V1beta1ResourceClaim patchNamespacedResourceClaim(body) + +partially update the specified ResourceClaim + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiPatchNamespacedResourceClaimRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiPatchNamespacedResourceClaimRequest = { + // name of the ResourceClaim + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + + body: {}, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", + // Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + force: true, +}; + +const data = await apiInstance.patchNamespacedResourceClaim(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **any**| | + **name** | [**string**] | name of the ResourceClaim | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + **force** | [**boolean**] | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | (optional) defaults to undefined + + +### Return type + +**V1beta1ResourceClaim** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **patchNamespacedResourceClaimStatus** +> V1beta1ResourceClaim patchNamespacedResourceClaimStatus(body) + +partially update status of the specified ResourceClaim + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiPatchNamespacedResourceClaimStatusRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiPatchNamespacedResourceClaimStatusRequest = { + // name of the ResourceClaim + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + + body: {}, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", + // Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + force: true, +}; + +const data = await apiInstance.patchNamespacedResourceClaimStatus(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **any**| | + **name** | [**string**] | name of the ResourceClaim | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + **force** | [**boolean**] | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | (optional) defaults to undefined + + +### Return type + +**V1beta1ResourceClaim** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **patchNamespacedResourceClaimTemplate** +> V1beta1ResourceClaimTemplate patchNamespacedResourceClaimTemplate(body) + +partially update the specified ResourceClaimTemplate + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiPatchNamespacedResourceClaimTemplateRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiPatchNamespacedResourceClaimTemplateRequest = { + // name of the ResourceClaimTemplate + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + + body: {}, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", + // Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + force: true, +}; + +const data = await apiInstance.patchNamespacedResourceClaimTemplate(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **any**| | + **name** | [**string**] | name of the ResourceClaimTemplate | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + **force** | [**boolean**] | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | (optional) defaults to undefined + + +### Return type + +**V1beta1ResourceClaimTemplate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **patchResourceSlice** +> V1beta1ResourceSlice patchResourceSlice(body) + +partially update the specified ResourceSlice + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiPatchResourceSliceRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiPatchResourceSliceRequest = { + // name of the ResourceSlice + name: "name_example", + + body: {}, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", + // Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + force: true, +}; + +const data = await apiInstance.patchResourceSlice(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **any**| | + **name** | [**string**] | name of the ResourceSlice | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + **force** | [**boolean**] | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | (optional) defaults to undefined + + +### Return type + +**V1beta1ResourceSlice** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **readDeviceClass** +> V1beta1DeviceClass readDeviceClass() + +read the specified DeviceClass + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiReadDeviceClassRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiReadDeviceClassRequest = { + // name of the DeviceClass + name: "name_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", +}; + +const data = await apiInstance.readDeviceClass(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | [**string**] | name of the DeviceClass | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + + +### Return type + +**V1beta1DeviceClass** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **readNamespacedResourceClaim** +> V1beta1ResourceClaim readNamespacedResourceClaim() + +read the specified ResourceClaim + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiReadNamespacedResourceClaimRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiReadNamespacedResourceClaimRequest = { + // name of the ResourceClaim + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", +}; + +const data = await apiInstance.readNamespacedResourceClaim(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | [**string**] | name of the ResourceClaim | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + + +### Return type + +**V1beta1ResourceClaim** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **readNamespacedResourceClaimStatus** +> V1beta1ResourceClaim readNamespacedResourceClaimStatus() + +read status of the specified ResourceClaim + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiReadNamespacedResourceClaimStatusRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiReadNamespacedResourceClaimStatusRequest = { + // name of the ResourceClaim + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", +}; + +const data = await apiInstance.readNamespacedResourceClaimStatus(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | [**string**] | name of the ResourceClaim | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + + +### Return type + +**V1beta1ResourceClaim** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **readNamespacedResourceClaimTemplate** +> V1beta1ResourceClaimTemplate readNamespacedResourceClaimTemplate() + +read the specified ResourceClaimTemplate + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiReadNamespacedResourceClaimTemplateRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiReadNamespacedResourceClaimTemplateRequest = { + // name of the ResourceClaimTemplate + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", +}; + +const data = await apiInstance.readNamespacedResourceClaimTemplate(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | [**string**] | name of the ResourceClaimTemplate | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + + +### Return type + +**V1beta1ResourceClaimTemplate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **readResourceSlice** +> V1beta1ResourceSlice readResourceSlice() + +read the specified ResourceSlice + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiReadResourceSliceRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiReadResourceSliceRequest = { + // name of the ResourceSlice + name: "name_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", +}; + +const data = await apiInstance.readResourceSlice(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | [**string**] | name of the ResourceSlice | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + + +### Return type + +**V1beta1ResourceSlice** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **replaceDeviceClass** +> V1beta1DeviceClass replaceDeviceClass(body) + +replace the specified DeviceClass + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiReplaceDeviceClassRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiReplaceDeviceClassRequest = { + // name of the DeviceClass + name: "name_example", + + body: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + config: [ + { + opaque: { + driver: "driver_example", + parameters: {}, + }, + }, + ], + selectors: [ + { + cel: { + expression: "expression_example", + }, + }, + ], + }, + }, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", +}; + +const data = await apiInstance.replaceDeviceClass(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1beta1DeviceClass**| | + **name** | [**string**] | name of the DeviceClass | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + + +### Return type + +**V1beta1DeviceClass** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **replaceNamespacedResourceClaim** +> V1beta1ResourceClaim replaceNamespacedResourceClaim(body) + +replace the specified ResourceClaim + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiReplaceNamespacedResourceClaimRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiReplaceNamespacedResourceClaimRequest = { + // name of the ResourceClaim + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + + body: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + devices: { + config: [ + { + opaque: { + driver: "driver_example", + parameters: {}, + }, + requests: [ + "requests_example", + ], + }, + ], + constraints: [ + { + matchAttribute: "matchAttribute_example", + requests: [ + "requests_example", + ], + }, + ], + requests: [ + { + adminAccess: true, + allocationMode: "allocationMode_example", + count: 1, + deviceClassName: "deviceClassName_example", + name: "name_example", + selectors: [ + { + cel: { + expression: "expression_example", + }, + }, + ], + }, + ], + }, + }, + status: { + allocation: { + devices: { + config: [ + { + opaque: { + driver: "driver_example", + parameters: {}, + }, + requests: [ + "requests_example", + ], + source: "source_example", + }, + ], + results: [ + { + adminAccess: true, + device: "device_example", + driver: "driver_example", + pool: "pool_example", + request: "request_example", + }, + ], + }, + nodeSelector: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + devices: [ + { + conditions: [ + { + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + observedGeneration: 1, + reason: "reason_example", + status: "status_example", + type: "type_example", + }, + ], + data: {}, + device: "device_example", + driver: "driver_example", + networkData: { + hardwareAddress: "hardwareAddress_example", + interfaceName: "interfaceName_example", + ips: [ + "ips_example", + ], + }, + pool: "pool_example", + }, + ], + reservedFor: [ + { + apiGroup: "apiGroup_example", + name: "name_example", + resource: "resource_example", + uid: "uid_example", + }, + ], + }, + }, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", +}; + +const data = await apiInstance.replaceNamespacedResourceClaim(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1beta1ResourceClaim**| | + **name** | [**string**] | name of the ResourceClaim | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + + +### Return type + +**V1beta1ResourceClaim** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **replaceNamespacedResourceClaimStatus** +> V1beta1ResourceClaim replaceNamespacedResourceClaimStatus(body) + +replace status of the specified ResourceClaim + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiReplaceNamespacedResourceClaimStatusRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiReplaceNamespacedResourceClaimStatusRequest = { + // name of the ResourceClaim + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + + body: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + devices: { + config: [ + { + opaque: { + driver: "driver_example", + parameters: {}, + }, + requests: [ + "requests_example", + ], + }, + ], + constraints: [ + { + matchAttribute: "matchAttribute_example", + requests: [ + "requests_example", + ], + }, + ], + requests: [ + { + adminAccess: true, + allocationMode: "allocationMode_example", + count: 1, + deviceClassName: "deviceClassName_example", + name: "name_example", + selectors: [ + { + cel: { + expression: "expression_example", + }, + }, + ], + }, + ], + }, + }, + status: { + allocation: { + devices: { + config: [ + { + opaque: { + driver: "driver_example", + parameters: {}, + }, + requests: [ + "requests_example", + ], + source: "source_example", + }, + ], + results: [ + { + adminAccess: true, + device: "device_example", + driver: "driver_example", + pool: "pool_example", + request: "request_example", + }, + ], + }, + nodeSelector: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + }, + devices: [ + { + conditions: [ + { + lastTransitionTime: new Date('1970-01-01T00:00:00.00Z'), + message: "message_example", + observedGeneration: 1, + reason: "reason_example", + status: "status_example", + type: "type_example", + }, + ], + data: {}, + device: "device_example", + driver: "driver_example", + networkData: { + hardwareAddress: "hardwareAddress_example", + interfaceName: "interfaceName_example", + ips: [ + "ips_example", + ], + }, + pool: "pool_example", + }, + ], + reservedFor: [ + { + apiGroup: "apiGroup_example", + name: "name_example", + resource: "resource_example", + uid: "uid_example", + }, + ], + }, + }, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", +}; + +const data = await apiInstance.replaceNamespacedResourceClaimStatus(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1beta1ResourceClaim**| | + **name** | [**string**] | name of the ResourceClaim | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + + +### Return type + +**V1beta1ResourceClaim** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **replaceNamespacedResourceClaimTemplate** +> V1beta1ResourceClaimTemplate replaceNamespacedResourceClaimTemplate(body) + +replace the specified ResourceClaimTemplate + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiReplaceNamespacedResourceClaimTemplateRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiReplaceNamespacedResourceClaimTemplateRequest = { + // name of the ResourceClaimTemplate + name: "name_example", + // object name and auth scope, such as for teams and projects + namespace: "namespace_example", + + body: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + devices: { + config: [ + { + opaque: { + driver: "driver_example", + parameters: {}, + }, + requests: [ + "requests_example", + ], + }, + ], + constraints: [ + { + matchAttribute: "matchAttribute_example", + requests: [ + "requests_example", + ], + }, + ], + requests: [ + { + adminAccess: true, + allocationMode: "allocationMode_example", + count: 1, + deviceClassName: "deviceClassName_example", + name: "name_example", + selectors: [ + { + cel: { + expression: "expression_example", + }, + }, + ], + }, + ], + }, + }, + }, + }, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", +}; + +const data = await apiInstance.replaceNamespacedResourceClaimTemplate(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1beta1ResourceClaimTemplate**| | + **name** | [**string**] | name of the ResourceClaimTemplate | defaults to undefined + **namespace** | [**string**] | object name and auth scope, such as for teams and projects | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + + +### Return type + +**V1beta1ResourceClaimTemplate** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **replaceResourceSlice** +> V1beta1ResourceSlice replaceResourceSlice(body) + +replace the specified ResourceSlice + +### Example + + +```typescript +import { createConfiguration, ResourceV1beta1Api } from ''; +import type { ResourceV1beta1ApiReplaceResourceSliceRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new ResourceV1beta1Api(configuration); + +const request: ResourceV1beta1ApiReplaceResourceSliceRequest = { + // name of the ResourceSlice + name: "name_example", + + body: { + apiVersion: "apiVersion_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + spec: { + allNodes: true, + devices: [ + { + basic: { + attributes: { + "key": { + bool: true, + _int: 1, + string: "string_example", + version: "version_example", + }, + }, + capacity: { + "key": { + value: "value_example", + }, + }, + }, + name: "name_example", + }, + ], + driver: "driver_example", + nodeName: "nodeName_example", + nodeSelector: { + nodeSelectorTerms: [ + { + matchExpressions: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + matchFields: [ + { + key: "key_example", + operator: "operator_example", + values: [ + "values_example", + ], + }, + ], + }, + ], + }, + pool: { + generation: 1, + name: "name_example", + resourceSliceCount: 1, + }, + }, + }, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", +}; + +const data = await apiInstance.replaceResourceSlice(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1beta1ResourceSlice**| | + **name** | [**string**] | name of the ResourceSlice | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + + +### Return type + +**V1beta1ResourceSlice** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + diff --git a/src/gen/SchedulingV1Api.md b/src/gen/SchedulingV1Api.md index 2bd019d0041..cea65ea8fa6 100644 --- a/src/gen/SchedulingV1Api.md +++ b/src/gen/SchedulingV1Api.md @@ -118,7 +118,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -157,6 +157,8 @@ const request: SchedulingV1ApiDeleteCollectionPriorityClassRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -180,6 +182,7 @@ const request: SchedulingV1ApiDeleteCollectionPriorityClassRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -205,6 +208,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -226,7 +230,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -261,6 +265,8 @@ const request: SchedulingV1ApiDeletePriorityClassRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -272,6 +278,7 @@ const request: SchedulingV1ApiDeletePriorityClassRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -296,6 +303,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -311,7 +319,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -359,7 +367,7 @@ This endpoint does not need any parameter. ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -443,7 +451,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -514,8 +522,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -573,7 +581,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -691,7 +699,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details diff --git a/src/gen/StorageV1Api.md b/src/gen/StorageV1Api.md index f9b8dfba15e..7879376595d 100644 --- a/src/gen/StorageV1Api.md +++ b/src/gen/StorageV1Api.md @@ -163,7 +163,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -290,7 +290,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -423,7 +423,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -558,7 +558,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -951,7 +951,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -988,6 +988,8 @@ const request: StorageV1ApiDeleteCSIDriverRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -999,6 +1001,7 @@ const request: StorageV1ApiDeleteCSIDriverRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -1023,6 +1026,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -1038,7 +1042,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1074,6 +1078,8 @@ const request: StorageV1ApiDeleteCSINodeRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -1085,6 +1091,7 @@ const request: StorageV1ApiDeleteCSINodeRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -1109,6 +1116,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -1124,7 +1132,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1162,6 +1170,8 @@ const request: StorageV1ApiDeleteCollectionCSIDriverRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -1185,6 +1195,7 @@ const request: StorageV1ApiDeleteCollectionCSIDriverRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -1210,6 +1221,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -1231,7 +1243,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1268,6 +1280,8 @@ const request: StorageV1ApiDeleteCollectionCSINodeRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -1291,6 +1305,7 @@ const request: StorageV1ApiDeleteCollectionCSINodeRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -1316,6 +1331,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -1337,7 +1353,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1376,6 +1392,8 @@ const request: StorageV1ApiDeleteCollectionNamespacedCSIStorageCapacityRequest = fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -1399,6 +1417,7 @@ const request: StorageV1ApiDeleteCollectionNamespacedCSIStorageCapacityRequest = "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -1425,6 +1444,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -1446,7 +1466,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1483,6 +1503,8 @@ const request: StorageV1ApiDeleteCollectionStorageClassRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -1506,6 +1528,7 @@ const request: StorageV1ApiDeleteCollectionStorageClassRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -1531,6 +1554,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -1552,7 +1576,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1589,6 +1613,8 @@ const request: StorageV1ApiDeleteCollectionVolumeAttachmentRequest = { fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -1612,6 +1638,7 @@ const request: StorageV1ApiDeleteCollectionVolumeAttachmentRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -1637,6 +1664,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -1658,7 +1686,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1695,6 +1723,8 @@ const request: StorageV1ApiDeleteNamespacedCSIStorageCapacityRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -1706,6 +1736,7 @@ const request: StorageV1ApiDeleteNamespacedCSIStorageCapacityRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -1731,6 +1762,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -1746,7 +1778,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1782,6 +1814,8 @@ const request: StorageV1ApiDeleteStorageClassRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -1793,6 +1827,7 @@ const request: StorageV1ApiDeleteStorageClassRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -1817,6 +1852,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -1832,7 +1868,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1868,6 +1904,8 @@ const request: StorageV1ApiDeleteVolumeAttachmentRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -1879,6 +1917,7 @@ const request: StorageV1ApiDeleteVolumeAttachmentRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -1903,6 +1942,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -1918,7 +1958,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -1966,7 +2006,7 @@ This endpoint does not need any parameter. ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2050,7 +2090,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -2134,7 +2174,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -2218,7 +2258,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -2305,7 +2345,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -2389,7 +2429,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -2473,7 +2513,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -2544,8 +2584,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2617,8 +2657,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2693,8 +2733,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2766,8 +2806,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2839,8 +2879,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2912,8 +2952,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -2971,7 +3011,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -3028,7 +3068,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -3088,7 +3128,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -3145,7 +3185,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -3202,7 +3242,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -3259,7 +3299,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -3390,7 +3430,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -3519,7 +3559,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -3654,7 +3694,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -3791,7 +3831,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -4186,7 +4226,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -4581,7 +4621,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details diff --git a/src/gen/StorageV1alpha1Api.md b/src/gen/StorageV1alpha1Api.md index 4001a3eb61d..4c5c1ee9f0a 100644 --- a/src/gen/StorageV1alpha1Api.md +++ b/src/gen/StorageV1alpha1Api.md @@ -118,7 +118,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -157,6 +157,8 @@ const request: StorageV1alpha1ApiDeleteCollectionVolumeAttributesClassRequest = fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -180,6 +182,7 @@ const request: StorageV1alpha1ApiDeleteCollectionVolumeAttributesClassRequest = "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -205,6 +208,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -226,7 +230,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -261,6 +265,8 @@ const request: StorageV1alpha1ApiDeleteVolumeAttributesClassRequest = { dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -272,6 +278,7 @@ const request: StorageV1alpha1ApiDeleteVolumeAttributesClassRequest = { "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -296,6 +303,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -311,7 +319,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -359,7 +367,7 @@ This endpoint does not need any parameter. ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -443,7 +451,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -514,8 +522,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -573,7 +581,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -691,7 +699,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details diff --git a/src/gen/StorageV1beta1Api.md b/src/gen/StorageV1beta1Api.md new file mode 100644 index 00000000000..cd38b76ae08 --- /dev/null +++ b/src/gen/StorageV1beta1Api.md @@ -0,0 +1,714 @@ +# .StorageV1beta1Api + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**createVolumeAttributesClass**](StorageV1beta1Api.md#createVolumeAttributesClass) | **POST** /apis/storage.k8s.io/v1beta1/volumeattributesclasses | +[**deleteCollectionVolumeAttributesClass**](StorageV1beta1Api.md#deleteCollectionVolumeAttributesClass) | **DELETE** /apis/storage.k8s.io/v1beta1/volumeattributesclasses | +[**deleteVolumeAttributesClass**](StorageV1beta1Api.md#deleteVolumeAttributesClass) | **DELETE** /apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name} | +[**getAPIResources**](StorageV1beta1Api.md#getAPIResources) | **GET** /apis/storage.k8s.io/v1beta1/ | +[**listVolumeAttributesClass**](StorageV1beta1Api.md#listVolumeAttributesClass) | **GET** /apis/storage.k8s.io/v1beta1/volumeattributesclasses | +[**patchVolumeAttributesClass**](StorageV1beta1Api.md#patchVolumeAttributesClass) | **PATCH** /apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name} | +[**readVolumeAttributesClass**](StorageV1beta1Api.md#readVolumeAttributesClass) | **GET** /apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name} | +[**replaceVolumeAttributesClass**](StorageV1beta1Api.md#replaceVolumeAttributesClass) | **PUT** /apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name} | + + +# **createVolumeAttributesClass** +> V1beta1VolumeAttributesClass createVolumeAttributesClass(body) + +create a VolumeAttributesClass + +### Example + + +```typescript +import { createConfiguration, StorageV1beta1Api } from ''; +import type { StorageV1beta1ApiCreateVolumeAttributesClassRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new StorageV1beta1Api(configuration); + +const request: StorageV1beta1ApiCreateVolumeAttributesClassRequest = { + + body: { + apiVersion: "apiVersion_example", + driverName: "driverName_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + parameters: { + "key": "key_example", + }, + }, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", +}; + +const data = await apiInstance.createVolumeAttributesClass(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1beta1VolumeAttributesClass**| | + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + + +### Return type + +**V1beta1VolumeAttributesClass** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **deleteCollectionVolumeAttributesClass** +> V1Status deleteCollectionVolumeAttributesClass() + +delete collection of VolumeAttributesClass + +### Example + + +```typescript +import { createConfiguration, StorageV1beta1Api } from ''; +import type { StorageV1beta1ApiDeleteCollectionVolumeAttributesClassRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new StorageV1beta1Api(configuration); + +const request: StorageV1beta1ApiDeleteCollectionVolumeAttributesClassRequest = { + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + _continue: "continue_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + fieldSelector: "fieldSelector_example", + // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, + // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + labelSelector: "labelSelector_example", + // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + limit: 1, + // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + orphanDependents: true, + // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) + propagationPolicy: "propagationPolicy_example", + // resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersion: "resourceVersion_example", + // resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersionMatch: "resourceVersionMatch_example", + // `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + sendInitialEvents: true, + // Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + timeoutSeconds: 1, + + body: { + apiVersion: "apiVersion_example", + dryRun: [ + "dryRun_example", + ], + gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, + kind: "kind_example", + orphanDependents: true, + preconditions: { + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + propagationPolicy: "propagationPolicy_example", + }, +}; + +const data = await apiInstance.deleteCollectionVolumeAttributesClass(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1DeleteOptions**| | + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **_continue** | [**string**] | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined + **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined + **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined + **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined + **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined + **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined + **resourceVersion** | [**string**] | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **resourceVersionMatch** | [**string**] | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **sendInitialEvents** | [**boolean**] | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | (optional) defaults to undefined + **timeoutSeconds** | [**number**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | (optional) defaults to undefined + + +### Return type + +**V1Status** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **deleteVolumeAttributesClass** +> V1beta1VolumeAttributesClass deleteVolumeAttributesClass() + +delete a VolumeAttributesClass + +### Example + + +```typescript +import { createConfiguration, StorageV1beta1Api } from ''; +import type { StorageV1beta1ApiDeleteVolumeAttributesClassRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new StorageV1beta1Api(configuration); + +const request: StorageV1beta1ApiDeleteVolumeAttributesClassRequest = { + // name of the VolumeAttributesClass + name: "name_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) + gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, + // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) + orphanDependents: true, + // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) + propagationPolicy: "propagationPolicy_example", + + body: { + apiVersion: "apiVersion_example", + dryRun: [ + "dryRun_example", + ], + gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, + kind: "kind_example", + orphanDependents: true, + preconditions: { + resourceVersion: "resourceVersion_example", + uid: "uid_example", + }, + propagationPolicy: "propagationPolicy_example", + }, +}; + +const data = await apiInstance.deleteVolumeAttributesClass(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1DeleteOptions**| | + **name** | [**string**] | name of the VolumeAttributesClass | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined + **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined + **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined + + +### Return type + +**V1beta1VolumeAttributesClass** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **getAPIResources** +> V1APIResourceList getAPIResources() + +get available resources + +### Example + + +```typescript +import { createConfiguration, StorageV1beta1Api } from ''; + +const configuration = createConfiguration(); +const apiInstance = new StorageV1beta1Api(configuration); + +const request = {}; + +const data = await apiInstance.getAPIResources(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters +This endpoint does not need any parameter. + + +### Return type + +**V1APIResourceList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **listVolumeAttributesClass** +> V1beta1VolumeAttributesClassList listVolumeAttributesClass() + +list or watch objects of kind VolumeAttributesClass + +### Example + + +```typescript +import { createConfiguration, StorageV1beta1Api } from ''; +import type { StorageV1beta1ApiListVolumeAttributesClassRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new StorageV1beta1Api(configuration); + +const request: StorageV1beta1ApiListVolumeAttributesClassRequest = { + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. (optional) + allowWatchBookmarks: true, + // The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) + _continue: "continue_example", + // A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) + fieldSelector: "fieldSelector_example", + // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) + labelSelector: "labelSelector_example", + // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) + limit: 1, + // resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersion: "resourceVersion_example", + // resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset (optional) + resourceVersionMatch: "resourceVersionMatch_example", + // `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. (optional) + sendInitialEvents: true, + // Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) + timeoutSeconds: 1, + // Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + watch: true, +}; + +const data = await apiInstance.listVolumeAttributesClass(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **allowWatchBookmarks** | [**boolean**] | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. | (optional) defaults to undefined + **_continue** | [**string**] | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | (optional) defaults to undefined + **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined + **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined + **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined + **resourceVersion** | [**string**] | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **resourceVersionMatch** | [**string**] | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | (optional) defaults to undefined + **sendInitialEvents** | [**boolean**] | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | (optional) defaults to undefined + **timeoutSeconds** | [**number**] | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | (optional) defaults to undefined + **watch** | [**boolean**] | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | (optional) defaults to undefined + + +### Return type + +**V1beta1VolumeAttributesClassList** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **patchVolumeAttributesClass** +> V1beta1VolumeAttributesClass patchVolumeAttributesClass(body) + +partially update the specified VolumeAttributesClass + +### Example + + +```typescript +import { createConfiguration, StorageV1beta1Api } from ''; +import type { StorageV1beta1ApiPatchVolumeAttributesClassRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new StorageV1beta1Api(configuration); + +const request: StorageV1beta1ApiPatchVolumeAttributesClassRequest = { + // name of the VolumeAttributesClass + name: "name_example", + + body: {}, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", + // Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + force: true, +}; + +const data = await apiInstance.patchVolumeAttributesClass(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **any**| | + **name** | [**string**] | name of the VolumeAttributesClass | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + **force** | [**boolean**] | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | (optional) defaults to undefined + + +### Return type + +**V1beta1VolumeAttributesClass** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **readVolumeAttributesClass** +> V1beta1VolumeAttributesClass readVolumeAttributesClass() + +read the specified VolumeAttributesClass + +### Example + + +```typescript +import { createConfiguration, StorageV1beta1Api } from ''; +import type { StorageV1beta1ApiReadVolumeAttributesClassRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new StorageV1beta1Api(configuration); + +const request: StorageV1beta1ApiReadVolumeAttributesClassRequest = { + // name of the VolumeAttributesClass + name: "name_example", + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", +}; + +const data = await apiInstance.readVolumeAttributesClass(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | [**string**] | name of the VolumeAttributesClass | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + + +### Return type + +**V1beta1VolumeAttributesClass** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + +# **replaceVolumeAttributesClass** +> V1beta1VolumeAttributesClass replaceVolumeAttributesClass(body) + +replace the specified VolumeAttributesClass + +### Example + + +```typescript +import { createConfiguration, StorageV1beta1Api } from ''; +import type { StorageV1beta1ApiReplaceVolumeAttributesClassRequest } from ''; + +const configuration = createConfiguration(); +const apiInstance = new StorageV1beta1Api(configuration); + +const request: StorageV1beta1ApiReplaceVolumeAttributesClassRequest = { + // name of the VolumeAttributesClass + name: "name_example", + + body: { + apiVersion: "apiVersion_example", + driverName: "driverName_example", + kind: "kind_example", + metadata: { + annotations: { + "key": "key_example", + }, + creationTimestamp: new Date('1970-01-01T00:00:00.00Z'), + deletionGracePeriodSeconds: 1, + deletionTimestamp: new Date('1970-01-01T00:00:00.00Z'), + finalizers: [ + "finalizers_example", + ], + generateName: "generateName_example", + generation: 1, + labels: { + "key": "key_example", + }, + managedFields: [ + { + apiVersion: "apiVersion_example", + fieldsType: "fieldsType_example", + fieldsV1: {}, + manager: "manager_example", + operation: "operation_example", + subresource: "subresource_example", + time: new Date('1970-01-01T00:00:00.00Z'), + }, + ], + name: "name_example", + namespace: "namespace_example", + ownerReferences: [ + { + apiVersion: "apiVersion_example", + blockOwnerDeletion: true, + controller: true, + kind: "kind_example", + name: "name_example", + uid: "uid_example", + }, + ], + resourceVersion: "resourceVersion_example", + selfLink: "selfLink_example", + uid: "uid_example", + }, + parameters: { + "key": "key_example", + }, + }, + // If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional) + pretty: "pretty_example", + // When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) + dryRun: "dryRun_example", + // fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + fieldManager: "fieldManager_example", + // fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) + fieldValidation: "fieldValidation_example", +}; + +const data = await apiInstance.replaceVolumeAttributesClass(request); +console.log('API called successfully. Returned data:', data); +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | **V1beta1VolumeAttributesClass**| | + **name** | [**string**] | name of the VolumeAttributesClass | defaults to undefined + **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined + **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined + **fieldManager** | [**string**] | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | (optional) defaults to undefined + **fieldValidation** | [**string**] | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | (optional) defaults to undefined + + +### Return type + +**V1beta1VolumeAttributesClass** + +### Authorization + +[BearerToken](README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md) + + diff --git a/src/gen/StoragemigrationV1alpha1Api.md b/src/gen/StoragemigrationV1alpha1Api.md index 59732f3efdf..10d77ca10c5 100644 --- a/src/gen/StoragemigrationV1alpha1Api.md +++ b/src/gen/StoragemigrationV1alpha1Api.md @@ -137,7 +137,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -176,6 +176,8 @@ const request: StoragemigrationV1alpha1ApiDeleteCollectionStorageVersionMigratio fieldSelector: "fieldSelector_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) labelSelector: "labelSelector_example", // limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) @@ -199,6 +201,7 @@ const request: StoragemigrationV1alpha1ApiDeleteCollectionStorageVersionMigratio "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -224,6 +227,7 @@ Name | Type | Description | Notes **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **fieldSelector** | [**string**] | A selector to restrict the list of returned objects by their fields. Defaults to everything. | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **labelSelector** | [**string**] | A selector to restrict the list of returned objects by their labels. Defaults to everything. | (optional) defaults to undefined **limit** | [**number**] | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined @@ -245,7 +249,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -280,6 +284,8 @@ const request: StoragemigrationV1alpha1ApiDeleteStorageVersionMigrationRequest = dryRun: "dryRun_example", // The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional) gracePeriodSeconds: 1, + // if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it (optional) + ignoreStoreReadErrorWithClusterBreakingPotential: true, // Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. (optional) orphanDependents: true, // Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. (optional) @@ -291,6 +297,7 @@ const request: StoragemigrationV1alpha1ApiDeleteStorageVersionMigrationRequest = "dryRun_example", ], gracePeriodSeconds: 1, + ignoreStoreReadErrorWithClusterBreakingPotential: true, kind: "kind_example", orphanDependents: true, preconditions: { @@ -315,6 +322,7 @@ Name | Type | Description | Notes **pretty** | [**string**] | If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | (optional) defaults to undefined **dryRun** | [**string**] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | (optional) defaults to undefined **gracePeriodSeconds** | [**number**] | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | (optional) defaults to undefined + **ignoreStoreReadErrorWithClusterBreakingPotential** | [**boolean**] | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it | (optional) defaults to undefined **orphanDependents** | [**boolean**] | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. | (optional) defaults to undefined **propagationPolicy** | [**string**] | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. | (optional) defaults to undefined @@ -330,7 +338,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -378,7 +386,7 @@ This endpoint does not need any parameter. ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -462,7 +470,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch, application/cbor-seq ### HTTP response details @@ -533,8 +541,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -606,8 +614,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml, application/apply-patch+cbor + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -665,7 +673,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -722,7 +730,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -856,7 +864,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details @@ -991,7 +999,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/cbor ### HTTP response details diff --git a/src/gen/apis/AdmissionregistrationApi.ts b/src/gen/apis/AdmissionregistrationApi.ts index f677520bb6b..f9ab641661d 100644 --- a/src/gen/apis/AdmissionregistrationApi.ts +++ b/src/gen/apis/AdmissionregistrationApi.ts @@ -1,16 +1,16 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIGroup } from '../models/V1APIGroup.js'; +import { V1APIGroup } from '../models/V1APIGroup'; /** * no description diff --git a/src/gen/apis/AdmissionregistrationV1Api.ts b/src/gen/apis/AdmissionregistrationV1Api.ts index bec7e20116a..7ee78f082b3 100644 --- a/src/gen/apis/AdmissionregistrationV1Api.ts +++ b/src/gen/apis/AdmissionregistrationV1Api.ts @@ -1,26 +1,26 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; - - -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1MutatingWebhookConfiguration } from '../models/V1MutatingWebhookConfiguration.js'; -import { V1MutatingWebhookConfigurationList } from '../models/V1MutatingWebhookConfigurationList.js'; -import { V1Status } from '../models/V1Status.js'; -import { V1ValidatingAdmissionPolicy } from '../models/V1ValidatingAdmissionPolicy.js'; -import { V1ValidatingAdmissionPolicyBinding } from '../models/V1ValidatingAdmissionPolicyBinding.js'; -import { V1ValidatingAdmissionPolicyBindingList } from '../models/V1ValidatingAdmissionPolicyBindingList.js'; -import { V1ValidatingAdmissionPolicyList } from '../models/V1ValidatingAdmissionPolicyList.js'; -import { V1ValidatingWebhookConfiguration } from '../models/V1ValidatingWebhookConfiguration.js'; -import { V1ValidatingWebhookConfigurationList } from '../models/V1ValidatingWebhookConfigurationList.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1MutatingWebhookConfiguration } from '../models/V1MutatingWebhookConfiguration'; +import { V1MutatingWebhookConfigurationList } from '../models/V1MutatingWebhookConfigurationList'; +import { V1Status } from '../models/V1Status'; +import { V1ValidatingAdmissionPolicy } from '../models/V1ValidatingAdmissionPolicy'; +import { V1ValidatingAdmissionPolicyBinding } from '../models/V1ValidatingAdmissionPolicyBinding'; +import { V1ValidatingAdmissionPolicyBindingList } from '../models/V1ValidatingAdmissionPolicyBindingList'; +import { V1ValidatingAdmissionPolicyList } from '../models/V1ValidatingAdmissionPolicyList'; +import { V1ValidatingWebhookConfiguration } from '../models/V1ValidatingWebhookConfiguration'; +import { V1ValidatingWebhookConfigurationList } from '../models/V1ValidatingWebhookConfigurationList'; /** * no description @@ -326,6 +326,7 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -336,7 +337,7 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionMutatingWebhookConfiguration(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionMutatingWebhookConfiguration(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -353,6 +354,7 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact + // Path Params const localVarPath = '/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations'; @@ -385,6 +387,11 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -457,6 +464,7 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -467,7 +475,7 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionValidatingAdmissionPolicy(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionValidatingAdmissionPolicy(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -484,6 +492,7 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact + // Path Params const localVarPath = '/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies'; @@ -516,6 +525,11 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -588,6 +602,7 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -598,7 +613,7 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionValidatingAdmissionPolicyBinding(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionValidatingAdmissionPolicyBinding(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -615,6 +630,7 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact + // Path Params const localVarPath = '/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings'; @@ -647,6 +663,11 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -719,6 +740,7 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -729,7 +751,7 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionValidatingWebhookConfiguration(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionValidatingWebhookConfiguration(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -746,6 +768,7 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact + // Path Params const localVarPath = '/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations'; @@ -778,6 +801,11 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -849,11 +877,12 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteMutatingWebhookConfiguration(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteMutatingWebhookConfiguration(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -868,6 +897,7 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact + // Path Params const localVarPath = '/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); @@ -891,6 +921,11 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -932,11 +967,12 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteValidatingAdmissionPolicy(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteValidatingAdmissionPolicy(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -951,6 +987,7 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact + // Path Params const localVarPath = '/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); @@ -974,6 +1011,11 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -1015,11 +1057,12 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteValidatingAdmissionPolicyBinding(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteValidatingAdmissionPolicyBinding(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -1034,6 +1077,7 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact + // Path Params const localVarPath = '/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); @@ -1057,6 +1101,11 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -1098,11 +1147,12 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteValidatingWebhookConfiguration(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteValidatingWebhookConfiguration(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -1117,6 +1167,7 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact + // Path Params const localVarPath = '/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); @@ -1140,6 +1191,11 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -1700,7 +1756,9 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -1796,7 +1854,9 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -1892,7 +1952,9 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -1988,7 +2050,9 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -2084,7 +2148,9 @@ export class AdmissionregistrationV1ApiRequestFactory extends BaseAPIRequestFact "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( diff --git a/src/gen/apis/AdmissionregistrationV1alpha1Api.ts b/src/gen/apis/AdmissionregistrationV1alpha1Api.ts index fb7638b8f42..f74668ca709 100644 --- a/src/gen/apis/AdmissionregistrationV1alpha1Api.ts +++ b/src/gen/apis/AdmissionregistrationV1alpha1Api.ts @@ -1,22 +1,22 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1Status } from '../models/V1Status.js'; -import { V1alpha1ValidatingAdmissionPolicy } from '../models/V1alpha1ValidatingAdmissionPolicy.js'; -import { V1alpha1ValidatingAdmissionPolicyBinding } from '../models/V1alpha1ValidatingAdmissionPolicyBinding.js'; -import { V1alpha1ValidatingAdmissionPolicyBindingList } from '../models/V1alpha1ValidatingAdmissionPolicyBindingList.js'; -import { V1alpha1ValidatingAdmissionPolicyList } from '../models/V1alpha1ValidatingAdmissionPolicyList.js'; +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1Status } from '../models/V1Status'; +import { V1alpha1MutatingAdmissionPolicy } from '../models/V1alpha1MutatingAdmissionPolicy'; +import { V1alpha1MutatingAdmissionPolicyBinding } from '../models/V1alpha1MutatingAdmissionPolicyBinding'; +import { V1alpha1MutatingAdmissionPolicyBindingList } from '../models/V1alpha1MutatingAdmissionPolicyBindingList'; +import { V1alpha1MutatingAdmissionPolicyList } from '../models/V1alpha1MutatingAdmissionPolicyList'; /** * no description @@ -24,19 +24,19 @@ import { V1alpha1ValidatingAdmissionPolicyList } from '../models/V1alpha1Validat export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIRequestFactory { /** - * create a ValidatingAdmissionPolicy + * create a MutatingAdmissionPolicy * @param body * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public async createValidatingAdmissionPolicy(body: V1alpha1ValidatingAdmissionPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + public async createMutatingAdmissionPolicy(body: V1alpha1MutatingAdmissionPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'body' is not null or undefined if (body === null || body === undefined) { - throw new RequiredError("AdmissionregistrationV1alpha1Api", "createValidatingAdmissionPolicy", "body"); + throw new RequiredError("AdmissionregistrationV1alpha1Api", "createMutatingAdmissionPolicy", "body"); } @@ -45,7 +45,7 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque // Path Params - const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies'; + const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies'; // Make Request Context const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); @@ -76,7 +76,7 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque const contentType = ObjectSerializer.getPreferredMediaType([]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( - ObjectSerializer.serialize(body, "V1alpha1ValidatingAdmissionPolicy", ""), + ObjectSerializer.serialize(body, "V1alpha1MutatingAdmissionPolicy", ""), contentType ); requestContext.setBody(serializedBody); @@ -97,19 +97,19 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque } /** - * create a ValidatingAdmissionPolicyBinding + * create a MutatingAdmissionPolicyBinding * @param body * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public async createValidatingAdmissionPolicyBinding(body: V1alpha1ValidatingAdmissionPolicyBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + public async createMutatingAdmissionPolicyBinding(body: V1alpha1MutatingAdmissionPolicyBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'body' is not null or undefined if (body === null || body === undefined) { - throw new RequiredError("AdmissionregistrationV1alpha1Api", "createValidatingAdmissionPolicyBinding", "body"); + throw new RequiredError("AdmissionregistrationV1alpha1Api", "createMutatingAdmissionPolicyBinding", "body"); } @@ -118,7 +118,7 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque // Path Params - const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicybindings'; + const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings'; // Make Request Context const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); @@ -149,7 +149,7 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque const contentType = ObjectSerializer.getPreferredMediaType([]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( - ObjectSerializer.serialize(body, "V1alpha1ValidatingAdmissionPolicyBinding", ""), + ObjectSerializer.serialize(body, "V1alpha1MutatingAdmissionPolicyBinding", ""), contentType ); requestContext.setBody(serializedBody); @@ -170,12 +170,13 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque } /** - * delete collection of ValidatingAdmissionPolicy + * delete collection of MutatingAdmissionPolicy * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -186,7 +187,7 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionValidatingAdmissionPolicy(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionMutatingAdmissionPolicy(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -203,8 +204,9 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque + // Path Params - const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies'; + const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies'; // Make Request Context const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); @@ -235,6 +237,11 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -301,12 +308,13 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque } /** - * delete collection of ValidatingAdmissionPolicyBinding + * delete collection of MutatingAdmissionPolicyBinding * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -317,7 +325,7 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionValidatingAdmissionPolicyBinding(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionMutatingAdmissionPolicyBinding(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -334,8 +342,9 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque + // Path Params - const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicybindings'; + const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings'; // Make Request Context const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); @@ -366,6 +375,11 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -432,21 +446,22 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque } /** - * delete a ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy + * delete a MutatingAdmissionPolicy + * @param name name of the MutatingAdmissionPolicy * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteValidatingAdmissionPolicy(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteMutatingAdmissionPolicy(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined if (name === null || name === undefined) { - throw new RequiredError("AdmissionregistrationV1alpha1Api", "deleteValidatingAdmissionPolicy", "name"); + throw new RequiredError("AdmissionregistrationV1alpha1Api", "deleteMutatingAdmissionPolicy", "name"); } @@ -456,8 +471,9 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque + // Path Params - const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies/{name}' + const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); // Make Request Context @@ -479,6 +495,11 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -515,21 +536,22 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque } /** - * delete a ValidatingAdmissionPolicyBinding - * @param name name of the ValidatingAdmissionPolicyBinding + * delete a MutatingAdmissionPolicyBinding + * @param name name of the MutatingAdmissionPolicyBinding * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteValidatingAdmissionPolicyBinding(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteMutatingAdmissionPolicyBinding(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined if (name === null || name === undefined) { - throw new RequiredError("AdmissionregistrationV1alpha1Api", "deleteValidatingAdmissionPolicyBinding", "name"); + throw new RequiredError("AdmissionregistrationV1alpha1Api", "deleteMutatingAdmissionPolicyBinding", "name"); } @@ -539,8 +561,9 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque + // Path Params - const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicybindings/{name}' + const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); // Make Request Context @@ -562,6 +585,11 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -627,7 +655,7 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque } /** - * list or watch objects of kind ValidatingAdmissionPolicy + * list or watch objects of kind MutatingAdmissionPolicy * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -640,7 +668,7 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public async listValidatingAdmissionPolicy(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + public async listMutatingAdmissionPolicy(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -655,7 +683,7 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque // Path Params - const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies'; + const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies'; // Make Request Context const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); @@ -733,7 +761,7 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque } /** - * list or watch objects of kind ValidatingAdmissionPolicyBinding + * list or watch objects of kind MutatingAdmissionPolicyBinding * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -746,7 +774,7 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public async listValidatingAdmissionPolicyBinding(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + public async listMutatingAdmissionPolicyBinding(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -761,7 +789,7 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque // Path Params - const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicybindings'; + const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings'; // Make Request Context const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); @@ -839,8 +867,8 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque } /** - * partially update the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy + * partially update the specified MutatingAdmissionPolicy + * @param name name of the MutatingAdmissionPolicy * @param body * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -848,18 +876,18 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public async patchValidatingAdmissionPolicy(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + public async patchMutatingAdmissionPolicy(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined if (name === null || name === undefined) { - throw new RequiredError("AdmissionregistrationV1alpha1Api", "patchValidatingAdmissionPolicy", "name"); + throw new RequiredError("AdmissionregistrationV1alpha1Api", "patchMutatingAdmissionPolicy", "name"); } // verify required parameter 'body' is not null or undefined if (body === null || body === undefined) { - throw new RequiredError("AdmissionregistrationV1alpha1Api", "patchValidatingAdmissionPolicy", "body"); + throw new RequiredError("AdmissionregistrationV1alpha1Api", "patchMutatingAdmissionPolicy", "body"); } @@ -869,7 +897,7 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque // Path Params - const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies/{name}' + const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); // Make Request Context @@ -910,103 +938,9 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ]); - requestContext.setHeaderParam("Content-Type", contentType); - const serializedBody = ObjectSerializer.stringify( - ObjectSerializer.serialize(body, "any", ""), - contentType - ); - requestContext.setBody(serializedBody); - - let authMethod: SecurityAuthentication | undefined; - // Apply auth methods - authMethod = _config.authMethods["BearerToken"] - if (authMethod?.applySecurityAuthentication) { - await authMethod?.applySecurityAuthentication(requestContext); - } + "application/apply-patch+yaml", - const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default - if (defaultAuth?.applySecurityAuthentication) { - await defaultAuth?.applySecurityAuthentication(requestContext); - } - - return requestContext; - } - - /** - * partially update the specified ValidatingAdmissionPolicyBinding - * @param name name of the ValidatingAdmissionPolicyBinding - * @param body - * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public async patchValidatingAdmissionPolicyBinding(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { - let _config = _options || this.configuration; - - // verify required parameter 'name' is not null or undefined - if (name === null || name === undefined) { - throw new RequiredError("AdmissionregistrationV1alpha1Api", "patchValidatingAdmissionPolicyBinding", "name"); - } - - - // verify required parameter 'body' is not null or undefined - if (body === null || body === undefined) { - throw new RequiredError("AdmissionregistrationV1alpha1Api", "patchValidatingAdmissionPolicyBinding", "body"); - } - - - - - - - - // Path Params - const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicybindings/{name}' - .replace('{' + 'name' + '}', encodeURIComponent(String(name))); - - // Make Request Context - const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PATCH); - requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") - - // Query Params - if (pretty !== undefined) { - requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); - } - - // Query Params - if (dryRun !== undefined) { - requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); - } - - // Query Params - if (fieldManager !== undefined) { - requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); - } - - // Query Params - if (fieldValidation !== undefined) { - requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); - } - - // Query Params - if (force !== undefined) { - requestContext.setQueryParam("force", ObjectSerializer.serialize(force, "boolean", "")); - } - - - // Body Params - const contentType = ObjectSerializer.getPreferredMediaType([ - "application/json-patch+json", - - "application/merge-patch+json", - - "application/strategic-merge-patch+json", - - "application/apply-patch+yaml" + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -1031,8 +965,8 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque } /** - * partially update status of the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy + * partially update the specified MutatingAdmissionPolicyBinding + * @param name name of the MutatingAdmissionPolicyBinding * @param body * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -1040,18 +974,18 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public async patchValidatingAdmissionPolicyStatus(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + public async patchMutatingAdmissionPolicyBinding(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined if (name === null || name === undefined) { - throw new RequiredError("AdmissionregistrationV1alpha1Api", "patchValidatingAdmissionPolicyStatus", "name"); + throw new RequiredError("AdmissionregistrationV1alpha1Api", "patchMutatingAdmissionPolicyBinding", "name"); } // verify required parameter 'body' is not null or undefined if (body === null || body === undefined) { - throw new RequiredError("AdmissionregistrationV1alpha1Api", "patchValidatingAdmissionPolicyStatus", "body"); + throw new RequiredError("AdmissionregistrationV1alpha1Api", "patchMutatingAdmissionPolicyBinding", "body"); } @@ -1061,7 +995,7 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque // Path Params - const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies/{name}/status' + const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); // Make Request Context @@ -1102,7 +1036,9 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -1127,66 +1063,22 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque } /** - * read the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy - * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public async readValidatingAdmissionPolicy(name: string, pretty?: string, _options?: Configuration): Promise { - let _config = _options || this.configuration; - - // verify required parameter 'name' is not null or undefined - if (name === null || name === undefined) { - throw new RequiredError("AdmissionregistrationV1alpha1Api", "readValidatingAdmissionPolicy", "name"); - } - - - - // Path Params - const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies/{name}' - .replace('{' + 'name' + '}', encodeURIComponent(String(name))); - - // Make Request Context - const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); - requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") - - // Query Params - if (pretty !== undefined) { - requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); - } - - - let authMethod: SecurityAuthentication | undefined; - // Apply auth methods - authMethod = _config.authMethods["BearerToken"] - if (authMethod?.applySecurityAuthentication) { - await authMethod?.applySecurityAuthentication(requestContext); - } - - const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default - if (defaultAuth?.applySecurityAuthentication) { - await defaultAuth?.applySecurityAuthentication(requestContext); - } - - return requestContext; - } - - /** - * read the specified ValidatingAdmissionPolicyBinding - * @param name name of the ValidatingAdmissionPolicyBinding + * read the specified MutatingAdmissionPolicy + * @param name name of the MutatingAdmissionPolicy * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public async readValidatingAdmissionPolicyBinding(name: string, pretty?: string, _options?: Configuration): Promise { + public async readMutatingAdmissionPolicy(name: string, pretty?: string, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined if (name === null || name === undefined) { - throw new RequiredError("AdmissionregistrationV1alpha1Api", "readValidatingAdmissionPolicyBinding", "name"); + throw new RequiredError("AdmissionregistrationV1alpha1Api", "readMutatingAdmissionPolicy", "name"); } // Path Params - const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicybindings/{name}' + const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); // Make Request Context @@ -1215,22 +1107,22 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque } /** - * read status of the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy + * read the specified MutatingAdmissionPolicyBinding + * @param name name of the MutatingAdmissionPolicyBinding * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public async readValidatingAdmissionPolicyStatus(name: string, pretty?: string, _options?: Configuration): Promise { + public async readMutatingAdmissionPolicyBinding(name: string, pretty?: string, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined if (name === null || name === undefined) { - throw new RequiredError("AdmissionregistrationV1alpha1Api", "readValidatingAdmissionPolicyStatus", "name"); + throw new RequiredError("AdmissionregistrationV1alpha1Api", "readMutatingAdmissionPolicyBinding", "name"); } // Path Params - const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies/{name}/status' + const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); // Make Request Context @@ -1259,107 +1151,26 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque } /** - * replace the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy - * @param body - * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - */ - public async replaceValidatingAdmissionPolicy(name: string, body: V1alpha1ValidatingAdmissionPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - let _config = _options || this.configuration; - - // verify required parameter 'name' is not null or undefined - if (name === null || name === undefined) { - throw new RequiredError("AdmissionregistrationV1alpha1Api", "replaceValidatingAdmissionPolicy", "name"); - } - - - // verify required parameter 'body' is not null or undefined - if (body === null || body === undefined) { - throw new RequiredError("AdmissionregistrationV1alpha1Api", "replaceValidatingAdmissionPolicy", "body"); - } - - - - - - - // Path Params - const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies/{name}' - .replace('{' + 'name' + '}', encodeURIComponent(String(name))); - - // Make Request Context - const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); - requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") - - // Query Params - if (pretty !== undefined) { - requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); - } - - // Query Params - if (dryRun !== undefined) { - requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); - } - - // Query Params - if (fieldManager !== undefined) { - requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); - } - - // Query Params - if (fieldValidation !== undefined) { - requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); - } - - - // Body Params - const contentType = ObjectSerializer.getPreferredMediaType([]); - requestContext.setHeaderParam("Content-Type", contentType); - const serializedBody = ObjectSerializer.stringify( - ObjectSerializer.serialize(body, "V1alpha1ValidatingAdmissionPolicy", ""), - contentType - ); - requestContext.setBody(serializedBody); - - let authMethod: SecurityAuthentication | undefined; - // Apply auth methods - authMethod = _config.authMethods["BearerToken"] - if (authMethod?.applySecurityAuthentication) { - await authMethod?.applySecurityAuthentication(requestContext); - } - - const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default - if (defaultAuth?.applySecurityAuthentication) { - await defaultAuth?.applySecurityAuthentication(requestContext); - } - - return requestContext; - } - - /** - * replace the specified ValidatingAdmissionPolicyBinding - * @param name name of the ValidatingAdmissionPolicyBinding + * replace the specified MutatingAdmissionPolicy + * @param name name of the MutatingAdmissionPolicy * @param body * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public async replaceValidatingAdmissionPolicyBinding(name: string, body: V1alpha1ValidatingAdmissionPolicyBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + public async replaceMutatingAdmissionPolicy(name: string, body: V1alpha1MutatingAdmissionPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined if (name === null || name === undefined) { - throw new RequiredError("AdmissionregistrationV1alpha1Api", "replaceValidatingAdmissionPolicyBinding", "name"); + throw new RequiredError("AdmissionregistrationV1alpha1Api", "replaceMutatingAdmissionPolicy", "name"); } // verify required parameter 'body' is not null or undefined if (body === null || body === undefined) { - throw new RequiredError("AdmissionregistrationV1alpha1Api", "replaceValidatingAdmissionPolicyBinding", "body"); + throw new RequiredError("AdmissionregistrationV1alpha1Api", "replaceMutatingAdmissionPolicy", "body"); } @@ -1368,7 +1179,7 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque // Path Params - const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicybindings/{name}' + const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); // Make Request Context @@ -1400,7 +1211,7 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque const contentType = ObjectSerializer.getPreferredMediaType([]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( - ObjectSerializer.serialize(body, "V1alpha1ValidatingAdmissionPolicyBinding", ""), + ObjectSerializer.serialize(body, "V1alpha1MutatingAdmissionPolicy", ""), contentType ); requestContext.setBody(serializedBody); @@ -1421,26 +1232,26 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque } /** - * replace status of the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy + * replace the specified MutatingAdmissionPolicyBinding + * @param name name of the MutatingAdmissionPolicyBinding * @param body * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public async replaceValidatingAdmissionPolicyStatus(name: string, body: V1alpha1ValidatingAdmissionPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + public async replaceMutatingAdmissionPolicyBinding(name: string, body: V1alpha1MutatingAdmissionPolicyBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined if (name === null || name === undefined) { - throw new RequiredError("AdmissionregistrationV1alpha1Api", "replaceValidatingAdmissionPolicyStatus", "name"); + throw new RequiredError("AdmissionregistrationV1alpha1Api", "replaceMutatingAdmissionPolicyBinding", "name"); } // verify required parameter 'body' is not null or undefined if (body === null || body === undefined) { - throw new RequiredError("AdmissionregistrationV1alpha1Api", "replaceValidatingAdmissionPolicyStatus", "body"); + throw new RequiredError("AdmissionregistrationV1alpha1Api", "replaceMutatingAdmissionPolicyBinding", "body"); } @@ -1449,7 +1260,7 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque // Path Params - const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies/{name}/status' + const localVarPath = '/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); // Make Request Context @@ -1481,7 +1292,7 @@ export class AdmissionregistrationV1alpha1ApiRequestFactory extends BaseAPIReque const contentType = ObjectSerializer.getPreferredMediaType([]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( - ObjectSerializer.serialize(body, "V1alpha1ValidatingAdmissionPolicy", ""), + ObjectSerializer.serialize(body, "V1alpha1MutatingAdmissionPolicyBinding", ""), contentType ); requestContext.setBody(serializedBody); @@ -1509,30 +1320,30 @@ export class AdmissionregistrationV1alpha1ApiResponseProcessor { * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * - * @params response Response returned by the server for a request to createValidatingAdmissionPolicy + * @params response Response returned by the server for a request to createMutatingAdmissionPolicy * @throws ApiException if the response code was not in [200, 299] */ - public async createValidatingAdmissionPolicyWithHttpInfo(response: ResponseContext): Promise> { + public async createMutatingAdmissionPolicyWithHttpInfo(response: ResponseContext): Promise> { const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); if (isCodeInRange("200", response.httpStatusCode)) { - const body: V1alpha1ValidatingAdmissionPolicy = ObjectSerializer.deserialize( + const body: V1alpha1MutatingAdmissionPolicy = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicy", "" - ) as V1alpha1ValidatingAdmissionPolicy; + "V1alpha1MutatingAdmissionPolicy", "" + ) as V1alpha1MutatingAdmissionPolicy; return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); } if (isCodeInRange("201", response.httpStatusCode)) { - const body: V1alpha1ValidatingAdmissionPolicy = ObjectSerializer.deserialize( + const body: V1alpha1MutatingAdmissionPolicy = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicy", "" - ) as V1alpha1ValidatingAdmissionPolicy; + "V1alpha1MutatingAdmissionPolicy", "" + ) as V1alpha1MutatingAdmissionPolicy; return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); } if (isCodeInRange("202", response.httpStatusCode)) { - const body: V1alpha1ValidatingAdmissionPolicy = ObjectSerializer.deserialize( + const body: V1alpha1MutatingAdmissionPolicy = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicy", "" - ) as V1alpha1ValidatingAdmissionPolicy; + "V1alpha1MutatingAdmissionPolicy", "" + ) as V1alpha1MutatingAdmissionPolicy; return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); } if (isCodeInRange("401", response.httpStatusCode)) { @@ -1541,10 +1352,10 @@ export class AdmissionregistrationV1alpha1ApiResponseProcessor { // Work around for missing responses in specification, e.g. for petstore.yaml if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { - const body: V1alpha1ValidatingAdmissionPolicy = ObjectSerializer.deserialize( + const body: V1alpha1MutatingAdmissionPolicy = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicy", "" - ) as V1alpha1ValidatingAdmissionPolicy; + "V1alpha1MutatingAdmissionPolicy", "" + ) as V1alpha1MutatingAdmissionPolicy; return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); } @@ -1555,30 +1366,30 @@ export class AdmissionregistrationV1alpha1ApiResponseProcessor { * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * - * @params response Response returned by the server for a request to createValidatingAdmissionPolicyBinding + * @params response Response returned by the server for a request to createMutatingAdmissionPolicyBinding * @throws ApiException if the response code was not in [200, 299] */ - public async createValidatingAdmissionPolicyBindingWithHttpInfo(response: ResponseContext): Promise> { + public async createMutatingAdmissionPolicyBindingWithHttpInfo(response: ResponseContext): Promise> { const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); if (isCodeInRange("200", response.httpStatusCode)) { - const body: V1alpha1ValidatingAdmissionPolicyBinding = ObjectSerializer.deserialize( + const body: V1alpha1MutatingAdmissionPolicyBinding = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicyBinding", "" - ) as V1alpha1ValidatingAdmissionPolicyBinding; + "V1alpha1MutatingAdmissionPolicyBinding", "" + ) as V1alpha1MutatingAdmissionPolicyBinding; return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); } if (isCodeInRange("201", response.httpStatusCode)) { - const body: V1alpha1ValidatingAdmissionPolicyBinding = ObjectSerializer.deserialize( + const body: V1alpha1MutatingAdmissionPolicyBinding = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicyBinding", "" - ) as V1alpha1ValidatingAdmissionPolicyBinding; + "V1alpha1MutatingAdmissionPolicyBinding", "" + ) as V1alpha1MutatingAdmissionPolicyBinding; return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); } if (isCodeInRange("202", response.httpStatusCode)) { - const body: V1alpha1ValidatingAdmissionPolicyBinding = ObjectSerializer.deserialize( + const body: V1alpha1MutatingAdmissionPolicyBinding = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicyBinding", "" - ) as V1alpha1ValidatingAdmissionPolicyBinding; + "V1alpha1MutatingAdmissionPolicyBinding", "" + ) as V1alpha1MutatingAdmissionPolicyBinding; return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); } if (isCodeInRange("401", response.httpStatusCode)) { @@ -1587,10 +1398,10 @@ export class AdmissionregistrationV1alpha1ApiResponseProcessor { // Work around for missing responses in specification, e.g. for petstore.yaml if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { - const body: V1alpha1ValidatingAdmissionPolicyBinding = ObjectSerializer.deserialize( + const body: V1alpha1MutatingAdmissionPolicyBinding = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicyBinding", "" - ) as V1alpha1ValidatingAdmissionPolicyBinding; + "V1alpha1MutatingAdmissionPolicyBinding", "" + ) as V1alpha1MutatingAdmissionPolicyBinding; return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); } @@ -1601,10 +1412,10 @@ export class AdmissionregistrationV1alpha1ApiResponseProcessor { * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * - * @params response Response returned by the server for a request to deleteCollectionValidatingAdmissionPolicy + * @params response Response returned by the server for a request to deleteCollectionMutatingAdmissionPolicy * @throws ApiException if the response code was not in [200, 299] */ - public async deleteCollectionValidatingAdmissionPolicyWithHttpInfo(response: ResponseContext): Promise> { + public async deleteCollectionMutatingAdmissionPolicyWithHttpInfo(response: ResponseContext): Promise> { const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); if (isCodeInRange("200", response.httpStatusCode)) { const body: V1Status = ObjectSerializer.deserialize( @@ -1633,10 +1444,10 @@ export class AdmissionregistrationV1alpha1ApiResponseProcessor { * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * - * @params response Response returned by the server for a request to deleteCollectionValidatingAdmissionPolicyBinding + * @params response Response returned by the server for a request to deleteCollectionMutatingAdmissionPolicyBinding * @throws ApiException if the response code was not in [200, 299] */ - public async deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(response: ResponseContext): Promise> { + public async deleteCollectionMutatingAdmissionPolicyBindingWithHttpInfo(response: ResponseContext): Promise> { const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); if (isCodeInRange("200", response.httpStatusCode)) { const body: V1Status = ObjectSerializer.deserialize( @@ -1665,10 +1476,10 @@ export class AdmissionregistrationV1alpha1ApiResponseProcessor { * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * - * @params response Response returned by the server for a request to deleteValidatingAdmissionPolicy + * @params response Response returned by the server for a request to deleteMutatingAdmissionPolicy * @throws ApiException if the response code was not in [200, 299] */ - public async deleteValidatingAdmissionPolicyWithHttpInfo(response: ResponseContext): Promise> { + public async deleteMutatingAdmissionPolicyWithHttpInfo(response: ResponseContext): Promise> { const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); if (isCodeInRange("200", response.httpStatusCode)) { const body: V1Status = ObjectSerializer.deserialize( @@ -1704,10 +1515,10 @@ export class AdmissionregistrationV1alpha1ApiResponseProcessor { * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * - * @params response Response returned by the server for a request to deleteValidatingAdmissionPolicyBinding + * @params response Response returned by the server for a request to deleteMutatingAdmissionPolicyBinding * @throws ApiException if the response code was not in [200, 299] */ - public async deleteValidatingAdmissionPolicyBindingWithHttpInfo(response: ResponseContext): Promise> { + public async deleteMutatingAdmissionPolicyBindingWithHttpInfo(response: ResponseContext): Promise> { const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); if (isCodeInRange("200", response.httpStatusCode)) { const body: V1Status = ObjectSerializer.deserialize( @@ -1775,16 +1586,16 @@ export class AdmissionregistrationV1alpha1ApiResponseProcessor { * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * - * @params response Response returned by the server for a request to listValidatingAdmissionPolicy + * @params response Response returned by the server for a request to listMutatingAdmissionPolicy * @throws ApiException if the response code was not in [200, 299] */ - public async listValidatingAdmissionPolicyWithHttpInfo(response: ResponseContext): Promise> { + public async listMutatingAdmissionPolicyWithHttpInfo(response: ResponseContext): Promise> { const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); if (isCodeInRange("200", response.httpStatusCode)) { - const body: V1alpha1ValidatingAdmissionPolicyList = ObjectSerializer.deserialize( + const body: V1alpha1MutatingAdmissionPolicyList = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicyList", "" - ) as V1alpha1ValidatingAdmissionPolicyList; + "V1alpha1MutatingAdmissionPolicyList", "" + ) as V1alpha1MutatingAdmissionPolicyList; return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); } if (isCodeInRange("401", response.httpStatusCode)) { @@ -1793,10 +1604,10 @@ export class AdmissionregistrationV1alpha1ApiResponseProcessor { // Work around for missing responses in specification, e.g. for petstore.yaml if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { - const body: V1alpha1ValidatingAdmissionPolicyList = ObjectSerializer.deserialize( + const body: V1alpha1MutatingAdmissionPolicyList = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicyList", "" - ) as V1alpha1ValidatingAdmissionPolicyList; + "V1alpha1MutatingAdmissionPolicyList", "" + ) as V1alpha1MutatingAdmissionPolicyList; return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); } @@ -1807,16 +1618,16 @@ export class AdmissionregistrationV1alpha1ApiResponseProcessor { * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * - * @params response Response returned by the server for a request to listValidatingAdmissionPolicyBinding + * @params response Response returned by the server for a request to listMutatingAdmissionPolicyBinding * @throws ApiException if the response code was not in [200, 299] */ - public async listValidatingAdmissionPolicyBindingWithHttpInfo(response: ResponseContext): Promise> { + public async listMutatingAdmissionPolicyBindingWithHttpInfo(response: ResponseContext): Promise> { const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); if (isCodeInRange("200", response.httpStatusCode)) { - const body: V1alpha1ValidatingAdmissionPolicyBindingList = ObjectSerializer.deserialize( + const body: V1alpha1MutatingAdmissionPolicyBindingList = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicyBindingList", "" - ) as V1alpha1ValidatingAdmissionPolicyBindingList; + "V1alpha1MutatingAdmissionPolicyBindingList", "" + ) as V1alpha1MutatingAdmissionPolicyBindingList; return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); } if (isCodeInRange("401", response.httpStatusCode)) { @@ -1825,10 +1636,10 @@ export class AdmissionregistrationV1alpha1ApiResponseProcessor { // Work around for missing responses in specification, e.g. for petstore.yaml if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { - const body: V1alpha1ValidatingAdmissionPolicyBindingList = ObjectSerializer.deserialize( + const body: V1alpha1MutatingAdmissionPolicyBindingList = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicyBindingList", "" - ) as V1alpha1ValidatingAdmissionPolicyBindingList; + "V1alpha1MutatingAdmissionPolicyBindingList", "" + ) as V1alpha1MutatingAdmissionPolicyBindingList; return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); } @@ -1839,23 +1650,23 @@ export class AdmissionregistrationV1alpha1ApiResponseProcessor { * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * - * @params response Response returned by the server for a request to patchValidatingAdmissionPolicy + * @params response Response returned by the server for a request to patchMutatingAdmissionPolicy * @throws ApiException if the response code was not in [200, 299] */ - public async patchValidatingAdmissionPolicyWithHttpInfo(response: ResponseContext): Promise> { + public async patchMutatingAdmissionPolicyWithHttpInfo(response: ResponseContext): Promise> { const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); if (isCodeInRange("200", response.httpStatusCode)) { - const body: V1alpha1ValidatingAdmissionPolicy = ObjectSerializer.deserialize( + const body: V1alpha1MutatingAdmissionPolicy = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicy", "" - ) as V1alpha1ValidatingAdmissionPolicy; + "V1alpha1MutatingAdmissionPolicy", "" + ) as V1alpha1MutatingAdmissionPolicy; return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); } if (isCodeInRange("201", response.httpStatusCode)) { - const body: V1alpha1ValidatingAdmissionPolicy = ObjectSerializer.deserialize( + const body: V1alpha1MutatingAdmissionPolicy = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicy", "" - ) as V1alpha1ValidatingAdmissionPolicy; + "V1alpha1MutatingAdmissionPolicy", "" + ) as V1alpha1MutatingAdmissionPolicy; return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); } if (isCodeInRange("401", response.httpStatusCode)) { @@ -1864,10 +1675,10 @@ export class AdmissionregistrationV1alpha1ApiResponseProcessor { // Work around for missing responses in specification, e.g. for petstore.yaml if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { - const body: V1alpha1ValidatingAdmissionPolicy = ObjectSerializer.deserialize( + const body: V1alpha1MutatingAdmissionPolicy = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicy", "" - ) as V1alpha1ValidatingAdmissionPolicy; + "V1alpha1MutatingAdmissionPolicy", "" + ) as V1alpha1MutatingAdmissionPolicy; return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); } @@ -1878,23 +1689,23 @@ export class AdmissionregistrationV1alpha1ApiResponseProcessor { * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * - * @params response Response returned by the server for a request to patchValidatingAdmissionPolicyBinding + * @params response Response returned by the server for a request to patchMutatingAdmissionPolicyBinding * @throws ApiException if the response code was not in [200, 299] */ - public async patchValidatingAdmissionPolicyBindingWithHttpInfo(response: ResponseContext): Promise> { + public async patchMutatingAdmissionPolicyBindingWithHttpInfo(response: ResponseContext): Promise> { const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); if (isCodeInRange("200", response.httpStatusCode)) { - const body: V1alpha1ValidatingAdmissionPolicyBinding = ObjectSerializer.deserialize( + const body: V1alpha1MutatingAdmissionPolicyBinding = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicyBinding", "" - ) as V1alpha1ValidatingAdmissionPolicyBinding; + "V1alpha1MutatingAdmissionPolicyBinding", "" + ) as V1alpha1MutatingAdmissionPolicyBinding; return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); } if (isCodeInRange("201", response.httpStatusCode)) { - const body: V1alpha1ValidatingAdmissionPolicyBinding = ObjectSerializer.deserialize( + const body: V1alpha1MutatingAdmissionPolicyBinding = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicyBinding", "" - ) as V1alpha1ValidatingAdmissionPolicyBinding; + "V1alpha1MutatingAdmissionPolicyBinding", "" + ) as V1alpha1MutatingAdmissionPolicyBinding; return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); } if (isCodeInRange("401", response.httpStatusCode)) { @@ -1903,10 +1714,10 @@ export class AdmissionregistrationV1alpha1ApiResponseProcessor { // Work around for missing responses in specification, e.g. for petstore.yaml if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { - const body: V1alpha1ValidatingAdmissionPolicyBinding = ObjectSerializer.deserialize( + const body: V1alpha1MutatingAdmissionPolicyBinding = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicyBinding", "" - ) as V1alpha1ValidatingAdmissionPolicyBinding; + "V1alpha1MutatingAdmissionPolicyBinding", "" + ) as V1alpha1MutatingAdmissionPolicyBinding; return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); } @@ -1917,23 +1728,16 @@ export class AdmissionregistrationV1alpha1ApiResponseProcessor { * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * - * @params response Response returned by the server for a request to patchValidatingAdmissionPolicyStatus + * @params response Response returned by the server for a request to readMutatingAdmissionPolicy * @throws ApiException if the response code was not in [200, 299] */ - public async patchValidatingAdmissionPolicyStatusWithHttpInfo(response: ResponseContext): Promise> { + public async readMutatingAdmissionPolicyWithHttpInfo(response: ResponseContext): Promise> { const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); if (isCodeInRange("200", response.httpStatusCode)) { - const body: V1alpha1ValidatingAdmissionPolicy = ObjectSerializer.deserialize( + const body: V1alpha1MutatingAdmissionPolicy = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicy", "" - ) as V1alpha1ValidatingAdmissionPolicy; - return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); - } - if (isCodeInRange("201", response.httpStatusCode)) { - const body: V1alpha1ValidatingAdmissionPolicy = ObjectSerializer.deserialize( - ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicy", "" - ) as V1alpha1ValidatingAdmissionPolicy; + "V1alpha1MutatingAdmissionPolicy", "" + ) as V1alpha1MutatingAdmissionPolicy; return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); } if (isCodeInRange("401", response.httpStatusCode)) { @@ -1942,10 +1746,10 @@ export class AdmissionregistrationV1alpha1ApiResponseProcessor { // Work around for missing responses in specification, e.g. for petstore.yaml if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { - const body: V1alpha1ValidatingAdmissionPolicy = ObjectSerializer.deserialize( + const body: V1alpha1MutatingAdmissionPolicy = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicy", "" - ) as V1alpha1ValidatingAdmissionPolicy; + "V1alpha1MutatingAdmissionPolicy", "" + ) as V1alpha1MutatingAdmissionPolicy; return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); } @@ -1956,119 +1760,16 @@ export class AdmissionregistrationV1alpha1ApiResponseProcessor { * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * - * @params response Response returned by the server for a request to readValidatingAdmissionPolicy + * @params response Response returned by the server for a request to readMutatingAdmissionPolicyBinding * @throws ApiException if the response code was not in [200, 299] */ - public async readValidatingAdmissionPolicyWithHttpInfo(response: ResponseContext): Promise> { + public async readMutatingAdmissionPolicyBindingWithHttpInfo(response: ResponseContext): Promise> { const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); if (isCodeInRange("200", response.httpStatusCode)) { - const body: V1alpha1ValidatingAdmissionPolicy = ObjectSerializer.deserialize( - ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicy", "" - ) as V1alpha1ValidatingAdmissionPolicy; - return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); - } - if (isCodeInRange("401", response.httpStatusCode)) { - throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); - } - - // Work around for missing responses in specification, e.g. for petstore.yaml - if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { - const body: V1alpha1ValidatingAdmissionPolicy = ObjectSerializer.deserialize( - ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicy", "" - ) as V1alpha1ValidatingAdmissionPolicy; - return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); - } - - throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); - } - - /** - * Unwraps the actual response sent by the server from the response context and deserializes the response content - * to the expected objects - * - * @params response Response returned by the server for a request to readValidatingAdmissionPolicyBinding - * @throws ApiException if the response code was not in [200, 299] - */ - public async readValidatingAdmissionPolicyBindingWithHttpInfo(response: ResponseContext): Promise> { - const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); - if (isCodeInRange("200", response.httpStatusCode)) { - const body: V1alpha1ValidatingAdmissionPolicyBinding = ObjectSerializer.deserialize( - ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicyBinding", "" - ) as V1alpha1ValidatingAdmissionPolicyBinding; - return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); - } - if (isCodeInRange("401", response.httpStatusCode)) { - throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); - } - - // Work around for missing responses in specification, e.g. for petstore.yaml - if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { - const body: V1alpha1ValidatingAdmissionPolicyBinding = ObjectSerializer.deserialize( - ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicyBinding", "" - ) as V1alpha1ValidatingAdmissionPolicyBinding; - return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); - } - - throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); - } - - /** - * Unwraps the actual response sent by the server from the response context and deserializes the response content - * to the expected objects - * - * @params response Response returned by the server for a request to readValidatingAdmissionPolicyStatus - * @throws ApiException if the response code was not in [200, 299] - */ - public async readValidatingAdmissionPolicyStatusWithHttpInfo(response: ResponseContext): Promise> { - const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); - if (isCodeInRange("200", response.httpStatusCode)) { - const body: V1alpha1ValidatingAdmissionPolicy = ObjectSerializer.deserialize( - ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicy", "" - ) as V1alpha1ValidatingAdmissionPolicy; - return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); - } - if (isCodeInRange("401", response.httpStatusCode)) { - throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); - } - - // Work around for missing responses in specification, e.g. for petstore.yaml - if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { - const body: V1alpha1ValidatingAdmissionPolicy = ObjectSerializer.deserialize( - ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicy", "" - ) as V1alpha1ValidatingAdmissionPolicy; - return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); - } - - throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); - } - - /** - * Unwraps the actual response sent by the server from the response context and deserializes the response content - * to the expected objects - * - * @params response Response returned by the server for a request to replaceValidatingAdmissionPolicy - * @throws ApiException if the response code was not in [200, 299] - */ - public async replaceValidatingAdmissionPolicyWithHttpInfo(response: ResponseContext): Promise> { - const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); - if (isCodeInRange("200", response.httpStatusCode)) { - const body: V1alpha1ValidatingAdmissionPolicy = ObjectSerializer.deserialize( - ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicy", "" - ) as V1alpha1ValidatingAdmissionPolicy; - return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); - } - if (isCodeInRange("201", response.httpStatusCode)) { - const body: V1alpha1ValidatingAdmissionPolicy = ObjectSerializer.deserialize( + const body: V1alpha1MutatingAdmissionPolicyBinding = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicy", "" - ) as V1alpha1ValidatingAdmissionPolicy; + "V1alpha1MutatingAdmissionPolicyBinding", "" + ) as V1alpha1MutatingAdmissionPolicyBinding; return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); } if (isCodeInRange("401", response.httpStatusCode)) { @@ -2077,10 +1778,10 @@ export class AdmissionregistrationV1alpha1ApiResponseProcessor { // Work around for missing responses in specification, e.g. for petstore.yaml if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { - const body: V1alpha1ValidatingAdmissionPolicy = ObjectSerializer.deserialize( + const body: V1alpha1MutatingAdmissionPolicyBinding = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicy", "" - ) as V1alpha1ValidatingAdmissionPolicy; + "V1alpha1MutatingAdmissionPolicyBinding", "" + ) as V1alpha1MutatingAdmissionPolicyBinding; return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); } @@ -2091,23 +1792,23 @@ export class AdmissionregistrationV1alpha1ApiResponseProcessor { * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * - * @params response Response returned by the server for a request to replaceValidatingAdmissionPolicyBinding + * @params response Response returned by the server for a request to replaceMutatingAdmissionPolicy * @throws ApiException if the response code was not in [200, 299] */ - public async replaceValidatingAdmissionPolicyBindingWithHttpInfo(response: ResponseContext): Promise> { + public async replaceMutatingAdmissionPolicyWithHttpInfo(response: ResponseContext): Promise> { const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); if (isCodeInRange("200", response.httpStatusCode)) { - const body: V1alpha1ValidatingAdmissionPolicyBinding = ObjectSerializer.deserialize( + const body: V1alpha1MutatingAdmissionPolicy = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicyBinding", "" - ) as V1alpha1ValidatingAdmissionPolicyBinding; + "V1alpha1MutatingAdmissionPolicy", "" + ) as V1alpha1MutatingAdmissionPolicy; return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); } if (isCodeInRange("201", response.httpStatusCode)) { - const body: V1alpha1ValidatingAdmissionPolicyBinding = ObjectSerializer.deserialize( + const body: V1alpha1MutatingAdmissionPolicy = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicyBinding", "" - ) as V1alpha1ValidatingAdmissionPolicyBinding; + "V1alpha1MutatingAdmissionPolicy", "" + ) as V1alpha1MutatingAdmissionPolicy; return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); } if (isCodeInRange("401", response.httpStatusCode)) { @@ -2116,10 +1817,10 @@ export class AdmissionregistrationV1alpha1ApiResponseProcessor { // Work around for missing responses in specification, e.g. for petstore.yaml if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { - const body: V1alpha1ValidatingAdmissionPolicyBinding = ObjectSerializer.deserialize( + const body: V1alpha1MutatingAdmissionPolicy = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicyBinding", "" - ) as V1alpha1ValidatingAdmissionPolicyBinding; + "V1alpha1MutatingAdmissionPolicy", "" + ) as V1alpha1MutatingAdmissionPolicy; return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); } @@ -2130,23 +1831,23 @@ export class AdmissionregistrationV1alpha1ApiResponseProcessor { * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * - * @params response Response returned by the server for a request to replaceValidatingAdmissionPolicyStatus + * @params response Response returned by the server for a request to replaceMutatingAdmissionPolicyBinding * @throws ApiException if the response code was not in [200, 299] */ - public async replaceValidatingAdmissionPolicyStatusWithHttpInfo(response: ResponseContext): Promise> { + public async replaceMutatingAdmissionPolicyBindingWithHttpInfo(response: ResponseContext): Promise> { const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); if (isCodeInRange("200", response.httpStatusCode)) { - const body: V1alpha1ValidatingAdmissionPolicy = ObjectSerializer.deserialize( + const body: V1alpha1MutatingAdmissionPolicyBinding = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicy", "" - ) as V1alpha1ValidatingAdmissionPolicy; + "V1alpha1MutatingAdmissionPolicyBinding", "" + ) as V1alpha1MutatingAdmissionPolicyBinding; return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); } if (isCodeInRange("201", response.httpStatusCode)) { - const body: V1alpha1ValidatingAdmissionPolicy = ObjectSerializer.deserialize( + const body: V1alpha1MutatingAdmissionPolicyBinding = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicy", "" - ) as V1alpha1ValidatingAdmissionPolicy; + "V1alpha1MutatingAdmissionPolicyBinding", "" + ) as V1alpha1MutatingAdmissionPolicyBinding; return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); } if (isCodeInRange("401", response.httpStatusCode)) { @@ -2155,10 +1856,10 @@ export class AdmissionregistrationV1alpha1ApiResponseProcessor { // Work around for missing responses in specification, e.g. for petstore.yaml if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { - const body: V1alpha1ValidatingAdmissionPolicy = ObjectSerializer.deserialize( + const body: V1alpha1MutatingAdmissionPolicyBinding = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "V1alpha1ValidatingAdmissionPolicy", "" - ) as V1alpha1ValidatingAdmissionPolicy; + "V1alpha1MutatingAdmissionPolicyBinding", "" + ) as V1alpha1MutatingAdmissionPolicyBinding; return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); } diff --git a/src/gen/apis/AdmissionregistrationV1beta1Api.ts b/src/gen/apis/AdmissionregistrationV1beta1Api.ts index 80cd9aaffc2..f2a58c6008d 100644 --- a/src/gen/apis/AdmissionregistrationV1beta1Api.ts +++ b/src/gen/apis/AdmissionregistrationV1beta1Api.ts @@ -1,22 +1,22 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1Status } from '../models/V1Status.js'; -import { V1beta1ValidatingAdmissionPolicy } from '../models/V1beta1ValidatingAdmissionPolicy.js'; -import { V1beta1ValidatingAdmissionPolicyBinding } from '../models/V1beta1ValidatingAdmissionPolicyBinding.js'; -import { V1beta1ValidatingAdmissionPolicyBindingList } from '../models/V1beta1ValidatingAdmissionPolicyBindingList.js'; -import { V1beta1ValidatingAdmissionPolicyList } from '../models/V1beta1ValidatingAdmissionPolicyList.js'; +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1Status } from '../models/V1Status'; +import { V1beta1ValidatingAdmissionPolicy } from '../models/V1beta1ValidatingAdmissionPolicy'; +import { V1beta1ValidatingAdmissionPolicyBinding } from '../models/V1beta1ValidatingAdmissionPolicyBinding'; +import { V1beta1ValidatingAdmissionPolicyBindingList } from '../models/V1beta1ValidatingAdmissionPolicyBindingList'; +import { V1beta1ValidatingAdmissionPolicyList } from '../models/V1beta1ValidatingAdmissionPolicyList'; /** * no description @@ -176,6 +176,7 @@ export class AdmissionregistrationV1beta1ApiRequestFactory extends BaseAPIReques * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -186,7 +187,7 @@ export class AdmissionregistrationV1beta1ApiRequestFactory extends BaseAPIReques * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionValidatingAdmissionPolicy(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionValidatingAdmissionPolicy(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -203,6 +204,7 @@ export class AdmissionregistrationV1beta1ApiRequestFactory extends BaseAPIReques + // Path Params const localVarPath = '/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies'; @@ -235,6 +237,11 @@ export class AdmissionregistrationV1beta1ApiRequestFactory extends BaseAPIReques requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -307,6 +314,7 @@ export class AdmissionregistrationV1beta1ApiRequestFactory extends BaseAPIReques * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -317,7 +325,7 @@ export class AdmissionregistrationV1beta1ApiRequestFactory extends BaseAPIReques * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionValidatingAdmissionPolicyBinding(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionValidatingAdmissionPolicyBinding(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -334,6 +342,7 @@ export class AdmissionregistrationV1beta1ApiRequestFactory extends BaseAPIReques + // Path Params const localVarPath = '/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings'; @@ -366,6 +375,11 @@ export class AdmissionregistrationV1beta1ApiRequestFactory extends BaseAPIReques requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -437,11 +451,12 @@ export class AdmissionregistrationV1beta1ApiRequestFactory extends BaseAPIReques * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteValidatingAdmissionPolicy(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteValidatingAdmissionPolicy(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -456,6 +471,7 @@ export class AdmissionregistrationV1beta1ApiRequestFactory extends BaseAPIReques + // Path Params const localVarPath = '/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); @@ -479,6 +495,11 @@ export class AdmissionregistrationV1beta1ApiRequestFactory extends BaseAPIReques requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -520,11 +541,12 @@ export class AdmissionregistrationV1beta1ApiRequestFactory extends BaseAPIReques * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteValidatingAdmissionPolicyBinding(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteValidatingAdmissionPolicyBinding(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -539,6 +561,7 @@ export class AdmissionregistrationV1beta1ApiRequestFactory extends BaseAPIReques + // Path Params const localVarPath = '/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); @@ -562,6 +585,11 @@ export class AdmissionregistrationV1beta1ApiRequestFactory extends BaseAPIReques requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -910,7 +938,9 @@ export class AdmissionregistrationV1beta1ApiRequestFactory extends BaseAPIReques "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -1006,7 +1036,9 @@ export class AdmissionregistrationV1beta1ApiRequestFactory extends BaseAPIReques "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -1102,7 +1134,9 @@ export class AdmissionregistrationV1beta1ApiRequestFactory extends BaseAPIReques "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( diff --git a/src/gen/apis/ApiextensionsApi.ts b/src/gen/apis/ApiextensionsApi.ts index 625bd938ba3..9f1be7325d3 100644 --- a/src/gen/apis/ApiextensionsApi.ts +++ b/src/gen/apis/ApiextensionsApi.ts @@ -1,16 +1,16 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIGroup } from '../models/V1APIGroup.js'; +import { V1APIGroup } from '../models/V1APIGroup'; /** * no description diff --git a/src/gen/apis/ApiextensionsV1Api.ts b/src/gen/apis/ApiextensionsV1Api.ts index 58f3e4b9c88..054a29e7791 100644 --- a/src/gen/apis/ApiextensionsV1Api.ts +++ b/src/gen/apis/ApiextensionsV1Api.ts @@ -1,20 +1,20 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1CustomResourceDefinition } from '../models/V1CustomResourceDefinition.js'; -import { V1CustomResourceDefinitionList } from '../models/V1CustomResourceDefinitionList.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1Status } from '../models/V1Status.js'; +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1CustomResourceDefinition } from '../models/V1CustomResourceDefinition'; +import { V1CustomResourceDefinitionList } from '../models/V1CustomResourceDefinitionList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1Status } from '../models/V1Status'; /** * no description @@ -101,6 +101,7 @@ export class ApiextensionsV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -111,7 +112,7 @@ export class ApiextensionsV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionCustomResourceDefinition(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionCustomResourceDefinition(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -128,6 +129,7 @@ export class ApiextensionsV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/apiextensions.k8s.io/v1/customresourcedefinitions'; @@ -160,6 +162,11 @@ export class ApiextensionsV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -231,11 +238,12 @@ export class ApiextensionsV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteCustomResourceDefinition(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCustomResourceDefinition(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -250,6 +258,7 @@ export class ApiextensionsV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); @@ -273,6 +282,11 @@ export class ApiextensionsV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -515,7 +529,9 @@ export class ApiextensionsV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -611,7 +627,9 @@ export class ApiextensionsV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( diff --git a/src/gen/apis/ApiregistrationApi.ts b/src/gen/apis/ApiregistrationApi.ts index ae0349a8c76..e891f225b8c 100644 --- a/src/gen/apis/ApiregistrationApi.ts +++ b/src/gen/apis/ApiregistrationApi.ts @@ -1,16 +1,16 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIGroup } from '../models/V1APIGroup.js'; +import { V1APIGroup } from '../models/V1APIGroup'; /** * no description diff --git a/src/gen/apis/ApiregistrationV1Api.ts b/src/gen/apis/ApiregistrationV1Api.ts index 41d3c041ce8..7dbf1e5df17 100644 --- a/src/gen/apis/ApiregistrationV1Api.ts +++ b/src/gen/apis/ApiregistrationV1Api.ts @@ -1,20 +1,20 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1APIService } from '../models/V1APIService.js'; -import { V1APIServiceList } from '../models/V1APIServiceList.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1Status } from '../models/V1Status.js'; +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1APIService } from '../models/V1APIService'; +import { V1APIServiceList } from '../models/V1APIServiceList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1Status } from '../models/V1Status'; /** * no description @@ -100,11 +100,12 @@ export class ApiregistrationV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteAPIService(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteAPIService(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -119,6 +120,7 @@ export class ApiregistrationV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/apiregistration.k8s.io/v1/apiservices/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); @@ -142,6 +144,11 @@ export class ApiregistrationV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -184,6 +191,7 @@ export class ApiregistrationV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -194,7 +202,7 @@ export class ApiregistrationV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionAPIService(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionAPIService(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -211,6 +219,7 @@ export class ApiregistrationV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/apiregistration.k8s.io/v1/apiservices'; @@ -243,6 +252,11 @@ export class ApiregistrationV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -515,7 +529,9 @@ export class ApiregistrationV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -611,7 +627,9 @@ export class ApiregistrationV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( diff --git a/src/gen/apis/ApisApi.ts b/src/gen/apis/ApisApi.ts index c00bb56ac19..34b7caf3f28 100644 --- a/src/gen/apis/ApisApi.ts +++ b/src/gen/apis/ApisApi.ts @@ -1,16 +1,16 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIGroupList } from '../models/V1APIGroupList.js'; +import { V1APIGroupList } from '../models/V1APIGroupList'; /** * no description diff --git a/src/gen/apis/AppsApi.ts b/src/gen/apis/AppsApi.ts index c1219924cc3..4f6fc1ab6dd 100644 --- a/src/gen/apis/AppsApi.ts +++ b/src/gen/apis/AppsApi.ts @@ -1,16 +1,16 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIGroup } from '../models/V1APIGroup.js'; +import { V1APIGroup } from '../models/V1APIGroup'; /** * no description diff --git a/src/gen/apis/AppsV1Api.ts b/src/gen/apis/AppsV1Api.ts index 9833739c619..80167712c36 100644 --- a/src/gen/apis/AppsV1Api.ts +++ b/src/gen/apis/AppsV1Api.ts @@ -1,29 +1,29 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; - - -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1ControllerRevision } from '../models/V1ControllerRevision.js'; -import { V1ControllerRevisionList } from '../models/V1ControllerRevisionList.js'; -import { V1DaemonSet } from '../models/V1DaemonSet.js'; -import { V1DaemonSetList } from '../models/V1DaemonSetList.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1Deployment } from '../models/V1Deployment.js'; -import { V1DeploymentList } from '../models/V1DeploymentList.js'; -import { V1ReplicaSet } from '../models/V1ReplicaSet.js'; -import { V1ReplicaSetList } from '../models/V1ReplicaSetList.js'; -import { V1Scale } from '../models/V1Scale.js'; -import { V1StatefulSet } from '../models/V1StatefulSet.js'; -import { V1StatefulSetList } from '../models/V1StatefulSetList.js'; -import { V1Status } from '../models/V1Status.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1ControllerRevision } from '../models/V1ControllerRevision'; +import { V1ControllerRevisionList } from '../models/V1ControllerRevisionList'; +import { V1DaemonSet } from '../models/V1DaemonSet'; +import { V1DaemonSetList } from '../models/V1DaemonSetList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1Deployment } from '../models/V1Deployment'; +import { V1DeploymentList } from '../models/V1DeploymentList'; +import { V1ReplicaSet } from '../models/V1ReplicaSet'; +import { V1ReplicaSetList } from '../models/V1ReplicaSetList'; +import { V1Scale } from '../models/V1Scale'; +import { V1StatefulSet } from '../models/V1StatefulSet'; +import { V1StatefulSetList } from '../models/V1StatefulSetList'; +import { V1Status } from '../models/V1Status'; /** * no description @@ -443,6 +443,7 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -453,7 +454,7 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedControllerRevision(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedControllerRevision(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -476,6 +477,7 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/apps/v1/namespaces/{namespace}/controllerrevisions' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -509,6 +511,11 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -582,6 +589,7 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -592,7 +600,7 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedDaemonSet(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedDaemonSet(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -615,6 +623,7 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/apps/v1/namespaces/{namespace}/daemonsets' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -648,6 +657,11 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -721,6 +735,7 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -731,7 +746,7 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedDeployment(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedDeployment(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -754,6 +769,7 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/apps/v1/namespaces/{namespace}/deployments' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -787,6 +803,11 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -860,6 +881,7 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -870,7 +892,7 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedReplicaSet(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedReplicaSet(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -893,6 +915,7 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/apps/v1/namespaces/{namespace}/replicasets' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -926,6 +949,11 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -999,6 +1027,7 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1009,7 +1038,7 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedStatefulSet(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedStatefulSet(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -1032,6 +1061,7 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/apps/v1/namespaces/{namespace}/statefulsets' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -1065,6 +1095,11 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -1137,11 +1172,12 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedControllerRevision(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedControllerRevision(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -1162,6 +1198,7 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -1186,6 +1223,11 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -1228,11 +1270,12 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedDaemonSet(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedDaemonSet(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -1253,6 +1296,7 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -1277,6 +1321,11 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -1319,11 +1368,12 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedDeployment(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedDeployment(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -1344,6 +1394,7 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/apps/v1/namespaces/{namespace}/deployments/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -1368,6 +1419,11 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -1410,11 +1466,12 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedReplicaSet(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedReplicaSet(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -1435,6 +1492,7 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/apps/v1/namespaces/{namespace}/replicasets/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -1459,6 +1517,11 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -1501,11 +1564,12 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedStatefulSet(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedStatefulSet(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -1526,6 +1590,7 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -1550,6 +1615,11 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -2794,7 +2864,9 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -2898,7 +2970,9 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -3002,7 +3076,9 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -3106,7 +3182,9 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -3210,7 +3288,9 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -3314,7 +3394,9 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -3418,7 +3500,9 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -3522,7 +3606,9 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -3626,7 +3712,9 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -3730,7 +3818,9 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -3834,7 +3924,9 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -3938,7 +4030,9 @@ export class AppsV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( diff --git a/src/gen/apis/AuthenticationApi.ts b/src/gen/apis/AuthenticationApi.ts index e71694915e6..152772d0b45 100644 --- a/src/gen/apis/AuthenticationApi.ts +++ b/src/gen/apis/AuthenticationApi.ts @@ -1,16 +1,16 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIGroup } from '../models/V1APIGroup.js'; +import { V1APIGroup } from '../models/V1APIGroup'; /** * no description diff --git a/src/gen/apis/AuthenticationV1Api.ts b/src/gen/apis/AuthenticationV1Api.ts index 65ff30147ca..624f75be797 100644 --- a/src/gen/apis/AuthenticationV1Api.ts +++ b/src/gen/apis/AuthenticationV1Api.ts @@ -1,18 +1,18 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1SelfSubjectReview } from '../models/V1SelfSubjectReview.js'; -import { V1TokenReview } from '../models/V1TokenReview.js'; +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1SelfSubjectReview } from '../models/V1SelfSubjectReview'; +import { V1TokenReview } from '../models/V1TokenReview'; /** * no description diff --git a/src/gen/apis/AuthenticationV1beta1Api.ts b/src/gen/apis/AuthenticationV1beta1Api.ts index 12ccc5e187d..258b3e0b9c8 100644 --- a/src/gen/apis/AuthenticationV1beta1Api.ts +++ b/src/gen/apis/AuthenticationV1beta1Api.ts @@ -1,17 +1,17 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1beta1SelfSubjectReview } from '../models/V1beta1SelfSubjectReview.js'; +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1beta1SelfSubjectReview } from '../models/V1beta1SelfSubjectReview'; /** * no description diff --git a/src/gen/apis/AuthorizationApi.ts b/src/gen/apis/AuthorizationApi.ts index 83e0eee2805..42d7c6b0033 100644 --- a/src/gen/apis/AuthorizationApi.ts +++ b/src/gen/apis/AuthorizationApi.ts @@ -1,16 +1,16 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIGroup } from '../models/V1APIGroup.js'; +import { V1APIGroup } from '../models/V1APIGroup'; /** * no description diff --git a/src/gen/apis/AuthorizationV1Api.ts b/src/gen/apis/AuthorizationV1Api.ts index fd7468833bc..d4aeb2d37dc 100644 --- a/src/gen/apis/AuthorizationV1Api.ts +++ b/src/gen/apis/AuthorizationV1Api.ts @@ -1,20 +1,20 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1LocalSubjectAccessReview } from '../models/V1LocalSubjectAccessReview.js'; -import { V1SelfSubjectAccessReview } from '../models/V1SelfSubjectAccessReview.js'; -import { V1SelfSubjectRulesReview } from '../models/V1SelfSubjectRulesReview.js'; -import { V1SubjectAccessReview } from '../models/V1SubjectAccessReview.js'; +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1LocalSubjectAccessReview } from '../models/V1LocalSubjectAccessReview'; +import { V1SelfSubjectAccessReview } from '../models/V1SelfSubjectAccessReview'; +import { V1SelfSubjectRulesReview } from '../models/V1SelfSubjectRulesReview'; +import { V1SubjectAccessReview } from '../models/V1SubjectAccessReview'; /** * no description diff --git a/src/gen/apis/AutoscalingApi.ts b/src/gen/apis/AutoscalingApi.ts index ecc4890fa14..91d8dfaef60 100644 --- a/src/gen/apis/AutoscalingApi.ts +++ b/src/gen/apis/AutoscalingApi.ts @@ -1,16 +1,16 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIGroup } from '../models/V1APIGroup.js'; +import { V1APIGroup } from '../models/V1APIGroup'; /** * no description diff --git a/src/gen/apis/AutoscalingV1Api.ts b/src/gen/apis/AutoscalingV1Api.ts index 4627cfdb428..6c25970e72c 100644 --- a/src/gen/apis/AutoscalingV1Api.ts +++ b/src/gen/apis/AutoscalingV1Api.ts @@ -1,20 +1,20 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1HorizontalPodAutoscaler } from '../models/V1HorizontalPodAutoscaler.js'; -import { V1HorizontalPodAutoscalerList } from '../models/V1HorizontalPodAutoscalerList.js'; -import { V1Status } from '../models/V1Status.js'; +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1HorizontalPodAutoscaler } from '../models/V1HorizontalPodAutoscaler'; +import { V1HorizontalPodAutoscalerList } from '../models/V1HorizontalPodAutoscalerList'; +import { V1Status } from '../models/V1Status'; /** * no description @@ -110,6 +110,7 @@ export class AutoscalingV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -120,7 +121,7 @@ export class AutoscalingV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedHorizontalPodAutoscaler(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedHorizontalPodAutoscaler(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -143,6 +144,7 @@ export class AutoscalingV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -176,6 +178,11 @@ export class AutoscalingV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -248,11 +255,12 @@ export class AutoscalingV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedHorizontalPodAutoscaler(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedHorizontalPodAutoscaler(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -273,6 +281,7 @@ export class AutoscalingV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -297,6 +306,11 @@ export class AutoscalingV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -661,7 +675,9 @@ export class AutoscalingV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -765,7 +781,9 @@ export class AutoscalingV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( diff --git a/src/gen/apis/AutoscalingV2Api.ts b/src/gen/apis/AutoscalingV2Api.ts index f8a2b60d495..d1642b4b374 100644 --- a/src/gen/apis/AutoscalingV2Api.ts +++ b/src/gen/apis/AutoscalingV2Api.ts @@ -1,20 +1,20 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1Status } from '../models/V1Status.js'; -import { V2HorizontalPodAutoscaler } from '../models/V2HorizontalPodAutoscaler.js'; -import { V2HorizontalPodAutoscalerList } from '../models/V2HorizontalPodAutoscalerList.js'; +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1Status } from '../models/V1Status'; +import { V2HorizontalPodAutoscaler } from '../models/V2HorizontalPodAutoscaler'; +import { V2HorizontalPodAutoscalerList } from '../models/V2HorizontalPodAutoscalerList'; /** * no description @@ -110,6 +110,7 @@ export class AutoscalingV2ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -120,7 +121,7 @@ export class AutoscalingV2ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedHorizontalPodAutoscaler(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedHorizontalPodAutoscaler(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -143,6 +144,7 @@ export class AutoscalingV2ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/autoscaling/v2/namespaces/{namespace}/horizontalpodautoscalers' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -176,6 +178,11 @@ export class AutoscalingV2ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -248,11 +255,12 @@ export class AutoscalingV2ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedHorizontalPodAutoscaler(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedHorizontalPodAutoscaler(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -273,6 +281,7 @@ export class AutoscalingV2ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/autoscaling/v2/namespaces/{namespace}/horizontalpodautoscalers/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -297,6 +306,11 @@ export class AutoscalingV2ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -661,7 +675,9 @@ export class AutoscalingV2ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -765,7 +781,9 @@ export class AutoscalingV2ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( diff --git a/src/gen/apis/BatchApi.ts b/src/gen/apis/BatchApi.ts index 4aa51dd39e2..f656b4921de 100644 --- a/src/gen/apis/BatchApi.ts +++ b/src/gen/apis/BatchApi.ts @@ -1,16 +1,16 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIGroup } from '../models/V1APIGroup.js'; +import { V1APIGroup } from '../models/V1APIGroup'; /** * no description diff --git a/src/gen/apis/BatchV1Api.ts b/src/gen/apis/BatchV1Api.ts index 570a1f9f9ea..0cad0675413 100644 --- a/src/gen/apis/BatchV1Api.ts +++ b/src/gen/apis/BatchV1Api.ts @@ -1,22 +1,22 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1CronJob } from '../models/V1CronJob.js'; -import { V1CronJobList } from '../models/V1CronJobList.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1Job } from '../models/V1Job.js'; -import { V1JobList } from '../models/V1JobList.js'; -import { V1Status } from '../models/V1Status.js'; +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1CronJob } from '../models/V1CronJob'; +import { V1CronJobList } from '../models/V1CronJobList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1Job } from '../models/V1Job'; +import { V1JobList } from '../models/V1JobList'; +import { V1Status } from '../models/V1Status'; /** * no description @@ -193,6 +193,7 @@ export class BatchV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -203,7 +204,7 @@ export class BatchV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedCronJob(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedCronJob(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -226,6 +227,7 @@ export class BatchV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/batch/v1/namespaces/{namespace}/cronjobs' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -259,6 +261,11 @@ export class BatchV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -332,6 +339,7 @@ export class BatchV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -342,7 +350,7 @@ export class BatchV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedJob(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedJob(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -365,6 +373,7 @@ export class BatchV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/batch/v1/namespaces/{namespace}/jobs' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -398,6 +407,11 @@ export class BatchV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -470,11 +484,12 @@ export class BatchV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedCronJob(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedCronJob(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -495,6 +510,7 @@ export class BatchV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/batch/v1/namespaces/{namespace}/cronjobs/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -519,6 +535,11 @@ export class BatchV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -561,11 +582,12 @@ export class BatchV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedJob(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedJob(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -586,6 +608,7 @@ export class BatchV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/batch/v1/namespaces/{namespace}/jobs/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -610,6 +633,11 @@ export class BatchV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -1194,7 +1222,9 @@ export class BatchV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -1298,7 +1328,9 @@ export class BatchV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -1402,7 +1434,9 @@ export class BatchV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -1506,7 +1540,9 @@ export class BatchV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( diff --git a/src/gen/apis/CertificatesApi.ts b/src/gen/apis/CertificatesApi.ts index 59f18b5bc67..edd7f7bb29b 100644 --- a/src/gen/apis/CertificatesApi.ts +++ b/src/gen/apis/CertificatesApi.ts @@ -1,16 +1,16 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIGroup } from '../models/V1APIGroup.js'; +import { V1APIGroup } from '../models/V1APIGroup'; /** * no description diff --git a/src/gen/apis/CertificatesV1Api.ts b/src/gen/apis/CertificatesV1Api.ts index 0d23292c989..fb64aeb6146 100644 --- a/src/gen/apis/CertificatesV1Api.ts +++ b/src/gen/apis/CertificatesV1Api.ts @@ -1,20 +1,20 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1CertificateSigningRequest } from '../models/V1CertificateSigningRequest.js'; -import { V1CertificateSigningRequestList } from '../models/V1CertificateSigningRequestList.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1Status } from '../models/V1Status.js'; +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1CertificateSigningRequest } from '../models/V1CertificateSigningRequest'; +import { V1CertificateSigningRequestList } from '../models/V1CertificateSigningRequestList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1Status } from '../models/V1Status'; /** * no description @@ -100,11 +100,12 @@ export class CertificatesV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteCertificateSigningRequest(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCertificateSigningRequest(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -119,6 +120,7 @@ export class CertificatesV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); @@ -142,6 +144,11 @@ export class CertificatesV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -184,6 +191,7 @@ export class CertificatesV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -194,7 +202,7 @@ export class CertificatesV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionCertificateSigningRequest(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionCertificateSigningRequest(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -211,6 +219,7 @@ export class CertificatesV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/certificates.k8s.io/v1/certificatesigningrequests'; @@ -243,6 +252,11 @@ export class CertificatesV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -515,7 +529,9 @@ export class CertificatesV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -611,7 +627,9 @@ export class CertificatesV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -707,7 +725,9 @@ export class CertificatesV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( diff --git a/src/gen/apis/CertificatesV1alpha1Api.ts b/src/gen/apis/CertificatesV1alpha1Api.ts index 680c2930ed5..dad0274a086 100644 --- a/src/gen/apis/CertificatesV1alpha1Api.ts +++ b/src/gen/apis/CertificatesV1alpha1Api.ts @@ -1,20 +1,20 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1Status } from '../models/V1Status.js'; -import { V1alpha1ClusterTrustBundle } from '../models/V1alpha1ClusterTrustBundle.js'; -import { V1alpha1ClusterTrustBundleList } from '../models/V1alpha1ClusterTrustBundleList.js'; +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1Status } from '../models/V1Status'; +import { V1alpha1ClusterTrustBundle } from '../models/V1alpha1ClusterTrustBundle'; +import { V1alpha1ClusterTrustBundleList } from '../models/V1alpha1ClusterTrustBundleList'; /** * no description @@ -100,11 +100,12 @@ export class CertificatesV1alpha1ApiRequestFactory extends BaseAPIRequestFactory * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteClusterTrustBundle(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteClusterTrustBundle(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -119,6 +120,7 @@ export class CertificatesV1alpha1ApiRequestFactory extends BaseAPIRequestFactory + // Path Params const localVarPath = '/apis/certificates.k8s.io/v1alpha1/clustertrustbundles/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); @@ -142,6 +144,11 @@ export class CertificatesV1alpha1ApiRequestFactory extends BaseAPIRequestFactory requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -184,6 +191,7 @@ export class CertificatesV1alpha1ApiRequestFactory extends BaseAPIRequestFactory * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -194,7 +202,7 @@ export class CertificatesV1alpha1ApiRequestFactory extends BaseAPIRequestFactory * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionClusterTrustBundle(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionClusterTrustBundle(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -211,6 +219,7 @@ export class CertificatesV1alpha1ApiRequestFactory extends BaseAPIRequestFactory + // Path Params const localVarPath = '/apis/certificates.k8s.io/v1alpha1/clustertrustbundles'; @@ -243,6 +252,11 @@ export class CertificatesV1alpha1ApiRequestFactory extends BaseAPIRequestFactory requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -515,7 +529,9 @@ export class CertificatesV1alpha1ApiRequestFactory extends BaseAPIRequestFactory "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( diff --git a/src/gen/apis/CoordinationApi.ts b/src/gen/apis/CoordinationApi.ts index 43dd1b27749..08395612dd6 100644 --- a/src/gen/apis/CoordinationApi.ts +++ b/src/gen/apis/CoordinationApi.ts @@ -1,16 +1,16 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIGroup } from '../models/V1APIGroup.js'; +import { V1APIGroup } from '../models/V1APIGroup'; /** * no description diff --git a/src/gen/apis/CoordinationV1Api.ts b/src/gen/apis/CoordinationV1Api.ts index 98ba8197a35..535cdb6baa0 100644 --- a/src/gen/apis/CoordinationV1Api.ts +++ b/src/gen/apis/CoordinationV1Api.ts @@ -1,20 +1,20 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1Lease } from '../models/V1Lease.js'; -import { V1LeaseList } from '../models/V1LeaseList.js'; -import { V1Status } from '../models/V1Status.js'; +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1Lease } from '../models/V1Lease'; +import { V1LeaseList } from '../models/V1LeaseList'; +import { V1Status } from '../models/V1Status'; /** * no description @@ -110,6 +110,7 @@ export class CoordinationV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -120,7 +121,7 @@ export class CoordinationV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedLease(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedLease(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -143,6 +144,7 @@ export class CoordinationV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -176,6 +178,11 @@ export class CoordinationV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -248,11 +255,12 @@ export class CoordinationV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedLease(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedLease(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -273,6 +281,7 @@ export class CoordinationV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -297,6 +306,11 @@ export class CoordinationV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -661,7 +675,9 @@ export class CoordinationV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( diff --git a/src/gen/apis/CoordinationV1alpha2Api.ts b/src/gen/apis/CoordinationV1alpha2Api.ts new file mode 100644 index 00000000000..244d49c2e71 --- /dev/null +++ b/src/gen/apis/CoordinationV1alpha2Api.ts @@ -0,0 +1,1172 @@ +// TODO: better import syntax? +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; +import FormData from "form-data"; +import { URLSearchParams } from 'url'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1Status } from '../models/V1Status'; +import { V1alpha2LeaseCandidate } from '../models/V1alpha2LeaseCandidate'; +import { V1alpha2LeaseCandidateList } from '../models/V1alpha2LeaseCandidateList'; + +/** + * no description + */ +export class CoordinationV1alpha2ApiRequestFactory extends BaseAPIRequestFactory { + + /** + * create a LeaseCandidate + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public async createNamespacedLeaseCandidate(namespace: string, body: V1alpha2LeaseCandidate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("CoordinationV1alpha2Api", "createNamespacedLeaseCandidate", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("CoordinationV1alpha2Api", "createNamespacedLeaseCandidate", "body"); + } + + + + + + + // Path Params + const localVarPath = '/apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1alpha2LeaseCandidate", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * delete collection of LeaseCandidate + * @param namespace object name and auth scope, such as for teams and projects + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param body + */ + public async deleteCollectionNamespacedLeaseCandidate(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("CoordinationV1alpha2Api", "deleteCollectionNamespacedLeaseCandidate", "namespace"); + } + + + + + + + + + + + + + + + + + + // Path Params + const localVarPath = '/apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (_continue !== undefined) { + requestContext.setQueryParam("continue", ObjectSerializer.serialize(_continue, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldSelector !== undefined) { + requestContext.setQueryParam("fieldSelector", ObjectSerializer.serialize(fieldSelector, "string", "")); + } + + // Query Params + if (gracePeriodSeconds !== undefined) { + requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); + } + + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + + // Query Params + if (labelSelector !== undefined) { + requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); + } + + // Query Params + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer.serialize(limit, "number", "")); + } + + // Query Params + if (orphanDependents !== undefined) { + requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); + } + + // Query Params + if (propagationPolicy !== undefined) { + requestContext.setQueryParam("propagationPolicy", ObjectSerializer.serialize(propagationPolicy, "string", "")); + } + + // Query Params + if (resourceVersion !== undefined) { + requestContext.setQueryParam("resourceVersion", ObjectSerializer.serialize(resourceVersion, "string", "")); + } + + // Query Params + if (resourceVersionMatch !== undefined) { + requestContext.setQueryParam("resourceVersionMatch", ObjectSerializer.serialize(resourceVersionMatch, "string", "")); + } + + // Query Params + if (sendInitialEvents !== undefined) { + requestContext.setQueryParam("sendInitialEvents", ObjectSerializer.serialize(sendInitialEvents, "boolean", "")); + } + + // Query Params + if (timeoutSeconds !== undefined) { + requestContext.setQueryParam("timeoutSeconds", ObjectSerializer.serialize(timeoutSeconds, "number", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1DeleteOptions", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * delete a LeaseCandidate + * @param name name of the LeaseCandidate + * @param namespace object name and auth scope, such as for teams and projects + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param body + */ + public async deleteNamespacedLeaseCandidate(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("CoordinationV1alpha2Api", "deleteNamespacedLeaseCandidate", "name"); + } + + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("CoordinationV1alpha2Api", "deleteNamespacedLeaseCandidate", "namespace"); + } + + + + + + + + + + // Path Params + const localVarPath = '/apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (gracePeriodSeconds !== undefined) { + requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); + } + + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + + // Query Params + if (orphanDependents !== undefined) { + requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); + } + + // Query Params + if (propagationPolicy !== undefined) { + requestContext.setQueryParam("propagationPolicy", ObjectSerializer.serialize(propagationPolicy, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1DeleteOptions", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * get available resources + */ + public async getAPIResources(_options?: Configuration): Promise { + let _config = _options || this.configuration; + + // Path Params + const localVarPath = '/apis/coordination.k8s.io/v1alpha2/'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * list or watch objects of kind LeaseCandidate + * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + */ + public async listLeaseCandidateForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + + + + + + + + + + + + // Path Params + const localVarPath = '/apis/coordination.k8s.io/v1alpha2/leasecandidates'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (allowWatchBookmarks !== undefined) { + requestContext.setQueryParam("allowWatchBookmarks", ObjectSerializer.serialize(allowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (_continue !== undefined) { + requestContext.setQueryParam("continue", ObjectSerializer.serialize(_continue, "string", "")); + } + + // Query Params + if (fieldSelector !== undefined) { + requestContext.setQueryParam("fieldSelector", ObjectSerializer.serialize(fieldSelector, "string", "")); + } + + // Query Params + if (labelSelector !== undefined) { + requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); + } + + // Query Params + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer.serialize(limit, "number", "")); + } + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (resourceVersion !== undefined) { + requestContext.setQueryParam("resourceVersion", ObjectSerializer.serialize(resourceVersion, "string", "")); + } + + // Query Params + if (resourceVersionMatch !== undefined) { + requestContext.setQueryParam("resourceVersionMatch", ObjectSerializer.serialize(resourceVersionMatch, "string", "")); + } + + // Query Params + if (sendInitialEvents !== undefined) { + requestContext.setQueryParam("sendInitialEvents", ObjectSerializer.serialize(sendInitialEvents, "boolean", "")); + } + + // Query Params + if (timeoutSeconds !== undefined) { + requestContext.setQueryParam("timeoutSeconds", ObjectSerializer.serialize(timeoutSeconds, "number", "")); + } + + // Query Params + if (watch !== undefined) { + requestContext.setQueryParam("watch", ObjectSerializer.serialize(watch, "boolean", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * list or watch objects of kind LeaseCandidate + * @param namespace object name and auth scope, such as for teams and projects + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + */ + public async listNamespacedLeaseCandidate(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("CoordinationV1alpha2Api", "listNamespacedLeaseCandidate", "namespace"); + } + + + + + + + + + + + + + + // Path Params + const localVarPath = '/apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (allowWatchBookmarks !== undefined) { + requestContext.setQueryParam("allowWatchBookmarks", ObjectSerializer.serialize(allowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (_continue !== undefined) { + requestContext.setQueryParam("continue", ObjectSerializer.serialize(_continue, "string", "")); + } + + // Query Params + if (fieldSelector !== undefined) { + requestContext.setQueryParam("fieldSelector", ObjectSerializer.serialize(fieldSelector, "string", "")); + } + + // Query Params + if (labelSelector !== undefined) { + requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); + } + + // Query Params + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer.serialize(limit, "number", "")); + } + + // Query Params + if (resourceVersion !== undefined) { + requestContext.setQueryParam("resourceVersion", ObjectSerializer.serialize(resourceVersion, "string", "")); + } + + // Query Params + if (resourceVersionMatch !== undefined) { + requestContext.setQueryParam("resourceVersionMatch", ObjectSerializer.serialize(resourceVersionMatch, "string", "")); + } + + // Query Params + if (sendInitialEvents !== undefined) { + requestContext.setQueryParam("sendInitialEvents", ObjectSerializer.serialize(sendInitialEvents, "boolean", "")); + } + + // Query Params + if (timeoutSeconds !== undefined) { + requestContext.setQueryParam("timeoutSeconds", ObjectSerializer.serialize(timeoutSeconds, "number", "")); + } + + // Query Params + if (watch !== undefined) { + requestContext.setQueryParam("watch", ObjectSerializer.serialize(watch, "boolean", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * partially update the specified LeaseCandidate + * @param name name of the LeaseCandidate + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public async patchNamespacedLeaseCandidate(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("CoordinationV1alpha2Api", "patchNamespacedLeaseCandidate", "name"); + } + + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("CoordinationV1alpha2Api", "patchNamespacedLeaseCandidate", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("CoordinationV1alpha2Api", "patchNamespacedLeaseCandidate", "body"); + } + + + + + + + + // Path Params + const localVarPath = '/apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + // Query Params + if (force !== undefined) { + requestContext.setQueryParam("force", ObjectSerializer.serialize(force, "boolean", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json-patch+json", + + "application/merge-patch+json", + + "application/strategic-merge-patch+json", + + "application/apply-patch+yaml", + + "application/apply-patch+cbor" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "any", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * read the specified LeaseCandidate + * @param name name of the LeaseCandidate + * @param namespace object name and auth scope, such as for teams and projects + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public async readNamespacedLeaseCandidate(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("CoordinationV1alpha2Api", "readNamespacedLeaseCandidate", "name"); + } + + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("CoordinationV1alpha2Api", "readNamespacedLeaseCandidate", "namespace"); + } + + + + // Path Params + const localVarPath = '/apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * replace the specified LeaseCandidate + * @param name name of the LeaseCandidate + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public async replaceNamespacedLeaseCandidate(name: string, namespace: string, body: V1alpha2LeaseCandidate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("CoordinationV1alpha2Api", "replaceNamespacedLeaseCandidate", "name"); + } + + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("CoordinationV1alpha2Api", "replaceNamespacedLeaseCandidate", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("CoordinationV1alpha2Api", "replaceNamespacedLeaseCandidate", "body"); + } + + + + + + + // Path Params + const localVarPath = '/apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1alpha2LeaseCandidate", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + +} + +export class CoordinationV1alpha2ApiResponseProcessor { + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createNamespacedLeaseCandidate + * @throws ApiException if the response code was not in [200, 299] + */ + public async createNamespacedLeaseCandidateWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha2LeaseCandidate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha2LeaseCandidate", "" + ) as V1alpha2LeaseCandidate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1alpha2LeaseCandidate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha2LeaseCandidate", "" + ) as V1alpha2LeaseCandidate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("202", response.httpStatusCode)) { + const body: V1alpha2LeaseCandidate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha2LeaseCandidate", "" + ) as V1alpha2LeaseCandidate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha2LeaseCandidate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha2LeaseCandidate", "" + ) as V1alpha2LeaseCandidate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteCollectionNamespacedLeaseCandidate + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteCollectionNamespacedLeaseCandidateWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteNamespacedLeaseCandidate + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteNamespacedLeaseCandidateWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("202", response.httpStatusCode)) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getAPIResources + * @throws ApiException if the response code was not in [200, 299] + */ + public async getAPIResourcesWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1APIResourceList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1APIResourceList", "" + ) as V1APIResourceList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1APIResourceList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1APIResourceList", "" + ) as V1APIResourceList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listLeaseCandidateForAllNamespaces + * @throws ApiException if the response code was not in [200, 299] + */ + public async listLeaseCandidateForAllNamespacesWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha2LeaseCandidateList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha2LeaseCandidateList", "" + ) as V1alpha2LeaseCandidateList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha2LeaseCandidateList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha2LeaseCandidateList", "" + ) as V1alpha2LeaseCandidateList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listNamespacedLeaseCandidate + * @throws ApiException if the response code was not in [200, 299] + */ + public async listNamespacedLeaseCandidateWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha2LeaseCandidateList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha2LeaseCandidateList", "" + ) as V1alpha2LeaseCandidateList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha2LeaseCandidateList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha2LeaseCandidateList", "" + ) as V1alpha2LeaseCandidateList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to patchNamespacedLeaseCandidate + * @throws ApiException if the response code was not in [200, 299] + */ + public async patchNamespacedLeaseCandidateWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha2LeaseCandidate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha2LeaseCandidate", "" + ) as V1alpha2LeaseCandidate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1alpha2LeaseCandidate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha2LeaseCandidate", "" + ) as V1alpha2LeaseCandidate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha2LeaseCandidate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha2LeaseCandidate", "" + ) as V1alpha2LeaseCandidate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to readNamespacedLeaseCandidate + * @throws ApiException if the response code was not in [200, 299] + */ + public async readNamespacedLeaseCandidateWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha2LeaseCandidate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha2LeaseCandidate", "" + ) as V1alpha2LeaseCandidate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha2LeaseCandidate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha2LeaseCandidate", "" + ) as V1alpha2LeaseCandidate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to replaceNamespacedLeaseCandidate + * @throws ApiException if the response code was not in [200, 299] + */ + public async replaceNamespacedLeaseCandidateWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha2LeaseCandidate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha2LeaseCandidate", "" + ) as V1alpha2LeaseCandidate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1alpha2LeaseCandidate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha2LeaseCandidate", "" + ) as V1alpha2LeaseCandidate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha2LeaseCandidate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha2LeaseCandidate", "" + ) as V1alpha2LeaseCandidate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + +} diff --git a/src/gen/apis/CoreApi.ts b/src/gen/apis/CoreApi.ts index c66c1bc398b..8fb24f58924 100644 --- a/src/gen/apis/CoreApi.ts +++ b/src/gen/apis/CoreApi.ts @@ -1,16 +1,16 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIVersions } from '../models/V1APIVersions.js'; +import { V1APIVersions } from '../models/V1APIVersions'; /** * no description diff --git a/src/gen/apis/CoreV1Api.ts b/src/gen/apis/CoreV1Api.ts index 14082616a74..a20e3a5346d 100644 --- a/src/gen/apis/CoreV1Api.ts +++ b/src/gen/apis/CoreV1Api.ts @@ -1,54 +1,54 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; - - -import { AuthenticationV1TokenRequest } from '../models/AuthenticationV1TokenRequest.js'; -import { CoreV1Event } from '../models/CoreV1Event.js'; -import { CoreV1EventList } from '../models/CoreV1EventList.js'; -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1Binding } from '../models/V1Binding.js'; -import { V1ComponentStatus } from '../models/V1ComponentStatus.js'; -import { V1ComponentStatusList } from '../models/V1ComponentStatusList.js'; -import { V1ConfigMap } from '../models/V1ConfigMap.js'; -import { V1ConfigMapList } from '../models/V1ConfigMapList.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1Endpoints } from '../models/V1Endpoints.js'; -import { V1EndpointsList } from '../models/V1EndpointsList.js'; -import { V1Eviction } from '../models/V1Eviction.js'; -import { V1LimitRange } from '../models/V1LimitRange.js'; -import { V1LimitRangeList } from '../models/V1LimitRangeList.js'; -import { V1Namespace } from '../models/V1Namespace.js'; -import { V1NamespaceList } from '../models/V1NamespaceList.js'; -import { V1Node } from '../models/V1Node.js'; -import { V1NodeList } from '../models/V1NodeList.js'; -import { V1PersistentVolume } from '../models/V1PersistentVolume.js'; -import { V1PersistentVolumeClaim } from '../models/V1PersistentVolumeClaim.js'; -import { V1PersistentVolumeClaimList } from '../models/V1PersistentVolumeClaimList.js'; -import { V1PersistentVolumeList } from '../models/V1PersistentVolumeList.js'; -import { V1Pod } from '../models/V1Pod.js'; -import { V1PodList } from '../models/V1PodList.js'; -import { V1PodTemplate } from '../models/V1PodTemplate.js'; -import { V1PodTemplateList } from '../models/V1PodTemplateList.js'; -import { V1ReplicationController } from '../models/V1ReplicationController.js'; -import { V1ReplicationControllerList } from '../models/V1ReplicationControllerList.js'; -import { V1ResourceQuota } from '../models/V1ResourceQuota.js'; -import { V1ResourceQuotaList } from '../models/V1ResourceQuotaList.js'; -import { V1Scale } from '../models/V1Scale.js'; -import { V1Secret } from '../models/V1Secret.js'; -import { V1SecretList } from '../models/V1SecretList.js'; -import { V1Service } from '../models/V1Service.js'; -import { V1ServiceAccount } from '../models/V1ServiceAccount.js'; -import { V1ServiceAccountList } from '../models/V1ServiceAccountList.js'; -import { V1ServiceList } from '../models/V1ServiceList.js'; -import { V1Status } from '../models/V1Status.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { AuthenticationV1TokenRequest } from '../models/AuthenticationV1TokenRequest'; +import { CoreV1Event } from '../models/CoreV1Event'; +import { CoreV1EventList } from '../models/CoreV1EventList'; +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1Binding } from '../models/V1Binding'; +import { V1ComponentStatus } from '../models/V1ComponentStatus'; +import { V1ComponentStatusList } from '../models/V1ComponentStatusList'; +import { V1ConfigMap } from '../models/V1ConfigMap'; +import { V1ConfigMapList } from '../models/V1ConfigMapList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1Endpoints } from '../models/V1Endpoints'; +import { V1EndpointsList } from '../models/V1EndpointsList'; +import { V1Eviction } from '../models/V1Eviction'; +import { V1LimitRange } from '../models/V1LimitRange'; +import { V1LimitRangeList } from '../models/V1LimitRangeList'; +import { V1Namespace } from '../models/V1Namespace'; +import { V1NamespaceList } from '../models/V1NamespaceList'; +import { V1Node } from '../models/V1Node'; +import { V1NodeList } from '../models/V1NodeList'; +import { V1PersistentVolume } from '../models/V1PersistentVolume'; +import { V1PersistentVolumeClaim } from '../models/V1PersistentVolumeClaim'; +import { V1PersistentVolumeClaimList } from '../models/V1PersistentVolumeClaimList'; +import { V1PersistentVolumeList } from '../models/V1PersistentVolumeList'; +import { V1Pod } from '../models/V1Pod'; +import { V1PodList } from '../models/V1PodList'; +import { V1PodTemplate } from '../models/V1PodTemplate'; +import { V1PodTemplateList } from '../models/V1PodTemplateList'; +import { V1ReplicationController } from '../models/V1ReplicationController'; +import { V1ReplicationControllerList } from '../models/V1ReplicationControllerList'; +import { V1ResourceQuota } from '../models/V1ResourceQuota'; +import { V1ResourceQuotaList } from '../models/V1ResourceQuotaList'; +import { V1Scale } from '../models/V1Scale'; +import { V1Secret } from '../models/V1Secret'; +import { V1SecretList } from '../models/V1SecretList'; +import { V1Service } from '../models/V1Service'; +import { V1ServiceAccount } from '../models/V1ServiceAccount'; +import { V1ServiceAccountList } from '../models/V1ServiceAccountList'; +import { V1ServiceList } from '../models/V1ServiceList'; +import { V1Status } from '../models/V1Status'; /** * no description @@ -4280,6 +4280,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -4290,7 +4291,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedConfigMap(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedConfigMap(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -4313,6 +4314,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/namespaces/{namespace}/configmaps' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -4346,6 +4348,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -4419,6 +4426,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -4429,7 +4437,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedEndpoints(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedEndpoints(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -4452,6 +4460,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/namespaces/{namespace}/endpoints' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -4485,6 +4494,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -4558,6 +4572,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -4568,7 +4583,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedEvent(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedEvent(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -4591,6 +4606,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/namespaces/{namespace}/events' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -4624,6 +4640,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -4697,6 +4718,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -4707,7 +4729,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedLimitRange(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedLimitRange(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -4730,6 +4752,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/namespaces/{namespace}/limitranges' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -4763,6 +4786,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -4836,6 +4864,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -4846,7 +4875,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedPersistentVolumeClaim(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedPersistentVolumeClaim(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -4869,6 +4898,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/namespaces/{namespace}/persistentvolumeclaims' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -4902,6 +4932,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -4975,6 +5010,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -4985,7 +5021,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedPod(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedPod(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -5008,6 +5044,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/namespaces/{namespace}/pods' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -5041,6 +5078,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -5114,6 +5156,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -5124,7 +5167,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedPodTemplate(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedPodTemplate(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -5147,6 +5190,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/namespaces/{namespace}/podtemplates' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -5180,6 +5224,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -5253,6 +5302,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -5263,7 +5313,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedReplicationController(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedReplicationController(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -5286,6 +5336,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/namespaces/{namespace}/replicationcontrollers' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -5319,6 +5370,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -5392,6 +5448,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -5402,7 +5459,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedResourceQuota(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedResourceQuota(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -5425,6 +5482,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/namespaces/{namespace}/resourcequotas' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -5458,6 +5516,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -5531,6 +5594,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -5541,7 +5605,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedSecret(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedSecret(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -5564,6 +5628,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/namespaces/{namespace}/secrets' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -5597,6 +5662,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -5670,6 +5740,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -5680,7 +5751,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedService(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedService(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -5703,6 +5774,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/namespaces/{namespace}/services' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -5736,6 +5808,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -5809,6 +5886,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -5819,7 +5897,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedServiceAccount(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedServiceAccount(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -5842,6 +5920,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/namespaces/{namespace}/serviceaccounts' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -5875,6 +5954,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -5947,6 +6031,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -5957,7 +6042,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNode(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNode(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -5974,6 +6059,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/nodes'; @@ -6006,6 +6092,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -6078,6 +6169,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -6088,7 +6180,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionPersistentVolume(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionPersistentVolume(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -6105,6 +6197,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/persistentvolumes'; @@ -6137,6 +6230,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -6208,11 +6306,12 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespace(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespace(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -6227,6 +6326,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/namespaces/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); @@ -6250,6 +6350,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -6292,11 +6397,12 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedConfigMap(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedConfigMap(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -6317,6 +6423,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/namespaces/{namespace}/configmaps/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -6341,6 +6448,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -6383,11 +6495,12 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedEndpoints(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedEndpoints(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -6408,6 +6521,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/namespaces/{namespace}/endpoints/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -6432,6 +6546,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -6474,11 +6593,12 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedEvent(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedEvent(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -6499,6 +6619,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/namespaces/{namespace}/events/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -6523,6 +6644,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -6565,11 +6691,12 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedLimitRange(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedLimitRange(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -6590,6 +6717,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/namespaces/{namespace}/limitranges/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -6614,6 +6742,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -6656,11 +6789,12 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedPersistentVolumeClaim(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedPersistentVolumeClaim(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -6681,6 +6815,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -6705,6 +6840,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -6747,11 +6887,12 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedPod(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedPod(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -6772,6 +6913,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/namespaces/{namespace}/pods/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -6796,6 +6938,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -6838,11 +6985,12 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedPodTemplate(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedPodTemplate(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -6863,6 +7011,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/namespaces/{namespace}/podtemplates/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -6887,6 +7036,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -6929,11 +7083,12 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedReplicationController(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedReplicationController(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -6954,6 +7109,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/namespaces/{namespace}/replicationcontrollers/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -6978,6 +7134,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -7020,11 +7181,12 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedResourceQuota(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedResourceQuota(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -7045,6 +7207,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/namespaces/{namespace}/resourcequotas/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -7069,6 +7232,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -7111,11 +7279,12 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedSecret(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedSecret(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -7136,6 +7305,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/namespaces/{namespace}/secrets/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -7160,6 +7330,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -7202,11 +7377,12 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedService(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedService(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -7227,6 +7403,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/namespaces/{namespace}/services/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -7251,6 +7428,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -7293,11 +7475,12 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedServiceAccount(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedServiceAccount(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -7318,6 +7501,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/namespaces/{namespace}/serviceaccounts/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -7342,6 +7526,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -7383,11 +7572,12 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNode(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNode(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -7402,6 +7592,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/nodes/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); @@ -7425,6 +7616,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -7466,11 +7662,12 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deletePersistentVolume(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deletePersistentVolume(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -7485,6 +7682,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/persistentvolumes/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); @@ -7508,6 +7706,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -10708,7 +10911,9 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -10804,7 +11009,9 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -10908,7 +11115,9 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -11012,7 +11221,9 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -11116,7 +11327,9 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -11220,7 +11433,9 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -11324,7 +11539,9 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -11428,7 +11645,9 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -11532,7 +11751,9 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -11636,7 +11857,115 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "any", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * partially update resize of the specified Pod + * @param name name of the Pod + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public async patchNamespacedPodResize(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("CoreV1Api", "patchNamespacedPodResize", "name"); + } + + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("CoreV1Api", "patchNamespacedPodResize", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("CoreV1Api", "patchNamespacedPodResize", "body"); + } + + + + + + + + // Path Params + const localVarPath = '/api/v1/namespaces/{namespace}/pods/{name}/resize' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + // Query Params + if (force !== undefined) { + requestContext.setQueryParam("force", ObjectSerializer.serialize(force, "boolean", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json-patch+json", + + "application/merge-patch+json", + + "application/strategic-merge-patch+json", + + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -11740,7 +12069,9 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -11844,7 +12175,9 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -11948,7 +12281,9 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -12052,7 +12387,9 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -12156,7 +12493,9 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -12260,7 +12599,9 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -12364,7 +12705,9 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -12468,7 +12811,9 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -12572,7 +12917,9 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -12676,7 +13023,9 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -12780,7 +13129,9 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -12876,7 +13227,9 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -12972,7 +13325,9 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -13068,7 +13423,9 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -13164,7 +13521,9 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -13747,10 +14106,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param previous Return previous terminated container logs. Defaults to false. * @param sinceSeconds A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. - * @param tailLines If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime + * @param stream Specify which container log stream to return to the client. Acceptable values are \"All\", \"Stdout\" and \"Stderr\". If not specified, \"All\" is used, and both stdout and stderr are returned interleaved. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\". + * @param tailLines If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\". * @param timestamps If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. */ - public async readNamespacedPodLog(name: string, namespace: string, container?: string, follow?: boolean, insecureSkipTLSVerifyBackend?: boolean, limitBytes?: number, pretty?: string, previous?: boolean, sinceSeconds?: number, tailLines?: number, timestamps?: boolean, _options?: Configuration): Promise { + public async readNamespacedPodLog(name: string, namespace: string, container?: string, follow?: boolean, insecureSkipTLSVerifyBackend?: boolean, limitBytes?: number, pretty?: string, previous?: boolean, sinceSeconds?: number, stream?: string, tailLines?: number, timestamps?: boolean, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -13774,6 +14134,7 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/api/v1/namespaces/{namespace}/pods/{name}/log' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -13818,6 +14179,11 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("sinceSeconds", ObjectSerializer.serialize(sinceSeconds, "number", "")); } + // Query Params + if (stream !== undefined) { + requestContext.setQueryParam("stream", ObjectSerializer.serialize(stream, "string", "")); + } + // Query Params if (tailLines !== undefined) { requestContext.setQueryParam("tailLines", ObjectSerializer.serialize(tailLines, "number", "")); @@ -13844,6 +14210,58 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { return requestContext; } + /** + * read resize of the specified Pod + * @param name name of the Pod + * @param namespace object name and auth scope, such as for teams and projects + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public async readNamespacedPodResize(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("CoreV1Api", "readNamespacedPodResize", "name"); + } + + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("CoreV1Api", "readNamespacedPodResize", "namespace"); + } + + + + // Path Params + const localVarPath = '/api/v1/namespaces/{namespace}/pods/{name}/resize' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + /** * read status of the specified Pod * @param name name of the Pod @@ -15547,6 +15965,95 @@ export class CoreV1ApiRequestFactory extends BaseAPIRequestFactory { return requestContext; } + /** + * replace resize of the specified Pod + * @param name name of the Pod + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public async replaceNamespacedPodResize(name: string, namespace: string, body: V1Pod, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("CoreV1Api", "replaceNamespacedPodResize", "name"); + } + + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("CoreV1Api", "replaceNamespacedPodResize", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("CoreV1Api", "replaceNamespacedPodResize", "body"); + } + + + + + + + // Path Params + const localVarPath = '/api/v1/namespaces/{namespace}/pods/{name}/resize' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1Pod", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + /** * replace status of the specified Pod * @param name name of the Pod @@ -21615,6 +22122,45 @@ export class CoreV1ApiResponseProcessor { throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to patchNamespacedPodResize + * @throws ApiException if the response code was not in [200, 299] + */ + public async patchNamespacedPodResizeWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1Pod = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Pod", "" + ) as V1Pod; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1Pod = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Pod", "" + ) as V1Pod; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1Pod = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Pod", "" + ) as V1Pod; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects @@ -22584,6 +23130,38 @@ export class CoreV1ApiResponseProcessor { throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to readNamespacedPodResize + * @throws ApiException if the response code was not in [200, 299] + */ + public async readNamespacedPodResizeWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1Pod = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Pod", "" + ) as V1Pod; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1Pod = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Pod", "" + ) as V1Pod; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects @@ -23493,6 +24071,45 @@ export class CoreV1ApiResponseProcessor { throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to replaceNamespacedPodResize + * @throws ApiException if the response code was not in [200, 299] + */ + public async replaceNamespacedPodResizeWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1Pod = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Pod", "" + ) as V1Pod; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1Pod = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Pod", "" + ) as V1Pod; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1Pod = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Pod", "" + ) as V1Pod; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects diff --git a/src/gen/apis/CustomObjectsApi.ts b/src/gen/apis/CustomObjectsApi.ts index 9088357410b..9f16755ea5d 100644 --- a/src/gen/apis/CustomObjectsApi.ts +++ b/src/gen/apis/CustomObjectsApi.ts @@ -1,17 +1,17 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; /** * no description diff --git a/src/gen/apis/DiscoveryApi.ts b/src/gen/apis/DiscoveryApi.ts index d68810b2bd3..d9218e9c786 100644 --- a/src/gen/apis/DiscoveryApi.ts +++ b/src/gen/apis/DiscoveryApi.ts @@ -1,16 +1,16 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIGroup } from '../models/V1APIGroup.js'; +import { V1APIGroup } from '../models/V1APIGroup'; /** * no description diff --git a/src/gen/apis/DiscoveryV1Api.ts b/src/gen/apis/DiscoveryV1Api.ts index 1ab1e48ccbd..dbb9b3c899c 100644 --- a/src/gen/apis/DiscoveryV1Api.ts +++ b/src/gen/apis/DiscoveryV1Api.ts @@ -1,20 +1,20 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1EndpointSlice } from '../models/V1EndpointSlice.js'; -import { V1EndpointSliceList } from '../models/V1EndpointSliceList.js'; -import { V1Status } from '../models/V1Status.js'; +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1EndpointSlice } from '../models/V1EndpointSlice'; +import { V1EndpointSliceList } from '../models/V1EndpointSliceList'; +import { V1Status } from '../models/V1Status'; /** * no description @@ -110,6 +110,7 @@ export class DiscoveryV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -120,7 +121,7 @@ export class DiscoveryV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedEndpointSlice(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedEndpointSlice(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -143,6 +144,7 @@ export class DiscoveryV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -176,6 +178,11 @@ export class DiscoveryV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -248,11 +255,12 @@ export class DiscoveryV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedEndpointSlice(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedEndpointSlice(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -273,6 +281,7 @@ export class DiscoveryV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -297,6 +306,11 @@ export class DiscoveryV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -661,7 +675,9 @@ export class DiscoveryV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( diff --git a/src/gen/apis/EventsApi.ts b/src/gen/apis/EventsApi.ts index cfa039d4b75..31fae8cf8d8 100644 --- a/src/gen/apis/EventsApi.ts +++ b/src/gen/apis/EventsApi.ts @@ -1,16 +1,16 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIGroup } from '../models/V1APIGroup.js'; +import { V1APIGroup } from '../models/V1APIGroup'; /** * no description diff --git a/src/gen/apis/EventsV1Api.ts b/src/gen/apis/EventsV1Api.ts index 465bc4b2cbc..e2c2b6cbecb 100644 --- a/src/gen/apis/EventsV1Api.ts +++ b/src/gen/apis/EventsV1Api.ts @@ -1,20 +1,20 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { EventsV1Event } from '../models/EventsV1Event.js'; -import { EventsV1EventList } from '../models/EventsV1EventList.js'; -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1Status } from '../models/V1Status.js'; +import { EventsV1Event } from '../models/EventsV1Event'; +import { EventsV1EventList } from '../models/EventsV1EventList'; +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1Status } from '../models/V1Status'; /** * no description @@ -110,6 +110,7 @@ export class EventsV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -120,7 +121,7 @@ export class EventsV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedEvent(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedEvent(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -143,6 +144,7 @@ export class EventsV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/events.k8s.io/v1/namespaces/{namespace}/events' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -176,6 +178,11 @@ export class EventsV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -248,11 +255,12 @@ export class EventsV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedEvent(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedEvent(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -273,6 +281,7 @@ export class EventsV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/events.k8s.io/v1/namespaces/{namespace}/events/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -297,6 +306,11 @@ export class EventsV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -661,7 +675,9 @@ export class EventsV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( diff --git a/src/gen/apis/FlowcontrolApiserverApi.ts b/src/gen/apis/FlowcontrolApiserverApi.ts index 6d6e3207d56..61c1a30fcda 100644 --- a/src/gen/apis/FlowcontrolApiserverApi.ts +++ b/src/gen/apis/FlowcontrolApiserverApi.ts @@ -1,16 +1,16 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIGroup } from '../models/V1APIGroup.js'; +import { V1APIGroup } from '../models/V1APIGroup'; /** * no description diff --git a/src/gen/apis/FlowcontrolApiserverV1Api.ts b/src/gen/apis/FlowcontrolApiserverV1Api.ts index aaf0b4141d7..2fbbfb3e3c4 100644 --- a/src/gen/apis/FlowcontrolApiserverV1Api.ts +++ b/src/gen/apis/FlowcontrolApiserverV1Api.ts @@ -1,22 +1,22 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1FlowSchema } from '../models/V1FlowSchema.js'; -import { V1FlowSchemaList } from '../models/V1FlowSchemaList.js'; -import { V1PriorityLevelConfiguration } from '../models/V1PriorityLevelConfiguration.js'; -import { V1PriorityLevelConfigurationList } from '../models/V1PriorityLevelConfigurationList.js'; -import { V1Status } from '../models/V1Status.js'; +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1FlowSchema } from '../models/V1FlowSchema'; +import { V1FlowSchemaList } from '../models/V1FlowSchemaList'; +import { V1PriorityLevelConfiguration } from '../models/V1PriorityLevelConfiguration'; +import { V1PriorityLevelConfigurationList } from '../models/V1PriorityLevelConfigurationList'; +import { V1Status } from '../models/V1Status'; /** * no description @@ -176,6 +176,7 @@ export class FlowcontrolApiserverV1ApiRequestFactory extends BaseAPIRequestFacto * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -186,7 +187,7 @@ export class FlowcontrolApiserverV1ApiRequestFactory extends BaseAPIRequestFacto * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionFlowSchema(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionFlowSchema(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -203,6 +204,7 @@ export class FlowcontrolApiserverV1ApiRequestFactory extends BaseAPIRequestFacto + // Path Params const localVarPath = '/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas'; @@ -235,6 +237,11 @@ export class FlowcontrolApiserverV1ApiRequestFactory extends BaseAPIRequestFacto requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -307,6 +314,7 @@ export class FlowcontrolApiserverV1ApiRequestFactory extends BaseAPIRequestFacto * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -317,7 +325,7 @@ export class FlowcontrolApiserverV1ApiRequestFactory extends BaseAPIRequestFacto * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionPriorityLevelConfiguration(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionPriorityLevelConfiguration(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -334,6 +342,7 @@ export class FlowcontrolApiserverV1ApiRequestFactory extends BaseAPIRequestFacto + // Path Params const localVarPath = '/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations'; @@ -366,6 +375,11 @@ export class FlowcontrolApiserverV1ApiRequestFactory extends BaseAPIRequestFacto requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -437,11 +451,12 @@ export class FlowcontrolApiserverV1ApiRequestFactory extends BaseAPIRequestFacto * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteFlowSchema(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteFlowSchema(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -456,6 +471,7 @@ export class FlowcontrolApiserverV1ApiRequestFactory extends BaseAPIRequestFacto + // Path Params const localVarPath = '/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); @@ -479,6 +495,11 @@ export class FlowcontrolApiserverV1ApiRequestFactory extends BaseAPIRequestFacto requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -520,11 +541,12 @@ export class FlowcontrolApiserverV1ApiRequestFactory extends BaseAPIRequestFacto * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deletePriorityLevelConfiguration(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deletePriorityLevelConfiguration(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -539,6 +561,7 @@ export class FlowcontrolApiserverV1ApiRequestFactory extends BaseAPIRequestFacto + // Path Params const localVarPath = '/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); @@ -562,6 +585,11 @@ export class FlowcontrolApiserverV1ApiRequestFactory extends BaseAPIRequestFacto requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -910,7 +938,9 @@ export class FlowcontrolApiserverV1ApiRequestFactory extends BaseAPIRequestFacto "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -1006,7 +1036,9 @@ export class FlowcontrolApiserverV1ApiRequestFactory extends BaseAPIRequestFacto "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -1102,7 +1134,9 @@ export class FlowcontrolApiserverV1ApiRequestFactory extends BaseAPIRequestFacto "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -1198,7 +1232,9 @@ export class FlowcontrolApiserverV1ApiRequestFactory extends BaseAPIRequestFacto "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( diff --git a/src/gen/apis/InternalApiserverApi.ts b/src/gen/apis/InternalApiserverApi.ts index 6136c054eeb..6f3d3d6afb5 100644 --- a/src/gen/apis/InternalApiserverApi.ts +++ b/src/gen/apis/InternalApiserverApi.ts @@ -1,16 +1,16 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIGroup } from '../models/V1APIGroup.js'; +import { V1APIGroup } from '../models/V1APIGroup'; /** * no description diff --git a/src/gen/apis/InternalApiserverV1alpha1Api.ts b/src/gen/apis/InternalApiserverV1alpha1Api.ts index fc1689ec1f1..dc0269138e2 100644 --- a/src/gen/apis/InternalApiserverV1alpha1Api.ts +++ b/src/gen/apis/InternalApiserverV1alpha1Api.ts @@ -1,20 +1,20 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1Status } from '../models/V1Status.js'; -import { V1alpha1StorageVersion } from '../models/V1alpha1StorageVersion.js'; -import { V1alpha1StorageVersionList } from '../models/V1alpha1StorageVersionList.js'; +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1Status } from '../models/V1Status'; +import { V1alpha1StorageVersion } from '../models/V1alpha1StorageVersion'; +import { V1alpha1StorageVersionList } from '../models/V1alpha1StorageVersionList'; /** * no description @@ -101,6 +101,7 @@ export class InternalApiserverV1alpha1ApiRequestFactory extends BaseAPIRequestFa * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -111,7 +112,7 @@ export class InternalApiserverV1alpha1ApiRequestFactory extends BaseAPIRequestFa * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionStorageVersion(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionStorageVersion(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -128,6 +129,7 @@ export class InternalApiserverV1alpha1ApiRequestFactory extends BaseAPIRequestFa + // Path Params const localVarPath = '/apis/internal.apiserver.k8s.io/v1alpha1/storageversions'; @@ -160,6 +162,11 @@ export class InternalApiserverV1alpha1ApiRequestFactory extends BaseAPIRequestFa requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -231,11 +238,12 @@ export class InternalApiserverV1alpha1ApiRequestFactory extends BaseAPIRequestFa * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteStorageVersion(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteStorageVersion(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -250,6 +258,7 @@ export class InternalApiserverV1alpha1ApiRequestFactory extends BaseAPIRequestFa + // Path Params const localVarPath = '/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); @@ -273,6 +282,11 @@ export class InternalApiserverV1alpha1ApiRequestFactory extends BaseAPIRequestFa requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -515,7 +529,9 @@ export class InternalApiserverV1alpha1ApiRequestFactory extends BaseAPIRequestFa "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -611,7 +627,9 @@ export class InternalApiserverV1alpha1ApiRequestFactory extends BaseAPIRequestFa "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( diff --git a/src/gen/apis/LogsApi.ts b/src/gen/apis/LogsApi.ts index 3e05bc5f4cd..c5bd0892731 100644 --- a/src/gen/apis/LogsApi.ts +++ b/src/gen/apis/LogsApi.ts @@ -1,13 +1,13 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; diff --git a/src/gen/apis/NetworkingApi.ts b/src/gen/apis/NetworkingApi.ts index 6f34b102f40..ef1129a170f 100644 --- a/src/gen/apis/NetworkingApi.ts +++ b/src/gen/apis/NetworkingApi.ts @@ -1,16 +1,16 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIGroup } from '../models/V1APIGroup.js'; +import { V1APIGroup } from '../models/V1APIGroup'; /** * no description diff --git a/src/gen/apis/NetworkingV1Api.ts b/src/gen/apis/NetworkingV1Api.ts index 5c2894e25ca..dc9824693c4 100644 --- a/src/gen/apis/NetworkingV1Api.ts +++ b/src/gen/apis/NetworkingV1Api.ts @@ -1,24 +1,24 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; - - -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1Ingress } from '../models/V1Ingress.js'; -import { V1IngressClass } from '../models/V1IngressClass.js'; -import { V1IngressClassList } from '../models/V1IngressClassList.js'; -import { V1IngressList } from '../models/V1IngressList.js'; -import { V1NetworkPolicy } from '../models/V1NetworkPolicy.js'; -import { V1NetworkPolicyList } from '../models/V1NetworkPolicyList.js'; -import { V1Status } from '../models/V1Status.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1Ingress } from '../models/V1Ingress'; +import { V1IngressClass } from '../models/V1IngressClass'; +import { V1IngressClassList } from '../models/V1IngressClassList'; +import { V1IngressList } from '../models/V1IngressList'; +import { V1NetworkPolicy } from '../models/V1NetworkPolicy'; +import { V1NetworkPolicyList } from '../models/V1NetworkPolicyList'; +import { V1Status } from '../models/V1Status'; /** * no description @@ -267,6 +267,7 @@ export class NetworkingV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -277,7 +278,7 @@ export class NetworkingV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionIngressClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionIngressClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -294,6 +295,7 @@ export class NetworkingV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/networking.k8s.io/v1/ingressclasses'; @@ -326,6 +328,11 @@ export class NetworkingV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -399,6 +406,7 @@ export class NetworkingV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -409,7 +417,7 @@ export class NetworkingV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedIngress(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedIngress(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -432,6 +440,7 @@ export class NetworkingV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -465,6 +474,11 @@ export class NetworkingV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -538,6 +552,7 @@ export class NetworkingV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -548,7 +563,7 @@ export class NetworkingV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedNetworkPolicy(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedNetworkPolicy(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -571,6 +586,7 @@ export class NetworkingV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -604,6 +620,11 @@ export class NetworkingV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -675,11 +696,12 @@ export class NetworkingV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteIngressClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteIngressClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -694,6 +716,7 @@ export class NetworkingV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/networking.k8s.io/v1/ingressclasses/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); @@ -717,6 +740,11 @@ export class NetworkingV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -759,11 +787,12 @@ export class NetworkingV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedIngress(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedIngress(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -784,6 +813,7 @@ export class NetworkingV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -808,6 +838,11 @@ export class NetworkingV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -850,11 +885,12 @@ export class NetworkingV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedNetworkPolicy(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedNetworkPolicy(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -875,6 +911,7 @@ export class NetworkingV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -899,6 +936,11 @@ export class NetworkingV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -1581,7 +1623,9 @@ export class NetworkingV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -1685,7 +1729,9 @@ export class NetworkingV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -1789,7 +1835,9 @@ export class NetworkingV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -1893,7 +1941,9 @@ export class NetworkingV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( diff --git a/src/gen/apis/NetworkingV1beta1Api.ts b/src/gen/apis/NetworkingV1beta1Api.ts new file mode 100644 index 00000000000..af4de47f853 --- /dev/null +++ b/src/gen/apis/NetworkingV1beta1Api.ts @@ -0,0 +1,2202 @@ +// TODO: better import syntax? +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; +import FormData from "form-data"; +import { URLSearchParams } from 'url'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1Status } from '../models/V1Status'; +import { V1beta1IPAddress } from '../models/V1beta1IPAddress'; +import { V1beta1IPAddressList } from '../models/V1beta1IPAddressList'; +import { V1beta1ServiceCIDR } from '../models/V1beta1ServiceCIDR'; +import { V1beta1ServiceCIDRList } from '../models/V1beta1ServiceCIDRList'; + +/** + * no description + */ +export class NetworkingV1beta1ApiRequestFactory extends BaseAPIRequestFactory { + + /** + * create an IPAddress + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public async createIPAddress(body: V1beta1IPAddress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("NetworkingV1beta1Api", "createIPAddress", "body"); + } + + + + + + + // Path Params + const localVarPath = '/apis/networking.k8s.io/v1beta1/ipaddresses'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1beta1IPAddress", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * create a ServiceCIDR + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public async createServiceCIDR(body: V1beta1ServiceCIDR, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("NetworkingV1beta1Api", "createServiceCIDR", "body"); + } + + + + + + + // Path Params + const localVarPath = '/apis/networking.k8s.io/v1beta1/servicecidrs'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1beta1ServiceCIDR", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * delete collection of IPAddress + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param body + */ + public async deleteCollectionIPAddress(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + + + + + + + + + + + + + + + + // Path Params + const localVarPath = '/apis/networking.k8s.io/v1beta1/ipaddresses'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (_continue !== undefined) { + requestContext.setQueryParam("continue", ObjectSerializer.serialize(_continue, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldSelector !== undefined) { + requestContext.setQueryParam("fieldSelector", ObjectSerializer.serialize(fieldSelector, "string", "")); + } + + // Query Params + if (gracePeriodSeconds !== undefined) { + requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); + } + + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + + // Query Params + if (labelSelector !== undefined) { + requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); + } + + // Query Params + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer.serialize(limit, "number", "")); + } + + // Query Params + if (orphanDependents !== undefined) { + requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); + } + + // Query Params + if (propagationPolicy !== undefined) { + requestContext.setQueryParam("propagationPolicy", ObjectSerializer.serialize(propagationPolicy, "string", "")); + } + + // Query Params + if (resourceVersion !== undefined) { + requestContext.setQueryParam("resourceVersion", ObjectSerializer.serialize(resourceVersion, "string", "")); + } + + // Query Params + if (resourceVersionMatch !== undefined) { + requestContext.setQueryParam("resourceVersionMatch", ObjectSerializer.serialize(resourceVersionMatch, "string", "")); + } + + // Query Params + if (sendInitialEvents !== undefined) { + requestContext.setQueryParam("sendInitialEvents", ObjectSerializer.serialize(sendInitialEvents, "boolean", "")); + } + + // Query Params + if (timeoutSeconds !== undefined) { + requestContext.setQueryParam("timeoutSeconds", ObjectSerializer.serialize(timeoutSeconds, "number", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1DeleteOptions", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * delete collection of ServiceCIDR + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param body + */ + public async deleteCollectionServiceCIDR(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + + + + + + + + + + + + + + + + // Path Params + const localVarPath = '/apis/networking.k8s.io/v1beta1/servicecidrs'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (_continue !== undefined) { + requestContext.setQueryParam("continue", ObjectSerializer.serialize(_continue, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldSelector !== undefined) { + requestContext.setQueryParam("fieldSelector", ObjectSerializer.serialize(fieldSelector, "string", "")); + } + + // Query Params + if (gracePeriodSeconds !== undefined) { + requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); + } + + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + + // Query Params + if (labelSelector !== undefined) { + requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); + } + + // Query Params + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer.serialize(limit, "number", "")); + } + + // Query Params + if (orphanDependents !== undefined) { + requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); + } + + // Query Params + if (propagationPolicy !== undefined) { + requestContext.setQueryParam("propagationPolicy", ObjectSerializer.serialize(propagationPolicy, "string", "")); + } + + // Query Params + if (resourceVersion !== undefined) { + requestContext.setQueryParam("resourceVersion", ObjectSerializer.serialize(resourceVersion, "string", "")); + } + + // Query Params + if (resourceVersionMatch !== undefined) { + requestContext.setQueryParam("resourceVersionMatch", ObjectSerializer.serialize(resourceVersionMatch, "string", "")); + } + + // Query Params + if (sendInitialEvents !== undefined) { + requestContext.setQueryParam("sendInitialEvents", ObjectSerializer.serialize(sendInitialEvents, "boolean", "")); + } + + // Query Params + if (timeoutSeconds !== undefined) { + requestContext.setQueryParam("timeoutSeconds", ObjectSerializer.serialize(timeoutSeconds, "number", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1DeleteOptions", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * delete an IPAddress + * @param name name of the IPAddress + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param body + */ + public async deleteIPAddress(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("NetworkingV1beta1Api", "deleteIPAddress", "name"); + } + + + + + + + + + + // Path Params + const localVarPath = '/apis/networking.k8s.io/v1beta1/ipaddresses/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (gracePeriodSeconds !== undefined) { + requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); + } + + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + + // Query Params + if (orphanDependents !== undefined) { + requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); + } + + // Query Params + if (propagationPolicy !== undefined) { + requestContext.setQueryParam("propagationPolicy", ObjectSerializer.serialize(propagationPolicy, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1DeleteOptions", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * delete a ServiceCIDR + * @param name name of the ServiceCIDR + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param body + */ + public async deleteServiceCIDR(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("NetworkingV1beta1Api", "deleteServiceCIDR", "name"); + } + + + + + + + + + + // Path Params + const localVarPath = '/apis/networking.k8s.io/v1beta1/servicecidrs/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (gracePeriodSeconds !== undefined) { + requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); + } + + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + + // Query Params + if (orphanDependents !== undefined) { + requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); + } + + // Query Params + if (propagationPolicy !== undefined) { + requestContext.setQueryParam("propagationPolicy", ObjectSerializer.serialize(propagationPolicy, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1DeleteOptions", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * get available resources + */ + public async getAPIResources(_options?: Configuration): Promise { + let _config = _options || this.configuration; + + // Path Params + const localVarPath = '/apis/networking.k8s.io/v1beta1/'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * list or watch objects of kind IPAddress + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + */ + public async listIPAddress(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + + + + + + + + + + + + // Path Params + const localVarPath = '/apis/networking.k8s.io/v1beta1/ipaddresses'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (allowWatchBookmarks !== undefined) { + requestContext.setQueryParam("allowWatchBookmarks", ObjectSerializer.serialize(allowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (_continue !== undefined) { + requestContext.setQueryParam("continue", ObjectSerializer.serialize(_continue, "string", "")); + } + + // Query Params + if (fieldSelector !== undefined) { + requestContext.setQueryParam("fieldSelector", ObjectSerializer.serialize(fieldSelector, "string", "")); + } + + // Query Params + if (labelSelector !== undefined) { + requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); + } + + // Query Params + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer.serialize(limit, "number", "")); + } + + // Query Params + if (resourceVersion !== undefined) { + requestContext.setQueryParam("resourceVersion", ObjectSerializer.serialize(resourceVersion, "string", "")); + } + + // Query Params + if (resourceVersionMatch !== undefined) { + requestContext.setQueryParam("resourceVersionMatch", ObjectSerializer.serialize(resourceVersionMatch, "string", "")); + } + + // Query Params + if (sendInitialEvents !== undefined) { + requestContext.setQueryParam("sendInitialEvents", ObjectSerializer.serialize(sendInitialEvents, "boolean", "")); + } + + // Query Params + if (timeoutSeconds !== undefined) { + requestContext.setQueryParam("timeoutSeconds", ObjectSerializer.serialize(timeoutSeconds, "number", "")); + } + + // Query Params + if (watch !== undefined) { + requestContext.setQueryParam("watch", ObjectSerializer.serialize(watch, "boolean", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * list or watch objects of kind ServiceCIDR + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + */ + public async listServiceCIDR(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + + + + + + + + + + + + // Path Params + const localVarPath = '/apis/networking.k8s.io/v1beta1/servicecidrs'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (allowWatchBookmarks !== undefined) { + requestContext.setQueryParam("allowWatchBookmarks", ObjectSerializer.serialize(allowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (_continue !== undefined) { + requestContext.setQueryParam("continue", ObjectSerializer.serialize(_continue, "string", "")); + } + + // Query Params + if (fieldSelector !== undefined) { + requestContext.setQueryParam("fieldSelector", ObjectSerializer.serialize(fieldSelector, "string", "")); + } + + // Query Params + if (labelSelector !== undefined) { + requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); + } + + // Query Params + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer.serialize(limit, "number", "")); + } + + // Query Params + if (resourceVersion !== undefined) { + requestContext.setQueryParam("resourceVersion", ObjectSerializer.serialize(resourceVersion, "string", "")); + } + + // Query Params + if (resourceVersionMatch !== undefined) { + requestContext.setQueryParam("resourceVersionMatch", ObjectSerializer.serialize(resourceVersionMatch, "string", "")); + } + + // Query Params + if (sendInitialEvents !== undefined) { + requestContext.setQueryParam("sendInitialEvents", ObjectSerializer.serialize(sendInitialEvents, "boolean", "")); + } + + // Query Params + if (timeoutSeconds !== undefined) { + requestContext.setQueryParam("timeoutSeconds", ObjectSerializer.serialize(timeoutSeconds, "number", "")); + } + + // Query Params + if (watch !== undefined) { + requestContext.setQueryParam("watch", ObjectSerializer.serialize(watch, "boolean", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * partially update the specified IPAddress + * @param name name of the IPAddress + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public async patchIPAddress(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("NetworkingV1beta1Api", "patchIPAddress", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("NetworkingV1beta1Api", "patchIPAddress", "body"); + } + + + + + + + + // Path Params + const localVarPath = '/apis/networking.k8s.io/v1beta1/ipaddresses/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + // Query Params + if (force !== undefined) { + requestContext.setQueryParam("force", ObjectSerializer.serialize(force, "boolean", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json-patch+json", + + "application/merge-patch+json", + + "application/strategic-merge-patch+json", + + "application/apply-patch+yaml", + + "application/apply-patch+cbor" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "any", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * partially update the specified ServiceCIDR + * @param name name of the ServiceCIDR + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public async patchServiceCIDR(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("NetworkingV1beta1Api", "patchServiceCIDR", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("NetworkingV1beta1Api", "patchServiceCIDR", "body"); + } + + + + + + + + // Path Params + const localVarPath = '/apis/networking.k8s.io/v1beta1/servicecidrs/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + // Query Params + if (force !== undefined) { + requestContext.setQueryParam("force", ObjectSerializer.serialize(force, "boolean", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json-patch+json", + + "application/merge-patch+json", + + "application/strategic-merge-patch+json", + + "application/apply-patch+yaml", + + "application/apply-patch+cbor" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "any", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * partially update status of the specified ServiceCIDR + * @param name name of the ServiceCIDR + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public async patchServiceCIDRStatus(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("NetworkingV1beta1Api", "patchServiceCIDRStatus", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("NetworkingV1beta1Api", "patchServiceCIDRStatus", "body"); + } + + + + + + + + // Path Params + const localVarPath = '/apis/networking.k8s.io/v1beta1/servicecidrs/{name}/status' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + // Query Params + if (force !== undefined) { + requestContext.setQueryParam("force", ObjectSerializer.serialize(force, "boolean", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json-patch+json", + + "application/merge-patch+json", + + "application/strategic-merge-patch+json", + + "application/apply-patch+yaml", + + "application/apply-patch+cbor" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "any", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * read the specified IPAddress + * @param name name of the IPAddress + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public async readIPAddress(name: string, pretty?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("NetworkingV1beta1Api", "readIPAddress", "name"); + } + + + + // Path Params + const localVarPath = '/apis/networking.k8s.io/v1beta1/ipaddresses/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * read the specified ServiceCIDR + * @param name name of the ServiceCIDR + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public async readServiceCIDR(name: string, pretty?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("NetworkingV1beta1Api", "readServiceCIDR", "name"); + } + + + + // Path Params + const localVarPath = '/apis/networking.k8s.io/v1beta1/servicecidrs/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * read status of the specified ServiceCIDR + * @param name name of the ServiceCIDR + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public async readServiceCIDRStatus(name: string, pretty?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("NetworkingV1beta1Api", "readServiceCIDRStatus", "name"); + } + + + + // Path Params + const localVarPath = '/apis/networking.k8s.io/v1beta1/servicecidrs/{name}/status' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * replace the specified IPAddress + * @param name name of the IPAddress + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public async replaceIPAddress(name: string, body: V1beta1IPAddress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("NetworkingV1beta1Api", "replaceIPAddress", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("NetworkingV1beta1Api", "replaceIPAddress", "body"); + } + + + + + + + // Path Params + const localVarPath = '/apis/networking.k8s.io/v1beta1/ipaddresses/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1beta1IPAddress", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * replace the specified ServiceCIDR + * @param name name of the ServiceCIDR + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public async replaceServiceCIDR(name: string, body: V1beta1ServiceCIDR, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("NetworkingV1beta1Api", "replaceServiceCIDR", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("NetworkingV1beta1Api", "replaceServiceCIDR", "body"); + } + + + + + + + // Path Params + const localVarPath = '/apis/networking.k8s.io/v1beta1/servicecidrs/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1beta1ServiceCIDR", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * replace status of the specified ServiceCIDR + * @param name name of the ServiceCIDR + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public async replaceServiceCIDRStatus(name: string, body: V1beta1ServiceCIDR, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("NetworkingV1beta1Api", "replaceServiceCIDRStatus", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("NetworkingV1beta1Api", "replaceServiceCIDRStatus", "body"); + } + + + + + + + // Path Params + const localVarPath = '/apis/networking.k8s.io/v1beta1/servicecidrs/{name}/status' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1beta1ServiceCIDR", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + +} + +export class NetworkingV1beta1ApiResponseProcessor { + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createIPAddress + * @throws ApiException if the response code was not in [200, 299] + */ + public async createIPAddressWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1IPAddress = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1IPAddress", "" + ) as V1beta1IPAddress; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1beta1IPAddress = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1IPAddress", "" + ) as V1beta1IPAddress; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("202", response.httpStatusCode)) { + const body: V1beta1IPAddress = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1IPAddress", "" + ) as V1beta1IPAddress; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1IPAddress = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1IPAddress", "" + ) as V1beta1IPAddress; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createServiceCIDR + * @throws ApiException if the response code was not in [200, 299] + */ + public async createServiceCIDRWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ServiceCIDR = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ServiceCIDR", "" + ) as V1beta1ServiceCIDR; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1beta1ServiceCIDR = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ServiceCIDR", "" + ) as V1beta1ServiceCIDR; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("202", response.httpStatusCode)) { + const body: V1beta1ServiceCIDR = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ServiceCIDR", "" + ) as V1beta1ServiceCIDR; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ServiceCIDR = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ServiceCIDR", "" + ) as V1beta1ServiceCIDR; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteCollectionIPAddress + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteCollectionIPAddressWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteCollectionServiceCIDR + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteCollectionServiceCIDRWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteIPAddress + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteIPAddressWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("202", response.httpStatusCode)) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteServiceCIDR + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteServiceCIDRWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("202", response.httpStatusCode)) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getAPIResources + * @throws ApiException if the response code was not in [200, 299] + */ + public async getAPIResourcesWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1APIResourceList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1APIResourceList", "" + ) as V1APIResourceList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1APIResourceList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1APIResourceList", "" + ) as V1APIResourceList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listIPAddress + * @throws ApiException if the response code was not in [200, 299] + */ + public async listIPAddressWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1IPAddressList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1IPAddressList", "" + ) as V1beta1IPAddressList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1IPAddressList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1IPAddressList", "" + ) as V1beta1IPAddressList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listServiceCIDR + * @throws ApiException if the response code was not in [200, 299] + */ + public async listServiceCIDRWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ServiceCIDRList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ServiceCIDRList", "" + ) as V1beta1ServiceCIDRList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ServiceCIDRList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ServiceCIDRList", "" + ) as V1beta1ServiceCIDRList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to patchIPAddress + * @throws ApiException if the response code was not in [200, 299] + */ + public async patchIPAddressWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1IPAddress = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1IPAddress", "" + ) as V1beta1IPAddress; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1beta1IPAddress = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1IPAddress", "" + ) as V1beta1IPAddress; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1IPAddress = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1IPAddress", "" + ) as V1beta1IPAddress; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to patchServiceCIDR + * @throws ApiException if the response code was not in [200, 299] + */ + public async patchServiceCIDRWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ServiceCIDR = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ServiceCIDR", "" + ) as V1beta1ServiceCIDR; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1beta1ServiceCIDR = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ServiceCIDR", "" + ) as V1beta1ServiceCIDR; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ServiceCIDR = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ServiceCIDR", "" + ) as V1beta1ServiceCIDR; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to patchServiceCIDRStatus + * @throws ApiException if the response code was not in [200, 299] + */ + public async patchServiceCIDRStatusWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ServiceCIDR = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ServiceCIDR", "" + ) as V1beta1ServiceCIDR; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1beta1ServiceCIDR = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ServiceCIDR", "" + ) as V1beta1ServiceCIDR; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ServiceCIDR = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ServiceCIDR", "" + ) as V1beta1ServiceCIDR; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to readIPAddress + * @throws ApiException if the response code was not in [200, 299] + */ + public async readIPAddressWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1IPAddress = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1IPAddress", "" + ) as V1beta1IPAddress; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1IPAddress = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1IPAddress", "" + ) as V1beta1IPAddress; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to readServiceCIDR + * @throws ApiException if the response code was not in [200, 299] + */ + public async readServiceCIDRWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ServiceCIDR = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ServiceCIDR", "" + ) as V1beta1ServiceCIDR; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ServiceCIDR = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ServiceCIDR", "" + ) as V1beta1ServiceCIDR; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to readServiceCIDRStatus + * @throws ApiException if the response code was not in [200, 299] + */ + public async readServiceCIDRStatusWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ServiceCIDR = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ServiceCIDR", "" + ) as V1beta1ServiceCIDR; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ServiceCIDR = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ServiceCIDR", "" + ) as V1beta1ServiceCIDR; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to replaceIPAddress + * @throws ApiException if the response code was not in [200, 299] + */ + public async replaceIPAddressWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1IPAddress = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1IPAddress", "" + ) as V1beta1IPAddress; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1beta1IPAddress = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1IPAddress", "" + ) as V1beta1IPAddress; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1IPAddress = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1IPAddress", "" + ) as V1beta1IPAddress; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to replaceServiceCIDR + * @throws ApiException if the response code was not in [200, 299] + */ + public async replaceServiceCIDRWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ServiceCIDR = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ServiceCIDR", "" + ) as V1beta1ServiceCIDR; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1beta1ServiceCIDR = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ServiceCIDR", "" + ) as V1beta1ServiceCIDR; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ServiceCIDR = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ServiceCIDR", "" + ) as V1beta1ServiceCIDR; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to replaceServiceCIDRStatus + * @throws ApiException if the response code was not in [200, 299] + */ + public async replaceServiceCIDRStatusWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ServiceCIDR = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ServiceCIDR", "" + ) as V1beta1ServiceCIDR; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1beta1ServiceCIDR = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ServiceCIDR", "" + ) as V1beta1ServiceCIDR; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ServiceCIDR = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ServiceCIDR", "" + ) as V1beta1ServiceCIDR; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + +} diff --git a/src/gen/apis/NodeApi.ts b/src/gen/apis/NodeApi.ts index aa40922246c..f2ce8b7661d 100644 --- a/src/gen/apis/NodeApi.ts +++ b/src/gen/apis/NodeApi.ts @@ -1,16 +1,16 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIGroup } from '../models/V1APIGroup.js'; +import { V1APIGroup } from '../models/V1APIGroup'; /** * no description diff --git a/src/gen/apis/NodeV1Api.ts b/src/gen/apis/NodeV1Api.ts index d049e44a094..68e25b2882a 100644 --- a/src/gen/apis/NodeV1Api.ts +++ b/src/gen/apis/NodeV1Api.ts @@ -1,20 +1,20 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1RuntimeClass } from '../models/V1RuntimeClass.js'; -import { V1RuntimeClassList } from '../models/V1RuntimeClassList.js'; -import { V1Status } from '../models/V1Status.js'; +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1RuntimeClass } from '../models/V1RuntimeClass'; +import { V1RuntimeClassList } from '../models/V1RuntimeClassList'; +import { V1Status } from '../models/V1Status'; /** * no description @@ -101,6 +101,7 @@ export class NodeV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -111,7 +112,7 @@ export class NodeV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionRuntimeClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionRuntimeClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -128,6 +129,7 @@ export class NodeV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/node.k8s.io/v1/runtimeclasses'; @@ -160,6 +162,11 @@ export class NodeV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -231,11 +238,12 @@ export class NodeV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteRuntimeClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteRuntimeClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -250,6 +258,7 @@ export class NodeV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/node.k8s.io/v1/runtimeclasses/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); @@ -273,6 +282,11 @@ export class NodeV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -515,7 +529,9 @@ export class NodeV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( diff --git a/src/gen/apis/OpenidApi.ts b/src/gen/apis/OpenidApi.ts index ebcde32aa5e..35faca0a52f 100644 --- a/src/gen/apis/OpenidApi.ts +++ b/src/gen/apis/OpenidApi.ts @@ -1,13 +1,13 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; diff --git a/src/gen/apis/PolicyApi.ts b/src/gen/apis/PolicyApi.ts index edcf289054f..b4706359aea 100644 --- a/src/gen/apis/PolicyApi.ts +++ b/src/gen/apis/PolicyApi.ts @@ -1,16 +1,16 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIGroup } from '../models/V1APIGroup.js'; +import { V1APIGroup } from '../models/V1APIGroup'; /** * no description diff --git a/src/gen/apis/PolicyV1Api.ts b/src/gen/apis/PolicyV1Api.ts index 3f71e951ea7..56e41e801fb 100644 --- a/src/gen/apis/PolicyV1Api.ts +++ b/src/gen/apis/PolicyV1Api.ts @@ -1,20 +1,20 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1PodDisruptionBudget } from '../models/V1PodDisruptionBudget.js'; -import { V1PodDisruptionBudgetList } from '../models/V1PodDisruptionBudgetList.js'; -import { V1Status } from '../models/V1Status.js'; +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1PodDisruptionBudget } from '../models/V1PodDisruptionBudget'; +import { V1PodDisruptionBudgetList } from '../models/V1PodDisruptionBudgetList'; +import { V1Status } from '../models/V1Status'; /** * no description @@ -110,6 +110,7 @@ export class PolicyV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -120,7 +121,7 @@ export class PolicyV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedPodDisruptionBudget(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedPodDisruptionBudget(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -143,6 +144,7 @@ export class PolicyV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -176,6 +178,11 @@ export class PolicyV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -248,11 +255,12 @@ export class PolicyV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedPodDisruptionBudget(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedPodDisruptionBudget(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -273,6 +281,7 @@ export class PolicyV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -297,6 +306,11 @@ export class PolicyV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -661,7 +675,9 @@ export class PolicyV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -765,7 +781,9 @@ export class PolicyV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( diff --git a/src/gen/apis/RbacAuthorizationApi.ts b/src/gen/apis/RbacAuthorizationApi.ts index 34823b0311e..a7f00272b5f 100644 --- a/src/gen/apis/RbacAuthorizationApi.ts +++ b/src/gen/apis/RbacAuthorizationApi.ts @@ -1,16 +1,16 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIGroup } from '../models/V1APIGroup.js'; +import { V1APIGroup } from '../models/V1APIGroup'; /** * no description diff --git a/src/gen/apis/RbacAuthorizationV1Api.ts b/src/gen/apis/RbacAuthorizationV1Api.ts index 166ae38e499..b1f40a22198 100644 --- a/src/gen/apis/RbacAuthorizationV1Api.ts +++ b/src/gen/apis/RbacAuthorizationV1Api.ts @@ -1,26 +1,26 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; - - -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1ClusterRole } from '../models/V1ClusterRole.js'; -import { V1ClusterRoleBinding } from '../models/V1ClusterRoleBinding.js'; -import { V1ClusterRoleBindingList } from '../models/V1ClusterRoleBindingList.js'; -import { V1ClusterRoleList } from '../models/V1ClusterRoleList.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1Role } from '../models/V1Role.js'; -import { V1RoleBinding } from '../models/V1RoleBinding.js'; -import { V1RoleBindingList } from '../models/V1RoleBindingList.js'; -import { V1RoleList } from '../models/V1RoleList.js'; -import { V1Status } from '../models/V1Status.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1ClusterRole } from '../models/V1ClusterRole'; +import { V1ClusterRoleBinding } from '../models/V1ClusterRoleBinding'; +import { V1ClusterRoleBindingList } from '../models/V1ClusterRoleBindingList'; +import { V1ClusterRoleList } from '../models/V1ClusterRoleList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1Role } from '../models/V1Role'; +import { V1RoleBinding } from '../models/V1RoleBinding'; +import { V1RoleBindingList } from '../models/V1RoleBindingList'; +import { V1RoleList } from '../models/V1RoleList'; +import { V1Status } from '../models/V1Status'; /** * no description @@ -341,11 +341,12 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteClusterRole(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteClusterRole(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -360,6 +361,7 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory + // Path Params const localVarPath = '/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); @@ -383,6 +385,11 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -424,11 +431,12 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteClusterRoleBinding(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteClusterRoleBinding(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -443,6 +451,7 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory + // Path Params const localVarPath = '/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); @@ -466,6 +475,11 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -508,6 +522,7 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -518,7 +533,7 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionClusterRole(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionClusterRole(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -535,6 +550,7 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory + // Path Params const localVarPath = '/apis/rbac.authorization.k8s.io/v1/clusterroles'; @@ -567,6 +583,11 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -639,6 +660,7 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -649,7 +671,7 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionClusterRoleBinding(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionClusterRoleBinding(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -666,6 +688,7 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory + // Path Params const localVarPath = '/apis/rbac.authorization.k8s.io/v1/clusterrolebindings'; @@ -698,6 +721,11 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -771,6 +799,7 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -781,7 +810,7 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedRole(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedRole(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -804,6 +833,7 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory + // Path Params const localVarPath = '/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -837,6 +867,11 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -910,6 +945,7 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -920,7 +956,7 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedRoleBinding(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedRoleBinding(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -943,6 +979,7 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory + // Path Params const localVarPath = '/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -976,6 +1013,11 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -1048,11 +1090,12 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedRole(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedRole(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -1073,6 +1116,7 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory + // Path Params const localVarPath = '/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -1097,6 +1141,11 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -1139,11 +1188,12 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedRoleBinding(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedRoleBinding(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -1164,6 +1214,7 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory + // Path Params const localVarPath = '/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -1188,6 +1239,11 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -1976,7 +2032,9 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -2072,7 +2130,9 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -2176,7 +2236,9 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -2280,7 +2342,9 @@ export class RbacAuthorizationV1ApiRequestFactory extends BaseAPIRequestFactory "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( diff --git a/src/gen/apis/ResourceApi.ts b/src/gen/apis/ResourceApi.ts index 030fc474043..72b774c76a5 100644 --- a/src/gen/apis/ResourceApi.ts +++ b/src/gen/apis/ResourceApi.ts @@ -1,16 +1,16 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIGroup } from '../models/V1APIGroup.js'; +import { V1APIGroup } from '../models/V1APIGroup'; /** * no description diff --git a/src/gen/apis/ResourceV1alpha3Api.ts b/src/gen/apis/ResourceV1alpha3Api.ts new file mode 100644 index 00000000000..9ef87cc9193 --- /dev/null +++ b/src/gen/apis/ResourceV1alpha3Api.ts @@ -0,0 +1,4396 @@ +// TODO: better import syntax? +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; +import FormData from "form-data"; +import { URLSearchParams } from 'url'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1Status } from '../models/V1Status'; +import { V1alpha3DeviceClass } from '../models/V1alpha3DeviceClass'; +import { V1alpha3DeviceClassList } from '../models/V1alpha3DeviceClassList'; +import { V1alpha3ResourceClaim } from '../models/V1alpha3ResourceClaim'; +import { V1alpha3ResourceClaimList } from '../models/V1alpha3ResourceClaimList'; +import { V1alpha3ResourceClaimTemplate } from '../models/V1alpha3ResourceClaimTemplate'; +import { V1alpha3ResourceClaimTemplateList } from '../models/V1alpha3ResourceClaimTemplateList'; +import { V1alpha3ResourceSlice } from '../models/V1alpha3ResourceSlice'; +import { V1alpha3ResourceSliceList } from '../models/V1alpha3ResourceSliceList'; + +/** + * no description + */ +export class ResourceV1alpha3ApiRequestFactory extends BaseAPIRequestFactory { + + /** + * create a DeviceClass + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public async createDeviceClass(body: V1alpha3DeviceClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "createDeviceClass", "body"); + } + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/deviceclasses'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1alpha3DeviceClass", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * create a ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public async createNamespacedResourceClaim(namespace: string, body: V1alpha3ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "createNamespacedResourceClaim", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "createNamespacedResourceClaim", "body"); + } + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1alpha3ResourceClaim", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * create a ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public async createNamespacedResourceClaimTemplate(namespace: string, body: V1alpha3ResourceClaimTemplate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "createNamespacedResourceClaimTemplate", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "createNamespacedResourceClaimTemplate", "body"); + } + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1alpha3ResourceClaimTemplate", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * create a ResourceSlice + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public async createResourceSlice(body: V1alpha3ResourceSlice, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "createResourceSlice", "body"); + } + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/resourceslices'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1alpha3ResourceSlice", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * delete collection of DeviceClass + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param body + */ + public async deleteCollectionDeviceClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + + + + + + + + + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/deviceclasses'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (_continue !== undefined) { + requestContext.setQueryParam("continue", ObjectSerializer.serialize(_continue, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldSelector !== undefined) { + requestContext.setQueryParam("fieldSelector", ObjectSerializer.serialize(fieldSelector, "string", "")); + } + + // Query Params + if (gracePeriodSeconds !== undefined) { + requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); + } + + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + + // Query Params + if (labelSelector !== undefined) { + requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); + } + + // Query Params + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer.serialize(limit, "number", "")); + } + + // Query Params + if (orphanDependents !== undefined) { + requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); + } + + // Query Params + if (propagationPolicy !== undefined) { + requestContext.setQueryParam("propagationPolicy", ObjectSerializer.serialize(propagationPolicy, "string", "")); + } + + // Query Params + if (resourceVersion !== undefined) { + requestContext.setQueryParam("resourceVersion", ObjectSerializer.serialize(resourceVersion, "string", "")); + } + + // Query Params + if (resourceVersionMatch !== undefined) { + requestContext.setQueryParam("resourceVersionMatch", ObjectSerializer.serialize(resourceVersionMatch, "string", "")); + } + + // Query Params + if (sendInitialEvents !== undefined) { + requestContext.setQueryParam("sendInitialEvents", ObjectSerializer.serialize(sendInitialEvents, "boolean", "")); + } + + // Query Params + if (timeoutSeconds !== undefined) { + requestContext.setQueryParam("timeoutSeconds", ObjectSerializer.serialize(timeoutSeconds, "number", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1DeleteOptions", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * delete collection of ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param body + */ + public async deleteCollectionNamespacedResourceClaim(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "deleteCollectionNamespacedResourceClaim", "namespace"); + } + + + + + + + + + + + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (_continue !== undefined) { + requestContext.setQueryParam("continue", ObjectSerializer.serialize(_continue, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldSelector !== undefined) { + requestContext.setQueryParam("fieldSelector", ObjectSerializer.serialize(fieldSelector, "string", "")); + } + + // Query Params + if (gracePeriodSeconds !== undefined) { + requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); + } + + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + + // Query Params + if (labelSelector !== undefined) { + requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); + } + + // Query Params + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer.serialize(limit, "number", "")); + } + + // Query Params + if (orphanDependents !== undefined) { + requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); + } + + // Query Params + if (propagationPolicy !== undefined) { + requestContext.setQueryParam("propagationPolicy", ObjectSerializer.serialize(propagationPolicy, "string", "")); + } + + // Query Params + if (resourceVersion !== undefined) { + requestContext.setQueryParam("resourceVersion", ObjectSerializer.serialize(resourceVersion, "string", "")); + } + + // Query Params + if (resourceVersionMatch !== undefined) { + requestContext.setQueryParam("resourceVersionMatch", ObjectSerializer.serialize(resourceVersionMatch, "string", "")); + } + + // Query Params + if (sendInitialEvents !== undefined) { + requestContext.setQueryParam("sendInitialEvents", ObjectSerializer.serialize(sendInitialEvents, "boolean", "")); + } + + // Query Params + if (timeoutSeconds !== undefined) { + requestContext.setQueryParam("timeoutSeconds", ObjectSerializer.serialize(timeoutSeconds, "number", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1DeleteOptions", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * delete collection of ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param body + */ + public async deleteCollectionNamespacedResourceClaimTemplate(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "deleteCollectionNamespacedResourceClaimTemplate", "namespace"); + } + + + + + + + + + + + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (_continue !== undefined) { + requestContext.setQueryParam("continue", ObjectSerializer.serialize(_continue, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldSelector !== undefined) { + requestContext.setQueryParam("fieldSelector", ObjectSerializer.serialize(fieldSelector, "string", "")); + } + + // Query Params + if (gracePeriodSeconds !== undefined) { + requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); + } + + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + + // Query Params + if (labelSelector !== undefined) { + requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); + } + + // Query Params + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer.serialize(limit, "number", "")); + } + + // Query Params + if (orphanDependents !== undefined) { + requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); + } + + // Query Params + if (propagationPolicy !== undefined) { + requestContext.setQueryParam("propagationPolicy", ObjectSerializer.serialize(propagationPolicy, "string", "")); + } + + // Query Params + if (resourceVersion !== undefined) { + requestContext.setQueryParam("resourceVersion", ObjectSerializer.serialize(resourceVersion, "string", "")); + } + + // Query Params + if (resourceVersionMatch !== undefined) { + requestContext.setQueryParam("resourceVersionMatch", ObjectSerializer.serialize(resourceVersionMatch, "string", "")); + } + + // Query Params + if (sendInitialEvents !== undefined) { + requestContext.setQueryParam("sendInitialEvents", ObjectSerializer.serialize(sendInitialEvents, "boolean", "")); + } + + // Query Params + if (timeoutSeconds !== undefined) { + requestContext.setQueryParam("timeoutSeconds", ObjectSerializer.serialize(timeoutSeconds, "number", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1DeleteOptions", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * delete collection of ResourceSlice + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param body + */ + public async deleteCollectionResourceSlice(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + + + + + + + + + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/resourceslices'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (_continue !== undefined) { + requestContext.setQueryParam("continue", ObjectSerializer.serialize(_continue, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldSelector !== undefined) { + requestContext.setQueryParam("fieldSelector", ObjectSerializer.serialize(fieldSelector, "string", "")); + } + + // Query Params + if (gracePeriodSeconds !== undefined) { + requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); + } + + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + + // Query Params + if (labelSelector !== undefined) { + requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); + } + + // Query Params + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer.serialize(limit, "number", "")); + } + + // Query Params + if (orphanDependents !== undefined) { + requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); + } + + // Query Params + if (propagationPolicy !== undefined) { + requestContext.setQueryParam("propagationPolicy", ObjectSerializer.serialize(propagationPolicy, "string", "")); + } + + // Query Params + if (resourceVersion !== undefined) { + requestContext.setQueryParam("resourceVersion", ObjectSerializer.serialize(resourceVersion, "string", "")); + } + + // Query Params + if (resourceVersionMatch !== undefined) { + requestContext.setQueryParam("resourceVersionMatch", ObjectSerializer.serialize(resourceVersionMatch, "string", "")); + } + + // Query Params + if (sendInitialEvents !== undefined) { + requestContext.setQueryParam("sendInitialEvents", ObjectSerializer.serialize(sendInitialEvents, "boolean", "")); + } + + // Query Params + if (timeoutSeconds !== undefined) { + requestContext.setQueryParam("timeoutSeconds", ObjectSerializer.serialize(timeoutSeconds, "number", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1DeleteOptions", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * delete a DeviceClass + * @param name name of the DeviceClass + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param body + */ + public async deleteDeviceClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "deleteDeviceClass", "name"); + } + + + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/deviceclasses/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (gracePeriodSeconds !== undefined) { + requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); + } + + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + + // Query Params + if (orphanDependents !== undefined) { + requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); + } + + // Query Params + if (propagationPolicy !== undefined) { + requestContext.setQueryParam("propagationPolicy", ObjectSerializer.serialize(propagationPolicy, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1DeleteOptions", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * delete a ResourceClaim + * @param name name of the ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param body + */ + public async deleteNamespacedResourceClaim(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "deleteNamespacedResourceClaim", "name"); + } + + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "deleteNamespacedResourceClaim", "namespace"); + } + + + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (gracePeriodSeconds !== undefined) { + requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); + } + + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + + // Query Params + if (orphanDependents !== undefined) { + requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); + } + + // Query Params + if (propagationPolicy !== undefined) { + requestContext.setQueryParam("propagationPolicy", ObjectSerializer.serialize(propagationPolicy, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1DeleteOptions", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * delete a ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param body + */ + public async deleteNamespacedResourceClaimTemplate(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "deleteNamespacedResourceClaimTemplate", "name"); + } + + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "deleteNamespacedResourceClaimTemplate", "namespace"); + } + + + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (gracePeriodSeconds !== undefined) { + requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); + } + + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + + // Query Params + if (orphanDependents !== undefined) { + requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); + } + + // Query Params + if (propagationPolicy !== undefined) { + requestContext.setQueryParam("propagationPolicy", ObjectSerializer.serialize(propagationPolicy, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1DeleteOptions", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * delete a ResourceSlice + * @param name name of the ResourceSlice + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param body + */ + public async deleteResourceSlice(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "deleteResourceSlice", "name"); + } + + + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/resourceslices/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (gracePeriodSeconds !== undefined) { + requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); + } + + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + + // Query Params + if (orphanDependents !== undefined) { + requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); + } + + // Query Params + if (propagationPolicy !== undefined) { + requestContext.setQueryParam("propagationPolicy", ObjectSerializer.serialize(propagationPolicy, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1DeleteOptions", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * get available resources + */ + public async getAPIResources(_options?: Configuration): Promise { + let _config = _options || this.configuration; + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * list or watch objects of kind DeviceClass + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + */ + public async listDeviceClass(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + + + + + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/deviceclasses'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (allowWatchBookmarks !== undefined) { + requestContext.setQueryParam("allowWatchBookmarks", ObjectSerializer.serialize(allowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (_continue !== undefined) { + requestContext.setQueryParam("continue", ObjectSerializer.serialize(_continue, "string", "")); + } + + // Query Params + if (fieldSelector !== undefined) { + requestContext.setQueryParam("fieldSelector", ObjectSerializer.serialize(fieldSelector, "string", "")); + } + + // Query Params + if (labelSelector !== undefined) { + requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); + } + + // Query Params + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer.serialize(limit, "number", "")); + } + + // Query Params + if (resourceVersion !== undefined) { + requestContext.setQueryParam("resourceVersion", ObjectSerializer.serialize(resourceVersion, "string", "")); + } + + // Query Params + if (resourceVersionMatch !== undefined) { + requestContext.setQueryParam("resourceVersionMatch", ObjectSerializer.serialize(resourceVersionMatch, "string", "")); + } + + // Query Params + if (sendInitialEvents !== undefined) { + requestContext.setQueryParam("sendInitialEvents", ObjectSerializer.serialize(sendInitialEvents, "boolean", "")); + } + + // Query Params + if (timeoutSeconds !== undefined) { + requestContext.setQueryParam("timeoutSeconds", ObjectSerializer.serialize(timeoutSeconds, "number", "")); + } + + // Query Params + if (watch !== undefined) { + requestContext.setQueryParam("watch", ObjectSerializer.serialize(watch, "boolean", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * list or watch objects of kind ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + */ + public async listNamespacedResourceClaim(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "listNamespacedResourceClaim", "namespace"); + } + + + + + + + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (allowWatchBookmarks !== undefined) { + requestContext.setQueryParam("allowWatchBookmarks", ObjectSerializer.serialize(allowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (_continue !== undefined) { + requestContext.setQueryParam("continue", ObjectSerializer.serialize(_continue, "string", "")); + } + + // Query Params + if (fieldSelector !== undefined) { + requestContext.setQueryParam("fieldSelector", ObjectSerializer.serialize(fieldSelector, "string", "")); + } + + // Query Params + if (labelSelector !== undefined) { + requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); + } + + // Query Params + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer.serialize(limit, "number", "")); + } + + // Query Params + if (resourceVersion !== undefined) { + requestContext.setQueryParam("resourceVersion", ObjectSerializer.serialize(resourceVersion, "string", "")); + } + + // Query Params + if (resourceVersionMatch !== undefined) { + requestContext.setQueryParam("resourceVersionMatch", ObjectSerializer.serialize(resourceVersionMatch, "string", "")); + } + + // Query Params + if (sendInitialEvents !== undefined) { + requestContext.setQueryParam("sendInitialEvents", ObjectSerializer.serialize(sendInitialEvents, "boolean", "")); + } + + // Query Params + if (timeoutSeconds !== undefined) { + requestContext.setQueryParam("timeoutSeconds", ObjectSerializer.serialize(timeoutSeconds, "number", "")); + } + + // Query Params + if (watch !== undefined) { + requestContext.setQueryParam("watch", ObjectSerializer.serialize(watch, "boolean", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * list or watch objects of kind ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + */ + public async listNamespacedResourceClaimTemplate(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "listNamespacedResourceClaimTemplate", "namespace"); + } + + + + + + + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (allowWatchBookmarks !== undefined) { + requestContext.setQueryParam("allowWatchBookmarks", ObjectSerializer.serialize(allowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (_continue !== undefined) { + requestContext.setQueryParam("continue", ObjectSerializer.serialize(_continue, "string", "")); + } + + // Query Params + if (fieldSelector !== undefined) { + requestContext.setQueryParam("fieldSelector", ObjectSerializer.serialize(fieldSelector, "string", "")); + } + + // Query Params + if (labelSelector !== undefined) { + requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); + } + + // Query Params + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer.serialize(limit, "number", "")); + } + + // Query Params + if (resourceVersion !== undefined) { + requestContext.setQueryParam("resourceVersion", ObjectSerializer.serialize(resourceVersion, "string", "")); + } + + // Query Params + if (resourceVersionMatch !== undefined) { + requestContext.setQueryParam("resourceVersionMatch", ObjectSerializer.serialize(resourceVersionMatch, "string", "")); + } + + // Query Params + if (sendInitialEvents !== undefined) { + requestContext.setQueryParam("sendInitialEvents", ObjectSerializer.serialize(sendInitialEvents, "boolean", "")); + } + + // Query Params + if (timeoutSeconds !== undefined) { + requestContext.setQueryParam("timeoutSeconds", ObjectSerializer.serialize(timeoutSeconds, "number", "")); + } + + // Query Params + if (watch !== undefined) { + requestContext.setQueryParam("watch", ObjectSerializer.serialize(watch, "boolean", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * list or watch objects of kind ResourceClaim + * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + */ + public async listResourceClaimForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + + + + + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/resourceclaims'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (allowWatchBookmarks !== undefined) { + requestContext.setQueryParam("allowWatchBookmarks", ObjectSerializer.serialize(allowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (_continue !== undefined) { + requestContext.setQueryParam("continue", ObjectSerializer.serialize(_continue, "string", "")); + } + + // Query Params + if (fieldSelector !== undefined) { + requestContext.setQueryParam("fieldSelector", ObjectSerializer.serialize(fieldSelector, "string", "")); + } + + // Query Params + if (labelSelector !== undefined) { + requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); + } + + // Query Params + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer.serialize(limit, "number", "")); + } + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (resourceVersion !== undefined) { + requestContext.setQueryParam("resourceVersion", ObjectSerializer.serialize(resourceVersion, "string", "")); + } + + // Query Params + if (resourceVersionMatch !== undefined) { + requestContext.setQueryParam("resourceVersionMatch", ObjectSerializer.serialize(resourceVersionMatch, "string", "")); + } + + // Query Params + if (sendInitialEvents !== undefined) { + requestContext.setQueryParam("sendInitialEvents", ObjectSerializer.serialize(sendInitialEvents, "boolean", "")); + } + + // Query Params + if (timeoutSeconds !== undefined) { + requestContext.setQueryParam("timeoutSeconds", ObjectSerializer.serialize(timeoutSeconds, "number", "")); + } + + // Query Params + if (watch !== undefined) { + requestContext.setQueryParam("watch", ObjectSerializer.serialize(watch, "boolean", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * list or watch objects of kind ResourceClaimTemplate + * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + */ + public async listResourceClaimTemplateForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + + + + + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/resourceclaimtemplates'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (allowWatchBookmarks !== undefined) { + requestContext.setQueryParam("allowWatchBookmarks", ObjectSerializer.serialize(allowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (_continue !== undefined) { + requestContext.setQueryParam("continue", ObjectSerializer.serialize(_continue, "string", "")); + } + + // Query Params + if (fieldSelector !== undefined) { + requestContext.setQueryParam("fieldSelector", ObjectSerializer.serialize(fieldSelector, "string", "")); + } + + // Query Params + if (labelSelector !== undefined) { + requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); + } + + // Query Params + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer.serialize(limit, "number", "")); + } + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (resourceVersion !== undefined) { + requestContext.setQueryParam("resourceVersion", ObjectSerializer.serialize(resourceVersion, "string", "")); + } + + // Query Params + if (resourceVersionMatch !== undefined) { + requestContext.setQueryParam("resourceVersionMatch", ObjectSerializer.serialize(resourceVersionMatch, "string", "")); + } + + // Query Params + if (sendInitialEvents !== undefined) { + requestContext.setQueryParam("sendInitialEvents", ObjectSerializer.serialize(sendInitialEvents, "boolean", "")); + } + + // Query Params + if (timeoutSeconds !== undefined) { + requestContext.setQueryParam("timeoutSeconds", ObjectSerializer.serialize(timeoutSeconds, "number", "")); + } + + // Query Params + if (watch !== undefined) { + requestContext.setQueryParam("watch", ObjectSerializer.serialize(watch, "boolean", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * list or watch objects of kind ResourceSlice + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + */ + public async listResourceSlice(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + + + + + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/resourceslices'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (allowWatchBookmarks !== undefined) { + requestContext.setQueryParam("allowWatchBookmarks", ObjectSerializer.serialize(allowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (_continue !== undefined) { + requestContext.setQueryParam("continue", ObjectSerializer.serialize(_continue, "string", "")); + } + + // Query Params + if (fieldSelector !== undefined) { + requestContext.setQueryParam("fieldSelector", ObjectSerializer.serialize(fieldSelector, "string", "")); + } + + // Query Params + if (labelSelector !== undefined) { + requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); + } + + // Query Params + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer.serialize(limit, "number", "")); + } + + // Query Params + if (resourceVersion !== undefined) { + requestContext.setQueryParam("resourceVersion", ObjectSerializer.serialize(resourceVersion, "string", "")); + } + + // Query Params + if (resourceVersionMatch !== undefined) { + requestContext.setQueryParam("resourceVersionMatch", ObjectSerializer.serialize(resourceVersionMatch, "string", "")); + } + + // Query Params + if (sendInitialEvents !== undefined) { + requestContext.setQueryParam("sendInitialEvents", ObjectSerializer.serialize(sendInitialEvents, "boolean", "")); + } + + // Query Params + if (timeoutSeconds !== undefined) { + requestContext.setQueryParam("timeoutSeconds", ObjectSerializer.serialize(timeoutSeconds, "number", "")); + } + + // Query Params + if (watch !== undefined) { + requestContext.setQueryParam("watch", ObjectSerializer.serialize(watch, "boolean", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * partially update the specified DeviceClass + * @param name name of the DeviceClass + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public async patchDeviceClass(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "patchDeviceClass", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "patchDeviceClass", "body"); + } + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/deviceclasses/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + // Query Params + if (force !== undefined) { + requestContext.setQueryParam("force", ObjectSerializer.serialize(force, "boolean", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json-patch+json", + + "application/merge-patch+json", + + "application/strategic-merge-patch+json", + + "application/apply-patch+yaml", + + "application/apply-patch+cbor" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "any", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * partially update the specified ResourceClaim + * @param name name of the ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public async patchNamespacedResourceClaim(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "patchNamespacedResourceClaim", "name"); + } + + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "patchNamespacedResourceClaim", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "patchNamespacedResourceClaim", "body"); + } + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + // Query Params + if (force !== undefined) { + requestContext.setQueryParam("force", ObjectSerializer.serialize(force, "boolean", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json-patch+json", + + "application/merge-patch+json", + + "application/strategic-merge-patch+json", + + "application/apply-patch+yaml", + + "application/apply-patch+cbor" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "any", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * partially update status of the specified ResourceClaim + * @param name name of the ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public async patchNamespacedResourceClaimStatus(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "patchNamespacedResourceClaimStatus", "name"); + } + + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "patchNamespacedResourceClaimStatus", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "patchNamespacedResourceClaimStatus", "body"); + } + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + // Query Params + if (force !== undefined) { + requestContext.setQueryParam("force", ObjectSerializer.serialize(force, "boolean", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json-patch+json", + + "application/merge-patch+json", + + "application/strategic-merge-patch+json", + + "application/apply-patch+yaml", + + "application/apply-patch+cbor" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "any", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * partially update the specified ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public async patchNamespacedResourceClaimTemplate(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "patchNamespacedResourceClaimTemplate", "name"); + } + + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "patchNamespacedResourceClaimTemplate", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "patchNamespacedResourceClaimTemplate", "body"); + } + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + // Query Params + if (force !== undefined) { + requestContext.setQueryParam("force", ObjectSerializer.serialize(force, "boolean", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json-patch+json", + + "application/merge-patch+json", + + "application/strategic-merge-patch+json", + + "application/apply-patch+yaml", + + "application/apply-patch+cbor" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "any", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * partially update the specified ResourceSlice + * @param name name of the ResourceSlice + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public async patchResourceSlice(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "patchResourceSlice", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "patchResourceSlice", "body"); + } + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/resourceslices/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + // Query Params + if (force !== undefined) { + requestContext.setQueryParam("force", ObjectSerializer.serialize(force, "boolean", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json-patch+json", + + "application/merge-patch+json", + + "application/strategic-merge-patch+json", + + "application/apply-patch+yaml", + + "application/apply-patch+cbor" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "any", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * read the specified DeviceClass + * @param name name of the DeviceClass + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public async readDeviceClass(name: string, pretty?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "readDeviceClass", "name"); + } + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/deviceclasses/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * read the specified ResourceClaim + * @param name name of the ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public async readNamespacedResourceClaim(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "readNamespacedResourceClaim", "name"); + } + + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "readNamespacedResourceClaim", "namespace"); + } + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * read status of the specified ResourceClaim + * @param name name of the ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public async readNamespacedResourceClaimStatus(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "readNamespacedResourceClaimStatus", "name"); + } + + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "readNamespacedResourceClaimStatus", "namespace"); + } + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * read the specified ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public async readNamespacedResourceClaimTemplate(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "readNamespacedResourceClaimTemplate", "name"); + } + + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "readNamespacedResourceClaimTemplate", "namespace"); + } + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * read the specified ResourceSlice + * @param name name of the ResourceSlice + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public async readResourceSlice(name: string, pretty?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "readResourceSlice", "name"); + } + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/resourceslices/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * replace the specified DeviceClass + * @param name name of the DeviceClass + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public async replaceDeviceClass(name: string, body: V1alpha3DeviceClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "replaceDeviceClass", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "replaceDeviceClass", "body"); + } + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/deviceclasses/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1alpha3DeviceClass", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * replace the specified ResourceClaim + * @param name name of the ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public async replaceNamespacedResourceClaim(name: string, namespace: string, body: V1alpha3ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "replaceNamespacedResourceClaim", "name"); + } + + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "replaceNamespacedResourceClaim", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "replaceNamespacedResourceClaim", "body"); + } + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1alpha3ResourceClaim", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * replace status of the specified ResourceClaim + * @param name name of the ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public async replaceNamespacedResourceClaimStatus(name: string, namespace: string, body: V1alpha3ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "replaceNamespacedResourceClaimStatus", "name"); + } + + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "replaceNamespacedResourceClaimStatus", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "replaceNamespacedResourceClaimStatus", "body"); + } + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1alpha3ResourceClaim", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * replace the specified ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public async replaceNamespacedResourceClaimTemplate(name: string, namespace: string, body: V1alpha3ResourceClaimTemplate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "replaceNamespacedResourceClaimTemplate", "name"); + } + + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "replaceNamespacedResourceClaimTemplate", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "replaceNamespacedResourceClaimTemplate", "body"); + } + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1alpha3ResourceClaimTemplate", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * replace the specified ResourceSlice + * @param name name of the ResourceSlice + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public async replaceResourceSlice(name: string, body: V1alpha3ResourceSlice, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "replaceResourceSlice", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ResourceV1alpha3Api", "replaceResourceSlice", "body"); + } + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1alpha3/resourceslices/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1alpha3ResourceSlice", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + +} + +export class ResourceV1alpha3ApiResponseProcessor { + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createDeviceClass + * @throws ApiException if the response code was not in [200, 299] + */ + public async createDeviceClassWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha3DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3DeviceClass", "" + ) as V1alpha3DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1alpha3DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3DeviceClass", "" + ) as V1alpha3DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("202", response.httpStatusCode)) { + const body: V1alpha3DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3DeviceClass", "" + ) as V1alpha3DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha3DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3DeviceClass", "" + ) as V1alpha3DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createNamespacedResourceClaim + * @throws ApiException if the response code was not in [200, 299] + */ + public async createNamespacedResourceClaimWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha3ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaim", "" + ) as V1alpha3ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1alpha3ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaim", "" + ) as V1alpha3ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("202", response.httpStatusCode)) { + const body: V1alpha3ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaim", "" + ) as V1alpha3ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha3ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaim", "" + ) as V1alpha3ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createNamespacedResourceClaimTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async createNamespacedResourceClaimTemplateWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha3ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaimTemplate", "" + ) as V1alpha3ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1alpha3ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaimTemplate", "" + ) as V1alpha3ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("202", response.httpStatusCode)) { + const body: V1alpha3ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaimTemplate", "" + ) as V1alpha3ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha3ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaimTemplate", "" + ) as V1alpha3ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createResourceSlice + * @throws ApiException if the response code was not in [200, 299] + */ + public async createResourceSliceWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha3ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceSlice", "" + ) as V1alpha3ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1alpha3ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceSlice", "" + ) as V1alpha3ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("202", response.httpStatusCode)) { + const body: V1alpha3ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceSlice", "" + ) as V1alpha3ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha3ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceSlice", "" + ) as V1alpha3ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteCollectionDeviceClass + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteCollectionDeviceClassWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteCollectionNamespacedResourceClaim + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteCollectionNamespacedResourceClaimWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteCollectionNamespacedResourceClaimTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteCollectionNamespacedResourceClaimTemplateWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteCollectionResourceSlice + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteCollectionResourceSliceWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteDeviceClass + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteDeviceClassWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha3DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3DeviceClass", "" + ) as V1alpha3DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("202", response.httpStatusCode)) { + const body: V1alpha3DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3DeviceClass", "" + ) as V1alpha3DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha3DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3DeviceClass", "" + ) as V1alpha3DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteNamespacedResourceClaim + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteNamespacedResourceClaimWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha3ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaim", "" + ) as V1alpha3ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("202", response.httpStatusCode)) { + const body: V1alpha3ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaim", "" + ) as V1alpha3ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha3ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaim", "" + ) as V1alpha3ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteNamespacedResourceClaimTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteNamespacedResourceClaimTemplateWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha3ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaimTemplate", "" + ) as V1alpha3ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("202", response.httpStatusCode)) { + const body: V1alpha3ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaimTemplate", "" + ) as V1alpha3ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha3ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaimTemplate", "" + ) as V1alpha3ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteResourceSlice + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteResourceSliceWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha3ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceSlice", "" + ) as V1alpha3ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("202", response.httpStatusCode)) { + const body: V1alpha3ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceSlice", "" + ) as V1alpha3ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha3ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceSlice", "" + ) as V1alpha3ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getAPIResources + * @throws ApiException if the response code was not in [200, 299] + */ + public async getAPIResourcesWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1APIResourceList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1APIResourceList", "" + ) as V1APIResourceList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1APIResourceList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1APIResourceList", "" + ) as V1APIResourceList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listDeviceClass + * @throws ApiException if the response code was not in [200, 299] + */ + public async listDeviceClassWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha3DeviceClassList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3DeviceClassList", "" + ) as V1alpha3DeviceClassList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha3DeviceClassList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3DeviceClassList", "" + ) as V1alpha3DeviceClassList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listNamespacedResourceClaim + * @throws ApiException if the response code was not in [200, 299] + */ + public async listNamespacedResourceClaimWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha3ResourceClaimList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaimList", "" + ) as V1alpha3ResourceClaimList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha3ResourceClaimList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaimList", "" + ) as V1alpha3ResourceClaimList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listNamespacedResourceClaimTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async listNamespacedResourceClaimTemplateWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha3ResourceClaimTemplateList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaimTemplateList", "" + ) as V1alpha3ResourceClaimTemplateList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha3ResourceClaimTemplateList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaimTemplateList", "" + ) as V1alpha3ResourceClaimTemplateList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listResourceClaimForAllNamespaces + * @throws ApiException if the response code was not in [200, 299] + */ + public async listResourceClaimForAllNamespacesWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha3ResourceClaimList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaimList", "" + ) as V1alpha3ResourceClaimList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha3ResourceClaimList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaimList", "" + ) as V1alpha3ResourceClaimList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listResourceClaimTemplateForAllNamespaces + * @throws ApiException if the response code was not in [200, 299] + */ + public async listResourceClaimTemplateForAllNamespacesWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha3ResourceClaimTemplateList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaimTemplateList", "" + ) as V1alpha3ResourceClaimTemplateList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha3ResourceClaimTemplateList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaimTemplateList", "" + ) as V1alpha3ResourceClaimTemplateList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listResourceSlice + * @throws ApiException if the response code was not in [200, 299] + */ + public async listResourceSliceWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha3ResourceSliceList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceSliceList", "" + ) as V1alpha3ResourceSliceList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha3ResourceSliceList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceSliceList", "" + ) as V1alpha3ResourceSliceList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to patchDeviceClass + * @throws ApiException if the response code was not in [200, 299] + */ + public async patchDeviceClassWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha3DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3DeviceClass", "" + ) as V1alpha3DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1alpha3DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3DeviceClass", "" + ) as V1alpha3DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha3DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3DeviceClass", "" + ) as V1alpha3DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to patchNamespacedResourceClaim + * @throws ApiException if the response code was not in [200, 299] + */ + public async patchNamespacedResourceClaimWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha3ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaim", "" + ) as V1alpha3ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1alpha3ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaim", "" + ) as V1alpha3ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha3ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaim", "" + ) as V1alpha3ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to patchNamespacedResourceClaimStatus + * @throws ApiException if the response code was not in [200, 299] + */ + public async patchNamespacedResourceClaimStatusWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha3ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaim", "" + ) as V1alpha3ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1alpha3ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaim", "" + ) as V1alpha3ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha3ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaim", "" + ) as V1alpha3ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to patchNamespacedResourceClaimTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async patchNamespacedResourceClaimTemplateWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha3ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaimTemplate", "" + ) as V1alpha3ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1alpha3ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaimTemplate", "" + ) as V1alpha3ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha3ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaimTemplate", "" + ) as V1alpha3ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to patchResourceSlice + * @throws ApiException if the response code was not in [200, 299] + */ + public async patchResourceSliceWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha3ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceSlice", "" + ) as V1alpha3ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1alpha3ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceSlice", "" + ) as V1alpha3ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha3ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceSlice", "" + ) as V1alpha3ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to readDeviceClass + * @throws ApiException if the response code was not in [200, 299] + */ + public async readDeviceClassWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha3DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3DeviceClass", "" + ) as V1alpha3DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha3DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3DeviceClass", "" + ) as V1alpha3DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to readNamespacedResourceClaim + * @throws ApiException if the response code was not in [200, 299] + */ + public async readNamespacedResourceClaimWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha3ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaim", "" + ) as V1alpha3ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha3ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaim", "" + ) as V1alpha3ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to readNamespacedResourceClaimStatus + * @throws ApiException if the response code was not in [200, 299] + */ + public async readNamespacedResourceClaimStatusWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha3ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaim", "" + ) as V1alpha3ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha3ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaim", "" + ) as V1alpha3ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to readNamespacedResourceClaimTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async readNamespacedResourceClaimTemplateWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha3ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaimTemplate", "" + ) as V1alpha3ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha3ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaimTemplate", "" + ) as V1alpha3ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to readResourceSlice + * @throws ApiException if the response code was not in [200, 299] + */ + public async readResourceSliceWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha3ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceSlice", "" + ) as V1alpha3ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha3ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceSlice", "" + ) as V1alpha3ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to replaceDeviceClass + * @throws ApiException if the response code was not in [200, 299] + */ + public async replaceDeviceClassWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha3DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3DeviceClass", "" + ) as V1alpha3DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1alpha3DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3DeviceClass", "" + ) as V1alpha3DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha3DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3DeviceClass", "" + ) as V1alpha3DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to replaceNamespacedResourceClaim + * @throws ApiException if the response code was not in [200, 299] + */ + public async replaceNamespacedResourceClaimWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha3ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaim", "" + ) as V1alpha3ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1alpha3ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaim", "" + ) as V1alpha3ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha3ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaim", "" + ) as V1alpha3ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to replaceNamespacedResourceClaimStatus + * @throws ApiException if the response code was not in [200, 299] + */ + public async replaceNamespacedResourceClaimStatusWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha3ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaim", "" + ) as V1alpha3ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1alpha3ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaim", "" + ) as V1alpha3ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha3ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaim", "" + ) as V1alpha3ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to replaceNamespacedResourceClaimTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async replaceNamespacedResourceClaimTemplateWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha3ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaimTemplate", "" + ) as V1alpha3ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1alpha3ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaimTemplate", "" + ) as V1alpha3ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha3ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceClaimTemplate", "" + ) as V1alpha3ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to replaceResourceSlice + * @throws ApiException if the response code was not in [200, 299] + */ + public async replaceResourceSliceWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1alpha3ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceSlice", "" + ) as V1alpha3ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1alpha3ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceSlice", "" + ) as V1alpha3ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1alpha3ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1alpha3ResourceSlice", "" + ) as V1alpha3ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + +} diff --git a/src/gen/apis/ResourceV1beta1Api.ts b/src/gen/apis/ResourceV1beta1Api.ts new file mode 100644 index 00000000000..7e14ec571f0 --- /dev/null +++ b/src/gen/apis/ResourceV1beta1Api.ts @@ -0,0 +1,4396 @@ +// TODO: better import syntax? +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; +import FormData from "form-data"; +import { URLSearchParams } from 'url'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1Status } from '../models/V1Status'; +import { V1beta1DeviceClass } from '../models/V1beta1DeviceClass'; +import { V1beta1DeviceClassList } from '../models/V1beta1DeviceClassList'; +import { V1beta1ResourceClaim } from '../models/V1beta1ResourceClaim'; +import { V1beta1ResourceClaimList } from '../models/V1beta1ResourceClaimList'; +import { V1beta1ResourceClaimTemplate } from '../models/V1beta1ResourceClaimTemplate'; +import { V1beta1ResourceClaimTemplateList } from '../models/V1beta1ResourceClaimTemplateList'; +import { V1beta1ResourceSlice } from '../models/V1beta1ResourceSlice'; +import { V1beta1ResourceSliceList } from '../models/V1beta1ResourceSliceList'; + +/** + * no description + */ +export class ResourceV1beta1ApiRequestFactory extends BaseAPIRequestFactory { + + /** + * create a DeviceClass + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public async createDeviceClass(body: V1beta1DeviceClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ResourceV1beta1Api", "createDeviceClass", "body"); + } + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/deviceclasses'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1beta1DeviceClass", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * create a ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public async createNamespacedResourceClaim(namespace: string, body: V1beta1ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1beta1Api", "createNamespacedResourceClaim", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ResourceV1beta1Api", "createNamespacedResourceClaim", "body"); + } + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1beta1ResourceClaim", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * create a ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public async createNamespacedResourceClaimTemplate(namespace: string, body: V1beta1ResourceClaimTemplate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1beta1Api", "createNamespacedResourceClaimTemplate", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ResourceV1beta1Api", "createNamespacedResourceClaimTemplate", "body"); + } + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1beta1ResourceClaimTemplate", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * create a ResourceSlice + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public async createResourceSlice(body: V1beta1ResourceSlice, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ResourceV1beta1Api", "createResourceSlice", "body"); + } + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/resourceslices'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1beta1ResourceSlice", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * delete collection of DeviceClass + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param body + */ + public async deleteCollectionDeviceClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + + + + + + + + + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/deviceclasses'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (_continue !== undefined) { + requestContext.setQueryParam("continue", ObjectSerializer.serialize(_continue, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldSelector !== undefined) { + requestContext.setQueryParam("fieldSelector", ObjectSerializer.serialize(fieldSelector, "string", "")); + } + + // Query Params + if (gracePeriodSeconds !== undefined) { + requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); + } + + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + + // Query Params + if (labelSelector !== undefined) { + requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); + } + + // Query Params + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer.serialize(limit, "number", "")); + } + + // Query Params + if (orphanDependents !== undefined) { + requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); + } + + // Query Params + if (propagationPolicy !== undefined) { + requestContext.setQueryParam("propagationPolicy", ObjectSerializer.serialize(propagationPolicy, "string", "")); + } + + // Query Params + if (resourceVersion !== undefined) { + requestContext.setQueryParam("resourceVersion", ObjectSerializer.serialize(resourceVersion, "string", "")); + } + + // Query Params + if (resourceVersionMatch !== undefined) { + requestContext.setQueryParam("resourceVersionMatch", ObjectSerializer.serialize(resourceVersionMatch, "string", "")); + } + + // Query Params + if (sendInitialEvents !== undefined) { + requestContext.setQueryParam("sendInitialEvents", ObjectSerializer.serialize(sendInitialEvents, "boolean", "")); + } + + // Query Params + if (timeoutSeconds !== undefined) { + requestContext.setQueryParam("timeoutSeconds", ObjectSerializer.serialize(timeoutSeconds, "number", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1DeleteOptions", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * delete collection of ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param body + */ + public async deleteCollectionNamespacedResourceClaim(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1beta1Api", "deleteCollectionNamespacedResourceClaim", "namespace"); + } + + + + + + + + + + + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (_continue !== undefined) { + requestContext.setQueryParam("continue", ObjectSerializer.serialize(_continue, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldSelector !== undefined) { + requestContext.setQueryParam("fieldSelector", ObjectSerializer.serialize(fieldSelector, "string", "")); + } + + // Query Params + if (gracePeriodSeconds !== undefined) { + requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); + } + + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + + // Query Params + if (labelSelector !== undefined) { + requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); + } + + // Query Params + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer.serialize(limit, "number", "")); + } + + // Query Params + if (orphanDependents !== undefined) { + requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); + } + + // Query Params + if (propagationPolicy !== undefined) { + requestContext.setQueryParam("propagationPolicy", ObjectSerializer.serialize(propagationPolicy, "string", "")); + } + + // Query Params + if (resourceVersion !== undefined) { + requestContext.setQueryParam("resourceVersion", ObjectSerializer.serialize(resourceVersion, "string", "")); + } + + // Query Params + if (resourceVersionMatch !== undefined) { + requestContext.setQueryParam("resourceVersionMatch", ObjectSerializer.serialize(resourceVersionMatch, "string", "")); + } + + // Query Params + if (sendInitialEvents !== undefined) { + requestContext.setQueryParam("sendInitialEvents", ObjectSerializer.serialize(sendInitialEvents, "boolean", "")); + } + + // Query Params + if (timeoutSeconds !== undefined) { + requestContext.setQueryParam("timeoutSeconds", ObjectSerializer.serialize(timeoutSeconds, "number", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1DeleteOptions", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * delete collection of ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param body + */ + public async deleteCollectionNamespacedResourceClaimTemplate(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1beta1Api", "deleteCollectionNamespacedResourceClaimTemplate", "namespace"); + } + + + + + + + + + + + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (_continue !== undefined) { + requestContext.setQueryParam("continue", ObjectSerializer.serialize(_continue, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldSelector !== undefined) { + requestContext.setQueryParam("fieldSelector", ObjectSerializer.serialize(fieldSelector, "string", "")); + } + + // Query Params + if (gracePeriodSeconds !== undefined) { + requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); + } + + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + + // Query Params + if (labelSelector !== undefined) { + requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); + } + + // Query Params + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer.serialize(limit, "number", "")); + } + + // Query Params + if (orphanDependents !== undefined) { + requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); + } + + // Query Params + if (propagationPolicy !== undefined) { + requestContext.setQueryParam("propagationPolicy", ObjectSerializer.serialize(propagationPolicy, "string", "")); + } + + // Query Params + if (resourceVersion !== undefined) { + requestContext.setQueryParam("resourceVersion", ObjectSerializer.serialize(resourceVersion, "string", "")); + } + + // Query Params + if (resourceVersionMatch !== undefined) { + requestContext.setQueryParam("resourceVersionMatch", ObjectSerializer.serialize(resourceVersionMatch, "string", "")); + } + + // Query Params + if (sendInitialEvents !== undefined) { + requestContext.setQueryParam("sendInitialEvents", ObjectSerializer.serialize(sendInitialEvents, "boolean", "")); + } + + // Query Params + if (timeoutSeconds !== undefined) { + requestContext.setQueryParam("timeoutSeconds", ObjectSerializer.serialize(timeoutSeconds, "number", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1DeleteOptions", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * delete collection of ResourceSlice + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param body + */ + public async deleteCollectionResourceSlice(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + + + + + + + + + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/resourceslices'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (_continue !== undefined) { + requestContext.setQueryParam("continue", ObjectSerializer.serialize(_continue, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldSelector !== undefined) { + requestContext.setQueryParam("fieldSelector", ObjectSerializer.serialize(fieldSelector, "string", "")); + } + + // Query Params + if (gracePeriodSeconds !== undefined) { + requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); + } + + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + + // Query Params + if (labelSelector !== undefined) { + requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); + } + + // Query Params + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer.serialize(limit, "number", "")); + } + + // Query Params + if (orphanDependents !== undefined) { + requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); + } + + // Query Params + if (propagationPolicy !== undefined) { + requestContext.setQueryParam("propagationPolicy", ObjectSerializer.serialize(propagationPolicy, "string", "")); + } + + // Query Params + if (resourceVersion !== undefined) { + requestContext.setQueryParam("resourceVersion", ObjectSerializer.serialize(resourceVersion, "string", "")); + } + + // Query Params + if (resourceVersionMatch !== undefined) { + requestContext.setQueryParam("resourceVersionMatch", ObjectSerializer.serialize(resourceVersionMatch, "string", "")); + } + + // Query Params + if (sendInitialEvents !== undefined) { + requestContext.setQueryParam("sendInitialEvents", ObjectSerializer.serialize(sendInitialEvents, "boolean", "")); + } + + // Query Params + if (timeoutSeconds !== undefined) { + requestContext.setQueryParam("timeoutSeconds", ObjectSerializer.serialize(timeoutSeconds, "number", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1DeleteOptions", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * delete a DeviceClass + * @param name name of the DeviceClass + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param body + */ + public async deleteDeviceClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1beta1Api", "deleteDeviceClass", "name"); + } + + + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/deviceclasses/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (gracePeriodSeconds !== undefined) { + requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); + } + + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + + // Query Params + if (orphanDependents !== undefined) { + requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); + } + + // Query Params + if (propagationPolicy !== undefined) { + requestContext.setQueryParam("propagationPolicy", ObjectSerializer.serialize(propagationPolicy, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1DeleteOptions", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * delete a ResourceClaim + * @param name name of the ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param body + */ + public async deleteNamespacedResourceClaim(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1beta1Api", "deleteNamespacedResourceClaim", "name"); + } + + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1beta1Api", "deleteNamespacedResourceClaim", "namespace"); + } + + + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (gracePeriodSeconds !== undefined) { + requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); + } + + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + + // Query Params + if (orphanDependents !== undefined) { + requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); + } + + // Query Params + if (propagationPolicy !== undefined) { + requestContext.setQueryParam("propagationPolicy", ObjectSerializer.serialize(propagationPolicy, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1DeleteOptions", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * delete a ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param body + */ + public async deleteNamespacedResourceClaimTemplate(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1beta1Api", "deleteNamespacedResourceClaimTemplate", "name"); + } + + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1beta1Api", "deleteNamespacedResourceClaimTemplate", "namespace"); + } + + + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (gracePeriodSeconds !== undefined) { + requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); + } + + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + + // Query Params + if (orphanDependents !== undefined) { + requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); + } + + // Query Params + if (propagationPolicy !== undefined) { + requestContext.setQueryParam("propagationPolicy", ObjectSerializer.serialize(propagationPolicy, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1DeleteOptions", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * delete a ResourceSlice + * @param name name of the ResourceSlice + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param body + */ + public async deleteResourceSlice(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1beta1Api", "deleteResourceSlice", "name"); + } + + + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/resourceslices/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (gracePeriodSeconds !== undefined) { + requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); + } + + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + + // Query Params + if (orphanDependents !== undefined) { + requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); + } + + // Query Params + if (propagationPolicy !== undefined) { + requestContext.setQueryParam("propagationPolicy", ObjectSerializer.serialize(propagationPolicy, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1DeleteOptions", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * get available resources + */ + public async getAPIResources(_options?: Configuration): Promise { + let _config = _options || this.configuration; + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * list or watch objects of kind DeviceClass + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + */ + public async listDeviceClass(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + + + + + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/deviceclasses'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (allowWatchBookmarks !== undefined) { + requestContext.setQueryParam("allowWatchBookmarks", ObjectSerializer.serialize(allowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (_continue !== undefined) { + requestContext.setQueryParam("continue", ObjectSerializer.serialize(_continue, "string", "")); + } + + // Query Params + if (fieldSelector !== undefined) { + requestContext.setQueryParam("fieldSelector", ObjectSerializer.serialize(fieldSelector, "string", "")); + } + + // Query Params + if (labelSelector !== undefined) { + requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); + } + + // Query Params + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer.serialize(limit, "number", "")); + } + + // Query Params + if (resourceVersion !== undefined) { + requestContext.setQueryParam("resourceVersion", ObjectSerializer.serialize(resourceVersion, "string", "")); + } + + // Query Params + if (resourceVersionMatch !== undefined) { + requestContext.setQueryParam("resourceVersionMatch", ObjectSerializer.serialize(resourceVersionMatch, "string", "")); + } + + // Query Params + if (sendInitialEvents !== undefined) { + requestContext.setQueryParam("sendInitialEvents", ObjectSerializer.serialize(sendInitialEvents, "boolean", "")); + } + + // Query Params + if (timeoutSeconds !== undefined) { + requestContext.setQueryParam("timeoutSeconds", ObjectSerializer.serialize(timeoutSeconds, "number", "")); + } + + // Query Params + if (watch !== undefined) { + requestContext.setQueryParam("watch", ObjectSerializer.serialize(watch, "boolean", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * list or watch objects of kind ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + */ + public async listNamespacedResourceClaim(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1beta1Api", "listNamespacedResourceClaim", "namespace"); + } + + + + + + + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (allowWatchBookmarks !== undefined) { + requestContext.setQueryParam("allowWatchBookmarks", ObjectSerializer.serialize(allowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (_continue !== undefined) { + requestContext.setQueryParam("continue", ObjectSerializer.serialize(_continue, "string", "")); + } + + // Query Params + if (fieldSelector !== undefined) { + requestContext.setQueryParam("fieldSelector", ObjectSerializer.serialize(fieldSelector, "string", "")); + } + + // Query Params + if (labelSelector !== undefined) { + requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); + } + + // Query Params + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer.serialize(limit, "number", "")); + } + + // Query Params + if (resourceVersion !== undefined) { + requestContext.setQueryParam("resourceVersion", ObjectSerializer.serialize(resourceVersion, "string", "")); + } + + // Query Params + if (resourceVersionMatch !== undefined) { + requestContext.setQueryParam("resourceVersionMatch", ObjectSerializer.serialize(resourceVersionMatch, "string", "")); + } + + // Query Params + if (sendInitialEvents !== undefined) { + requestContext.setQueryParam("sendInitialEvents", ObjectSerializer.serialize(sendInitialEvents, "boolean", "")); + } + + // Query Params + if (timeoutSeconds !== undefined) { + requestContext.setQueryParam("timeoutSeconds", ObjectSerializer.serialize(timeoutSeconds, "number", "")); + } + + // Query Params + if (watch !== undefined) { + requestContext.setQueryParam("watch", ObjectSerializer.serialize(watch, "boolean", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * list or watch objects of kind ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + */ + public async listNamespacedResourceClaimTemplate(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1beta1Api", "listNamespacedResourceClaimTemplate", "namespace"); + } + + + + + + + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates' + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (allowWatchBookmarks !== undefined) { + requestContext.setQueryParam("allowWatchBookmarks", ObjectSerializer.serialize(allowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (_continue !== undefined) { + requestContext.setQueryParam("continue", ObjectSerializer.serialize(_continue, "string", "")); + } + + // Query Params + if (fieldSelector !== undefined) { + requestContext.setQueryParam("fieldSelector", ObjectSerializer.serialize(fieldSelector, "string", "")); + } + + // Query Params + if (labelSelector !== undefined) { + requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); + } + + // Query Params + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer.serialize(limit, "number", "")); + } + + // Query Params + if (resourceVersion !== undefined) { + requestContext.setQueryParam("resourceVersion", ObjectSerializer.serialize(resourceVersion, "string", "")); + } + + // Query Params + if (resourceVersionMatch !== undefined) { + requestContext.setQueryParam("resourceVersionMatch", ObjectSerializer.serialize(resourceVersionMatch, "string", "")); + } + + // Query Params + if (sendInitialEvents !== undefined) { + requestContext.setQueryParam("sendInitialEvents", ObjectSerializer.serialize(sendInitialEvents, "boolean", "")); + } + + // Query Params + if (timeoutSeconds !== undefined) { + requestContext.setQueryParam("timeoutSeconds", ObjectSerializer.serialize(timeoutSeconds, "number", "")); + } + + // Query Params + if (watch !== undefined) { + requestContext.setQueryParam("watch", ObjectSerializer.serialize(watch, "boolean", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * list or watch objects of kind ResourceClaim + * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + */ + public async listResourceClaimForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + + + + + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/resourceclaims'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (allowWatchBookmarks !== undefined) { + requestContext.setQueryParam("allowWatchBookmarks", ObjectSerializer.serialize(allowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (_continue !== undefined) { + requestContext.setQueryParam("continue", ObjectSerializer.serialize(_continue, "string", "")); + } + + // Query Params + if (fieldSelector !== undefined) { + requestContext.setQueryParam("fieldSelector", ObjectSerializer.serialize(fieldSelector, "string", "")); + } + + // Query Params + if (labelSelector !== undefined) { + requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); + } + + // Query Params + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer.serialize(limit, "number", "")); + } + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (resourceVersion !== undefined) { + requestContext.setQueryParam("resourceVersion", ObjectSerializer.serialize(resourceVersion, "string", "")); + } + + // Query Params + if (resourceVersionMatch !== undefined) { + requestContext.setQueryParam("resourceVersionMatch", ObjectSerializer.serialize(resourceVersionMatch, "string", "")); + } + + // Query Params + if (sendInitialEvents !== undefined) { + requestContext.setQueryParam("sendInitialEvents", ObjectSerializer.serialize(sendInitialEvents, "boolean", "")); + } + + // Query Params + if (timeoutSeconds !== undefined) { + requestContext.setQueryParam("timeoutSeconds", ObjectSerializer.serialize(timeoutSeconds, "number", "")); + } + + // Query Params + if (watch !== undefined) { + requestContext.setQueryParam("watch", ObjectSerializer.serialize(watch, "boolean", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * list or watch objects of kind ResourceClaimTemplate + * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + */ + public async listResourceClaimTemplateForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + + + + + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/resourceclaimtemplates'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (allowWatchBookmarks !== undefined) { + requestContext.setQueryParam("allowWatchBookmarks", ObjectSerializer.serialize(allowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (_continue !== undefined) { + requestContext.setQueryParam("continue", ObjectSerializer.serialize(_continue, "string", "")); + } + + // Query Params + if (fieldSelector !== undefined) { + requestContext.setQueryParam("fieldSelector", ObjectSerializer.serialize(fieldSelector, "string", "")); + } + + // Query Params + if (labelSelector !== undefined) { + requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); + } + + // Query Params + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer.serialize(limit, "number", "")); + } + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (resourceVersion !== undefined) { + requestContext.setQueryParam("resourceVersion", ObjectSerializer.serialize(resourceVersion, "string", "")); + } + + // Query Params + if (resourceVersionMatch !== undefined) { + requestContext.setQueryParam("resourceVersionMatch", ObjectSerializer.serialize(resourceVersionMatch, "string", "")); + } + + // Query Params + if (sendInitialEvents !== undefined) { + requestContext.setQueryParam("sendInitialEvents", ObjectSerializer.serialize(sendInitialEvents, "boolean", "")); + } + + // Query Params + if (timeoutSeconds !== undefined) { + requestContext.setQueryParam("timeoutSeconds", ObjectSerializer.serialize(timeoutSeconds, "number", "")); + } + + // Query Params + if (watch !== undefined) { + requestContext.setQueryParam("watch", ObjectSerializer.serialize(watch, "boolean", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * list or watch objects of kind ResourceSlice + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + */ + public async listResourceSlice(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + + + + + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/resourceslices'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (allowWatchBookmarks !== undefined) { + requestContext.setQueryParam("allowWatchBookmarks", ObjectSerializer.serialize(allowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (_continue !== undefined) { + requestContext.setQueryParam("continue", ObjectSerializer.serialize(_continue, "string", "")); + } + + // Query Params + if (fieldSelector !== undefined) { + requestContext.setQueryParam("fieldSelector", ObjectSerializer.serialize(fieldSelector, "string", "")); + } + + // Query Params + if (labelSelector !== undefined) { + requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); + } + + // Query Params + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer.serialize(limit, "number", "")); + } + + // Query Params + if (resourceVersion !== undefined) { + requestContext.setQueryParam("resourceVersion", ObjectSerializer.serialize(resourceVersion, "string", "")); + } + + // Query Params + if (resourceVersionMatch !== undefined) { + requestContext.setQueryParam("resourceVersionMatch", ObjectSerializer.serialize(resourceVersionMatch, "string", "")); + } + + // Query Params + if (sendInitialEvents !== undefined) { + requestContext.setQueryParam("sendInitialEvents", ObjectSerializer.serialize(sendInitialEvents, "boolean", "")); + } + + // Query Params + if (timeoutSeconds !== undefined) { + requestContext.setQueryParam("timeoutSeconds", ObjectSerializer.serialize(timeoutSeconds, "number", "")); + } + + // Query Params + if (watch !== undefined) { + requestContext.setQueryParam("watch", ObjectSerializer.serialize(watch, "boolean", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * partially update the specified DeviceClass + * @param name name of the DeviceClass + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public async patchDeviceClass(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1beta1Api", "patchDeviceClass", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ResourceV1beta1Api", "patchDeviceClass", "body"); + } + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/deviceclasses/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + // Query Params + if (force !== undefined) { + requestContext.setQueryParam("force", ObjectSerializer.serialize(force, "boolean", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json-patch+json", + + "application/merge-patch+json", + + "application/strategic-merge-patch+json", + + "application/apply-patch+yaml", + + "application/apply-patch+cbor" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "any", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * partially update the specified ResourceClaim + * @param name name of the ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public async patchNamespacedResourceClaim(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1beta1Api", "patchNamespacedResourceClaim", "name"); + } + + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1beta1Api", "patchNamespacedResourceClaim", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ResourceV1beta1Api", "patchNamespacedResourceClaim", "body"); + } + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + // Query Params + if (force !== undefined) { + requestContext.setQueryParam("force", ObjectSerializer.serialize(force, "boolean", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json-patch+json", + + "application/merge-patch+json", + + "application/strategic-merge-patch+json", + + "application/apply-patch+yaml", + + "application/apply-patch+cbor" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "any", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * partially update status of the specified ResourceClaim + * @param name name of the ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public async patchNamespacedResourceClaimStatus(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1beta1Api", "patchNamespacedResourceClaimStatus", "name"); + } + + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1beta1Api", "patchNamespacedResourceClaimStatus", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ResourceV1beta1Api", "patchNamespacedResourceClaimStatus", "body"); + } + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims/{name}/status' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + // Query Params + if (force !== undefined) { + requestContext.setQueryParam("force", ObjectSerializer.serialize(force, "boolean", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json-patch+json", + + "application/merge-patch+json", + + "application/strategic-merge-patch+json", + + "application/apply-patch+yaml", + + "application/apply-patch+cbor" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "any", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * partially update the specified ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public async patchNamespacedResourceClaimTemplate(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1beta1Api", "patchNamespacedResourceClaimTemplate", "name"); + } + + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1beta1Api", "patchNamespacedResourceClaimTemplate", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ResourceV1beta1Api", "patchNamespacedResourceClaimTemplate", "body"); + } + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + // Query Params + if (force !== undefined) { + requestContext.setQueryParam("force", ObjectSerializer.serialize(force, "boolean", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json-patch+json", + + "application/merge-patch+json", + + "application/strategic-merge-patch+json", + + "application/apply-patch+yaml", + + "application/apply-patch+cbor" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "any", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * partially update the specified ResourceSlice + * @param name name of the ResourceSlice + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public async patchResourceSlice(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1beta1Api", "patchResourceSlice", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ResourceV1beta1Api", "patchResourceSlice", "body"); + } + + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/resourceslices/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + // Query Params + if (force !== undefined) { + requestContext.setQueryParam("force", ObjectSerializer.serialize(force, "boolean", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json-patch+json", + + "application/merge-patch+json", + + "application/strategic-merge-patch+json", + + "application/apply-patch+yaml", + + "application/apply-patch+cbor" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "any", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * read the specified DeviceClass + * @param name name of the DeviceClass + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public async readDeviceClass(name: string, pretty?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1beta1Api", "readDeviceClass", "name"); + } + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/deviceclasses/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * read the specified ResourceClaim + * @param name name of the ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public async readNamespacedResourceClaim(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1beta1Api", "readNamespacedResourceClaim", "name"); + } + + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1beta1Api", "readNamespacedResourceClaim", "namespace"); + } + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * read status of the specified ResourceClaim + * @param name name of the ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public async readNamespacedResourceClaimStatus(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1beta1Api", "readNamespacedResourceClaimStatus", "name"); + } + + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1beta1Api", "readNamespacedResourceClaimStatus", "namespace"); + } + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims/{name}/status' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * read the specified ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public async readNamespacedResourceClaimTemplate(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1beta1Api", "readNamespacedResourceClaimTemplate", "name"); + } + + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1beta1Api", "readNamespacedResourceClaimTemplate", "namespace"); + } + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * read the specified ResourceSlice + * @param name name of the ResourceSlice + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public async readResourceSlice(name: string, pretty?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1beta1Api", "readResourceSlice", "name"); + } + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/resourceslices/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * replace the specified DeviceClass + * @param name name of the DeviceClass + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public async replaceDeviceClass(name: string, body: V1beta1DeviceClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1beta1Api", "replaceDeviceClass", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ResourceV1beta1Api", "replaceDeviceClass", "body"); + } + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/deviceclasses/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1beta1DeviceClass", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * replace the specified ResourceClaim + * @param name name of the ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public async replaceNamespacedResourceClaim(name: string, namespace: string, body: V1beta1ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1beta1Api", "replaceNamespacedResourceClaim", "name"); + } + + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1beta1Api", "replaceNamespacedResourceClaim", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ResourceV1beta1Api", "replaceNamespacedResourceClaim", "body"); + } + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1beta1ResourceClaim", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * replace status of the specified ResourceClaim + * @param name name of the ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public async replaceNamespacedResourceClaimStatus(name: string, namespace: string, body: V1beta1ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1beta1Api", "replaceNamespacedResourceClaimStatus", "name"); + } + + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1beta1Api", "replaceNamespacedResourceClaimStatus", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ResourceV1beta1Api", "replaceNamespacedResourceClaimStatus", "body"); + } + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims/{name}/status' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1beta1ResourceClaim", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * replace the specified ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public async replaceNamespacedResourceClaimTemplate(name: string, namespace: string, body: V1beta1ResourceClaimTemplate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1beta1Api", "replaceNamespacedResourceClaimTemplate", "name"); + } + + + // verify required parameter 'namespace' is not null or undefined + if (namespace === null || namespace === undefined) { + throw new RequiredError("ResourceV1beta1Api", "replaceNamespacedResourceClaimTemplate", "namespace"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ResourceV1beta1Api", "replaceNamespacedResourceClaimTemplate", "body"); + } + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))) + .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1beta1ResourceClaimTemplate", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * replace the specified ResourceSlice + * @param name name of the ResourceSlice + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public async replaceResourceSlice(name: string, body: V1beta1ResourceSlice, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("ResourceV1beta1Api", "replaceResourceSlice", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("ResourceV1beta1Api", "replaceResourceSlice", "body"); + } + + + + + + + // Path Params + const localVarPath = '/apis/resource.k8s.io/v1beta1/resourceslices/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1beta1ResourceSlice", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + +} + +export class ResourceV1beta1ApiResponseProcessor { + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createDeviceClass + * @throws ApiException if the response code was not in [200, 299] + */ + public async createDeviceClassWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1DeviceClass", "" + ) as V1beta1DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1beta1DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1DeviceClass", "" + ) as V1beta1DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("202", response.httpStatusCode)) { + const body: V1beta1DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1DeviceClass", "" + ) as V1beta1DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1DeviceClass", "" + ) as V1beta1DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createNamespacedResourceClaim + * @throws ApiException if the response code was not in [200, 299] + */ + public async createNamespacedResourceClaimWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaim", "" + ) as V1beta1ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1beta1ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaim", "" + ) as V1beta1ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("202", response.httpStatusCode)) { + const body: V1beta1ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaim", "" + ) as V1beta1ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaim", "" + ) as V1beta1ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createNamespacedResourceClaimTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async createNamespacedResourceClaimTemplateWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaimTemplate", "" + ) as V1beta1ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1beta1ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaimTemplate", "" + ) as V1beta1ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("202", response.httpStatusCode)) { + const body: V1beta1ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaimTemplate", "" + ) as V1beta1ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaimTemplate", "" + ) as V1beta1ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createResourceSlice + * @throws ApiException if the response code was not in [200, 299] + */ + public async createResourceSliceWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceSlice", "" + ) as V1beta1ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1beta1ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceSlice", "" + ) as V1beta1ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("202", response.httpStatusCode)) { + const body: V1beta1ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceSlice", "" + ) as V1beta1ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceSlice", "" + ) as V1beta1ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteCollectionDeviceClass + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteCollectionDeviceClassWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteCollectionNamespacedResourceClaim + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteCollectionNamespacedResourceClaimWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteCollectionNamespacedResourceClaimTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteCollectionNamespacedResourceClaimTemplateWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteCollectionResourceSlice + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteCollectionResourceSliceWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteDeviceClass + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteDeviceClassWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1DeviceClass", "" + ) as V1beta1DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("202", response.httpStatusCode)) { + const body: V1beta1DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1DeviceClass", "" + ) as V1beta1DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1DeviceClass", "" + ) as V1beta1DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteNamespacedResourceClaim + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteNamespacedResourceClaimWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaim", "" + ) as V1beta1ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("202", response.httpStatusCode)) { + const body: V1beta1ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaim", "" + ) as V1beta1ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaim", "" + ) as V1beta1ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteNamespacedResourceClaimTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteNamespacedResourceClaimTemplateWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaimTemplate", "" + ) as V1beta1ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("202", response.httpStatusCode)) { + const body: V1beta1ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaimTemplate", "" + ) as V1beta1ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaimTemplate", "" + ) as V1beta1ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteResourceSlice + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteResourceSliceWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceSlice", "" + ) as V1beta1ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("202", response.httpStatusCode)) { + const body: V1beta1ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceSlice", "" + ) as V1beta1ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceSlice", "" + ) as V1beta1ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getAPIResources + * @throws ApiException if the response code was not in [200, 299] + */ + public async getAPIResourcesWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1APIResourceList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1APIResourceList", "" + ) as V1APIResourceList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1APIResourceList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1APIResourceList", "" + ) as V1APIResourceList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listDeviceClass + * @throws ApiException if the response code was not in [200, 299] + */ + public async listDeviceClassWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1DeviceClassList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1DeviceClassList", "" + ) as V1beta1DeviceClassList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1DeviceClassList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1DeviceClassList", "" + ) as V1beta1DeviceClassList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listNamespacedResourceClaim + * @throws ApiException if the response code was not in [200, 299] + */ + public async listNamespacedResourceClaimWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ResourceClaimList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaimList", "" + ) as V1beta1ResourceClaimList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ResourceClaimList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaimList", "" + ) as V1beta1ResourceClaimList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listNamespacedResourceClaimTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async listNamespacedResourceClaimTemplateWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ResourceClaimTemplateList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaimTemplateList", "" + ) as V1beta1ResourceClaimTemplateList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ResourceClaimTemplateList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaimTemplateList", "" + ) as V1beta1ResourceClaimTemplateList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listResourceClaimForAllNamespaces + * @throws ApiException if the response code was not in [200, 299] + */ + public async listResourceClaimForAllNamespacesWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ResourceClaimList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaimList", "" + ) as V1beta1ResourceClaimList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ResourceClaimList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaimList", "" + ) as V1beta1ResourceClaimList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listResourceClaimTemplateForAllNamespaces + * @throws ApiException if the response code was not in [200, 299] + */ + public async listResourceClaimTemplateForAllNamespacesWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ResourceClaimTemplateList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaimTemplateList", "" + ) as V1beta1ResourceClaimTemplateList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ResourceClaimTemplateList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaimTemplateList", "" + ) as V1beta1ResourceClaimTemplateList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listResourceSlice + * @throws ApiException if the response code was not in [200, 299] + */ + public async listResourceSliceWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ResourceSliceList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceSliceList", "" + ) as V1beta1ResourceSliceList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ResourceSliceList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceSliceList", "" + ) as V1beta1ResourceSliceList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to patchDeviceClass + * @throws ApiException if the response code was not in [200, 299] + */ + public async patchDeviceClassWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1DeviceClass", "" + ) as V1beta1DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1beta1DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1DeviceClass", "" + ) as V1beta1DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1DeviceClass", "" + ) as V1beta1DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to patchNamespacedResourceClaim + * @throws ApiException if the response code was not in [200, 299] + */ + public async patchNamespacedResourceClaimWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaim", "" + ) as V1beta1ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1beta1ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaim", "" + ) as V1beta1ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaim", "" + ) as V1beta1ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to patchNamespacedResourceClaimStatus + * @throws ApiException if the response code was not in [200, 299] + */ + public async patchNamespacedResourceClaimStatusWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaim", "" + ) as V1beta1ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1beta1ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaim", "" + ) as V1beta1ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaim", "" + ) as V1beta1ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to patchNamespacedResourceClaimTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async patchNamespacedResourceClaimTemplateWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaimTemplate", "" + ) as V1beta1ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1beta1ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaimTemplate", "" + ) as V1beta1ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaimTemplate", "" + ) as V1beta1ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to patchResourceSlice + * @throws ApiException if the response code was not in [200, 299] + */ + public async patchResourceSliceWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceSlice", "" + ) as V1beta1ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1beta1ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceSlice", "" + ) as V1beta1ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceSlice", "" + ) as V1beta1ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to readDeviceClass + * @throws ApiException if the response code was not in [200, 299] + */ + public async readDeviceClassWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1DeviceClass", "" + ) as V1beta1DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1DeviceClass", "" + ) as V1beta1DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to readNamespacedResourceClaim + * @throws ApiException if the response code was not in [200, 299] + */ + public async readNamespacedResourceClaimWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaim", "" + ) as V1beta1ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaim", "" + ) as V1beta1ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to readNamespacedResourceClaimStatus + * @throws ApiException if the response code was not in [200, 299] + */ + public async readNamespacedResourceClaimStatusWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaim", "" + ) as V1beta1ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaim", "" + ) as V1beta1ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to readNamespacedResourceClaimTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async readNamespacedResourceClaimTemplateWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaimTemplate", "" + ) as V1beta1ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaimTemplate", "" + ) as V1beta1ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to readResourceSlice + * @throws ApiException if the response code was not in [200, 299] + */ + public async readResourceSliceWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceSlice", "" + ) as V1beta1ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceSlice", "" + ) as V1beta1ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to replaceDeviceClass + * @throws ApiException if the response code was not in [200, 299] + */ + public async replaceDeviceClassWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1DeviceClass", "" + ) as V1beta1DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1beta1DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1DeviceClass", "" + ) as V1beta1DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1DeviceClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1DeviceClass", "" + ) as V1beta1DeviceClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to replaceNamespacedResourceClaim + * @throws ApiException if the response code was not in [200, 299] + */ + public async replaceNamespacedResourceClaimWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaim", "" + ) as V1beta1ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1beta1ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaim", "" + ) as V1beta1ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaim", "" + ) as V1beta1ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to replaceNamespacedResourceClaimStatus + * @throws ApiException if the response code was not in [200, 299] + */ + public async replaceNamespacedResourceClaimStatusWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaim", "" + ) as V1beta1ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1beta1ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaim", "" + ) as V1beta1ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ResourceClaim = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaim", "" + ) as V1beta1ResourceClaim; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to replaceNamespacedResourceClaimTemplate + * @throws ApiException if the response code was not in [200, 299] + */ + public async replaceNamespacedResourceClaimTemplateWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaimTemplate", "" + ) as V1beta1ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1beta1ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaimTemplate", "" + ) as V1beta1ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ResourceClaimTemplate = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceClaimTemplate", "" + ) as V1beta1ResourceClaimTemplate; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to replaceResourceSlice + * @throws ApiException if the response code was not in [200, 299] + */ + public async replaceResourceSliceWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceSlice", "" + ) as V1beta1ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1beta1ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceSlice", "" + ) as V1beta1ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1ResourceSlice = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1ResourceSlice", "" + ) as V1beta1ResourceSlice; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + +} diff --git a/src/gen/apis/SchedulingApi.ts b/src/gen/apis/SchedulingApi.ts index d94a74d1d81..0f9be81d7c3 100644 --- a/src/gen/apis/SchedulingApi.ts +++ b/src/gen/apis/SchedulingApi.ts @@ -1,16 +1,16 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIGroup } from '../models/V1APIGroup.js'; +import { V1APIGroup } from '../models/V1APIGroup'; /** * no description diff --git a/src/gen/apis/SchedulingV1Api.ts b/src/gen/apis/SchedulingV1Api.ts index 0ac113560f6..293e12982f1 100644 --- a/src/gen/apis/SchedulingV1Api.ts +++ b/src/gen/apis/SchedulingV1Api.ts @@ -1,20 +1,20 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1PriorityClass } from '../models/V1PriorityClass.js'; -import { V1PriorityClassList } from '../models/V1PriorityClassList.js'; -import { V1Status } from '../models/V1Status.js'; +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1PriorityClass } from '../models/V1PriorityClass'; +import { V1PriorityClassList } from '../models/V1PriorityClassList'; +import { V1Status } from '../models/V1Status'; /** * no description @@ -101,6 +101,7 @@ export class SchedulingV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -111,7 +112,7 @@ export class SchedulingV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionPriorityClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionPriorityClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -128,6 +129,7 @@ export class SchedulingV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/scheduling.k8s.io/v1/priorityclasses'; @@ -160,6 +162,11 @@ export class SchedulingV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -231,11 +238,12 @@ export class SchedulingV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deletePriorityClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deletePriorityClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -250,6 +258,7 @@ export class SchedulingV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/scheduling.k8s.io/v1/priorityclasses/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); @@ -273,6 +282,11 @@ export class SchedulingV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -515,7 +529,9 @@ export class SchedulingV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( diff --git a/src/gen/apis/StorageApi.ts b/src/gen/apis/StorageApi.ts index 98a5949f4e9..9aac881c055 100644 --- a/src/gen/apis/StorageApi.ts +++ b/src/gen/apis/StorageApi.ts @@ -1,16 +1,16 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIGroup } from '../models/V1APIGroup.js'; +import { V1APIGroup } from '../models/V1APIGroup'; /** * no description diff --git a/src/gen/apis/StorageV1Api.ts b/src/gen/apis/StorageV1Api.ts index 1e329493124..5f533a05183 100644 --- a/src/gen/apis/StorageV1Api.ts +++ b/src/gen/apis/StorageV1Api.ts @@ -1,28 +1,28 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; - - -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1CSIDriver } from '../models/V1CSIDriver.js'; -import { V1CSIDriverList } from '../models/V1CSIDriverList.js'; -import { V1CSINode } from '../models/V1CSINode.js'; -import { V1CSINodeList } from '../models/V1CSINodeList.js'; -import { V1CSIStorageCapacity } from '../models/V1CSIStorageCapacity.js'; -import { V1CSIStorageCapacityList } from '../models/V1CSIStorageCapacityList.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1Status } from '../models/V1Status.js'; -import { V1StorageClass } from '../models/V1StorageClass.js'; -import { V1StorageClassList } from '../models/V1StorageClassList.js'; -import { V1VolumeAttachment } from '../models/V1VolumeAttachment.js'; -import { V1VolumeAttachmentList } from '../models/V1VolumeAttachmentList.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1CSIDriver } from '../models/V1CSIDriver'; +import { V1CSIDriverList } from '../models/V1CSIDriverList'; +import { V1CSINode } from '../models/V1CSINode'; +import { V1CSINodeList } from '../models/V1CSINodeList'; +import { V1CSIStorageCapacity } from '../models/V1CSIStorageCapacity'; +import { V1CSIStorageCapacityList } from '../models/V1CSIStorageCapacityList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1Status } from '../models/V1Status'; +import { V1StorageClass } from '../models/V1StorageClass'; +import { V1StorageClassList } from '../models/V1StorageClassList'; +import { V1VolumeAttachment } from '../models/V1VolumeAttachment'; +import { V1VolumeAttachmentList } from '../models/V1VolumeAttachmentList'; /** * no description @@ -408,11 +408,12 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteCSIDriver(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCSIDriver(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -427,6 +428,7 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/storage.k8s.io/v1/csidrivers/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); @@ -450,6 +452,11 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -491,11 +498,12 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteCSINode(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCSINode(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -510,6 +518,7 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/storage.k8s.io/v1/csinodes/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); @@ -533,6 +542,11 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -575,6 +589,7 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -585,7 +600,7 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionCSIDriver(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionCSIDriver(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -602,6 +617,7 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/storage.k8s.io/v1/csidrivers'; @@ -634,6 +650,11 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -706,6 +727,7 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -716,7 +738,7 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionCSINode(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionCSINode(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -733,6 +755,7 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/storage.k8s.io/v1/csinodes'; @@ -765,6 +788,11 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -838,6 +866,7 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -848,7 +877,7 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionNamespacedCSIStorageCapacity(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionNamespacedCSIStorageCapacity(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'namespace' is not null or undefined @@ -871,6 +900,7 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities' .replace('{' + 'namespace' + '}', encodeURIComponent(String(namespace))); @@ -904,6 +934,11 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -976,6 +1011,7 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -986,7 +1022,7 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionStorageClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionStorageClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -1003,6 +1039,7 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/storage.k8s.io/v1/storageclasses'; @@ -1035,6 +1072,11 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -1107,6 +1149,7 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1117,7 +1160,7 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionVolumeAttachment(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionVolumeAttachment(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -1134,6 +1177,7 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/storage.k8s.io/v1/volumeattachments'; @@ -1166,6 +1210,11 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -1238,11 +1287,12 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteNamespacedCSIStorageCapacity(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteNamespacedCSIStorageCapacity(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -1263,6 +1313,7 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))) @@ -1287,6 +1338,11 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -1328,11 +1384,12 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteStorageClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteStorageClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -1347,6 +1404,7 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/storage.k8s.io/v1/storageclasses/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); @@ -1370,6 +1428,11 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -1411,11 +1474,12 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteVolumeAttachment(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteVolumeAttachment(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -1430,6 +1494,7 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/storage.k8s.io/v1/volumeattachments/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); @@ -1453,6 +1518,11 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -2233,7 +2303,9 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -2329,7 +2401,9 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -2433,7 +2507,9 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -2529,7 +2605,9 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -2625,7 +2703,9 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -2721,7 +2801,9 @@ export class StorageV1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( diff --git a/src/gen/apis/StorageV1alpha1Api.ts b/src/gen/apis/StorageV1alpha1Api.ts index f83a6f4b5ec..f11b157e0e6 100644 --- a/src/gen/apis/StorageV1alpha1Api.ts +++ b/src/gen/apis/StorageV1alpha1Api.ts @@ -1,20 +1,20 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1Status } from '../models/V1Status.js'; -import { V1alpha1VolumeAttributesClass } from '../models/V1alpha1VolumeAttributesClass.js'; -import { V1alpha1VolumeAttributesClassList } from '../models/V1alpha1VolumeAttributesClassList.js'; +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1Status } from '../models/V1Status'; +import { V1alpha1VolumeAttributesClass } from '../models/V1alpha1VolumeAttributesClass'; +import { V1alpha1VolumeAttributesClassList } from '../models/V1alpha1VolumeAttributesClassList'; /** * no description @@ -101,6 +101,7 @@ export class StorageV1alpha1ApiRequestFactory extends BaseAPIRequestFactory { * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -111,7 +112,7 @@ export class StorageV1alpha1ApiRequestFactory extends BaseAPIRequestFactory { * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionVolumeAttributesClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionVolumeAttributesClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -128,6 +129,7 @@ export class StorageV1alpha1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/storage.k8s.io/v1alpha1/volumeattributesclasses'; @@ -160,6 +162,11 @@ export class StorageV1alpha1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -231,11 +238,12 @@ export class StorageV1alpha1ApiRequestFactory extends BaseAPIRequestFactory { * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteVolumeAttributesClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteVolumeAttributesClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -250,6 +258,7 @@ export class StorageV1alpha1ApiRequestFactory extends BaseAPIRequestFactory { + // Path Params const localVarPath = '/apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); @@ -273,6 +282,11 @@ export class StorageV1alpha1ApiRequestFactory extends BaseAPIRequestFactory { requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -515,7 +529,9 @@ export class StorageV1alpha1ApiRequestFactory extends BaseAPIRequestFactory { "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( diff --git a/src/gen/apis/StorageV1beta1Api.ts b/src/gen/apis/StorageV1beta1Api.ts new file mode 100644 index 00000000000..c897921fdc7 --- /dev/null +++ b/src/gen/apis/StorageV1beta1Api.ts @@ -0,0 +1,978 @@ +// TODO: better import syntax? +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; +import FormData from "form-data"; +import { URLSearchParams } from 'url'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; + + +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1Status } from '../models/V1Status'; +import { V1beta1VolumeAttributesClass } from '../models/V1beta1VolumeAttributesClass'; +import { V1beta1VolumeAttributesClassList } from '../models/V1beta1VolumeAttributesClassList'; + +/** + * no description + */ +export class StorageV1beta1ApiRequestFactory extends BaseAPIRequestFactory { + + /** + * create a VolumeAttributesClass + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public async createVolumeAttributesClass(body: V1beta1VolumeAttributesClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("StorageV1beta1Api", "createVolumeAttributesClass", "body"); + } + + + + + + + // Path Params + const localVarPath = '/apis/storage.k8s.io/v1beta1/volumeattributesclasses'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1beta1VolumeAttributesClass", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * delete collection of VolumeAttributesClass + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param body + */ + public async deleteCollectionVolumeAttributesClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + + + + + + + + + + + + + + + + // Path Params + const localVarPath = '/apis/storage.k8s.io/v1beta1/volumeattributesclasses'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (_continue !== undefined) { + requestContext.setQueryParam("continue", ObjectSerializer.serialize(_continue, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldSelector !== undefined) { + requestContext.setQueryParam("fieldSelector", ObjectSerializer.serialize(fieldSelector, "string", "")); + } + + // Query Params + if (gracePeriodSeconds !== undefined) { + requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); + } + + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + + // Query Params + if (labelSelector !== undefined) { + requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); + } + + // Query Params + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer.serialize(limit, "number", "")); + } + + // Query Params + if (orphanDependents !== undefined) { + requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); + } + + // Query Params + if (propagationPolicy !== undefined) { + requestContext.setQueryParam("propagationPolicy", ObjectSerializer.serialize(propagationPolicy, "string", "")); + } + + // Query Params + if (resourceVersion !== undefined) { + requestContext.setQueryParam("resourceVersion", ObjectSerializer.serialize(resourceVersion, "string", "")); + } + + // Query Params + if (resourceVersionMatch !== undefined) { + requestContext.setQueryParam("resourceVersionMatch", ObjectSerializer.serialize(resourceVersionMatch, "string", "")); + } + + // Query Params + if (sendInitialEvents !== undefined) { + requestContext.setQueryParam("sendInitialEvents", ObjectSerializer.serialize(sendInitialEvents, "boolean", "")); + } + + // Query Params + if (timeoutSeconds !== undefined) { + requestContext.setQueryParam("timeoutSeconds", ObjectSerializer.serialize(timeoutSeconds, "number", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1DeleteOptions", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * delete a VolumeAttributesClass + * @param name name of the VolumeAttributesClass + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param body + */ + public async deleteVolumeAttributesClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("StorageV1beta1Api", "deleteVolumeAttributesClass", "name"); + } + + + + + + + + + + // Path Params + const localVarPath = '/apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (gracePeriodSeconds !== undefined) { + requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); + } + + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + + // Query Params + if (orphanDependents !== undefined) { + requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); + } + + // Query Params + if (propagationPolicy !== undefined) { + requestContext.setQueryParam("propagationPolicy", ObjectSerializer.serialize(propagationPolicy, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1DeleteOptions", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * get available resources + */ + public async getAPIResources(_options?: Configuration): Promise { + let _config = _options || this.configuration; + + // Path Params + const localVarPath = '/apis/storage.k8s.io/v1beta1/'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * list or watch objects of kind VolumeAttributesClass + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param resourceVersion resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param resourceVersionMatch resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param sendInitialEvents `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + */ + public async listVolumeAttributesClass(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + + + + + + + + + + + + // Path Params + const localVarPath = '/apis/storage.k8s.io/v1beta1/volumeattributesclasses'; + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (allowWatchBookmarks !== undefined) { + requestContext.setQueryParam("allowWatchBookmarks", ObjectSerializer.serialize(allowWatchBookmarks, "boolean", "")); + } + + // Query Params + if (_continue !== undefined) { + requestContext.setQueryParam("continue", ObjectSerializer.serialize(_continue, "string", "")); + } + + // Query Params + if (fieldSelector !== undefined) { + requestContext.setQueryParam("fieldSelector", ObjectSerializer.serialize(fieldSelector, "string", "")); + } + + // Query Params + if (labelSelector !== undefined) { + requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); + } + + // Query Params + if (limit !== undefined) { + requestContext.setQueryParam("limit", ObjectSerializer.serialize(limit, "number", "")); + } + + // Query Params + if (resourceVersion !== undefined) { + requestContext.setQueryParam("resourceVersion", ObjectSerializer.serialize(resourceVersion, "string", "")); + } + + // Query Params + if (resourceVersionMatch !== undefined) { + requestContext.setQueryParam("resourceVersionMatch", ObjectSerializer.serialize(resourceVersionMatch, "string", "")); + } + + // Query Params + if (sendInitialEvents !== undefined) { + requestContext.setQueryParam("sendInitialEvents", ObjectSerializer.serialize(sendInitialEvents, "boolean", "")); + } + + // Query Params + if (timeoutSeconds !== undefined) { + requestContext.setQueryParam("timeoutSeconds", ObjectSerializer.serialize(timeoutSeconds, "number", "")); + } + + // Query Params + if (watch !== undefined) { + requestContext.setQueryParam("watch", ObjectSerializer.serialize(watch, "boolean", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * partially update the specified VolumeAttributesClass + * @param name name of the VolumeAttributesClass + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param force Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public async patchVolumeAttributesClass(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("StorageV1beta1Api", "patchVolumeAttributesClass", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("StorageV1beta1Api", "patchVolumeAttributesClass", "body"); + } + + + + + + + + // Path Params + const localVarPath = '/apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + // Query Params + if (force !== undefined) { + requestContext.setQueryParam("force", ObjectSerializer.serialize(force, "boolean", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json-patch+json", + + "application/merge-patch+json", + + "application/strategic-merge-patch+json", + + "application/apply-patch+yaml", + + "application/apply-patch+cbor" + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "any", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * read the specified VolumeAttributesClass + * @param name name of the VolumeAttributesClass + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public async readVolumeAttributesClass(name: string, pretty?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("StorageV1beta1Api", "readVolumeAttributesClass", "name"); + } + + + + // Path Params + const localVarPath = '/apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + + /** + * replace the specified VolumeAttributesClass + * @param name name of the VolumeAttributesClass + * @param body + * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param fieldManager fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param fieldValidation fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public async replaceVolumeAttributesClass(name: string, body: V1beta1VolumeAttributesClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + let _config = _options || this.configuration; + + // verify required parameter 'name' is not null or undefined + if (name === null || name === undefined) { + throw new RequiredError("StorageV1beta1Api", "replaceVolumeAttributesClass", "name"); + } + + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("StorageV1beta1Api", "replaceVolumeAttributesClass", "body"); + } + + + + + + + // Path Params + const localVarPath = '/apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name}' + .replace('{' + 'name' + '}', encodeURIComponent(String(name))); + + // Make Request Context + const requestContext = _config.baseServer.makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8") + + // Query Params + if (pretty !== undefined) { + requestContext.setQueryParam("pretty", ObjectSerializer.serialize(pretty, "string", "")); + } + + // Query Params + if (dryRun !== undefined) { + requestContext.setQueryParam("dryRun", ObjectSerializer.serialize(dryRun, "string", "")); + } + + // Query Params + if (fieldManager !== undefined) { + requestContext.setQueryParam("fieldManager", ObjectSerializer.serialize(fieldManager, "string", "")); + } + + // Query Params + if (fieldValidation !== undefined) { + requestContext.setQueryParam("fieldValidation", ObjectSerializer.serialize(fieldValidation, "string", "")); + } + + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "V1beta1VolumeAttributesClass", ""), + contentType + ); + requestContext.setBody(serializedBody); + + let authMethod: SecurityAuthentication | undefined; + // Apply auth methods + authMethod = _config.authMethods["BearerToken"] + if (authMethod?.applySecurityAuthentication) { + await authMethod?.applySecurityAuthentication(requestContext); + } + + const defaultAuth: SecurityAuthentication | undefined = _options?.authMethods?.default || this.configuration?.authMethods?.default + if (defaultAuth?.applySecurityAuthentication) { + await defaultAuth?.applySecurityAuthentication(requestContext); + } + + return requestContext; + } + +} + +export class StorageV1beta1ApiResponseProcessor { + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createVolumeAttributesClass + * @throws ApiException if the response code was not in [200, 299] + */ + public async createVolumeAttributesClassWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1VolumeAttributesClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1VolumeAttributesClass", "" + ) as V1beta1VolumeAttributesClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1beta1VolumeAttributesClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1VolumeAttributesClass", "" + ) as V1beta1VolumeAttributesClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("202", response.httpStatusCode)) { + const body: V1beta1VolumeAttributesClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1VolumeAttributesClass", "" + ) as V1beta1VolumeAttributesClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1VolumeAttributesClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1VolumeAttributesClass", "" + ) as V1beta1VolumeAttributesClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteCollectionVolumeAttributesClass + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteCollectionVolumeAttributesClassWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1Status = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1Status", "" + ) as V1Status; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteVolumeAttributesClass + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteVolumeAttributesClassWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1VolumeAttributesClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1VolumeAttributesClass", "" + ) as V1beta1VolumeAttributesClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("202", response.httpStatusCode)) { + const body: V1beta1VolumeAttributesClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1VolumeAttributesClass", "" + ) as V1beta1VolumeAttributesClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1VolumeAttributesClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1VolumeAttributesClass", "" + ) as V1beta1VolumeAttributesClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getAPIResources + * @throws ApiException if the response code was not in [200, 299] + */ + public async getAPIResourcesWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1APIResourceList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1APIResourceList", "" + ) as V1APIResourceList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1APIResourceList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1APIResourceList", "" + ) as V1APIResourceList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listVolumeAttributesClass + * @throws ApiException if the response code was not in [200, 299] + */ + public async listVolumeAttributesClassWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1VolumeAttributesClassList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1VolumeAttributesClassList", "" + ) as V1beta1VolumeAttributesClassList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1VolumeAttributesClassList = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1VolumeAttributesClassList", "" + ) as V1beta1VolumeAttributesClassList; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to patchVolumeAttributesClass + * @throws ApiException if the response code was not in [200, 299] + */ + public async patchVolumeAttributesClassWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1VolumeAttributesClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1VolumeAttributesClass", "" + ) as V1beta1VolumeAttributesClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1beta1VolumeAttributesClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1VolumeAttributesClass", "" + ) as V1beta1VolumeAttributesClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1VolumeAttributesClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1VolumeAttributesClass", "" + ) as V1beta1VolumeAttributesClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to readVolumeAttributesClass + * @throws ApiException if the response code was not in [200, 299] + */ + public async readVolumeAttributesClassWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1VolumeAttributesClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1VolumeAttributesClass", "" + ) as V1beta1VolumeAttributesClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1VolumeAttributesClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1VolumeAttributesClass", "" + ) as V1beta1VolumeAttributesClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to replaceVolumeAttributesClass + * @throws ApiException if the response code was not in [200, 299] + */ + public async replaceVolumeAttributesClassWithHttpInfo(response: ResponseContext): Promise> { + const contentType = ObjectSerializer.normalizeMediaType(response.headers["content-type"]); + if (isCodeInRange("200", response.httpStatusCode)) { + const body: V1beta1VolumeAttributesClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1VolumeAttributesClass", "" + ) as V1beta1VolumeAttributesClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("201", response.httpStatusCode)) { + const body: V1beta1VolumeAttributesClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1VolumeAttributesClass", "" + ) as V1beta1VolumeAttributesClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + if (isCodeInRange("401", response.httpStatusCode)) { + throw new ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: V1beta1VolumeAttributesClass = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "V1beta1VolumeAttributesClass", "" + ) as V1beta1VolumeAttributesClass; + return new HttpInfo(response.httpStatusCode, response.headers, response.body, body); + } + + throw new ApiException(response.httpStatusCode, "Unknown API Status Code!", await response.getBodyAsAny(), response.headers); + } + +} diff --git a/src/gen/apis/StoragemigrationApi.ts b/src/gen/apis/StoragemigrationApi.ts index 5add709bd87..1c714b58c59 100644 --- a/src/gen/apis/StoragemigrationApi.ts +++ b/src/gen/apis/StoragemigrationApi.ts @@ -1,16 +1,16 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIGroup } from '../models/V1APIGroup.js'; +import { V1APIGroup } from '../models/V1APIGroup'; /** * no description diff --git a/src/gen/apis/StoragemigrationV1alpha1Api.ts b/src/gen/apis/StoragemigrationV1alpha1Api.ts index 42dc8ec34a3..ff7b4c38664 100644 --- a/src/gen/apis/StoragemigrationV1alpha1Api.ts +++ b/src/gen/apis/StoragemigrationV1alpha1Api.ts @@ -1,20 +1,20 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1Status } from '../models/V1Status.js'; -import { V1alpha1StorageVersionMigration } from '../models/V1alpha1StorageVersionMigration.js'; -import { V1alpha1StorageVersionMigrationList } from '../models/V1alpha1StorageVersionMigrationList.js'; +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1Status } from '../models/V1Status'; +import { V1alpha1StorageVersionMigration } from '../models/V1alpha1StorageVersionMigration'; +import { V1alpha1StorageVersionMigrationList } from '../models/V1alpha1StorageVersionMigrationList'; /** * no description @@ -101,6 +101,7 @@ export class StoragemigrationV1alpha1ApiRequestFactory extends BaseAPIRequestFac * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -111,7 +112,7 @@ export class StoragemigrationV1alpha1ApiRequestFactory extends BaseAPIRequestFac * @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param body */ - public async deleteCollectionStorageVersionMigration(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteCollectionStorageVersionMigration(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; @@ -128,6 +129,7 @@ export class StoragemigrationV1alpha1ApiRequestFactory extends BaseAPIRequestFac + // Path Params const localVarPath = '/apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations'; @@ -160,6 +162,11 @@ export class StoragemigrationV1alpha1ApiRequestFactory extends BaseAPIRequestFac requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (labelSelector !== undefined) { requestContext.setQueryParam("labelSelector", ObjectSerializer.serialize(labelSelector, "string", "")); @@ -231,11 +238,12 @@ export class StoragemigrationV1alpha1ApiRequestFactory extends BaseAPIRequestFac * @param pretty If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param gracePeriodSeconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param ignoreStoreReadErrorWithClusterBreakingPotential if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param orphanDependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param body */ - public async deleteStorageVersionMigration(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + public async deleteStorageVersionMigration(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { let _config = _options || this.configuration; // verify required parameter 'name' is not null or undefined @@ -250,6 +258,7 @@ export class StoragemigrationV1alpha1ApiRequestFactory extends BaseAPIRequestFac + // Path Params const localVarPath = '/apis/storagemigration.k8s.io/v1alpha1/storageversionmigrations/{name}' .replace('{' + 'name' + '}', encodeURIComponent(String(name))); @@ -273,6 +282,11 @@ export class StoragemigrationV1alpha1ApiRequestFactory extends BaseAPIRequestFac requestContext.setQueryParam("gracePeriodSeconds", ObjectSerializer.serialize(gracePeriodSeconds, "number", "")); } + // Query Params + if (ignoreStoreReadErrorWithClusterBreakingPotential !== undefined) { + requestContext.setQueryParam("ignoreStoreReadErrorWithClusterBreakingPotential", ObjectSerializer.serialize(ignoreStoreReadErrorWithClusterBreakingPotential, "boolean", "")); + } + // Query Params if (orphanDependents !== undefined) { requestContext.setQueryParam("orphanDependents", ObjectSerializer.serialize(orphanDependents, "boolean", "")); @@ -515,7 +529,9 @@ export class StoragemigrationV1alpha1ApiRequestFactory extends BaseAPIRequestFac "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( @@ -611,7 +627,9 @@ export class StoragemigrationV1alpha1ApiRequestFactory extends BaseAPIRequestFac "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + + "application/apply-patch+cbor" ]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = ObjectSerializer.stringify( diff --git a/src/gen/apis/VersionApi.ts b/src/gen/apis/VersionApi.ts index b45982863da..07dd3d80578 100644 --- a/src/gen/apis/VersionApi.ts +++ b/src/gen/apis/VersionApi.ts @@ -1,16 +1,16 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; -import { VersionInfo } from '../models/VersionInfo.js'; +import { VersionInfo } from '../models/VersionInfo'; /** * no description diff --git a/src/gen/apis/WellKnownApi.ts b/src/gen/apis/WellKnownApi.ts index 6625aa325f5..29070b9f68d 100644 --- a/src/gen/apis/WellKnownApi.ts +++ b/src/gen/apis/WellKnownApi.ts @@ -1,13 +1,13 @@ // TODO: better import syntax? -import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi.js'; -import {Configuration} from '../configuration.js'; -import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http.js'; +import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi'; +import {Configuration} from '../configuration'; +import {RequestContext, HttpMethod, ResponseContext, HttpFile, HttpInfo} from '../http/http'; import FormData from "form-data"; import { URLSearchParams } from 'url'; -import {ObjectSerializer} from '../models/ObjectSerializer.js'; -import {ApiException} from './exception.js'; -import {canConsumeForm, isCodeInRange} from '../util.js'; -import {SecurityAuthentication} from '../auth/auth.js'; +import {ObjectSerializer} from '../models/ObjectSerializer'; +import {ApiException} from './exception'; +import {canConsumeForm, isCodeInRange} from '../util'; +import {SecurityAuthentication} from '../auth/auth'; diff --git a/src/gen/apis/baseapi.ts b/src/gen/apis/baseapi.ts index d18f31c868d..4c47d7cb15a 100644 --- a/src/gen/apis/baseapi.ts +++ b/src/gen/apis/baseapi.ts @@ -1,4 +1,4 @@ -import { Configuration } from '../configuration.js' +import { Configuration } from '../configuration' /** * diff --git a/src/gen/auth/auth.ts b/src/gen/auth/auth.ts index 712183b0d5a..00bf7a12fad 100644 --- a/src/gen/auth/auth.ts +++ b/src/gen/auth/auth.ts @@ -1,4 +1,4 @@ -import { RequestContext } from "../http/http.js"; +import { RequestContext } from "../http/http"; /** * Interface authentication schemes. diff --git a/src/gen/configuration.ts b/src/gen/configuration.ts index ad2436fec9d..7acb56e6647 100644 --- a/src/gen/configuration.ts +++ b/src/gen/configuration.ts @@ -1,8 +1,8 @@ -import { HttpLibrary } from "./http/http.js"; -import { Middleware, PromiseMiddleware, PromiseMiddlewareWrapper } from "./middleware.js"; -import { IsomorphicFetchHttpLibrary as DefaultHttpLibrary } from "./http/isomorphic-fetch.js"; -import { BaseServerConfiguration, server1 } from "./servers.js"; -import { configureAuthMethods, AuthMethods, AuthMethodsConfiguration } from "./auth/auth.js"; +import { HttpLibrary } from "./http/http"; +import { Middleware, PromiseMiddleware, PromiseMiddlewareWrapper } from "./middleware"; +import { IsomorphicFetchHttpLibrary as DefaultHttpLibrary } from "./http/isomorphic-fetch"; +import { BaseServerConfiguration, server1 } from "./servers"; +import { configureAuthMethods, AuthMethods, AuthMethodsConfiguration } from "./auth/auth"; export interface Configuration { readonly baseServer: BaseServerConfiguration; diff --git a/src/gen/http/http.ts b/src/gen/http/http.ts index 04e5e57257e..15b563c38ea 100644 --- a/src/gen/http/http.ts +++ b/src/gen/http/http.ts @@ -3,9 +3,9 @@ import FormData from "form-data"; import { URL, URLSearchParams } from 'url'; import * as http from 'http'; import * as https from 'https'; -import { Observable, from } from '../rxjsStub.js'; +import { Observable, from } from '../rxjsStub'; -export * from './isomorphic-fetch.js'; +export * from './isomorphic-fetch'; /** * Represents an HTTP method. diff --git a/src/gen/http/isomorphic-fetch.ts b/src/gen/http/isomorphic-fetch.ts index d05dc7f9ef8..26d267cfc06 100644 --- a/src/gen/http/isomorphic-fetch.ts +++ b/src/gen/http/isomorphic-fetch.ts @@ -1,5 +1,5 @@ -import {HttpLibrary, RequestContext, ResponseContext} from './http.js'; -import { from, Observable } from '../rxjsStub.js'; +import {HttpLibrary, RequestContext, ResponseContext} from './http'; +import { from, Observable } from '../rxjsStub'; import fetch from "node-fetch"; export class IsomorphicFetchHttpLibrary implements HttpLibrary { diff --git a/src/gen/index.ts b/src/gen/index.ts index 1b95efa899c..0c37e42ed33 100644 --- a/src/gen/index.ts +++ b/src/gen/index.ts @@ -1,12 +1,12 @@ -export * from "./http/http.js"; -export * from "./auth/auth.js"; -export * from "./models/all.js"; -export { createConfiguration } from "./configuration.js" -export type { Configuration } from "./configuration.js" -export * from "./apis/exception.js"; -export * from "./servers.js"; -export { RequiredError } from "./apis/baseapi.js"; +export * from "./http/http"; +export * from "./auth/auth"; +export * from "./models/all"; +export { createConfiguration } from "./configuration" +export type { Configuration } from "./configuration" +export * from "./apis/exception"; +export * from "./servers"; +export { RequiredError } from "./apis/baseapi"; -export type { PromiseMiddleware as Middleware } from './middleware.js'; -export { type AdmissionregistrationApiGetAPIGroupRequest, ObjectAdmissionregistrationApi as AdmissionregistrationApi, type AdmissionregistrationV1ApiCreateMutatingWebhookConfigurationRequest, type AdmissionregistrationV1ApiCreateValidatingAdmissionPolicyRequest, type AdmissionregistrationV1ApiCreateValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1ApiCreateValidatingWebhookConfigurationRequest, type AdmissionregistrationV1ApiDeleteCollectionMutatingWebhookConfigurationRequest, type AdmissionregistrationV1ApiDeleteCollectionValidatingAdmissionPolicyRequest, type AdmissionregistrationV1ApiDeleteCollectionValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1ApiDeleteCollectionValidatingWebhookConfigurationRequest, type AdmissionregistrationV1ApiDeleteMutatingWebhookConfigurationRequest, type AdmissionregistrationV1ApiDeleteValidatingAdmissionPolicyRequest, type AdmissionregistrationV1ApiDeleteValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1ApiDeleteValidatingWebhookConfigurationRequest, type AdmissionregistrationV1ApiGetAPIResourcesRequest, type AdmissionregistrationV1ApiListMutatingWebhookConfigurationRequest, type AdmissionregistrationV1ApiListValidatingAdmissionPolicyRequest, type AdmissionregistrationV1ApiListValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1ApiListValidatingWebhookConfigurationRequest, type AdmissionregistrationV1ApiPatchMutatingWebhookConfigurationRequest, type AdmissionregistrationV1ApiPatchValidatingAdmissionPolicyRequest, type AdmissionregistrationV1ApiPatchValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1ApiPatchValidatingAdmissionPolicyStatusRequest, type AdmissionregistrationV1ApiPatchValidatingWebhookConfigurationRequest, type AdmissionregistrationV1ApiReadMutatingWebhookConfigurationRequest, type AdmissionregistrationV1ApiReadValidatingAdmissionPolicyRequest, type AdmissionregistrationV1ApiReadValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1ApiReadValidatingAdmissionPolicyStatusRequest, type AdmissionregistrationV1ApiReadValidatingWebhookConfigurationRequest, type AdmissionregistrationV1ApiReplaceMutatingWebhookConfigurationRequest, type AdmissionregistrationV1ApiReplaceValidatingAdmissionPolicyRequest, type AdmissionregistrationV1ApiReplaceValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1ApiReplaceValidatingAdmissionPolicyStatusRequest, type AdmissionregistrationV1ApiReplaceValidatingWebhookConfigurationRequest, ObjectAdmissionregistrationV1Api as AdmissionregistrationV1Api, type AdmissionregistrationV1alpha1ApiCreateValidatingAdmissionPolicyRequest, type AdmissionregistrationV1alpha1ApiCreateValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1alpha1ApiDeleteCollectionValidatingAdmissionPolicyRequest, type AdmissionregistrationV1alpha1ApiDeleteCollectionValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1alpha1ApiDeleteValidatingAdmissionPolicyRequest, type AdmissionregistrationV1alpha1ApiDeleteValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1alpha1ApiGetAPIResourcesRequest, type AdmissionregistrationV1alpha1ApiListValidatingAdmissionPolicyRequest, type AdmissionregistrationV1alpha1ApiListValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1alpha1ApiPatchValidatingAdmissionPolicyRequest, type AdmissionregistrationV1alpha1ApiPatchValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1alpha1ApiPatchValidatingAdmissionPolicyStatusRequest, type AdmissionregistrationV1alpha1ApiReadValidatingAdmissionPolicyRequest, type AdmissionregistrationV1alpha1ApiReadValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1alpha1ApiReadValidatingAdmissionPolicyStatusRequest, type AdmissionregistrationV1alpha1ApiReplaceValidatingAdmissionPolicyRequest, type AdmissionregistrationV1alpha1ApiReplaceValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1alpha1ApiReplaceValidatingAdmissionPolicyStatusRequest, ObjectAdmissionregistrationV1alpha1Api as AdmissionregistrationV1alpha1Api, type AdmissionregistrationV1beta1ApiCreateValidatingAdmissionPolicyRequest, type AdmissionregistrationV1beta1ApiCreateValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1beta1ApiDeleteCollectionValidatingAdmissionPolicyRequest, type AdmissionregistrationV1beta1ApiDeleteCollectionValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1beta1ApiDeleteValidatingAdmissionPolicyRequest, type AdmissionregistrationV1beta1ApiDeleteValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1beta1ApiGetAPIResourcesRequest, type AdmissionregistrationV1beta1ApiListValidatingAdmissionPolicyRequest, type AdmissionregistrationV1beta1ApiListValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1beta1ApiPatchValidatingAdmissionPolicyRequest, type AdmissionregistrationV1beta1ApiPatchValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1beta1ApiPatchValidatingAdmissionPolicyStatusRequest, type AdmissionregistrationV1beta1ApiReadValidatingAdmissionPolicyRequest, type AdmissionregistrationV1beta1ApiReadValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1beta1ApiReadValidatingAdmissionPolicyStatusRequest, type AdmissionregistrationV1beta1ApiReplaceValidatingAdmissionPolicyRequest, type AdmissionregistrationV1beta1ApiReplaceValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1beta1ApiReplaceValidatingAdmissionPolicyStatusRequest, ObjectAdmissionregistrationV1beta1Api as AdmissionregistrationV1beta1Api, type ApiextensionsApiGetAPIGroupRequest, ObjectApiextensionsApi as ApiextensionsApi, type ApiextensionsV1ApiCreateCustomResourceDefinitionRequest, type ApiextensionsV1ApiDeleteCollectionCustomResourceDefinitionRequest, type ApiextensionsV1ApiDeleteCustomResourceDefinitionRequest, type ApiextensionsV1ApiGetAPIResourcesRequest, type ApiextensionsV1ApiListCustomResourceDefinitionRequest, type ApiextensionsV1ApiPatchCustomResourceDefinitionRequest, type ApiextensionsV1ApiPatchCustomResourceDefinitionStatusRequest, type ApiextensionsV1ApiReadCustomResourceDefinitionRequest, type ApiextensionsV1ApiReadCustomResourceDefinitionStatusRequest, type ApiextensionsV1ApiReplaceCustomResourceDefinitionRequest, type ApiextensionsV1ApiReplaceCustomResourceDefinitionStatusRequest, ObjectApiextensionsV1Api as ApiextensionsV1Api, type ApiregistrationApiGetAPIGroupRequest, ObjectApiregistrationApi as ApiregistrationApi, type ApiregistrationV1ApiCreateAPIServiceRequest, type ApiregistrationV1ApiDeleteAPIServiceRequest, type ApiregistrationV1ApiDeleteCollectionAPIServiceRequest, type ApiregistrationV1ApiGetAPIResourcesRequest, type ApiregistrationV1ApiListAPIServiceRequest, type ApiregistrationV1ApiPatchAPIServiceRequest, type ApiregistrationV1ApiPatchAPIServiceStatusRequest, type ApiregistrationV1ApiReadAPIServiceRequest, type ApiregistrationV1ApiReadAPIServiceStatusRequest, type ApiregistrationV1ApiReplaceAPIServiceRequest, type ApiregistrationV1ApiReplaceAPIServiceStatusRequest, ObjectApiregistrationV1Api as ApiregistrationV1Api, type ApisApiGetAPIVersionsRequest, ObjectApisApi as ApisApi, type AppsApiGetAPIGroupRequest, ObjectAppsApi as AppsApi, type AppsV1ApiCreateNamespacedControllerRevisionRequest, type AppsV1ApiCreateNamespacedDaemonSetRequest, type AppsV1ApiCreateNamespacedDeploymentRequest, type AppsV1ApiCreateNamespacedReplicaSetRequest, type AppsV1ApiCreateNamespacedStatefulSetRequest, type AppsV1ApiDeleteCollectionNamespacedControllerRevisionRequest, type AppsV1ApiDeleteCollectionNamespacedDaemonSetRequest, type AppsV1ApiDeleteCollectionNamespacedDeploymentRequest, type AppsV1ApiDeleteCollectionNamespacedReplicaSetRequest, type AppsV1ApiDeleteCollectionNamespacedStatefulSetRequest, type AppsV1ApiDeleteNamespacedControllerRevisionRequest, type AppsV1ApiDeleteNamespacedDaemonSetRequest, type AppsV1ApiDeleteNamespacedDeploymentRequest, type AppsV1ApiDeleteNamespacedReplicaSetRequest, type AppsV1ApiDeleteNamespacedStatefulSetRequest, type AppsV1ApiGetAPIResourcesRequest, type AppsV1ApiListControllerRevisionForAllNamespacesRequest, type AppsV1ApiListDaemonSetForAllNamespacesRequest, type AppsV1ApiListDeploymentForAllNamespacesRequest, type AppsV1ApiListNamespacedControllerRevisionRequest, type AppsV1ApiListNamespacedDaemonSetRequest, type AppsV1ApiListNamespacedDeploymentRequest, type AppsV1ApiListNamespacedReplicaSetRequest, type AppsV1ApiListNamespacedStatefulSetRequest, type AppsV1ApiListReplicaSetForAllNamespacesRequest, type AppsV1ApiListStatefulSetForAllNamespacesRequest, type AppsV1ApiPatchNamespacedControllerRevisionRequest, type AppsV1ApiPatchNamespacedDaemonSetRequest, type AppsV1ApiPatchNamespacedDaemonSetStatusRequest, type AppsV1ApiPatchNamespacedDeploymentRequest, type AppsV1ApiPatchNamespacedDeploymentScaleRequest, type AppsV1ApiPatchNamespacedDeploymentStatusRequest, type AppsV1ApiPatchNamespacedReplicaSetRequest, type AppsV1ApiPatchNamespacedReplicaSetScaleRequest, type AppsV1ApiPatchNamespacedReplicaSetStatusRequest, type AppsV1ApiPatchNamespacedStatefulSetRequest, type AppsV1ApiPatchNamespacedStatefulSetScaleRequest, type AppsV1ApiPatchNamespacedStatefulSetStatusRequest, type AppsV1ApiReadNamespacedControllerRevisionRequest, type AppsV1ApiReadNamespacedDaemonSetRequest, type AppsV1ApiReadNamespacedDaemonSetStatusRequest, type AppsV1ApiReadNamespacedDeploymentRequest, type AppsV1ApiReadNamespacedDeploymentScaleRequest, type AppsV1ApiReadNamespacedDeploymentStatusRequest, type AppsV1ApiReadNamespacedReplicaSetRequest, type AppsV1ApiReadNamespacedReplicaSetScaleRequest, type AppsV1ApiReadNamespacedReplicaSetStatusRequest, type AppsV1ApiReadNamespacedStatefulSetRequest, type AppsV1ApiReadNamespacedStatefulSetScaleRequest, type AppsV1ApiReadNamespacedStatefulSetStatusRequest, type AppsV1ApiReplaceNamespacedControllerRevisionRequest, type AppsV1ApiReplaceNamespacedDaemonSetRequest, type AppsV1ApiReplaceNamespacedDaemonSetStatusRequest, type AppsV1ApiReplaceNamespacedDeploymentRequest, type AppsV1ApiReplaceNamespacedDeploymentScaleRequest, type AppsV1ApiReplaceNamespacedDeploymentStatusRequest, type AppsV1ApiReplaceNamespacedReplicaSetRequest, type AppsV1ApiReplaceNamespacedReplicaSetScaleRequest, type AppsV1ApiReplaceNamespacedReplicaSetStatusRequest, type AppsV1ApiReplaceNamespacedStatefulSetRequest, type AppsV1ApiReplaceNamespacedStatefulSetScaleRequest, type AppsV1ApiReplaceNamespacedStatefulSetStatusRequest, ObjectAppsV1Api as AppsV1Api, type AuthenticationApiGetAPIGroupRequest, ObjectAuthenticationApi as AuthenticationApi, type AuthenticationV1ApiCreateSelfSubjectReviewRequest, type AuthenticationV1ApiCreateTokenReviewRequest, type AuthenticationV1ApiGetAPIResourcesRequest, ObjectAuthenticationV1Api as AuthenticationV1Api, type AuthenticationV1alpha1ApiCreateSelfSubjectReviewRequest, type AuthenticationV1alpha1ApiGetAPIResourcesRequest, ObjectAuthenticationV1alpha1Api as AuthenticationV1alpha1Api, type AuthenticationV1beta1ApiCreateSelfSubjectReviewRequest, type AuthenticationV1beta1ApiGetAPIResourcesRequest, ObjectAuthenticationV1beta1Api as AuthenticationV1beta1Api, type AuthorizationApiGetAPIGroupRequest, ObjectAuthorizationApi as AuthorizationApi, type AuthorizationV1ApiCreateNamespacedLocalSubjectAccessReviewRequest, type AuthorizationV1ApiCreateSelfSubjectAccessReviewRequest, type AuthorizationV1ApiCreateSelfSubjectRulesReviewRequest, type AuthorizationV1ApiCreateSubjectAccessReviewRequest, type AuthorizationV1ApiGetAPIResourcesRequest, ObjectAuthorizationV1Api as AuthorizationV1Api, type AutoscalingApiGetAPIGroupRequest, ObjectAutoscalingApi as AutoscalingApi, type AutoscalingV1ApiCreateNamespacedHorizontalPodAutoscalerRequest, type AutoscalingV1ApiDeleteCollectionNamespacedHorizontalPodAutoscalerRequest, type AutoscalingV1ApiDeleteNamespacedHorizontalPodAutoscalerRequest, type AutoscalingV1ApiGetAPIResourcesRequest, type AutoscalingV1ApiListHorizontalPodAutoscalerForAllNamespacesRequest, type AutoscalingV1ApiListNamespacedHorizontalPodAutoscalerRequest, type AutoscalingV1ApiPatchNamespacedHorizontalPodAutoscalerRequest, type AutoscalingV1ApiPatchNamespacedHorizontalPodAutoscalerStatusRequest, type AutoscalingV1ApiReadNamespacedHorizontalPodAutoscalerRequest, type AutoscalingV1ApiReadNamespacedHorizontalPodAutoscalerStatusRequest, type AutoscalingV1ApiReplaceNamespacedHorizontalPodAutoscalerRequest, type AutoscalingV1ApiReplaceNamespacedHorizontalPodAutoscalerStatusRequest, ObjectAutoscalingV1Api as AutoscalingV1Api, type AutoscalingV2ApiCreateNamespacedHorizontalPodAutoscalerRequest, type AutoscalingV2ApiDeleteCollectionNamespacedHorizontalPodAutoscalerRequest, type AutoscalingV2ApiDeleteNamespacedHorizontalPodAutoscalerRequest, type AutoscalingV2ApiGetAPIResourcesRequest, type AutoscalingV2ApiListHorizontalPodAutoscalerForAllNamespacesRequest, type AutoscalingV2ApiListNamespacedHorizontalPodAutoscalerRequest, type AutoscalingV2ApiPatchNamespacedHorizontalPodAutoscalerRequest, type AutoscalingV2ApiPatchNamespacedHorizontalPodAutoscalerStatusRequest, type AutoscalingV2ApiReadNamespacedHorizontalPodAutoscalerRequest, type AutoscalingV2ApiReadNamespacedHorizontalPodAutoscalerStatusRequest, type AutoscalingV2ApiReplaceNamespacedHorizontalPodAutoscalerRequest, type AutoscalingV2ApiReplaceNamespacedHorizontalPodAutoscalerStatusRequest, ObjectAutoscalingV2Api as AutoscalingV2Api, type BatchApiGetAPIGroupRequest, ObjectBatchApi as BatchApi, type BatchV1ApiCreateNamespacedCronJobRequest, type BatchV1ApiCreateNamespacedJobRequest, type BatchV1ApiDeleteCollectionNamespacedCronJobRequest, type BatchV1ApiDeleteCollectionNamespacedJobRequest, type BatchV1ApiDeleteNamespacedCronJobRequest, type BatchV1ApiDeleteNamespacedJobRequest, type BatchV1ApiGetAPIResourcesRequest, type BatchV1ApiListCronJobForAllNamespacesRequest, type BatchV1ApiListJobForAllNamespacesRequest, type BatchV1ApiListNamespacedCronJobRequest, type BatchV1ApiListNamespacedJobRequest, type BatchV1ApiPatchNamespacedCronJobRequest, type BatchV1ApiPatchNamespacedCronJobStatusRequest, type BatchV1ApiPatchNamespacedJobRequest, type BatchV1ApiPatchNamespacedJobStatusRequest, type BatchV1ApiReadNamespacedCronJobRequest, type BatchV1ApiReadNamespacedCronJobStatusRequest, type BatchV1ApiReadNamespacedJobRequest, type BatchV1ApiReadNamespacedJobStatusRequest, type BatchV1ApiReplaceNamespacedCronJobRequest, type BatchV1ApiReplaceNamespacedCronJobStatusRequest, type BatchV1ApiReplaceNamespacedJobRequest, type BatchV1ApiReplaceNamespacedJobStatusRequest, ObjectBatchV1Api as BatchV1Api, type CertificatesApiGetAPIGroupRequest, ObjectCertificatesApi as CertificatesApi, type CertificatesV1ApiCreateCertificateSigningRequestRequest, type CertificatesV1ApiDeleteCertificateSigningRequestRequest, type CertificatesV1ApiDeleteCollectionCertificateSigningRequestRequest, type CertificatesV1ApiGetAPIResourcesRequest, type CertificatesV1ApiListCertificateSigningRequestRequest, type CertificatesV1ApiPatchCertificateSigningRequestRequest, type CertificatesV1ApiPatchCertificateSigningRequestApprovalRequest, type CertificatesV1ApiPatchCertificateSigningRequestStatusRequest, type CertificatesV1ApiReadCertificateSigningRequestRequest, type CertificatesV1ApiReadCertificateSigningRequestApprovalRequest, type CertificatesV1ApiReadCertificateSigningRequestStatusRequest, type CertificatesV1ApiReplaceCertificateSigningRequestRequest, type CertificatesV1ApiReplaceCertificateSigningRequestApprovalRequest, type CertificatesV1ApiReplaceCertificateSigningRequestStatusRequest, ObjectCertificatesV1Api as CertificatesV1Api, type CertificatesV1alpha1ApiCreateClusterTrustBundleRequest, type CertificatesV1alpha1ApiDeleteClusterTrustBundleRequest, type CertificatesV1alpha1ApiDeleteCollectionClusterTrustBundleRequest, type CertificatesV1alpha1ApiGetAPIResourcesRequest, type CertificatesV1alpha1ApiListClusterTrustBundleRequest, type CertificatesV1alpha1ApiPatchClusterTrustBundleRequest, type CertificatesV1alpha1ApiReadClusterTrustBundleRequest, type CertificatesV1alpha1ApiReplaceClusterTrustBundleRequest, ObjectCertificatesV1alpha1Api as CertificatesV1alpha1Api, type CoordinationApiGetAPIGroupRequest, ObjectCoordinationApi as CoordinationApi, type CoordinationV1ApiCreateNamespacedLeaseRequest, type CoordinationV1ApiDeleteCollectionNamespacedLeaseRequest, type CoordinationV1ApiDeleteNamespacedLeaseRequest, type CoordinationV1ApiGetAPIResourcesRequest, type CoordinationV1ApiListLeaseForAllNamespacesRequest, type CoordinationV1ApiListNamespacedLeaseRequest, type CoordinationV1ApiPatchNamespacedLeaseRequest, type CoordinationV1ApiReadNamespacedLeaseRequest, type CoordinationV1ApiReplaceNamespacedLeaseRequest, ObjectCoordinationV1Api as CoordinationV1Api, type CoreApiGetAPIVersionsRequest, ObjectCoreApi as CoreApi, type CoreV1ApiConnectDeleteNamespacedPodProxyRequest, type CoreV1ApiConnectDeleteNamespacedPodProxyWithPathRequest, type CoreV1ApiConnectDeleteNamespacedServiceProxyRequest, type CoreV1ApiConnectDeleteNamespacedServiceProxyWithPathRequest, type CoreV1ApiConnectDeleteNodeProxyRequest, type CoreV1ApiConnectDeleteNodeProxyWithPathRequest, type CoreV1ApiConnectGetNamespacedPodAttachRequest, type CoreV1ApiConnectGetNamespacedPodExecRequest, type CoreV1ApiConnectGetNamespacedPodPortforwardRequest, type CoreV1ApiConnectGetNamespacedPodProxyRequest, type CoreV1ApiConnectGetNamespacedPodProxyWithPathRequest, type CoreV1ApiConnectGetNamespacedServiceProxyRequest, type CoreV1ApiConnectGetNamespacedServiceProxyWithPathRequest, type CoreV1ApiConnectGetNodeProxyRequest, type CoreV1ApiConnectGetNodeProxyWithPathRequest, type CoreV1ApiConnectHeadNamespacedPodProxyRequest, type CoreV1ApiConnectHeadNamespacedPodProxyWithPathRequest, type CoreV1ApiConnectHeadNamespacedServiceProxyRequest, type CoreV1ApiConnectHeadNamespacedServiceProxyWithPathRequest, type CoreV1ApiConnectHeadNodeProxyRequest, type CoreV1ApiConnectHeadNodeProxyWithPathRequest, type CoreV1ApiConnectOptionsNamespacedPodProxyRequest, type CoreV1ApiConnectOptionsNamespacedPodProxyWithPathRequest, type CoreV1ApiConnectOptionsNamespacedServiceProxyRequest, type CoreV1ApiConnectOptionsNamespacedServiceProxyWithPathRequest, type CoreV1ApiConnectOptionsNodeProxyRequest, type CoreV1ApiConnectOptionsNodeProxyWithPathRequest, type CoreV1ApiConnectPatchNamespacedPodProxyRequest, type CoreV1ApiConnectPatchNamespacedPodProxyWithPathRequest, type CoreV1ApiConnectPatchNamespacedServiceProxyRequest, type CoreV1ApiConnectPatchNamespacedServiceProxyWithPathRequest, type CoreV1ApiConnectPatchNodeProxyRequest, type CoreV1ApiConnectPatchNodeProxyWithPathRequest, type CoreV1ApiConnectPostNamespacedPodAttachRequest, type CoreV1ApiConnectPostNamespacedPodExecRequest, type CoreV1ApiConnectPostNamespacedPodPortforwardRequest, type CoreV1ApiConnectPostNamespacedPodProxyRequest, type CoreV1ApiConnectPostNamespacedPodProxyWithPathRequest, type CoreV1ApiConnectPostNamespacedServiceProxyRequest, type CoreV1ApiConnectPostNamespacedServiceProxyWithPathRequest, type CoreV1ApiConnectPostNodeProxyRequest, type CoreV1ApiConnectPostNodeProxyWithPathRequest, type CoreV1ApiConnectPutNamespacedPodProxyRequest, type CoreV1ApiConnectPutNamespacedPodProxyWithPathRequest, type CoreV1ApiConnectPutNamespacedServiceProxyRequest, type CoreV1ApiConnectPutNamespacedServiceProxyWithPathRequest, type CoreV1ApiConnectPutNodeProxyRequest, type CoreV1ApiConnectPutNodeProxyWithPathRequest, type CoreV1ApiCreateNamespaceRequest, type CoreV1ApiCreateNamespacedBindingRequest, type CoreV1ApiCreateNamespacedConfigMapRequest, type CoreV1ApiCreateNamespacedEndpointsRequest, type CoreV1ApiCreateNamespacedEventRequest, type CoreV1ApiCreateNamespacedLimitRangeRequest, type CoreV1ApiCreateNamespacedPersistentVolumeClaimRequest, type CoreV1ApiCreateNamespacedPodRequest, type CoreV1ApiCreateNamespacedPodBindingRequest, type CoreV1ApiCreateNamespacedPodEvictionRequest, type CoreV1ApiCreateNamespacedPodTemplateRequest, type CoreV1ApiCreateNamespacedReplicationControllerRequest, type CoreV1ApiCreateNamespacedResourceQuotaRequest, type CoreV1ApiCreateNamespacedSecretRequest, type CoreV1ApiCreateNamespacedServiceRequest, type CoreV1ApiCreateNamespacedServiceAccountRequest, type CoreV1ApiCreateNamespacedServiceAccountTokenRequest, type CoreV1ApiCreateNodeRequest, type CoreV1ApiCreatePersistentVolumeRequest, type CoreV1ApiDeleteCollectionNamespacedConfigMapRequest, type CoreV1ApiDeleteCollectionNamespacedEndpointsRequest, type CoreV1ApiDeleteCollectionNamespacedEventRequest, type CoreV1ApiDeleteCollectionNamespacedLimitRangeRequest, type CoreV1ApiDeleteCollectionNamespacedPersistentVolumeClaimRequest, type CoreV1ApiDeleteCollectionNamespacedPodRequest, type CoreV1ApiDeleteCollectionNamespacedPodTemplateRequest, type CoreV1ApiDeleteCollectionNamespacedReplicationControllerRequest, type CoreV1ApiDeleteCollectionNamespacedResourceQuotaRequest, type CoreV1ApiDeleteCollectionNamespacedSecretRequest, type CoreV1ApiDeleteCollectionNamespacedServiceRequest, type CoreV1ApiDeleteCollectionNamespacedServiceAccountRequest, type CoreV1ApiDeleteCollectionNodeRequest, type CoreV1ApiDeleteCollectionPersistentVolumeRequest, type CoreV1ApiDeleteNamespaceRequest, type CoreV1ApiDeleteNamespacedConfigMapRequest, type CoreV1ApiDeleteNamespacedEndpointsRequest, type CoreV1ApiDeleteNamespacedEventRequest, type CoreV1ApiDeleteNamespacedLimitRangeRequest, type CoreV1ApiDeleteNamespacedPersistentVolumeClaimRequest, type CoreV1ApiDeleteNamespacedPodRequest, type CoreV1ApiDeleteNamespacedPodTemplateRequest, type CoreV1ApiDeleteNamespacedReplicationControllerRequest, type CoreV1ApiDeleteNamespacedResourceQuotaRequest, type CoreV1ApiDeleteNamespacedSecretRequest, type CoreV1ApiDeleteNamespacedServiceRequest, type CoreV1ApiDeleteNamespacedServiceAccountRequest, type CoreV1ApiDeleteNodeRequest, type CoreV1ApiDeletePersistentVolumeRequest, type CoreV1ApiGetAPIResourcesRequest, type CoreV1ApiListComponentStatusRequest, type CoreV1ApiListConfigMapForAllNamespacesRequest, type CoreV1ApiListEndpointsForAllNamespacesRequest, type CoreV1ApiListEventForAllNamespacesRequest, type CoreV1ApiListLimitRangeForAllNamespacesRequest, type CoreV1ApiListNamespaceRequest, type CoreV1ApiListNamespacedConfigMapRequest, type CoreV1ApiListNamespacedEndpointsRequest, type CoreV1ApiListNamespacedEventRequest, type CoreV1ApiListNamespacedLimitRangeRequest, type CoreV1ApiListNamespacedPersistentVolumeClaimRequest, type CoreV1ApiListNamespacedPodRequest, type CoreV1ApiListNamespacedPodTemplateRequest, type CoreV1ApiListNamespacedReplicationControllerRequest, type CoreV1ApiListNamespacedResourceQuotaRequest, type CoreV1ApiListNamespacedSecretRequest, type CoreV1ApiListNamespacedServiceRequest, type CoreV1ApiListNamespacedServiceAccountRequest, type CoreV1ApiListNodeRequest, type CoreV1ApiListPersistentVolumeRequest, type CoreV1ApiListPersistentVolumeClaimForAllNamespacesRequest, type CoreV1ApiListPodForAllNamespacesRequest, type CoreV1ApiListPodTemplateForAllNamespacesRequest, type CoreV1ApiListReplicationControllerForAllNamespacesRequest, type CoreV1ApiListResourceQuotaForAllNamespacesRequest, type CoreV1ApiListSecretForAllNamespacesRequest, type CoreV1ApiListServiceAccountForAllNamespacesRequest, type CoreV1ApiListServiceForAllNamespacesRequest, type CoreV1ApiPatchNamespaceRequest, type CoreV1ApiPatchNamespaceStatusRequest, type CoreV1ApiPatchNamespacedConfigMapRequest, type CoreV1ApiPatchNamespacedEndpointsRequest, type CoreV1ApiPatchNamespacedEventRequest, type CoreV1ApiPatchNamespacedLimitRangeRequest, type CoreV1ApiPatchNamespacedPersistentVolumeClaimRequest, type CoreV1ApiPatchNamespacedPersistentVolumeClaimStatusRequest, type CoreV1ApiPatchNamespacedPodRequest, type CoreV1ApiPatchNamespacedPodEphemeralcontainersRequest, type CoreV1ApiPatchNamespacedPodStatusRequest, type CoreV1ApiPatchNamespacedPodTemplateRequest, type CoreV1ApiPatchNamespacedReplicationControllerRequest, type CoreV1ApiPatchNamespacedReplicationControllerScaleRequest, type CoreV1ApiPatchNamespacedReplicationControllerStatusRequest, type CoreV1ApiPatchNamespacedResourceQuotaRequest, type CoreV1ApiPatchNamespacedResourceQuotaStatusRequest, type CoreV1ApiPatchNamespacedSecretRequest, type CoreV1ApiPatchNamespacedServiceRequest, type CoreV1ApiPatchNamespacedServiceAccountRequest, type CoreV1ApiPatchNamespacedServiceStatusRequest, type CoreV1ApiPatchNodeRequest, type CoreV1ApiPatchNodeStatusRequest, type CoreV1ApiPatchPersistentVolumeRequest, type CoreV1ApiPatchPersistentVolumeStatusRequest, type CoreV1ApiReadComponentStatusRequest, type CoreV1ApiReadNamespaceRequest, type CoreV1ApiReadNamespaceStatusRequest, type CoreV1ApiReadNamespacedConfigMapRequest, type CoreV1ApiReadNamespacedEndpointsRequest, type CoreV1ApiReadNamespacedEventRequest, type CoreV1ApiReadNamespacedLimitRangeRequest, type CoreV1ApiReadNamespacedPersistentVolumeClaimRequest, type CoreV1ApiReadNamespacedPersistentVolumeClaimStatusRequest, type CoreV1ApiReadNamespacedPodRequest, type CoreV1ApiReadNamespacedPodEphemeralcontainersRequest, type CoreV1ApiReadNamespacedPodLogRequest, type CoreV1ApiReadNamespacedPodStatusRequest, type CoreV1ApiReadNamespacedPodTemplateRequest, type CoreV1ApiReadNamespacedReplicationControllerRequest, type CoreV1ApiReadNamespacedReplicationControllerScaleRequest, type CoreV1ApiReadNamespacedReplicationControllerStatusRequest, type CoreV1ApiReadNamespacedResourceQuotaRequest, type CoreV1ApiReadNamespacedResourceQuotaStatusRequest, type CoreV1ApiReadNamespacedSecretRequest, type CoreV1ApiReadNamespacedServiceRequest, type CoreV1ApiReadNamespacedServiceAccountRequest, type CoreV1ApiReadNamespacedServiceStatusRequest, type CoreV1ApiReadNodeRequest, type CoreV1ApiReadNodeStatusRequest, type CoreV1ApiReadPersistentVolumeRequest, type CoreV1ApiReadPersistentVolumeStatusRequest, type CoreV1ApiReplaceNamespaceRequest, type CoreV1ApiReplaceNamespaceFinalizeRequest, type CoreV1ApiReplaceNamespaceStatusRequest, type CoreV1ApiReplaceNamespacedConfigMapRequest, type CoreV1ApiReplaceNamespacedEndpointsRequest, type CoreV1ApiReplaceNamespacedEventRequest, type CoreV1ApiReplaceNamespacedLimitRangeRequest, type CoreV1ApiReplaceNamespacedPersistentVolumeClaimRequest, type CoreV1ApiReplaceNamespacedPersistentVolumeClaimStatusRequest, type CoreV1ApiReplaceNamespacedPodRequest, type CoreV1ApiReplaceNamespacedPodEphemeralcontainersRequest, type CoreV1ApiReplaceNamespacedPodStatusRequest, type CoreV1ApiReplaceNamespacedPodTemplateRequest, type CoreV1ApiReplaceNamespacedReplicationControllerRequest, type CoreV1ApiReplaceNamespacedReplicationControllerScaleRequest, type CoreV1ApiReplaceNamespacedReplicationControllerStatusRequest, type CoreV1ApiReplaceNamespacedResourceQuotaRequest, type CoreV1ApiReplaceNamespacedResourceQuotaStatusRequest, type CoreV1ApiReplaceNamespacedSecretRequest, type CoreV1ApiReplaceNamespacedServiceRequest, type CoreV1ApiReplaceNamespacedServiceAccountRequest, type CoreV1ApiReplaceNamespacedServiceStatusRequest, type CoreV1ApiReplaceNodeRequest, type CoreV1ApiReplaceNodeStatusRequest, type CoreV1ApiReplacePersistentVolumeRequest, type CoreV1ApiReplacePersistentVolumeStatusRequest, ObjectCoreV1Api as CoreV1Api, type CustomObjectsApiCreateClusterCustomObjectRequest, type CustomObjectsApiCreateNamespacedCustomObjectRequest, type CustomObjectsApiDeleteClusterCustomObjectRequest, type CustomObjectsApiDeleteCollectionClusterCustomObjectRequest, type CustomObjectsApiDeleteCollectionNamespacedCustomObjectRequest, type CustomObjectsApiDeleteNamespacedCustomObjectRequest, type CustomObjectsApiGetAPIResourcesRequest, type CustomObjectsApiGetClusterCustomObjectRequest, type CustomObjectsApiGetClusterCustomObjectScaleRequest, type CustomObjectsApiGetClusterCustomObjectStatusRequest, type CustomObjectsApiGetNamespacedCustomObjectRequest, type CustomObjectsApiGetNamespacedCustomObjectScaleRequest, type CustomObjectsApiGetNamespacedCustomObjectStatusRequest, type CustomObjectsApiListClusterCustomObjectRequest, type CustomObjectsApiListNamespacedCustomObjectRequest, type CustomObjectsApiPatchClusterCustomObjectRequest, type CustomObjectsApiPatchClusterCustomObjectScaleRequest, type CustomObjectsApiPatchClusterCustomObjectStatusRequest, type CustomObjectsApiPatchNamespacedCustomObjectRequest, type CustomObjectsApiPatchNamespacedCustomObjectScaleRequest, type CustomObjectsApiPatchNamespacedCustomObjectStatusRequest, type CustomObjectsApiReplaceClusterCustomObjectRequest, type CustomObjectsApiReplaceClusterCustomObjectScaleRequest, type CustomObjectsApiReplaceClusterCustomObjectStatusRequest, type CustomObjectsApiReplaceNamespacedCustomObjectRequest, type CustomObjectsApiReplaceNamespacedCustomObjectScaleRequest, type CustomObjectsApiReplaceNamespacedCustomObjectStatusRequest, ObjectCustomObjectsApi as CustomObjectsApi, type DiscoveryApiGetAPIGroupRequest, ObjectDiscoveryApi as DiscoveryApi, type DiscoveryV1ApiCreateNamespacedEndpointSliceRequest, type DiscoveryV1ApiDeleteCollectionNamespacedEndpointSliceRequest, type DiscoveryV1ApiDeleteNamespacedEndpointSliceRequest, type DiscoveryV1ApiGetAPIResourcesRequest, type DiscoveryV1ApiListEndpointSliceForAllNamespacesRequest, type DiscoveryV1ApiListNamespacedEndpointSliceRequest, type DiscoveryV1ApiPatchNamespacedEndpointSliceRequest, type DiscoveryV1ApiReadNamespacedEndpointSliceRequest, type DiscoveryV1ApiReplaceNamespacedEndpointSliceRequest, ObjectDiscoveryV1Api as DiscoveryV1Api, type EventsApiGetAPIGroupRequest, ObjectEventsApi as EventsApi, type EventsV1ApiCreateNamespacedEventRequest, type EventsV1ApiDeleteCollectionNamespacedEventRequest, type EventsV1ApiDeleteNamespacedEventRequest, type EventsV1ApiGetAPIResourcesRequest, type EventsV1ApiListEventForAllNamespacesRequest, type EventsV1ApiListNamespacedEventRequest, type EventsV1ApiPatchNamespacedEventRequest, type EventsV1ApiReadNamespacedEventRequest, type EventsV1ApiReplaceNamespacedEventRequest, ObjectEventsV1Api as EventsV1Api, type FlowcontrolApiserverApiGetAPIGroupRequest, ObjectFlowcontrolApiserverApi as FlowcontrolApiserverApi, type FlowcontrolApiserverV1ApiCreateFlowSchemaRequest, type FlowcontrolApiserverV1ApiCreatePriorityLevelConfigurationRequest, type FlowcontrolApiserverV1ApiDeleteCollectionFlowSchemaRequest, type FlowcontrolApiserverV1ApiDeleteCollectionPriorityLevelConfigurationRequest, type FlowcontrolApiserverV1ApiDeleteFlowSchemaRequest, type FlowcontrolApiserverV1ApiDeletePriorityLevelConfigurationRequest, type FlowcontrolApiserverV1ApiGetAPIResourcesRequest, type FlowcontrolApiserverV1ApiListFlowSchemaRequest, type FlowcontrolApiserverV1ApiListPriorityLevelConfigurationRequest, type FlowcontrolApiserverV1ApiPatchFlowSchemaRequest, type FlowcontrolApiserverV1ApiPatchFlowSchemaStatusRequest, type FlowcontrolApiserverV1ApiPatchPriorityLevelConfigurationRequest, type FlowcontrolApiserverV1ApiPatchPriorityLevelConfigurationStatusRequest, type FlowcontrolApiserverV1ApiReadFlowSchemaRequest, type FlowcontrolApiserverV1ApiReadFlowSchemaStatusRequest, type FlowcontrolApiserverV1ApiReadPriorityLevelConfigurationRequest, type FlowcontrolApiserverV1ApiReadPriorityLevelConfigurationStatusRequest, type FlowcontrolApiserverV1ApiReplaceFlowSchemaRequest, type FlowcontrolApiserverV1ApiReplaceFlowSchemaStatusRequest, type FlowcontrolApiserverV1ApiReplacePriorityLevelConfigurationRequest, type FlowcontrolApiserverV1ApiReplacePriorityLevelConfigurationStatusRequest, ObjectFlowcontrolApiserverV1Api as FlowcontrolApiserverV1Api, type FlowcontrolApiserverV1beta3ApiCreateFlowSchemaRequest, type FlowcontrolApiserverV1beta3ApiCreatePriorityLevelConfigurationRequest, type FlowcontrolApiserverV1beta3ApiDeleteCollectionFlowSchemaRequest, type FlowcontrolApiserverV1beta3ApiDeleteCollectionPriorityLevelConfigurationRequest, type FlowcontrolApiserverV1beta3ApiDeleteFlowSchemaRequest, type FlowcontrolApiserverV1beta3ApiDeletePriorityLevelConfigurationRequest, type FlowcontrolApiserverV1beta3ApiGetAPIResourcesRequest, type FlowcontrolApiserverV1beta3ApiListFlowSchemaRequest, type FlowcontrolApiserverV1beta3ApiListPriorityLevelConfigurationRequest, type FlowcontrolApiserverV1beta3ApiPatchFlowSchemaRequest, type FlowcontrolApiserverV1beta3ApiPatchFlowSchemaStatusRequest, type FlowcontrolApiserverV1beta3ApiPatchPriorityLevelConfigurationRequest, type FlowcontrolApiserverV1beta3ApiPatchPriorityLevelConfigurationStatusRequest, type FlowcontrolApiserverV1beta3ApiReadFlowSchemaRequest, type FlowcontrolApiserverV1beta3ApiReadFlowSchemaStatusRequest, type FlowcontrolApiserverV1beta3ApiReadPriorityLevelConfigurationRequest, type FlowcontrolApiserverV1beta3ApiReadPriorityLevelConfigurationStatusRequest, type FlowcontrolApiserverV1beta3ApiReplaceFlowSchemaRequest, type FlowcontrolApiserverV1beta3ApiReplaceFlowSchemaStatusRequest, type FlowcontrolApiserverV1beta3ApiReplacePriorityLevelConfigurationRequest, type FlowcontrolApiserverV1beta3ApiReplacePriorityLevelConfigurationStatusRequest, ObjectFlowcontrolApiserverV1beta3Api as FlowcontrolApiserverV1beta3Api, type InternalApiserverApiGetAPIGroupRequest, ObjectInternalApiserverApi as InternalApiserverApi, type InternalApiserverV1alpha1ApiCreateStorageVersionRequest, type InternalApiserverV1alpha1ApiDeleteCollectionStorageVersionRequest, type InternalApiserverV1alpha1ApiDeleteStorageVersionRequest, type InternalApiserverV1alpha1ApiGetAPIResourcesRequest, type InternalApiserverV1alpha1ApiListStorageVersionRequest, type InternalApiserverV1alpha1ApiPatchStorageVersionRequest, type InternalApiserverV1alpha1ApiPatchStorageVersionStatusRequest, type InternalApiserverV1alpha1ApiReadStorageVersionRequest, type InternalApiserverV1alpha1ApiReadStorageVersionStatusRequest, type InternalApiserverV1alpha1ApiReplaceStorageVersionRequest, type InternalApiserverV1alpha1ApiReplaceStorageVersionStatusRequest, ObjectInternalApiserverV1alpha1Api as InternalApiserverV1alpha1Api, type LogsApiLogFileHandlerRequest, type LogsApiLogFileListHandlerRequest, ObjectLogsApi as LogsApi, type NetworkingApiGetAPIGroupRequest, ObjectNetworkingApi as NetworkingApi, type NetworkingV1ApiCreateIngressClassRequest, type NetworkingV1ApiCreateNamespacedIngressRequest, type NetworkingV1ApiCreateNamespacedNetworkPolicyRequest, type NetworkingV1ApiDeleteCollectionIngressClassRequest, type NetworkingV1ApiDeleteCollectionNamespacedIngressRequest, type NetworkingV1ApiDeleteCollectionNamespacedNetworkPolicyRequest, type NetworkingV1ApiDeleteIngressClassRequest, type NetworkingV1ApiDeleteNamespacedIngressRequest, type NetworkingV1ApiDeleteNamespacedNetworkPolicyRequest, type NetworkingV1ApiGetAPIResourcesRequest, type NetworkingV1ApiListIngressClassRequest, type NetworkingV1ApiListIngressForAllNamespacesRequest, type NetworkingV1ApiListNamespacedIngressRequest, type NetworkingV1ApiListNamespacedNetworkPolicyRequest, type NetworkingV1ApiListNetworkPolicyForAllNamespacesRequest, type NetworkingV1ApiPatchIngressClassRequest, type NetworkingV1ApiPatchNamespacedIngressRequest, type NetworkingV1ApiPatchNamespacedIngressStatusRequest, type NetworkingV1ApiPatchNamespacedNetworkPolicyRequest, type NetworkingV1ApiReadIngressClassRequest, type NetworkingV1ApiReadNamespacedIngressRequest, type NetworkingV1ApiReadNamespacedIngressStatusRequest, type NetworkingV1ApiReadNamespacedNetworkPolicyRequest, type NetworkingV1ApiReplaceIngressClassRequest, type NetworkingV1ApiReplaceNamespacedIngressRequest, type NetworkingV1ApiReplaceNamespacedIngressStatusRequest, type NetworkingV1ApiReplaceNamespacedNetworkPolicyRequest, ObjectNetworkingV1Api as NetworkingV1Api, type NetworkingV1alpha1ApiCreateIPAddressRequest, type NetworkingV1alpha1ApiCreateServiceCIDRRequest, type NetworkingV1alpha1ApiDeleteCollectionIPAddressRequest, type NetworkingV1alpha1ApiDeleteCollectionServiceCIDRRequest, type NetworkingV1alpha1ApiDeleteIPAddressRequest, type NetworkingV1alpha1ApiDeleteServiceCIDRRequest, type NetworkingV1alpha1ApiGetAPIResourcesRequest, type NetworkingV1alpha1ApiListIPAddressRequest, type NetworkingV1alpha1ApiListServiceCIDRRequest, type NetworkingV1alpha1ApiPatchIPAddressRequest, type NetworkingV1alpha1ApiPatchServiceCIDRRequest, type NetworkingV1alpha1ApiPatchServiceCIDRStatusRequest, type NetworkingV1alpha1ApiReadIPAddressRequest, type NetworkingV1alpha1ApiReadServiceCIDRRequest, type NetworkingV1alpha1ApiReadServiceCIDRStatusRequest, type NetworkingV1alpha1ApiReplaceIPAddressRequest, type NetworkingV1alpha1ApiReplaceServiceCIDRRequest, type NetworkingV1alpha1ApiReplaceServiceCIDRStatusRequest, ObjectNetworkingV1alpha1Api as NetworkingV1alpha1Api, type NodeApiGetAPIGroupRequest, ObjectNodeApi as NodeApi, type NodeV1ApiCreateRuntimeClassRequest, type NodeV1ApiDeleteCollectionRuntimeClassRequest, type NodeV1ApiDeleteRuntimeClassRequest, type NodeV1ApiGetAPIResourcesRequest, type NodeV1ApiListRuntimeClassRequest, type NodeV1ApiPatchRuntimeClassRequest, type NodeV1ApiReadRuntimeClassRequest, type NodeV1ApiReplaceRuntimeClassRequest, ObjectNodeV1Api as NodeV1Api, type OpenidApiGetServiceAccountIssuerOpenIDKeysetRequest, ObjectOpenidApi as OpenidApi, type PolicyApiGetAPIGroupRequest, ObjectPolicyApi as PolicyApi, type PolicyV1ApiCreateNamespacedPodDisruptionBudgetRequest, type PolicyV1ApiDeleteCollectionNamespacedPodDisruptionBudgetRequest, type PolicyV1ApiDeleteNamespacedPodDisruptionBudgetRequest, type PolicyV1ApiGetAPIResourcesRequest, type PolicyV1ApiListNamespacedPodDisruptionBudgetRequest, type PolicyV1ApiListPodDisruptionBudgetForAllNamespacesRequest, type PolicyV1ApiPatchNamespacedPodDisruptionBudgetRequest, type PolicyV1ApiPatchNamespacedPodDisruptionBudgetStatusRequest, type PolicyV1ApiReadNamespacedPodDisruptionBudgetRequest, type PolicyV1ApiReadNamespacedPodDisruptionBudgetStatusRequest, type PolicyV1ApiReplaceNamespacedPodDisruptionBudgetRequest, type PolicyV1ApiReplaceNamespacedPodDisruptionBudgetStatusRequest, ObjectPolicyV1Api as PolicyV1Api, type RbacAuthorizationApiGetAPIGroupRequest, ObjectRbacAuthorizationApi as RbacAuthorizationApi, type RbacAuthorizationV1ApiCreateClusterRoleRequest, type RbacAuthorizationV1ApiCreateClusterRoleBindingRequest, type RbacAuthorizationV1ApiCreateNamespacedRoleRequest, type RbacAuthorizationV1ApiCreateNamespacedRoleBindingRequest, type RbacAuthorizationV1ApiDeleteClusterRoleRequest, type RbacAuthorizationV1ApiDeleteClusterRoleBindingRequest, type RbacAuthorizationV1ApiDeleteCollectionClusterRoleRequest, type RbacAuthorizationV1ApiDeleteCollectionClusterRoleBindingRequest, type RbacAuthorizationV1ApiDeleteCollectionNamespacedRoleRequest, type RbacAuthorizationV1ApiDeleteCollectionNamespacedRoleBindingRequest, type RbacAuthorizationV1ApiDeleteNamespacedRoleRequest, type RbacAuthorizationV1ApiDeleteNamespacedRoleBindingRequest, type RbacAuthorizationV1ApiGetAPIResourcesRequest, type RbacAuthorizationV1ApiListClusterRoleRequest, type RbacAuthorizationV1ApiListClusterRoleBindingRequest, type RbacAuthorizationV1ApiListNamespacedRoleRequest, type RbacAuthorizationV1ApiListNamespacedRoleBindingRequest, type RbacAuthorizationV1ApiListRoleBindingForAllNamespacesRequest, type RbacAuthorizationV1ApiListRoleForAllNamespacesRequest, type RbacAuthorizationV1ApiPatchClusterRoleRequest, type RbacAuthorizationV1ApiPatchClusterRoleBindingRequest, type RbacAuthorizationV1ApiPatchNamespacedRoleRequest, type RbacAuthorizationV1ApiPatchNamespacedRoleBindingRequest, type RbacAuthorizationV1ApiReadClusterRoleRequest, type RbacAuthorizationV1ApiReadClusterRoleBindingRequest, type RbacAuthorizationV1ApiReadNamespacedRoleRequest, type RbacAuthorizationV1ApiReadNamespacedRoleBindingRequest, type RbacAuthorizationV1ApiReplaceClusterRoleRequest, type RbacAuthorizationV1ApiReplaceClusterRoleBindingRequest, type RbacAuthorizationV1ApiReplaceNamespacedRoleRequest, type RbacAuthorizationV1ApiReplaceNamespacedRoleBindingRequest, ObjectRbacAuthorizationV1Api as RbacAuthorizationV1Api, type ResourceApiGetAPIGroupRequest, ObjectResourceApi as ResourceApi, type ResourceV1alpha2ApiCreateNamespacedPodSchedulingContextRequest, type ResourceV1alpha2ApiCreateNamespacedResourceClaimRequest, type ResourceV1alpha2ApiCreateNamespacedResourceClaimParametersRequest, type ResourceV1alpha2ApiCreateNamespacedResourceClaimTemplateRequest, type ResourceV1alpha2ApiCreateNamespacedResourceClassParametersRequest, type ResourceV1alpha2ApiCreateResourceClassRequest, type ResourceV1alpha2ApiCreateResourceSliceRequest, type ResourceV1alpha2ApiDeleteCollectionNamespacedPodSchedulingContextRequest, type ResourceV1alpha2ApiDeleteCollectionNamespacedResourceClaimRequest, type ResourceV1alpha2ApiDeleteCollectionNamespacedResourceClaimParametersRequest, type ResourceV1alpha2ApiDeleteCollectionNamespacedResourceClaimTemplateRequest, type ResourceV1alpha2ApiDeleteCollectionNamespacedResourceClassParametersRequest, type ResourceV1alpha2ApiDeleteCollectionResourceClassRequest, type ResourceV1alpha2ApiDeleteCollectionResourceSliceRequest, type ResourceV1alpha2ApiDeleteNamespacedPodSchedulingContextRequest, type ResourceV1alpha2ApiDeleteNamespacedResourceClaimRequest, type ResourceV1alpha2ApiDeleteNamespacedResourceClaimParametersRequest, type ResourceV1alpha2ApiDeleteNamespacedResourceClaimTemplateRequest, type ResourceV1alpha2ApiDeleteNamespacedResourceClassParametersRequest, type ResourceV1alpha2ApiDeleteResourceClassRequest, type ResourceV1alpha2ApiDeleteResourceSliceRequest, type ResourceV1alpha2ApiGetAPIResourcesRequest, type ResourceV1alpha2ApiListNamespacedPodSchedulingContextRequest, type ResourceV1alpha2ApiListNamespacedResourceClaimRequest, type ResourceV1alpha2ApiListNamespacedResourceClaimParametersRequest, type ResourceV1alpha2ApiListNamespacedResourceClaimTemplateRequest, type ResourceV1alpha2ApiListNamespacedResourceClassParametersRequest, type ResourceV1alpha2ApiListPodSchedulingContextForAllNamespacesRequest, type ResourceV1alpha2ApiListResourceClaimForAllNamespacesRequest, type ResourceV1alpha2ApiListResourceClaimParametersForAllNamespacesRequest, type ResourceV1alpha2ApiListResourceClaimTemplateForAllNamespacesRequest, type ResourceV1alpha2ApiListResourceClassRequest, type ResourceV1alpha2ApiListResourceClassParametersForAllNamespacesRequest, type ResourceV1alpha2ApiListResourceSliceRequest, type ResourceV1alpha2ApiPatchNamespacedPodSchedulingContextRequest, type ResourceV1alpha2ApiPatchNamespacedPodSchedulingContextStatusRequest, type ResourceV1alpha2ApiPatchNamespacedResourceClaimRequest, type ResourceV1alpha2ApiPatchNamespacedResourceClaimParametersRequest, type ResourceV1alpha2ApiPatchNamespacedResourceClaimStatusRequest, type ResourceV1alpha2ApiPatchNamespacedResourceClaimTemplateRequest, type ResourceV1alpha2ApiPatchNamespacedResourceClassParametersRequest, type ResourceV1alpha2ApiPatchResourceClassRequest, type ResourceV1alpha2ApiPatchResourceSliceRequest, type ResourceV1alpha2ApiReadNamespacedPodSchedulingContextRequest, type ResourceV1alpha2ApiReadNamespacedPodSchedulingContextStatusRequest, type ResourceV1alpha2ApiReadNamespacedResourceClaimRequest, type ResourceV1alpha2ApiReadNamespacedResourceClaimParametersRequest, type ResourceV1alpha2ApiReadNamespacedResourceClaimStatusRequest, type ResourceV1alpha2ApiReadNamespacedResourceClaimTemplateRequest, type ResourceV1alpha2ApiReadNamespacedResourceClassParametersRequest, type ResourceV1alpha2ApiReadResourceClassRequest, type ResourceV1alpha2ApiReadResourceSliceRequest, type ResourceV1alpha2ApiReplaceNamespacedPodSchedulingContextRequest, type ResourceV1alpha2ApiReplaceNamespacedPodSchedulingContextStatusRequest, type ResourceV1alpha2ApiReplaceNamespacedResourceClaimRequest, type ResourceV1alpha2ApiReplaceNamespacedResourceClaimParametersRequest, type ResourceV1alpha2ApiReplaceNamespacedResourceClaimStatusRequest, type ResourceV1alpha2ApiReplaceNamespacedResourceClaimTemplateRequest, type ResourceV1alpha2ApiReplaceNamespacedResourceClassParametersRequest, type ResourceV1alpha2ApiReplaceResourceClassRequest, type ResourceV1alpha2ApiReplaceResourceSliceRequest, ObjectResourceV1alpha2Api as ResourceV1alpha2Api, type SchedulingApiGetAPIGroupRequest, ObjectSchedulingApi as SchedulingApi, type SchedulingV1ApiCreatePriorityClassRequest, type SchedulingV1ApiDeleteCollectionPriorityClassRequest, type SchedulingV1ApiDeletePriorityClassRequest, type SchedulingV1ApiGetAPIResourcesRequest, type SchedulingV1ApiListPriorityClassRequest, type SchedulingV1ApiPatchPriorityClassRequest, type SchedulingV1ApiReadPriorityClassRequest, type SchedulingV1ApiReplacePriorityClassRequest, ObjectSchedulingV1Api as SchedulingV1Api, type StorageApiGetAPIGroupRequest, ObjectStorageApi as StorageApi, type StorageV1ApiCreateCSIDriverRequest, type StorageV1ApiCreateCSINodeRequest, type StorageV1ApiCreateNamespacedCSIStorageCapacityRequest, type StorageV1ApiCreateStorageClassRequest, type StorageV1ApiCreateVolumeAttachmentRequest, type StorageV1ApiDeleteCSIDriverRequest, type StorageV1ApiDeleteCSINodeRequest, type StorageV1ApiDeleteCollectionCSIDriverRequest, type StorageV1ApiDeleteCollectionCSINodeRequest, type StorageV1ApiDeleteCollectionNamespacedCSIStorageCapacityRequest, type StorageV1ApiDeleteCollectionStorageClassRequest, type StorageV1ApiDeleteCollectionVolumeAttachmentRequest, type StorageV1ApiDeleteNamespacedCSIStorageCapacityRequest, type StorageV1ApiDeleteStorageClassRequest, type StorageV1ApiDeleteVolumeAttachmentRequest, type StorageV1ApiGetAPIResourcesRequest, type StorageV1ApiListCSIDriverRequest, type StorageV1ApiListCSINodeRequest, type StorageV1ApiListCSIStorageCapacityForAllNamespacesRequest, type StorageV1ApiListNamespacedCSIStorageCapacityRequest, type StorageV1ApiListStorageClassRequest, type StorageV1ApiListVolumeAttachmentRequest, type StorageV1ApiPatchCSIDriverRequest, type StorageV1ApiPatchCSINodeRequest, type StorageV1ApiPatchNamespacedCSIStorageCapacityRequest, type StorageV1ApiPatchStorageClassRequest, type StorageV1ApiPatchVolumeAttachmentRequest, type StorageV1ApiPatchVolumeAttachmentStatusRequest, type StorageV1ApiReadCSIDriverRequest, type StorageV1ApiReadCSINodeRequest, type StorageV1ApiReadNamespacedCSIStorageCapacityRequest, type StorageV1ApiReadStorageClassRequest, type StorageV1ApiReadVolumeAttachmentRequest, type StorageV1ApiReadVolumeAttachmentStatusRequest, type StorageV1ApiReplaceCSIDriverRequest, type StorageV1ApiReplaceCSINodeRequest, type StorageV1ApiReplaceNamespacedCSIStorageCapacityRequest, type StorageV1ApiReplaceStorageClassRequest, type StorageV1ApiReplaceVolumeAttachmentRequest, type StorageV1ApiReplaceVolumeAttachmentStatusRequest, ObjectStorageV1Api as StorageV1Api, type StorageV1alpha1ApiCreateVolumeAttributesClassRequest, type StorageV1alpha1ApiDeleteCollectionVolumeAttributesClassRequest, type StorageV1alpha1ApiDeleteVolumeAttributesClassRequest, type StorageV1alpha1ApiGetAPIResourcesRequest, type StorageV1alpha1ApiListVolumeAttributesClassRequest, type StorageV1alpha1ApiPatchVolumeAttributesClassRequest, type StorageV1alpha1ApiReadVolumeAttributesClassRequest, type StorageV1alpha1ApiReplaceVolumeAttributesClassRequest, ObjectStorageV1alpha1Api as StorageV1alpha1Api, type StoragemigrationApiGetAPIGroupRequest, ObjectStoragemigrationApi as StoragemigrationApi, type StoragemigrationV1alpha1ApiCreateStorageVersionMigrationRequest, type StoragemigrationV1alpha1ApiDeleteCollectionStorageVersionMigrationRequest, type StoragemigrationV1alpha1ApiDeleteStorageVersionMigrationRequest, type StoragemigrationV1alpha1ApiGetAPIResourcesRequest, type StoragemigrationV1alpha1ApiListStorageVersionMigrationRequest, type StoragemigrationV1alpha1ApiPatchStorageVersionMigrationRequest, type StoragemigrationV1alpha1ApiPatchStorageVersionMigrationStatusRequest, type StoragemigrationV1alpha1ApiReadStorageVersionMigrationRequest, type StoragemigrationV1alpha1ApiReadStorageVersionMigrationStatusRequest, type StoragemigrationV1alpha1ApiReplaceStorageVersionMigrationRequest, type StoragemigrationV1alpha1ApiReplaceStorageVersionMigrationStatusRequest, ObjectStoragemigrationV1alpha1Api as StoragemigrationV1alpha1Api, type VersionApiGetCodeRequest, ObjectVersionApi as VersionApi, type WellKnownApiGetServiceAccountIssuerOpenIDConfigurationRequest, ObjectWellKnownApi as WellKnownApi } from './types/ObjectParamAPI.js'; +export type { PromiseMiddleware as Middleware } from './middleware'; +export { type AdmissionregistrationApiGetAPIGroupRequest, ObjectAdmissionregistrationApi as AdmissionregistrationApi, type AdmissionregistrationV1ApiCreateMutatingWebhookConfigurationRequest, type AdmissionregistrationV1ApiCreateValidatingAdmissionPolicyRequest, type AdmissionregistrationV1ApiCreateValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1ApiCreateValidatingWebhookConfigurationRequest, type AdmissionregistrationV1ApiDeleteCollectionMutatingWebhookConfigurationRequest, type AdmissionregistrationV1ApiDeleteCollectionValidatingAdmissionPolicyRequest, type AdmissionregistrationV1ApiDeleteCollectionValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1ApiDeleteCollectionValidatingWebhookConfigurationRequest, type AdmissionregistrationV1ApiDeleteMutatingWebhookConfigurationRequest, type AdmissionregistrationV1ApiDeleteValidatingAdmissionPolicyRequest, type AdmissionregistrationV1ApiDeleteValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1ApiDeleteValidatingWebhookConfigurationRequest, type AdmissionregistrationV1ApiGetAPIResourcesRequest, type AdmissionregistrationV1ApiListMutatingWebhookConfigurationRequest, type AdmissionregistrationV1ApiListValidatingAdmissionPolicyRequest, type AdmissionregistrationV1ApiListValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1ApiListValidatingWebhookConfigurationRequest, type AdmissionregistrationV1ApiPatchMutatingWebhookConfigurationRequest, type AdmissionregistrationV1ApiPatchValidatingAdmissionPolicyRequest, type AdmissionregistrationV1ApiPatchValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1ApiPatchValidatingAdmissionPolicyStatusRequest, type AdmissionregistrationV1ApiPatchValidatingWebhookConfigurationRequest, type AdmissionregistrationV1ApiReadMutatingWebhookConfigurationRequest, type AdmissionregistrationV1ApiReadValidatingAdmissionPolicyRequest, type AdmissionregistrationV1ApiReadValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1ApiReadValidatingAdmissionPolicyStatusRequest, type AdmissionregistrationV1ApiReadValidatingWebhookConfigurationRequest, type AdmissionregistrationV1ApiReplaceMutatingWebhookConfigurationRequest, type AdmissionregistrationV1ApiReplaceValidatingAdmissionPolicyRequest, type AdmissionregistrationV1ApiReplaceValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1ApiReplaceValidatingAdmissionPolicyStatusRequest, type AdmissionregistrationV1ApiReplaceValidatingWebhookConfigurationRequest, ObjectAdmissionregistrationV1Api as AdmissionregistrationV1Api, type AdmissionregistrationV1alpha1ApiCreateMutatingAdmissionPolicyRequest, type AdmissionregistrationV1alpha1ApiCreateMutatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1alpha1ApiDeleteCollectionMutatingAdmissionPolicyRequest, type AdmissionregistrationV1alpha1ApiDeleteCollectionMutatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1alpha1ApiDeleteMutatingAdmissionPolicyRequest, type AdmissionregistrationV1alpha1ApiDeleteMutatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1alpha1ApiGetAPIResourcesRequest, type AdmissionregistrationV1alpha1ApiListMutatingAdmissionPolicyRequest, type AdmissionregistrationV1alpha1ApiListMutatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1alpha1ApiPatchMutatingAdmissionPolicyRequest, type AdmissionregistrationV1alpha1ApiPatchMutatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1alpha1ApiReadMutatingAdmissionPolicyRequest, type AdmissionregistrationV1alpha1ApiReadMutatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1alpha1ApiReplaceMutatingAdmissionPolicyRequest, type AdmissionregistrationV1alpha1ApiReplaceMutatingAdmissionPolicyBindingRequest, ObjectAdmissionregistrationV1alpha1Api as AdmissionregistrationV1alpha1Api, type AdmissionregistrationV1beta1ApiCreateValidatingAdmissionPolicyRequest, type AdmissionregistrationV1beta1ApiCreateValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1beta1ApiDeleteCollectionValidatingAdmissionPolicyRequest, type AdmissionregistrationV1beta1ApiDeleteCollectionValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1beta1ApiDeleteValidatingAdmissionPolicyRequest, type AdmissionregistrationV1beta1ApiDeleteValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1beta1ApiGetAPIResourcesRequest, type AdmissionregistrationV1beta1ApiListValidatingAdmissionPolicyRequest, type AdmissionregistrationV1beta1ApiListValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1beta1ApiPatchValidatingAdmissionPolicyRequest, type AdmissionregistrationV1beta1ApiPatchValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1beta1ApiPatchValidatingAdmissionPolicyStatusRequest, type AdmissionregistrationV1beta1ApiReadValidatingAdmissionPolicyRequest, type AdmissionregistrationV1beta1ApiReadValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1beta1ApiReadValidatingAdmissionPolicyStatusRequest, type AdmissionregistrationV1beta1ApiReplaceValidatingAdmissionPolicyRequest, type AdmissionregistrationV1beta1ApiReplaceValidatingAdmissionPolicyBindingRequest, type AdmissionregistrationV1beta1ApiReplaceValidatingAdmissionPolicyStatusRequest, ObjectAdmissionregistrationV1beta1Api as AdmissionregistrationV1beta1Api, type ApiextensionsApiGetAPIGroupRequest, ObjectApiextensionsApi as ApiextensionsApi, type ApiextensionsV1ApiCreateCustomResourceDefinitionRequest, type ApiextensionsV1ApiDeleteCollectionCustomResourceDefinitionRequest, type ApiextensionsV1ApiDeleteCustomResourceDefinitionRequest, type ApiextensionsV1ApiGetAPIResourcesRequest, type ApiextensionsV1ApiListCustomResourceDefinitionRequest, type ApiextensionsV1ApiPatchCustomResourceDefinitionRequest, type ApiextensionsV1ApiPatchCustomResourceDefinitionStatusRequest, type ApiextensionsV1ApiReadCustomResourceDefinitionRequest, type ApiextensionsV1ApiReadCustomResourceDefinitionStatusRequest, type ApiextensionsV1ApiReplaceCustomResourceDefinitionRequest, type ApiextensionsV1ApiReplaceCustomResourceDefinitionStatusRequest, ObjectApiextensionsV1Api as ApiextensionsV1Api, type ApiregistrationApiGetAPIGroupRequest, ObjectApiregistrationApi as ApiregistrationApi, type ApiregistrationV1ApiCreateAPIServiceRequest, type ApiregistrationV1ApiDeleteAPIServiceRequest, type ApiregistrationV1ApiDeleteCollectionAPIServiceRequest, type ApiregistrationV1ApiGetAPIResourcesRequest, type ApiregistrationV1ApiListAPIServiceRequest, type ApiregistrationV1ApiPatchAPIServiceRequest, type ApiregistrationV1ApiPatchAPIServiceStatusRequest, type ApiregistrationV1ApiReadAPIServiceRequest, type ApiregistrationV1ApiReadAPIServiceStatusRequest, type ApiregistrationV1ApiReplaceAPIServiceRequest, type ApiregistrationV1ApiReplaceAPIServiceStatusRequest, ObjectApiregistrationV1Api as ApiregistrationV1Api, type ApisApiGetAPIVersionsRequest, ObjectApisApi as ApisApi, type AppsApiGetAPIGroupRequest, ObjectAppsApi as AppsApi, type AppsV1ApiCreateNamespacedControllerRevisionRequest, type AppsV1ApiCreateNamespacedDaemonSetRequest, type AppsV1ApiCreateNamespacedDeploymentRequest, type AppsV1ApiCreateNamespacedReplicaSetRequest, type AppsV1ApiCreateNamespacedStatefulSetRequest, type AppsV1ApiDeleteCollectionNamespacedControllerRevisionRequest, type AppsV1ApiDeleteCollectionNamespacedDaemonSetRequest, type AppsV1ApiDeleteCollectionNamespacedDeploymentRequest, type AppsV1ApiDeleteCollectionNamespacedReplicaSetRequest, type AppsV1ApiDeleteCollectionNamespacedStatefulSetRequest, type AppsV1ApiDeleteNamespacedControllerRevisionRequest, type AppsV1ApiDeleteNamespacedDaemonSetRequest, type AppsV1ApiDeleteNamespacedDeploymentRequest, type AppsV1ApiDeleteNamespacedReplicaSetRequest, type AppsV1ApiDeleteNamespacedStatefulSetRequest, type AppsV1ApiGetAPIResourcesRequest, type AppsV1ApiListControllerRevisionForAllNamespacesRequest, type AppsV1ApiListDaemonSetForAllNamespacesRequest, type AppsV1ApiListDeploymentForAllNamespacesRequest, type AppsV1ApiListNamespacedControllerRevisionRequest, type AppsV1ApiListNamespacedDaemonSetRequest, type AppsV1ApiListNamespacedDeploymentRequest, type AppsV1ApiListNamespacedReplicaSetRequest, type AppsV1ApiListNamespacedStatefulSetRequest, type AppsV1ApiListReplicaSetForAllNamespacesRequest, type AppsV1ApiListStatefulSetForAllNamespacesRequest, type AppsV1ApiPatchNamespacedControllerRevisionRequest, type AppsV1ApiPatchNamespacedDaemonSetRequest, type AppsV1ApiPatchNamespacedDaemonSetStatusRequest, type AppsV1ApiPatchNamespacedDeploymentRequest, type AppsV1ApiPatchNamespacedDeploymentScaleRequest, type AppsV1ApiPatchNamespacedDeploymentStatusRequest, type AppsV1ApiPatchNamespacedReplicaSetRequest, type AppsV1ApiPatchNamespacedReplicaSetScaleRequest, type AppsV1ApiPatchNamespacedReplicaSetStatusRequest, type AppsV1ApiPatchNamespacedStatefulSetRequest, type AppsV1ApiPatchNamespacedStatefulSetScaleRequest, type AppsV1ApiPatchNamespacedStatefulSetStatusRequest, type AppsV1ApiReadNamespacedControllerRevisionRequest, type AppsV1ApiReadNamespacedDaemonSetRequest, type AppsV1ApiReadNamespacedDaemonSetStatusRequest, type AppsV1ApiReadNamespacedDeploymentRequest, type AppsV1ApiReadNamespacedDeploymentScaleRequest, type AppsV1ApiReadNamespacedDeploymentStatusRequest, type AppsV1ApiReadNamespacedReplicaSetRequest, type AppsV1ApiReadNamespacedReplicaSetScaleRequest, type AppsV1ApiReadNamespacedReplicaSetStatusRequest, type AppsV1ApiReadNamespacedStatefulSetRequest, type AppsV1ApiReadNamespacedStatefulSetScaleRequest, type AppsV1ApiReadNamespacedStatefulSetStatusRequest, type AppsV1ApiReplaceNamespacedControllerRevisionRequest, type AppsV1ApiReplaceNamespacedDaemonSetRequest, type AppsV1ApiReplaceNamespacedDaemonSetStatusRequest, type AppsV1ApiReplaceNamespacedDeploymentRequest, type AppsV1ApiReplaceNamespacedDeploymentScaleRequest, type AppsV1ApiReplaceNamespacedDeploymentStatusRequest, type AppsV1ApiReplaceNamespacedReplicaSetRequest, type AppsV1ApiReplaceNamespacedReplicaSetScaleRequest, type AppsV1ApiReplaceNamespacedReplicaSetStatusRequest, type AppsV1ApiReplaceNamespacedStatefulSetRequest, type AppsV1ApiReplaceNamespacedStatefulSetScaleRequest, type AppsV1ApiReplaceNamespacedStatefulSetStatusRequest, ObjectAppsV1Api as AppsV1Api, type AuthenticationApiGetAPIGroupRequest, ObjectAuthenticationApi as AuthenticationApi, type AuthenticationV1ApiCreateSelfSubjectReviewRequest, type AuthenticationV1ApiCreateTokenReviewRequest, type AuthenticationV1ApiGetAPIResourcesRequest, ObjectAuthenticationV1Api as AuthenticationV1Api, type AuthenticationV1beta1ApiCreateSelfSubjectReviewRequest, type AuthenticationV1beta1ApiGetAPIResourcesRequest, ObjectAuthenticationV1beta1Api as AuthenticationV1beta1Api, type AuthorizationApiGetAPIGroupRequest, ObjectAuthorizationApi as AuthorizationApi, type AuthorizationV1ApiCreateNamespacedLocalSubjectAccessReviewRequest, type AuthorizationV1ApiCreateSelfSubjectAccessReviewRequest, type AuthorizationV1ApiCreateSelfSubjectRulesReviewRequest, type AuthorizationV1ApiCreateSubjectAccessReviewRequest, type AuthorizationV1ApiGetAPIResourcesRequest, ObjectAuthorizationV1Api as AuthorizationV1Api, type AutoscalingApiGetAPIGroupRequest, ObjectAutoscalingApi as AutoscalingApi, type AutoscalingV1ApiCreateNamespacedHorizontalPodAutoscalerRequest, type AutoscalingV1ApiDeleteCollectionNamespacedHorizontalPodAutoscalerRequest, type AutoscalingV1ApiDeleteNamespacedHorizontalPodAutoscalerRequest, type AutoscalingV1ApiGetAPIResourcesRequest, type AutoscalingV1ApiListHorizontalPodAutoscalerForAllNamespacesRequest, type AutoscalingV1ApiListNamespacedHorizontalPodAutoscalerRequest, type AutoscalingV1ApiPatchNamespacedHorizontalPodAutoscalerRequest, type AutoscalingV1ApiPatchNamespacedHorizontalPodAutoscalerStatusRequest, type AutoscalingV1ApiReadNamespacedHorizontalPodAutoscalerRequest, type AutoscalingV1ApiReadNamespacedHorizontalPodAutoscalerStatusRequest, type AutoscalingV1ApiReplaceNamespacedHorizontalPodAutoscalerRequest, type AutoscalingV1ApiReplaceNamespacedHorizontalPodAutoscalerStatusRequest, ObjectAutoscalingV1Api as AutoscalingV1Api, type AutoscalingV2ApiCreateNamespacedHorizontalPodAutoscalerRequest, type AutoscalingV2ApiDeleteCollectionNamespacedHorizontalPodAutoscalerRequest, type AutoscalingV2ApiDeleteNamespacedHorizontalPodAutoscalerRequest, type AutoscalingV2ApiGetAPIResourcesRequest, type AutoscalingV2ApiListHorizontalPodAutoscalerForAllNamespacesRequest, type AutoscalingV2ApiListNamespacedHorizontalPodAutoscalerRequest, type AutoscalingV2ApiPatchNamespacedHorizontalPodAutoscalerRequest, type AutoscalingV2ApiPatchNamespacedHorizontalPodAutoscalerStatusRequest, type AutoscalingV2ApiReadNamespacedHorizontalPodAutoscalerRequest, type AutoscalingV2ApiReadNamespacedHorizontalPodAutoscalerStatusRequest, type AutoscalingV2ApiReplaceNamespacedHorizontalPodAutoscalerRequest, type AutoscalingV2ApiReplaceNamespacedHorizontalPodAutoscalerStatusRequest, ObjectAutoscalingV2Api as AutoscalingV2Api, type BatchApiGetAPIGroupRequest, ObjectBatchApi as BatchApi, type BatchV1ApiCreateNamespacedCronJobRequest, type BatchV1ApiCreateNamespacedJobRequest, type BatchV1ApiDeleteCollectionNamespacedCronJobRequest, type BatchV1ApiDeleteCollectionNamespacedJobRequest, type BatchV1ApiDeleteNamespacedCronJobRequest, type BatchV1ApiDeleteNamespacedJobRequest, type BatchV1ApiGetAPIResourcesRequest, type BatchV1ApiListCronJobForAllNamespacesRequest, type BatchV1ApiListJobForAllNamespacesRequest, type BatchV1ApiListNamespacedCronJobRequest, type BatchV1ApiListNamespacedJobRequest, type BatchV1ApiPatchNamespacedCronJobRequest, type BatchV1ApiPatchNamespacedCronJobStatusRequest, type BatchV1ApiPatchNamespacedJobRequest, type BatchV1ApiPatchNamespacedJobStatusRequest, type BatchV1ApiReadNamespacedCronJobRequest, type BatchV1ApiReadNamespacedCronJobStatusRequest, type BatchV1ApiReadNamespacedJobRequest, type BatchV1ApiReadNamespacedJobStatusRequest, type BatchV1ApiReplaceNamespacedCronJobRequest, type BatchV1ApiReplaceNamespacedCronJobStatusRequest, type BatchV1ApiReplaceNamespacedJobRequest, type BatchV1ApiReplaceNamespacedJobStatusRequest, ObjectBatchV1Api as BatchV1Api, type CertificatesApiGetAPIGroupRequest, ObjectCertificatesApi as CertificatesApi, type CertificatesV1ApiCreateCertificateSigningRequestRequest, type CertificatesV1ApiDeleteCertificateSigningRequestRequest, type CertificatesV1ApiDeleteCollectionCertificateSigningRequestRequest, type CertificatesV1ApiGetAPIResourcesRequest, type CertificatesV1ApiListCertificateSigningRequestRequest, type CertificatesV1ApiPatchCertificateSigningRequestRequest, type CertificatesV1ApiPatchCertificateSigningRequestApprovalRequest, type CertificatesV1ApiPatchCertificateSigningRequestStatusRequest, type CertificatesV1ApiReadCertificateSigningRequestRequest, type CertificatesV1ApiReadCertificateSigningRequestApprovalRequest, type CertificatesV1ApiReadCertificateSigningRequestStatusRequest, type CertificatesV1ApiReplaceCertificateSigningRequestRequest, type CertificatesV1ApiReplaceCertificateSigningRequestApprovalRequest, type CertificatesV1ApiReplaceCertificateSigningRequestStatusRequest, ObjectCertificatesV1Api as CertificatesV1Api, type CertificatesV1alpha1ApiCreateClusterTrustBundleRequest, type CertificatesV1alpha1ApiDeleteClusterTrustBundleRequest, type CertificatesV1alpha1ApiDeleteCollectionClusterTrustBundleRequest, type CertificatesV1alpha1ApiGetAPIResourcesRequest, type CertificatesV1alpha1ApiListClusterTrustBundleRequest, type CertificatesV1alpha1ApiPatchClusterTrustBundleRequest, type CertificatesV1alpha1ApiReadClusterTrustBundleRequest, type CertificatesV1alpha1ApiReplaceClusterTrustBundleRequest, ObjectCertificatesV1alpha1Api as CertificatesV1alpha1Api, type CoordinationApiGetAPIGroupRequest, ObjectCoordinationApi as CoordinationApi, type CoordinationV1ApiCreateNamespacedLeaseRequest, type CoordinationV1ApiDeleteCollectionNamespacedLeaseRequest, type CoordinationV1ApiDeleteNamespacedLeaseRequest, type CoordinationV1ApiGetAPIResourcesRequest, type CoordinationV1ApiListLeaseForAllNamespacesRequest, type CoordinationV1ApiListNamespacedLeaseRequest, type CoordinationV1ApiPatchNamespacedLeaseRequest, type CoordinationV1ApiReadNamespacedLeaseRequest, type CoordinationV1ApiReplaceNamespacedLeaseRequest, ObjectCoordinationV1Api as CoordinationV1Api, type CoordinationV1alpha2ApiCreateNamespacedLeaseCandidateRequest, type CoordinationV1alpha2ApiDeleteCollectionNamespacedLeaseCandidateRequest, type CoordinationV1alpha2ApiDeleteNamespacedLeaseCandidateRequest, type CoordinationV1alpha2ApiGetAPIResourcesRequest, type CoordinationV1alpha2ApiListLeaseCandidateForAllNamespacesRequest, type CoordinationV1alpha2ApiListNamespacedLeaseCandidateRequest, type CoordinationV1alpha2ApiPatchNamespacedLeaseCandidateRequest, type CoordinationV1alpha2ApiReadNamespacedLeaseCandidateRequest, type CoordinationV1alpha2ApiReplaceNamespacedLeaseCandidateRequest, ObjectCoordinationV1alpha2Api as CoordinationV1alpha2Api, type CoreApiGetAPIVersionsRequest, ObjectCoreApi as CoreApi, type CoreV1ApiConnectDeleteNamespacedPodProxyRequest, type CoreV1ApiConnectDeleteNamespacedPodProxyWithPathRequest, type CoreV1ApiConnectDeleteNamespacedServiceProxyRequest, type CoreV1ApiConnectDeleteNamespacedServiceProxyWithPathRequest, type CoreV1ApiConnectDeleteNodeProxyRequest, type CoreV1ApiConnectDeleteNodeProxyWithPathRequest, type CoreV1ApiConnectGetNamespacedPodAttachRequest, type CoreV1ApiConnectGetNamespacedPodExecRequest, type CoreV1ApiConnectGetNamespacedPodPortforwardRequest, type CoreV1ApiConnectGetNamespacedPodProxyRequest, type CoreV1ApiConnectGetNamespacedPodProxyWithPathRequest, type CoreV1ApiConnectGetNamespacedServiceProxyRequest, type CoreV1ApiConnectGetNamespacedServiceProxyWithPathRequest, type CoreV1ApiConnectGetNodeProxyRequest, type CoreV1ApiConnectGetNodeProxyWithPathRequest, type CoreV1ApiConnectHeadNamespacedPodProxyRequest, type CoreV1ApiConnectHeadNamespacedPodProxyWithPathRequest, type CoreV1ApiConnectHeadNamespacedServiceProxyRequest, type CoreV1ApiConnectHeadNamespacedServiceProxyWithPathRequest, type CoreV1ApiConnectHeadNodeProxyRequest, type CoreV1ApiConnectHeadNodeProxyWithPathRequest, type CoreV1ApiConnectOptionsNamespacedPodProxyRequest, type CoreV1ApiConnectOptionsNamespacedPodProxyWithPathRequest, type CoreV1ApiConnectOptionsNamespacedServiceProxyRequest, type CoreV1ApiConnectOptionsNamespacedServiceProxyWithPathRequest, type CoreV1ApiConnectOptionsNodeProxyRequest, type CoreV1ApiConnectOptionsNodeProxyWithPathRequest, type CoreV1ApiConnectPatchNamespacedPodProxyRequest, type CoreV1ApiConnectPatchNamespacedPodProxyWithPathRequest, type CoreV1ApiConnectPatchNamespacedServiceProxyRequest, type CoreV1ApiConnectPatchNamespacedServiceProxyWithPathRequest, type CoreV1ApiConnectPatchNodeProxyRequest, type CoreV1ApiConnectPatchNodeProxyWithPathRequest, type CoreV1ApiConnectPostNamespacedPodAttachRequest, type CoreV1ApiConnectPostNamespacedPodExecRequest, type CoreV1ApiConnectPostNamespacedPodPortforwardRequest, type CoreV1ApiConnectPostNamespacedPodProxyRequest, type CoreV1ApiConnectPostNamespacedPodProxyWithPathRequest, type CoreV1ApiConnectPostNamespacedServiceProxyRequest, type CoreV1ApiConnectPostNamespacedServiceProxyWithPathRequest, type CoreV1ApiConnectPostNodeProxyRequest, type CoreV1ApiConnectPostNodeProxyWithPathRequest, type CoreV1ApiConnectPutNamespacedPodProxyRequest, type CoreV1ApiConnectPutNamespacedPodProxyWithPathRequest, type CoreV1ApiConnectPutNamespacedServiceProxyRequest, type CoreV1ApiConnectPutNamespacedServiceProxyWithPathRequest, type CoreV1ApiConnectPutNodeProxyRequest, type CoreV1ApiConnectPutNodeProxyWithPathRequest, type CoreV1ApiCreateNamespaceRequest, type CoreV1ApiCreateNamespacedBindingRequest, type CoreV1ApiCreateNamespacedConfigMapRequest, type CoreV1ApiCreateNamespacedEndpointsRequest, type CoreV1ApiCreateNamespacedEventRequest, type CoreV1ApiCreateNamespacedLimitRangeRequest, type CoreV1ApiCreateNamespacedPersistentVolumeClaimRequest, type CoreV1ApiCreateNamespacedPodRequest, type CoreV1ApiCreateNamespacedPodBindingRequest, type CoreV1ApiCreateNamespacedPodEvictionRequest, type CoreV1ApiCreateNamespacedPodTemplateRequest, type CoreV1ApiCreateNamespacedReplicationControllerRequest, type CoreV1ApiCreateNamespacedResourceQuotaRequest, type CoreV1ApiCreateNamespacedSecretRequest, type CoreV1ApiCreateNamespacedServiceRequest, type CoreV1ApiCreateNamespacedServiceAccountRequest, type CoreV1ApiCreateNamespacedServiceAccountTokenRequest, type CoreV1ApiCreateNodeRequest, type CoreV1ApiCreatePersistentVolumeRequest, type CoreV1ApiDeleteCollectionNamespacedConfigMapRequest, type CoreV1ApiDeleteCollectionNamespacedEndpointsRequest, type CoreV1ApiDeleteCollectionNamespacedEventRequest, type CoreV1ApiDeleteCollectionNamespacedLimitRangeRequest, type CoreV1ApiDeleteCollectionNamespacedPersistentVolumeClaimRequest, type CoreV1ApiDeleteCollectionNamespacedPodRequest, type CoreV1ApiDeleteCollectionNamespacedPodTemplateRequest, type CoreV1ApiDeleteCollectionNamespacedReplicationControllerRequest, type CoreV1ApiDeleteCollectionNamespacedResourceQuotaRequest, type CoreV1ApiDeleteCollectionNamespacedSecretRequest, type CoreV1ApiDeleteCollectionNamespacedServiceRequest, type CoreV1ApiDeleteCollectionNamespacedServiceAccountRequest, type CoreV1ApiDeleteCollectionNodeRequest, type CoreV1ApiDeleteCollectionPersistentVolumeRequest, type CoreV1ApiDeleteNamespaceRequest, type CoreV1ApiDeleteNamespacedConfigMapRequest, type CoreV1ApiDeleteNamespacedEndpointsRequest, type CoreV1ApiDeleteNamespacedEventRequest, type CoreV1ApiDeleteNamespacedLimitRangeRequest, type CoreV1ApiDeleteNamespacedPersistentVolumeClaimRequest, type CoreV1ApiDeleteNamespacedPodRequest, type CoreV1ApiDeleteNamespacedPodTemplateRequest, type CoreV1ApiDeleteNamespacedReplicationControllerRequest, type CoreV1ApiDeleteNamespacedResourceQuotaRequest, type CoreV1ApiDeleteNamespacedSecretRequest, type CoreV1ApiDeleteNamespacedServiceRequest, type CoreV1ApiDeleteNamespacedServiceAccountRequest, type CoreV1ApiDeleteNodeRequest, type CoreV1ApiDeletePersistentVolumeRequest, type CoreV1ApiGetAPIResourcesRequest, type CoreV1ApiListComponentStatusRequest, type CoreV1ApiListConfigMapForAllNamespacesRequest, type CoreV1ApiListEndpointsForAllNamespacesRequest, type CoreV1ApiListEventForAllNamespacesRequest, type CoreV1ApiListLimitRangeForAllNamespacesRequest, type CoreV1ApiListNamespaceRequest, type CoreV1ApiListNamespacedConfigMapRequest, type CoreV1ApiListNamespacedEndpointsRequest, type CoreV1ApiListNamespacedEventRequest, type CoreV1ApiListNamespacedLimitRangeRequest, type CoreV1ApiListNamespacedPersistentVolumeClaimRequest, type CoreV1ApiListNamespacedPodRequest, type CoreV1ApiListNamespacedPodTemplateRequest, type CoreV1ApiListNamespacedReplicationControllerRequest, type CoreV1ApiListNamespacedResourceQuotaRequest, type CoreV1ApiListNamespacedSecretRequest, type CoreV1ApiListNamespacedServiceRequest, type CoreV1ApiListNamespacedServiceAccountRequest, type CoreV1ApiListNodeRequest, type CoreV1ApiListPersistentVolumeRequest, type CoreV1ApiListPersistentVolumeClaimForAllNamespacesRequest, type CoreV1ApiListPodForAllNamespacesRequest, type CoreV1ApiListPodTemplateForAllNamespacesRequest, type CoreV1ApiListReplicationControllerForAllNamespacesRequest, type CoreV1ApiListResourceQuotaForAllNamespacesRequest, type CoreV1ApiListSecretForAllNamespacesRequest, type CoreV1ApiListServiceAccountForAllNamespacesRequest, type CoreV1ApiListServiceForAllNamespacesRequest, type CoreV1ApiPatchNamespaceRequest, type CoreV1ApiPatchNamespaceStatusRequest, type CoreV1ApiPatchNamespacedConfigMapRequest, type CoreV1ApiPatchNamespacedEndpointsRequest, type CoreV1ApiPatchNamespacedEventRequest, type CoreV1ApiPatchNamespacedLimitRangeRequest, type CoreV1ApiPatchNamespacedPersistentVolumeClaimRequest, type CoreV1ApiPatchNamespacedPersistentVolumeClaimStatusRequest, type CoreV1ApiPatchNamespacedPodRequest, type CoreV1ApiPatchNamespacedPodEphemeralcontainersRequest, type CoreV1ApiPatchNamespacedPodResizeRequest, type CoreV1ApiPatchNamespacedPodStatusRequest, type CoreV1ApiPatchNamespacedPodTemplateRequest, type CoreV1ApiPatchNamespacedReplicationControllerRequest, type CoreV1ApiPatchNamespacedReplicationControllerScaleRequest, type CoreV1ApiPatchNamespacedReplicationControllerStatusRequest, type CoreV1ApiPatchNamespacedResourceQuotaRequest, type CoreV1ApiPatchNamespacedResourceQuotaStatusRequest, type CoreV1ApiPatchNamespacedSecretRequest, type CoreV1ApiPatchNamespacedServiceRequest, type CoreV1ApiPatchNamespacedServiceAccountRequest, type CoreV1ApiPatchNamespacedServiceStatusRequest, type CoreV1ApiPatchNodeRequest, type CoreV1ApiPatchNodeStatusRequest, type CoreV1ApiPatchPersistentVolumeRequest, type CoreV1ApiPatchPersistentVolumeStatusRequest, type CoreV1ApiReadComponentStatusRequest, type CoreV1ApiReadNamespaceRequest, type CoreV1ApiReadNamespaceStatusRequest, type CoreV1ApiReadNamespacedConfigMapRequest, type CoreV1ApiReadNamespacedEndpointsRequest, type CoreV1ApiReadNamespacedEventRequest, type CoreV1ApiReadNamespacedLimitRangeRequest, type CoreV1ApiReadNamespacedPersistentVolumeClaimRequest, type CoreV1ApiReadNamespacedPersistentVolumeClaimStatusRequest, type CoreV1ApiReadNamespacedPodRequest, type CoreV1ApiReadNamespacedPodEphemeralcontainersRequest, type CoreV1ApiReadNamespacedPodLogRequest, type CoreV1ApiReadNamespacedPodResizeRequest, type CoreV1ApiReadNamespacedPodStatusRequest, type CoreV1ApiReadNamespacedPodTemplateRequest, type CoreV1ApiReadNamespacedReplicationControllerRequest, type CoreV1ApiReadNamespacedReplicationControllerScaleRequest, type CoreV1ApiReadNamespacedReplicationControllerStatusRequest, type CoreV1ApiReadNamespacedResourceQuotaRequest, type CoreV1ApiReadNamespacedResourceQuotaStatusRequest, type CoreV1ApiReadNamespacedSecretRequest, type CoreV1ApiReadNamespacedServiceRequest, type CoreV1ApiReadNamespacedServiceAccountRequest, type CoreV1ApiReadNamespacedServiceStatusRequest, type CoreV1ApiReadNodeRequest, type CoreV1ApiReadNodeStatusRequest, type CoreV1ApiReadPersistentVolumeRequest, type CoreV1ApiReadPersistentVolumeStatusRequest, type CoreV1ApiReplaceNamespaceRequest, type CoreV1ApiReplaceNamespaceFinalizeRequest, type CoreV1ApiReplaceNamespaceStatusRequest, type CoreV1ApiReplaceNamespacedConfigMapRequest, type CoreV1ApiReplaceNamespacedEndpointsRequest, type CoreV1ApiReplaceNamespacedEventRequest, type CoreV1ApiReplaceNamespacedLimitRangeRequest, type CoreV1ApiReplaceNamespacedPersistentVolumeClaimRequest, type CoreV1ApiReplaceNamespacedPersistentVolumeClaimStatusRequest, type CoreV1ApiReplaceNamespacedPodRequest, type CoreV1ApiReplaceNamespacedPodEphemeralcontainersRequest, type CoreV1ApiReplaceNamespacedPodResizeRequest, type CoreV1ApiReplaceNamespacedPodStatusRequest, type CoreV1ApiReplaceNamespacedPodTemplateRequest, type CoreV1ApiReplaceNamespacedReplicationControllerRequest, type CoreV1ApiReplaceNamespacedReplicationControllerScaleRequest, type CoreV1ApiReplaceNamespacedReplicationControllerStatusRequest, type CoreV1ApiReplaceNamespacedResourceQuotaRequest, type CoreV1ApiReplaceNamespacedResourceQuotaStatusRequest, type CoreV1ApiReplaceNamespacedSecretRequest, type CoreV1ApiReplaceNamespacedServiceRequest, type CoreV1ApiReplaceNamespacedServiceAccountRequest, type CoreV1ApiReplaceNamespacedServiceStatusRequest, type CoreV1ApiReplaceNodeRequest, type CoreV1ApiReplaceNodeStatusRequest, type CoreV1ApiReplacePersistentVolumeRequest, type CoreV1ApiReplacePersistentVolumeStatusRequest, ObjectCoreV1Api as CoreV1Api, type CustomObjectsApiCreateClusterCustomObjectRequest, type CustomObjectsApiCreateNamespacedCustomObjectRequest, type CustomObjectsApiDeleteClusterCustomObjectRequest, type CustomObjectsApiDeleteCollectionClusterCustomObjectRequest, type CustomObjectsApiDeleteCollectionNamespacedCustomObjectRequest, type CustomObjectsApiDeleteNamespacedCustomObjectRequest, type CustomObjectsApiGetAPIResourcesRequest, type CustomObjectsApiGetClusterCustomObjectRequest, type CustomObjectsApiGetClusterCustomObjectScaleRequest, type CustomObjectsApiGetClusterCustomObjectStatusRequest, type CustomObjectsApiGetNamespacedCustomObjectRequest, type CustomObjectsApiGetNamespacedCustomObjectScaleRequest, type CustomObjectsApiGetNamespacedCustomObjectStatusRequest, type CustomObjectsApiListClusterCustomObjectRequest, type CustomObjectsApiListNamespacedCustomObjectRequest, type CustomObjectsApiPatchClusterCustomObjectRequest, type CustomObjectsApiPatchClusterCustomObjectScaleRequest, type CustomObjectsApiPatchClusterCustomObjectStatusRequest, type CustomObjectsApiPatchNamespacedCustomObjectRequest, type CustomObjectsApiPatchNamespacedCustomObjectScaleRequest, type CustomObjectsApiPatchNamespacedCustomObjectStatusRequest, type CustomObjectsApiReplaceClusterCustomObjectRequest, type CustomObjectsApiReplaceClusterCustomObjectScaleRequest, type CustomObjectsApiReplaceClusterCustomObjectStatusRequest, type CustomObjectsApiReplaceNamespacedCustomObjectRequest, type CustomObjectsApiReplaceNamespacedCustomObjectScaleRequest, type CustomObjectsApiReplaceNamespacedCustomObjectStatusRequest, ObjectCustomObjectsApi as CustomObjectsApi, type DiscoveryApiGetAPIGroupRequest, ObjectDiscoveryApi as DiscoveryApi, type DiscoveryV1ApiCreateNamespacedEndpointSliceRequest, type DiscoveryV1ApiDeleteCollectionNamespacedEndpointSliceRequest, type DiscoveryV1ApiDeleteNamespacedEndpointSliceRequest, type DiscoveryV1ApiGetAPIResourcesRequest, type DiscoveryV1ApiListEndpointSliceForAllNamespacesRequest, type DiscoveryV1ApiListNamespacedEndpointSliceRequest, type DiscoveryV1ApiPatchNamespacedEndpointSliceRequest, type DiscoveryV1ApiReadNamespacedEndpointSliceRequest, type DiscoveryV1ApiReplaceNamespacedEndpointSliceRequest, ObjectDiscoveryV1Api as DiscoveryV1Api, type EventsApiGetAPIGroupRequest, ObjectEventsApi as EventsApi, type EventsV1ApiCreateNamespacedEventRequest, type EventsV1ApiDeleteCollectionNamespacedEventRequest, type EventsV1ApiDeleteNamespacedEventRequest, type EventsV1ApiGetAPIResourcesRequest, type EventsV1ApiListEventForAllNamespacesRequest, type EventsV1ApiListNamespacedEventRequest, type EventsV1ApiPatchNamespacedEventRequest, type EventsV1ApiReadNamespacedEventRequest, type EventsV1ApiReplaceNamespacedEventRequest, ObjectEventsV1Api as EventsV1Api, type FlowcontrolApiserverApiGetAPIGroupRequest, ObjectFlowcontrolApiserverApi as FlowcontrolApiserverApi, type FlowcontrolApiserverV1ApiCreateFlowSchemaRequest, type FlowcontrolApiserverV1ApiCreatePriorityLevelConfigurationRequest, type FlowcontrolApiserverV1ApiDeleteCollectionFlowSchemaRequest, type FlowcontrolApiserverV1ApiDeleteCollectionPriorityLevelConfigurationRequest, type FlowcontrolApiserverV1ApiDeleteFlowSchemaRequest, type FlowcontrolApiserverV1ApiDeletePriorityLevelConfigurationRequest, type FlowcontrolApiserverV1ApiGetAPIResourcesRequest, type FlowcontrolApiserverV1ApiListFlowSchemaRequest, type FlowcontrolApiserverV1ApiListPriorityLevelConfigurationRequest, type FlowcontrolApiserverV1ApiPatchFlowSchemaRequest, type FlowcontrolApiserverV1ApiPatchFlowSchemaStatusRequest, type FlowcontrolApiserverV1ApiPatchPriorityLevelConfigurationRequest, type FlowcontrolApiserverV1ApiPatchPriorityLevelConfigurationStatusRequest, type FlowcontrolApiserverV1ApiReadFlowSchemaRequest, type FlowcontrolApiserverV1ApiReadFlowSchemaStatusRequest, type FlowcontrolApiserverV1ApiReadPriorityLevelConfigurationRequest, type FlowcontrolApiserverV1ApiReadPriorityLevelConfigurationStatusRequest, type FlowcontrolApiserverV1ApiReplaceFlowSchemaRequest, type FlowcontrolApiserverV1ApiReplaceFlowSchemaStatusRequest, type FlowcontrolApiserverV1ApiReplacePriorityLevelConfigurationRequest, type FlowcontrolApiserverV1ApiReplacePriorityLevelConfigurationStatusRequest, ObjectFlowcontrolApiserverV1Api as FlowcontrolApiserverV1Api, type InternalApiserverApiGetAPIGroupRequest, ObjectInternalApiserverApi as InternalApiserverApi, type InternalApiserverV1alpha1ApiCreateStorageVersionRequest, type InternalApiserverV1alpha1ApiDeleteCollectionStorageVersionRequest, type InternalApiserverV1alpha1ApiDeleteStorageVersionRequest, type InternalApiserverV1alpha1ApiGetAPIResourcesRequest, type InternalApiserverV1alpha1ApiListStorageVersionRequest, type InternalApiserverV1alpha1ApiPatchStorageVersionRequest, type InternalApiserverV1alpha1ApiPatchStorageVersionStatusRequest, type InternalApiserverV1alpha1ApiReadStorageVersionRequest, type InternalApiserverV1alpha1ApiReadStorageVersionStatusRequest, type InternalApiserverV1alpha1ApiReplaceStorageVersionRequest, type InternalApiserverV1alpha1ApiReplaceStorageVersionStatusRequest, ObjectInternalApiserverV1alpha1Api as InternalApiserverV1alpha1Api, type LogsApiLogFileHandlerRequest, type LogsApiLogFileListHandlerRequest, ObjectLogsApi as LogsApi, type NetworkingApiGetAPIGroupRequest, ObjectNetworkingApi as NetworkingApi, type NetworkingV1ApiCreateIngressClassRequest, type NetworkingV1ApiCreateNamespacedIngressRequest, type NetworkingV1ApiCreateNamespacedNetworkPolicyRequest, type NetworkingV1ApiDeleteCollectionIngressClassRequest, type NetworkingV1ApiDeleteCollectionNamespacedIngressRequest, type NetworkingV1ApiDeleteCollectionNamespacedNetworkPolicyRequest, type NetworkingV1ApiDeleteIngressClassRequest, type NetworkingV1ApiDeleteNamespacedIngressRequest, type NetworkingV1ApiDeleteNamespacedNetworkPolicyRequest, type NetworkingV1ApiGetAPIResourcesRequest, type NetworkingV1ApiListIngressClassRequest, type NetworkingV1ApiListIngressForAllNamespacesRequest, type NetworkingV1ApiListNamespacedIngressRequest, type NetworkingV1ApiListNamespacedNetworkPolicyRequest, type NetworkingV1ApiListNetworkPolicyForAllNamespacesRequest, type NetworkingV1ApiPatchIngressClassRequest, type NetworkingV1ApiPatchNamespacedIngressRequest, type NetworkingV1ApiPatchNamespacedIngressStatusRequest, type NetworkingV1ApiPatchNamespacedNetworkPolicyRequest, type NetworkingV1ApiReadIngressClassRequest, type NetworkingV1ApiReadNamespacedIngressRequest, type NetworkingV1ApiReadNamespacedIngressStatusRequest, type NetworkingV1ApiReadNamespacedNetworkPolicyRequest, type NetworkingV1ApiReplaceIngressClassRequest, type NetworkingV1ApiReplaceNamespacedIngressRequest, type NetworkingV1ApiReplaceNamespacedIngressStatusRequest, type NetworkingV1ApiReplaceNamespacedNetworkPolicyRequest, ObjectNetworkingV1Api as NetworkingV1Api, type NetworkingV1beta1ApiCreateIPAddressRequest, type NetworkingV1beta1ApiCreateServiceCIDRRequest, type NetworkingV1beta1ApiDeleteCollectionIPAddressRequest, type NetworkingV1beta1ApiDeleteCollectionServiceCIDRRequest, type NetworkingV1beta1ApiDeleteIPAddressRequest, type NetworkingV1beta1ApiDeleteServiceCIDRRequest, type NetworkingV1beta1ApiGetAPIResourcesRequest, type NetworkingV1beta1ApiListIPAddressRequest, type NetworkingV1beta1ApiListServiceCIDRRequest, type NetworkingV1beta1ApiPatchIPAddressRequest, type NetworkingV1beta1ApiPatchServiceCIDRRequest, type NetworkingV1beta1ApiPatchServiceCIDRStatusRequest, type NetworkingV1beta1ApiReadIPAddressRequest, type NetworkingV1beta1ApiReadServiceCIDRRequest, type NetworkingV1beta1ApiReadServiceCIDRStatusRequest, type NetworkingV1beta1ApiReplaceIPAddressRequest, type NetworkingV1beta1ApiReplaceServiceCIDRRequest, type NetworkingV1beta1ApiReplaceServiceCIDRStatusRequest, ObjectNetworkingV1beta1Api as NetworkingV1beta1Api, type NodeApiGetAPIGroupRequest, ObjectNodeApi as NodeApi, type NodeV1ApiCreateRuntimeClassRequest, type NodeV1ApiDeleteCollectionRuntimeClassRequest, type NodeV1ApiDeleteRuntimeClassRequest, type NodeV1ApiGetAPIResourcesRequest, type NodeV1ApiListRuntimeClassRequest, type NodeV1ApiPatchRuntimeClassRequest, type NodeV1ApiReadRuntimeClassRequest, type NodeV1ApiReplaceRuntimeClassRequest, ObjectNodeV1Api as NodeV1Api, type OpenidApiGetServiceAccountIssuerOpenIDKeysetRequest, ObjectOpenidApi as OpenidApi, type PolicyApiGetAPIGroupRequest, ObjectPolicyApi as PolicyApi, type PolicyV1ApiCreateNamespacedPodDisruptionBudgetRequest, type PolicyV1ApiDeleteCollectionNamespacedPodDisruptionBudgetRequest, type PolicyV1ApiDeleteNamespacedPodDisruptionBudgetRequest, type PolicyV1ApiGetAPIResourcesRequest, type PolicyV1ApiListNamespacedPodDisruptionBudgetRequest, type PolicyV1ApiListPodDisruptionBudgetForAllNamespacesRequest, type PolicyV1ApiPatchNamespacedPodDisruptionBudgetRequest, type PolicyV1ApiPatchNamespacedPodDisruptionBudgetStatusRequest, type PolicyV1ApiReadNamespacedPodDisruptionBudgetRequest, type PolicyV1ApiReadNamespacedPodDisruptionBudgetStatusRequest, type PolicyV1ApiReplaceNamespacedPodDisruptionBudgetRequest, type PolicyV1ApiReplaceNamespacedPodDisruptionBudgetStatusRequest, ObjectPolicyV1Api as PolicyV1Api, type RbacAuthorizationApiGetAPIGroupRequest, ObjectRbacAuthorizationApi as RbacAuthorizationApi, type RbacAuthorizationV1ApiCreateClusterRoleRequest, type RbacAuthorizationV1ApiCreateClusterRoleBindingRequest, type RbacAuthorizationV1ApiCreateNamespacedRoleRequest, type RbacAuthorizationV1ApiCreateNamespacedRoleBindingRequest, type RbacAuthorizationV1ApiDeleteClusterRoleRequest, type RbacAuthorizationV1ApiDeleteClusterRoleBindingRequest, type RbacAuthorizationV1ApiDeleteCollectionClusterRoleRequest, type RbacAuthorizationV1ApiDeleteCollectionClusterRoleBindingRequest, type RbacAuthorizationV1ApiDeleteCollectionNamespacedRoleRequest, type RbacAuthorizationV1ApiDeleteCollectionNamespacedRoleBindingRequest, type RbacAuthorizationV1ApiDeleteNamespacedRoleRequest, type RbacAuthorizationV1ApiDeleteNamespacedRoleBindingRequest, type RbacAuthorizationV1ApiGetAPIResourcesRequest, type RbacAuthorizationV1ApiListClusterRoleRequest, type RbacAuthorizationV1ApiListClusterRoleBindingRequest, type RbacAuthorizationV1ApiListNamespacedRoleRequest, type RbacAuthorizationV1ApiListNamespacedRoleBindingRequest, type RbacAuthorizationV1ApiListRoleBindingForAllNamespacesRequest, type RbacAuthorizationV1ApiListRoleForAllNamespacesRequest, type RbacAuthorizationV1ApiPatchClusterRoleRequest, type RbacAuthorizationV1ApiPatchClusterRoleBindingRequest, type RbacAuthorizationV1ApiPatchNamespacedRoleRequest, type RbacAuthorizationV1ApiPatchNamespacedRoleBindingRequest, type RbacAuthorizationV1ApiReadClusterRoleRequest, type RbacAuthorizationV1ApiReadClusterRoleBindingRequest, type RbacAuthorizationV1ApiReadNamespacedRoleRequest, type RbacAuthorizationV1ApiReadNamespacedRoleBindingRequest, type RbacAuthorizationV1ApiReplaceClusterRoleRequest, type RbacAuthorizationV1ApiReplaceClusterRoleBindingRequest, type RbacAuthorizationV1ApiReplaceNamespacedRoleRequest, type RbacAuthorizationV1ApiReplaceNamespacedRoleBindingRequest, ObjectRbacAuthorizationV1Api as RbacAuthorizationV1Api, type ResourceApiGetAPIGroupRequest, ObjectResourceApi as ResourceApi, type ResourceV1alpha3ApiCreateDeviceClassRequest, type ResourceV1alpha3ApiCreateNamespacedResourceClaimRequest, type ResourceV1alpha3ApiCreateNamespacedResourceClaimTemplateRequest, type ResourceV1alpha3ApiCreateResourceSliceRequest, type ResourceV1alpha3ApiDeleteCollectionDeviceClassRequest, type ResourceV1alpha3ApiDeleteCollectionNamespacedResourceClaimRequest, type ResourceV1alpha3ApiDeleteCollectionNamespacedResourceClaimTemplateRequest, type ResourceV1alpha3ApiDeleteCollectionResourceSliceRequest, type ResourceV1alpha3ApiDeleteDeviceClassRequest, type ResourceV1alpha3ApiDeleteNamespacedResourceClaimRequest, type ResourceV1alpha3ApiDeleteNamespacedResourceClaimTemplateRequest, type ResourceV1alpha3ApiDeleteResourceSliceRequest, type ResourceV1alpha3ApiGetAPIResourcesRequest, type ResourceV1alpha3ApiListDeviceClassRequest, type ResourceV1alpha3ApiListNamespacedResourceClaimRequest, type ResourceV1alpha3ApiListNamespacedResourceClaimTemplateRequest, type ResourceV1alpha3ApiListResourceClaimForAllNamespacesRequest, type ResourceV1alpha3ApiListResourceClaimTemplateForAllNamespacesRequest, type ResourceV1alpha3ApiListResourceSliceRequest, type ResourceV1alpha3ApiPatchDeviceClassRequest, type ResourceV1alpha3ApiPatchNamespacedResourceClaimRequest, type ResourceV1alpha3ApiPatchNamespacedResourceClaimStatusRequest, type ResourceV1alpha3ApiPatchNamespacedResourceClaimTemplateRequest, type ResourceV1alpha3ApiPatchResourceSliceRequest, type ResourceV1alpha3ApiReadDeviceClassRequest, type ResourceV1alpha3ApiReadNamespacedResourceClaimRequest, type ResourceV1alpha3ApiReadNamespacedResourceClaimStatusRequest, type ResourceV1alpha3ApiReadNamespacedResourceClaimTemplateRequest, type ResourceV1alpha3ApiReadResourceSliceRequest, type ResourceV1alpha3ApiReplaceDeviceClassRequest, type ResourceV1alpha3ApiReplaceNamespacedResourceClaimRequest, type ResourceV1alpha3ApiReplaceNamespacedResourceClaimStatusRequest, type ResourceV1alpha3ApiReplaceNamespacedResourceClaimTemplateRequest, type ResourceV1alpha3ApiReplaceResourceSliceRequest, ObjectResourceV1alpha3Api as ResourceV1alpha3Api, type ResourceV1beta1ApiCreateDeviceClassRequest, type ResourceV1beta1ApiCreateNamespacedResourceClaimRequest, type ResourceV1beta1ApiCreateNamespacedResourceClaimTemplateRequest, type ResourceV1beta1ApiCreateResourceSliceRequest, type ResourceV1beta1ApiDeleteCollectionDeviceClassRequest, type ResourceV1beta1ApiDeleteCollectionNamespacedResourceClaimRequest, type ResourceV1beta1ApiDeleteCollectionNamespacedResourceClaimTemplateRequest, type ResourceV1beta1ApiDeleteCollectionResourceSliceRequest, type ResourceV1beta1ApiDeleteDeviceClassRequest, type ResourceV1beta1ApiDeleteNamespacedResourceClaimRequest, type ResourceV1beta1ApiDeleteNamespacedResourceClaimTemplateRequest, type ResourceV1beta1ApiDeleteResourceSliceRequest, type ResourceV1beta1ApiGetAPIResourcesRequest, type ResourceV1beta1ApiListDeviceClassRequest, type ResourceV1beta1ApiListNamespacedResourceClaimRequest, type ResourceV1beta1ApiListNamespacedResourceClaimTemplateRequest, type ResourceV1beta1ApiListResourceClaimForAllNamespacesRequest, type ResourceV1beta1ApiListResourceClaimTemplateForAllNamespacesRequest, type ResourceV1beta1ApiListResourceSliceRequest, type ResourceV1beta1ApiPatchDeviceClassRequest, type ResourceV1beta1ApiPatchNamespacedResourceClaimRequest, type ResourceV1beta1ApiPatchNamespacedResourceClaimStatusRequest, type ResourceV1beta1ApiPatchNamespacedResourceClaimTemplateRequest, type ResourceV1beta1ApiPatchResourceSliceRequest, type ResourceV1beta1ApiReadDeviceClassRequest, type ResourceV1beta1ApiReadNamespacedResourceClaimRequest, type ResourceV1beta1ApiReadNamespacedResourceClaimStatusRequest, type ResourceV1beta1ApiReadNamespacedResourceClaimTemplateRequest, type ResourceV1beta1ApiReadResourceSliceRequest, type ResourceV1beta1ApiReplaceDeviceClassRequest, type ResourceV1beta1ApiReplaceNamespacedResourceClaimRequest, type ResourceV1beta1ApiReplaceNamespacedResourceClaimStatusRequest, type ResourceV1beta1ApiReplaceNamespacedResourceClaimTemplateRequest, type ResourceV1beta1ApiReplaceResourceSliceRequest, ObjectResourceV1beta1Api as ResourceV1beta1Api, type SchedulingApiGetAPIGroupRequest, ObjectSchedulingApi as SchedulingApi, type SchedulingV1ApiCreatePriorityClassRequest, type SchedulingV1ApiDeleteCollectionPriorityClassRequest, type SchedulingV1ApiDeletePriorityClassRequest, type SchedulingV1ApiGetAPIResourcesRequest, type SchedulingV1ApiListPriorityClassRequest, type SchedulingV1ApiPatchPriorityClassRequest, type SchedulingV1ApiReadPriorityClassRequest, type SchedulingV1ApiReplacePriorityClassRequest, ObjectSchedulingV1Api as SchedulingV1Api, type StorageApiGetAPIGroupRequest, ObjectStorageApi as StorageApi, type StorageV1ApiCreateCSIDriverRequest, type StorageV1ApiCreateCSINodeRequest, type StorageV1ApiCreateNamespacedCSIStorageCapacityRequest, type StorageV1ApiCreateStorageClassRequest, type StorageV1ApiCreateVolumeAttachmentRequest, type StorageV1ApiDeleteCSIDriverRequest, type StorageV1ApiDeleteCSINodeRequest, type StorageV1ApiDeleteCollectionCSIDriverRequest, type StorageV1ApiDeleteCollectionCSINodeRequest, type StorageV1ApiDeleteCollectionNamespacedCSIStorageCapacityRequest, type StorageV1ApiDeleteCollectionStorageClassRequest, type StorageV1ApiDeleteCollectionVolumeAttachmentRequest, type StorageV1ApiDeleteNamespacedCSIStorageCapacityRequest, type StorageV1ApiDeleteStorageClassRequest, type StorageV1ApiDeleteVolumeAttachmentRequest, type StorageV1ApiGetAPIResourcesRequest, type StorageV1ApiListCSIDriverRequest, type StorageV1ApiListCSINodeRequest, type StorageV1ApiListCSIStorageCapacityForAllNamespacesRequest, type StorageV1ApiListNamespacedCSIStorageCapacityRequest, type StorageV1ApiListStorageClassRequest, type StorageV1ApiListVolumeAttachmentRequest, type StorageV1ApiPatchCSIDriverRequest, type StorageV1ApiPatchCSINodeRequest, type StorageV1ApiPatchNamespacedCSIStorageCapacityRequest, type StorageV1ApiPatchStorageClassRequest, type StorageV1ApiPatchVolumeAttachmentRequest, type StorageV1ApiPatchVolumeAttachmentStatusRequest, type StorageV1ApiReadCSIDriverRequest, type StorageV1ApiReadCSINodeRequest, type StorageV1ApiReadNamespacedCSIStorageCapacityRequest, type StorageV1ApiReadStorageClassRequest, type StorageV1ApiReadVolumeAttachmentRequest, type StorageV1ApiReadVolumeAttachmentStatusRequest, type StorageV1ApiReplaceCSIDriverRequest, type StorageV1ApiReplaceCSINodeRequest, type StorageV1ApiReplaceNamespacedCSIStorageCapacityRequest, type StorageV1ApiReplaceStorageClassRequest, type StorageV1ApiReplaceVolumeAttachmentRequest, type StorageV1ApiReplaceVolumeAttachmentStatusRequest, ObjectStorageV1Api as StorageV1Api, type StorageV1alpha1ApiCreateVolumeAttributesClassRequest, type StorageV1alpha1ApiDeleteCollectionVolumeAttributesClassRequest, type StorageV1alpha1ApiDeleteVolumeAttributesClassRequest, type StorageV1alpha1ApiGetAPIResourcesRequest, type StorageV1alpha1ApiListVolumeAttributesClassRequest, type StorageV1alpha1ApiPatchVolumeAttributesClassRequest, type StorageV1alpha1ApiReadVolumeAttributesClassRequest, type StorageV1alpha1ApiReplaceVolumeAttributesClassRequest, ObjectStorageV1alpha1Api as StorageV1alpha1Api, type StorageV1beta1ApiCreateVolumeAttributesClassRequest, type StorageV1beta1ApiDeleteCollectionVolumeAttributesClassRequest, type StorageV1beta1ApiDeleteVolumeAttributesClassRequest, type StorageV1beta1ApiGetAPIResourcesRequest, type StorageV1beta1ApiListVolumeAttributesClassRequest, type StorageV1beta1ApiPatchVolumeAttributesClassRequest, type StorageV1beta1ApiReadVolumeAttributesClassRequest, type StorageV1beta1ApiReplaceVolumeAttributesClassRequest, ObjectStorageV1beta1Api as StorageV1beta1Api, type StoragemigrationApiGetAPIGroupRequest, ObjectStoragemigrationApi as StoragemigrationApi, type StoragemigrationV1alpha1ApiCreateStorageVersionMigrationRequest, type StoragemigrationV1alpha1ApiDeleteCollectionStorageVersionMigrationRequest, type StoragemigrationV1alpha1ApiDeleteStorageVersionMigrationRequest, type StoragemigrationV1alpha1ApiGetAPIResourcesRequest, type StoragemigrationV1alpha1ApiListStorageVersionMigrationRequest, type StoragemigrationV1alpha1ApiPatchStorageVersionMigrationRequest, type StoragemigrationV1alpha1ApiPatchStorageVersionMigrationStatusRequest, type StoragemigrationV1alpha1ApiReadStorageVersionMigrationRequest, type StoragemigrationV1alpha1ApiReadStorageVersionMigrationStatusRequest, type StoragemigrationV1alpha1ApiReplaceStorageVersionMigrationRequest, type StoragemigrationV1alpha1ApiReplaceStorageVersionMigrationStatusRequest, ObjectStoragemigrationV1alpha1Api as StoragemigrationV1alpha1Api, type VersionApiGetCodeRequest, ObjectVersionApi as VersionApi, type WellKnownApiGetServiceAccountIssuerOpenIDConfigurationRequest, ObjectWellKnownApi as WellKnownApi } from './types/ObjectParamAPI'; diff --git a/src/gen/middleware.ts b/src/gen/middleware.ts index 7dcc60bedc5..524f93f016b 100644 --- a/src/gen/middleware.ts +++ b/src/gen/middleware.ts @@ -1,5 +1,5 @@ -import {RequestContext, ResponseContext} from './http/http.js'; -import { Observable, from } from './rxjsStub.js'; +import {RequestContext, ResponseContext} from './http/http'; +import { Observable, from } from './rxjsStub'; /** * Defines the contract for a middleware intercepting requests before diff --git a/src/gen/models/AdmissionregistrationV1ServiceReference.ts b/src/gen/models/AdmissionregistrationV1ServiceReference.ts index ea1e3db6868..6f69747724f 100644 --- a/src/gen/models/AdmissionregistrationV1ServiceReference.ts +++ b/src/gen/models/AdmissionregistrationV1ServiceReference.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ServiceReference holds a reference to Service.legacy.k8s.io diff --git a/src/gen/models/AdmissionregistrationV1WebhookClientConfig.ts b/src/gen/models/AdmissionregistrationV1WebhookClientConfig.ts index 99011442639..fa5bad98b44 100644 --- a/src/gen/models/AdmissionregistrationV1WebhookClientConfig.ts +++ b/src/gen/models/AdmissionregistrationV1WebhookClientConfig.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { AdmissionregistrationV1ServiceReference } from '../models/AdmissionregistrationV1ServiceReference.js'; -import { HttpFile } from '../http/http.js'; +import { AdmissionregistrationV1ServiceReference } from '../models/AdmissionregistrationV1ServiceReference'; +import { HttpFile } from '../http/http'; /** * WebhookClientConfig contains the information to make a TLS connection with the webhook diff --git a/src/gen/models/ApiextensionsV1ServiceReference.ts b/src/gen/models/ApiextensionsV1ServiceReference.ts index 7a994e15542..da4ffe4af4a 100644 --- a/src/gen/models/ApiextensionsV1ServiceReference.ts +++ b/src/gen/models/ApiextensionsV1ServiceReference.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ServiceReference holds a reference to Service.legacy.k8s.io diff --git a/src/gen/models/ApiextensionsV1WebhookClientConfig.ts b/src/gen/models/ApiextensionsV1WebhookClientConfig.ts index 9d5daf0900e..edb8413293b 100644 --- a/src/gen/models/ApiextensionsV1WebhookClientConfig.ts +++ b/src/gen/models/ApiextensionsV1WebhookClientConfig.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { ApiextensionsV1ServiceReference } from '../models/ApiextensionsV1ServiceReference.js'; -import { HttpFile } from '../http/http.js'; +import { ApiextensionsV1ServiceReference } from '../models/ApiextensionsV1ServiceReference'; +import { HttpFile } from '../http/http'; /** * WebhookClientConfig contains the information to make a TLS connection with the webhook. diff --git a/src/gen/models/ApiregistrationV1ServiceReference.ts b/src/gen/models/ApiregistrationV1ServiceReference.ts index e4fa74a40c4..d10a3bad18d 100644 --- a/src/gen/models/ApiregistrationV1ServiceReference.ts +++ b/src/gen/models/ApiregistrationV1ServiceReference.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ServiceReference holds a reference to Service.legacy.k8s.io diff --git a/src/gen/models/AuthenticationV1TokenRequest.ts b/src/gen/models/AuthenticationV1TokenRequest.ts index c63cb26a63e..63c57dff0ac 100644 --- a/src/gen/models/AuthenticationV1TokenRequest.ts +++ b/src/gen/models/AuthenticationV1TokenRequest.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1TokenRequestSpec } from '../models/V1TokenRequestSpec.js'; -import { V1TokenRequestStatus } from '../models/V1TokenRequestStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1TokenRequestSpec } from '../models/V1TokenRequestSpec'; +import { V1TokenRequestStatus } from '../models/V1TokenRequestStatus'; +import { HttpFile } from '../http/http'; /** * TokenRequest requests a token for a given service account. diff --git a/src/gen/models/CoreV1EndpointPort.ts b/src/gen/models/CoreV1EndpointPort.ts index dd78133091b..abefb5940ad 100644 --- a/src/gen/models/CoreV1EndpointPort.ts +++ b/src/gen/models/CoreV1EndpointPort.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * EndpointPort is a tuple that describes a single port. diff --git a/src/gen/models/CoreV1Event.ts b/src/gen/models/CoreV1Event.ts index 43144fcf91d..c9f5276dcb6 100644 --- a/src/gen/models/CoreV1Event.ts +++ b/src/gen/models/CoreV1Event.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,12 +10,12 @@ * Do not edit the class manually. */ -import { CoreV1EventSeries } from '../models/CoreV1EventSeries.js'; -import { V1EventSource } from '../models/V1EventSource.js'; -import { V1MicroTime } from '../../types.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1ObjectReference } from '../models/V1ObjectReference.js'; -import { HttpFile } from '../http/http.js'; +import { CoreV1EventSeries } from '../models/CoreV1EventSeries'; +import { V1EventSource } from '../models/V1EventSource'; +import { V1MicroTime } from '../../types'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1ObjectReference } from '../models/V1ObjectReference'; +import { HttpFile } from '../http/http'; /** * 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. diff --git a/src/gen/models/CoreV1EventList.ts b/src/gen/models/CoreV1EventList.ts index 4a5373576d3..5311901f7c5 100644 --- a/src/gen/models/CoreV1EventList.ts +++ b/src/gen/models/CoreV1EventList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { CoreV1Event } from '../models/CoreV1Event.js'; -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { HttpFile } from '../http/http.js'; +import { CoreV1Event } from '../models/CoreV1Event'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { HttpFile } from '../http/http'; /** * EventList is a list of events. diff --git a/src/gen/models/CoreV1EventSeries.ts b/src/gen/models/CoreV1EventSeries.ts index ba47719b8e6..abc82bebf68 100644 --- a/src/gen/models/CoreV1EventSeries.ts +++ b/src/gen/models/CoreV1EventSeries.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1MicroTime } from '../../types.js'; -import { HttpFile } from '../http/http.js'; +import { V1MicroTime } from '../../types'; +import { HttpFile } from '../http/http'; /** * EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. diff --git a/src/gen/models/DiscoveryV1EndpointPort.ts b/src/gen/models/DiscoveryV1EndpointPort.ts index e5248fc6579..e860cdbdbbd 100644 --- a/src/gen/models/DiscoveryV1EndpointPort.ts +++ b/src/gen/models/DiscoveryV1EndpointPort.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * EndpointPort represents a Port used by an EndpointSlice diff --git a/src/gen/models/EventsV1Event.ts b/src/gen/models/EventsV1Event.ts index 0cda309450d..afe362881fc 100644 --- a/src/gen/models/EventsV1Event.ts +++ b/src/gen/models/EventsV1Event.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,12 +10,12 @@ * Do not edit the class manually. */ -import { EventsV1EventSeries } from '../models/EventsV1EventSeries.js'; -import { V1EventSource } from '../models/V1EventSource.js'; -import { V1MicroTime } from '../../types.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1ObjectReference } from '../models/V1ObjectReference.js'; -import { HttpFile } from '../http/http.js'; +import { EventsV1EventSeries } from '../models/EventsV1EventSeries'; +import { V1EventSource } from '../models/V1EventSource'; +import { V1MicroTime } from '../../types'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1ObjectReference } from '../models/V1ObjectReference'; +import { HttpFile } from '../http/http'; /** * 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. diff --git a/src/gen/models/EventsV1EventList.ts b/src/gen/models/EventsV1EventList.ts index f0203b332a8..5c729e5cbe0 100644 --- a/src/gen/models/EventsV1EventList.ts +++ b/src/gen/models/EventsV1EventList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { EventsV1Event } from '../models/EventsV1Event.js'; -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { HttpFile } from '../http/http.js'; +import { EventsV1Event } from '../models/EventsV1Event'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { HttpFile } from '../http/http'; /** * EventList is a list of Event objects. diff --git a/src/gen/models/EventsV1EventSeries.ts b/src/gen/models/EventsV1EventSeries.ts index c900f34cc74..cfabb9a2c28 100644 --- a/src/gen/models/EventsV1EventSeries.ts +++ b/src/gen/models/EventsV1EventSeries.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1MicroTime } from '../../types.js'; -import { HttpFile } from '../http/http.js'; +import { V1MicroTime } from '../../types'; +import { HttpFile } from '../http/http'; /** * 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. diff --git a/src/gen/models/FlowcontrolV1Subject.ts b/src/gen/models/FlowcontrolV1Subject.ts index 87fa3613824..8ca7b85aefd 100644 --- a/src/gen/models/FlowcontrolV1Subject.ts +++ b/src/gen/models/FlowcontrolV1Subject.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1GroupSubject } from '../models/V1GroupSubject.js'; -import { V1ServiceAccountSubject } from '../models/V1ServiceAccountSubject.js'; -import { V1UserSubject } from '../models/V1UserSubject.js'; -import { HttpFile } from '../http/http.js'; +import { V1GroupSubject } from '../models/V1GroupSubject'; +import { V1ServiceAccountSubject } from '../models/V1ServiceAccountSubject'; +import { V1UserSubject } from '../models/V1UserSubject'; +import { HttpFile } from '../http/http'; /** * 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. diff --git a/src/gen/models/ObjectSerializer.ts b/src/gen/models/ObjectSerializer.ts index aa87514e14d..f4c13ef812a 100644 --- a/src/gen/models/ObjectSerializer.ts +++ b/src/gen/models/ObjectSerializer.ts @@ -1,1230 +1,1254 @@ -export * from '../models/AdmissionregistrationV1ServiceReference.js'; -export * from '../models/AdmissionregistrationV1WebhookClientConfig.js'; -export * from '../models/ApiextensionsV1ServiceReference.js'; -export * from '../models/ApiextensionsV1WebhookClientConfig.js'; -export * from '../models/ApiregistrationV1ServiceReference.js'; -export * from '../models/AuthenticationV1TokenRequest.js'; -export * from '../models/CoreV1EndpointPort.js'; -export * from '../models/CoreV1Event.js'; -export * from '../models/CoreV1EventList.js'; -export * from '../models/CoreV1EventSeries.js'; -export * from '../models/DiscoveryV1EndpointPort.js'; -export * from '../models/EventsV1Event.js'; -export * from '../models/EventsV1EventList.js'; -export * from '../models/EventsV1EventSeries.js'; -export * from '../models/FlowcontrolV1Subject.js'; -export * from '../models/RbacV1Subject.js'; -export * from '../models/StorageV1TokenRequest.js'; -export * from '../models/V1APIGroup.js'; -export * from '../models/V1APIGroupList.js'; -export * from '../models/V1APIResource.js'; -export * from '../models/V1APIResourceList.js'; -export * from '../models/V1APIService.js'; -export * from '../models/V1APIServiceCondition.js'; -export * from '../models/V1APIServiceList.js'; -export * from '../models/V1APIServiceSpec.js'; -export * from '../models/V1APIServiceStatus.js'; -export * from '../models/V1APIVersions.js'; -export * from '../models/V1AWSElasticBlockStoreVolumeSource.js'; -export * from '../models/V1Affinity.js'; -export * from '../models/V1AggregationRule.js'; -export * from '../models/V1AppArmorProfile.js'; -export * from '../models/V1AttachedVolume.js'; -export * from '../models/V1AuditAnnotation.js'; -export * from '../models/V1AzureDiskVolumeSource.js'; -export * from '../models/V1AzureFilePersistentVolumeSource.js'; -export * from '../models/V1AzureFileVolumeSource.js'; -export * from '../models/V1Binding.js'; -export * from '../models/V1BoundObjectReference.js'; -export * from '../models/V1CSIDriver.js'; -export * from '../models/V1CSIDriverList.js'; -export * from '../models/V1CSIDriverSpec.js'; -export * from '../models/V1CSINode.js'; -export * from '../models/V1CSINodeDriver.js'; -export * from '../models/V1CSINodeList.js'; -export * from '../models/V1CSINodeSpec.js'; -export * from '../models/V1CSIPersistentVolumeSource.js'; -export * from '../models/V1CSIStorageCapacity.js'; -export * from '../models/V1CSIStorageCapacityList.js'; -export * from '../models/V1CSIVolumeSource.js'; -export * from '../models/V1Capabilities.js'; -export * from '../models/V1CephFSPersistentVolumeSource.js'; -export * from '../models/V1CephFSVolumeSource.js'; -export * from '../models/V1CertificateSigningRequest.js'; -export * from '../models/V1CertificateSigningRequestCondition.js'; -export * from '../models/V1CertificateSigningRequestList.js'; -export * from '../models/V1CertificateSigningRequestSpec.js'; -export * from '../models/V1CertificateSigningRequestStatus.js'; -export * from '../models/V1CinderPersistentVolumeSource.js'; -export * from '../models/V1CinderVolumeSource.js'; -export * from '../models/V1ClaimSource.js'; -export * from '../models/V1ClientIPConfig.js'; -export * from '../models/V1ClusterRole.js'; -export * from '../models/V1ClusterRoleBinding.js'; -export * from '../models/V1ClusterRoleBindingList.js'; -export * from '../models/V1ClusterRoleList.js'; -export * from '../models/V1ClusterTrustBundleProjection.js'; -export * from '../models/V1ComponentCondition.js'; -export * from '../models/V1ComponentStatus.js'; -export * from '../models/V1ComponentStatusList.js'; -export * from '../models/V1Condition.js'; -export * from '../models/V1ConfigMap.js'; -export * from '../models/V1ConfigMapEnvSource.js'; -export * from '../models/V1ConfigMapKeySelector.js'; -export * from '../models/V1ConfigMapList.js'; -export * from '../models/V1ConfigMapNodeConfigSource.js'; -export * from '../models/V1ConfigMapProjection.js'; -export * from '../models/V1ConfigMapVolumeSource.js'; -export * from '../models/V1Container.js'; -export * from '../models/V1ContainerImage.js'; -export * from '../models/V1ContainerPort.js'; -export * from '../models/V1ContainerResizePolicy.js'; -export * from '../models/V1ContainerState.js'; -export * from '../models/V1ContainerStateRunning.js'; -export * from '../models/V1ContainerStateTerminated.js'; -export * from '../models/V1ContainerStateWaiting.js'; -export * from '../models/V1ContainerStatus.js'; -export * from '../models/V1ControllerRevision.js'; -export * from '../models/V1ControllerRevisionList.js'; -export * from '../models/V1CronJob.js'; -export * from '../models/V1CronJobList.js'; -export * from '../models/V1CronJobSpec.js'; -export * from '../models/V1CronJobStatus.js'; -export * from '../models/V1CrossVersionObjectReference.js'; -export * from '../models/V1CustomResourceColumnDefinition.js'; -export * from '../models/V1CustomResourceConversion.js'; -export * from '../models/V1CustomResourceDefinition.js'; -export * from '../models/V1CustomResourceDefinitionCondition.js'; -export * from '../models/V1CustomResourceDefinitionList.js'; -export * from '../models/V1CustomResourceDefinitionNames.js'; -export * from '../models/V1CustomResourceDefinitionSpec.js'; -export * from '../models/V1CustomResourceDefinitionStatus.js'; -export * from '../models/V1CustomResourceDefinitionVersion.js'; -export * from '../models/V1CustomResourceSubresourceScale.js'; -export * from '../models/V1CustomResourceSubresources.js'; -export * from '../models/V1CustomResourceValidation.js'; -export * from '../models/V1DaemonEndpoint.js'; -export * from '../models/V1DaemonSet.js'; -export * from '../models/V1DaemonSetCondition.js'; -export * from '../models/V1DaemonSetList.js'; -export * from '../models/V1DaemonSetSpec.js'; -export * from '../models/V1DaemonSetStatus.js'; -export * from '../models/V1DaemonSetUpdateStrategy.js'; -export * from '../models/V1DeleteOptions.js'; -export * from '../models/V1Deployment.js'; -export * from '../models/V1DeploymentCondition.js'; -export * from '../models/V1DeploymentList.js'; -export * from '../models/V1DeploymentSpec.js'; -export * from '../models/V1DeploymentStatus.js'; -export * from '../models/V1DeploymentStrategy.js'; -export * from '../models/V1DownwardAPIProjection.js'; -export * from '../models/V1DownwardAPIVolumeFile.js'; -export * from '../models/V1DownwardAPIVolumeSource.js'; -export * from '../models/V1EmptyDirVolumeSource.js'; -export * from '../models/V1Endpoint.js'; -export * from '../models/V1EndpointAddress.js'; -export * from '../models/V1EndpointConditions.js'; -export * from '../models/V1EndpointHints.js'; -export * from '../models/V1EndpointSlice.js'; -export * from '../models/V1EndpointSliceList.js'; -export * from '../models/V1EndpointSubset.js'; -export * from '../models/V1Endpoints.js'; -export * from '../models/V1EndpointsList.js'; -export * from '../models/V1EnvFromSource.js'; -export * from '../models/V1EnvVar.js'; -export * from '../models/V1EnvVarSource.js'; -export * from '../models/V1EphemeralContainer.js'; -export * from '../models/V1EphemeralVolumeSource.js'; -export * from '../models/V1EventSource.js'; -export * from '../models/V1Eviction.js'; -export * from '../models/V1ExecAction.js'; -export * from '../models/V1ExemptPriorityLevelConfiguration.js'; -export * from '../models/V1ExpressionWarning.js'; -export * from '../models/V1ExternalDocumentation.js'; -export * from '../models/V1FCVolumeSource.js'; -export * from '../models/V1FlexPersistentVolumeSource.js'; -export * from '../models/V1FlexVolumeSource.js'; -export * from '../models/V1FlockerVolumeSource.js'; -export * from '../models/V1FlowDistinguisherMethod.js'; -export * from '../models/V1FlowSchema.js'; -export * from '../models/V1FlowSchemaCondition.js'; -export * from '../models/V1FlowSchemaList.js'; -export * from '../models/V1FlowSchemaSpec.js'; -export * from '../models/V1FlowSchemaStatus.js'; -export * from '../models/V1ForZone.js'; -export * from '../models/V1GCEPersistentDiskVolumeSource.js'; -export * from '../models/V1GRPCAction.js'; -export * from '../models/V1GitRepoVolumeSource.js'; -export * from '../models/V1GlusterfsPersistentVolumeSource.js'; -export * from '../models/V1GlusterfsVolumeSource.js'; -export * from '../models/V1GroupSubject.js'; -export * from '../models/V1GroupVersionForDiscovery.js'; -export * from '../models/V1HTTPGetAction.js'; -export * from '../models/V1HTTPHeader.js'; -export * from '../models/V1HTTPIngressPath.js'; -export * from '../models/V1HTTPIngressRuleValue.js'; -export * from '../models/V1HorizontalPodAutoscaler.js'; -export * from '../models/V1HorizontalPodAutoscalerList.js'; -export * from '../models/V1HorizontalPodAutoscalerSpec.js'; -export * from '../models/V1HorizontalPodAutoscalerStatus.js'; -export * from '../models/V1HostAlias.js'; -export * from '../models/V1HostIP.js'; -export * from '../models/V1HostPathVolumeSource.js'; -export * from '../models/V1IPBlock.js'; -export * from '../models/V1ISCSIPersistentVolumeSource.js'; -export * from '../models/V1ISCSIVolumeSource.js'; -export * from '../models/V1Ingress.js'; -export * from '../models/V1IngressBackend.js'; -export * from '../models/V1IngressClass.js'; -export * from '../models/V1IngressClassList.js'; -export * from '../models/V1IngressClassParametersReference.js'; -export * from '../models/V1IngressClassSpec.js'; -export * from '../models/V1IngressList.js'; -export * from '../models/V1IngressLoadBalancerIngress.js'; -export * from '../models/V1IngressLoadBalancerStatus.js'; -export * from '../models/V1IngressPortStatus.js'; -export * from '../models/V1IngressRule.js'; -export * from '../models/V1IngressServiceBackend.js'; -export * from '../models/V1IngressSpec.js'; -export * from '../models/V1IngressStatus.js'; -export * from '../models/V1IngressTLS.js'; -export * from '../models/V1JSONSchemaProps.js'; -export * from '../models/V1Job.js'; -export * from '../models/V1JobCondition.js'; -export * from '../models/V1JobList.js'; -export * from '../models/V1JobSpec.js'; -export * from '../models/V1JobStatus.js'; -export * from '../models/V1JobTemplateSpec.js'; -export * from '../models/V1KeyToPath.js'; -export * from '../models/V1LabelSelector.js'; -export * from '../models/V1LabelSelectorRequirement.js'; -export * from '../models/V1Lease.js'; -export * from '../models/V1LeaseList.js'; -export * from '../models/V1LeaseSpec.js'; -export * from '../models/V1Lifecycle.js'; -export * from '../models/V1LifecycleHandler.js'; -export * from '../models/V1LimitRange.js'; -export * from '../models/V1LimitRangeItem.js'; -export * from '../models/V1LimitRangeList.js'; -export * from '../models/V1LimitRangeSpec.js'; -export * from '../models/V1LimitResponse.js'; -export * from '../models/V1LimitedPriorityLevelConfiguration.js'; -export * from '../models/V1ListMeta.js'; -export * from '../models/V1LoadBalancerIngress.js'; -export * from '../models/V1LoadBalancerStatus.js'; -export * from '../models/V1LocalObjectReference.js'; -export * from '../models/V1LocalSubjectAccessReview.js'; -export * from '../models/V1LocalVolumeSource.js'; -export * from '../models/V1ManagedFieldsEntry.js'; -export * from '../models/V1MatchCondition.js'; -export * from '../models/V1MatchResources.js'; -export * from '../models/V1ModifyVolumeStatus.js'; -export * from '../models/V1MutatingWebhook.js'; -export * from '../models/V1MutatingWebhookConfiguration.js'; -export * from '../models/V1MutatingWebhookConfigurationList.js'; -export * from '../models/V1NFSVolumeSource.js'; -export * from '../models/V1NamedRuleWithOperations.js'; -export * from '../models/V1Namespace.js'; -export * from '../models/V1NamespaceCondition.js'; -export * from '../models/V1NamespaceList.js'; -export * from '../models/V1NamespaceSpec.js'; -export * from '../models/V1NamespaceStatus.js'; -export * from '../models/V1NetworkPolicy.js'; -export * from '../models/V1NetworkPolicyEgressRule.js'; -export * from '../models/V1NetworkPolicyIngressRule.js'; -export * from '../models/V1NetworkPolicyList.js'; -export * from '../models/V1NetworkPolicyPeer.js'; -export * from '../models/V1NetworkPolicyPort.js'; -export * from '../models/V1NetworkPolicySpec.js'; -export * from '../models/V1Node.js'; -export * from '../models/V1NodeAddress.js'; -export * from '../models/V1NodeAffinity.js'; -export * from '../models/V1NodeCondition.js'; -export * from '../models/V1NodeConfigSource.js'; -export * from '../models/V1NodeConfigStatus.js'; -export * from '../models/V1NodeDaemonEndpoints.js'; -export * from '../models/V1NodeList.js'; -export * from '../models/V1NodeRuntimeHandler.js'; -export * from '../models/V1NodeRuntimeHandlerFeatures.js'; -export * from '../models/V1NodeSelector.js'; -export * from '../models/V1NodeSelectorRequirement.js'; -export * from '../models/V1NodeSelectorTerm.js'; -export * from '../models/V1NodeSpec.js'; -export * from '../models/V1NodeStatus.js'; -export * from '../models/V1NodeSystemInfo.js'; -export * from '../models/V1NonResourceAttributes.js'; -export * from '../models/V1NonResourcePolicyRule.js'; -export * from '../models/V1NonResourceRule.js'; -export * from '../models/V1ObjectFieldSelector.js'; -export * from '../models/V1ObjectMeta.js'; -export * from '../models/V1ObjectReference.js'; -export * from '../models/V1Overhead.js'; -export * from '../models/V1OwnerReference.js'; -export * from '../models/V1ParamKind.js'; -export * from '../models/V1ParamRef.js'; -export * from '../models/V1PersistentVolume.js'; -export * from '../models/V1PersistentVolumeClaim.js'; -export * from '../models/V1PersistentVolumeClaimCondition.js'; -export * from '../models/V1PersistentVolumeClaimList.js'; -export * from '../models/V1PersistentVolumeClaimSpec.js'; -export * from '../models/V1PersistentVolumeClaimStatus.js'; -export * from '../models/V1PersistentVolumeClaimTemplate.js'; -export * from '../models/V1PersistentVolumeClaimVolumeSource.js'; -export * from '../models/V1PersistentVolumeList.js'; -export * from '../models/V1PersistentVolumeSpec.js'; -export * from '../models/V1PersistentVolumeStatus.js'; -export * from '../models/V1PhotonPersistentDiskVolumeSource.js'; -export * from '../models/V1Pod.js'; -export * from '../models/V1PodAffinity.js'; -export * from '../models/V1PodAffinityTerm.js'; -export * from '../models/V1PodAntiAffinity.js'; -export * from '../models/V1PodCondition.js'; -export * from '../models/V1PodDNSConfig.js'; -export * from '../models/V1PodDNSConfigOption.js'; -export * from '../models/V1PodDisruptionBudget.js'; -export * from '../models/V1PodDisruptionBudgetList.js'; -export * from '../models/V1PodDisruptionBudgetSpec.js'; -export * from '../models/V1PodDisruptionBudgetStatus.js'; -export * from '../models/V1PodFailurePolicy.js'; -export * from '../models/V1PodFailurePolicyOnExitCodesRequirement.js'; -export * from '../models/V1PodFailurePolicyOnPodConditionsPattern.js'; -export * from '../models/V1PodFailurePolicyRule.js'; -export * from '../models/V1PodIP.js'; -export * from '../models/V1PodList.js'; -export * from '../models/V1PodOS.js'; -export * from '../models/V1PodReadinessGate.js'; -export * from '../models/V1PodResourceClaim.js'; -export * from '../models/V1PodResourceClaimStatus.js'; -export * from '../models/V1PodSchedulingGate.js'; -export * from '../models/V1PodSecurityContext.js'; -export * from '../models/V1PodSpec.js'; -export * from '../models/V1PodStatus.js'; -export * from '../models/V1PodTemplate.js'; -export * from '../models/V1PodTemplateList.js'; -export * from '../models/V1PodTemplateSpec.js'; -export * from '../models/V1PolicyRule.js'; -export * from '../models/V1PolicyRulesWithSubjects.js'; -export * from '../models/V1PortStatus.js'; -export * from '../models/V1PortworxVolumeSource.js'; -export * from '../models/V1Preconditions.js'; -export * from '../models/V1PreferredSchedulingTerm.js'; -export * from '../models/V1PriorityClass.js'; -export * from '../models/V1PriorityClassList.js'; -export * from '../models/V1PriorityLevelConfiguration.js'; -export * from '../models/V1PriorityLevelConfigurationCondition.js'; -export * from '../models/V1PriorityLevelConfigurationList.js'; -export * from '../models/V1PriorityLevelConfigurationReference.js'; -export * from '../models/V1PriorityLevelConfigurationSpec.js'; -export * from '../models/V1PriorityLevelConfigurationStatus.js'; -export * from '../models/V1Probe.js'; -export * from '../models/V1ProjectedVolumeSource.js'; -export * from '../models/V1QueuingConfiguration.js'; -export * from '../models/V1QuobyteVolumeSource.js'; -export * from '../models/V1RBDPersistentVolumeSource.js'; -export * from '../models/V1RBDVolumeSource.js'; -export * from '../models/V1ReplicaSet.js'; -export * from '../models/V1ReplicaSetCondition.js'; -export * from '../models/V1ReplicaSetList.js'; -export * from '../models/V1ReplicaSetSpec.js'; -export * from '../models/V1ReplicaSetStatus.js'; -export * from '../models/V1ReplicationController.js'; -export * from '../models/V1ReplicationControllerCondition.js'; -export * from '../models/V1ReplicationControllerList.js'; -export * from '../models/V1ReplicationControllerSpec.js'; -export * from '../models/V1ReplicationControllerStatus.js'; -export * from '../models/V1ResourceAttributes.js'; -export * from '../models/V1ResourceClaim.js'; -export * from '../models/V1ResourceFieldSelector.js'; -export * from '../models/V1ResourcePolicyRule.js'; -export * from '../models/V1ResourceQuota.js'; -export * from '../models/V1ResourceQuotaList.js'; -export * from '../models/V1ResourceQuotaSpec.js'; -export * from '../models/V1ResourceQuotaStatus.js'; -export * from '../models/V1ResourceRequirements.js'; -export * from '../models/V1ResourceRule.js'; -export * from '../models/V1Role.js'; -export * from '../models/V1RoleBinding.js'; -export * from '../models/V1RoleBindingList.js'; -export * from '../models/V1RoleList.js'; -export * from '../models/V1RoleRef.js'; -export * from '../models/V1RollingUpdateDaemonSet.js'; -export * from '../models/V1RollingUpdateDeployment.js'; -export * from '../models/V1RollingUpdateStatefulSetStrategy.js'; -export * from '../models/V1RuleWithOperations.js'; -export * from '../models/V1RuntimeClass.js'; -export * from '../models/V1RuntimeClassList.js'; -export * from '../models/V1SELinuxOptions.js'; -export * from '../models/V1Scale.js'; -export * from '../models/V1ScaleIOPersistentVolumeSource.js'; -export * from '../models/V1ScaleIOVolumeSource.js'; -export * from '../models/V1ScaleSpec.js'; -export * from '../models/V1ScaleStatus.js'; -export * from '../models/V1Scheduling.js'; -export * from '../models/V1ScopeSelector.js'; -export * from '../models/V1ScopedResourceSelectorRequirement.js'; -export * from '../models/V1SeccompProfile.js'; -export * from '../models/V1Secret.js'; -export * from '../models/V1SecretEnvSource.js'; -export * from '../models/V1SecretKeySelector.js'; -export * from '../models/V1SecretList.js'; -export * from '../models/V1SecretProjection.js'; -export * from '../models/V1SecretReference.js'; -export * from '../models/V1SecretVolumeSource.js'; -export * from '../models/V1SecurityContext.js'; -export * from '../models/V1SelectableField.js'; -export * from '../models/V1SelfSubjectAccessReview.js'; -export * from '../models/V1SelfSubjectAccessReviewSpec.js'; -export * from '../models/V1SelfSubjectReview.js'; -export * from '../models/V1SelfSubjectReviewStatus.js'; -export * from '../models/V1SelfSubjectRulesReview.js'; -export * from '../models/V1SelfSubjectRulesReviewSpec.js'; -export * from '../models/V1ServerAddressByClientCIDR.js'; -export * from '../models/V1Service.js'; -export * from '../models/V1ServiceAccount.js'; -export * from '../models/V1ServiceAccountList.js'; -export * from '../models/V1ServiceAccountSubject.js'; -export * from '../models/V1ServiceAccountTokenProjection.js'; -export * from '../models/V1ServiceBackendPort.js'; -export * from '../models/V1ServiceList.js'; -export * from '../models/V1ServicePort.js'; -export * from '../models/V1ServiceSpec.js'; -export * from '../models/V1ServiceStatus.js'; -export * from '../models/V1SessionAffinityConfig.js'; -export * from '../models/V1SleepAction.js'; -export * from '../models/V1StatefulSet.js'; -export * from '../models/V1StatefulSetCondition.js'; -export * from '../models/V1StatefulSetList.js'; -export * from '../models/V1StatefulSetOrdinals.js'; -export * from '../models/V1StatefulSetPersistentVolumeClaimRetentionPolicy.js'; -export * from '../models/V1StatefulSetSpec.js'; -export * from '../models/V1StatefulSetStatus.js'; -export * from '../models/V1StatefulSetUpdateStrategy.js'; -export * from '../models/V1Status.js'; -export * from '../models/V1StatusCause.js'; -export * from '../models/V1StatusDetails.js'; -export * from '../models/V1StorageClass.js'; -export * from '../models/V1StorageClassList.js'; -export * from '../models/V1StorageOSPersistentVolumeSource.js'; -export * from '../models/V1StorageOSVolumeSource.js'; -export * from '../models/V1SubjectAccessReview.js'; -export * from '../models/V1SubjectAccessReviewSpec.js'; -export * from '../models/V1SubjectAccessReviewStatus.js'; -export * from '../models/V1SubjectRulesReviewStatus.js'; -export * from '../models/V1SuccessPolicy.js'; -export * from '../models/V1SuccessPolicyRule.js'; -export * from '../models/V1Sysctl.js'; -export * from '../models/V1TCPSocketAction.js'; -export * from '../models/V1Taint.js'; -export * from '../models/V1TokenRequestSpec.js'; -export * from '../models/V1TokenRequestStatus.js'; -export * from '../models/V1TokenReview.js'; -export * from '../models/V1TokenReviewSpec.js'; -export * from '../models/V1TokenReviewStatus.js'; -export * from '../models/V1Toleration.js'; -export * from '../models/V1TopologySelectorLabelRequirement.js'; -export * from '../models/V1TopologySelectorTerm.js'; -export * from '../models/V1TopologySpreadConstraint.js'; -export * from '../models/V1TypeChecking.js'; -export * from '../models/V1TypedLocalObjectReference.js'; -export * from '../models/V1TypedObjectReference.js'; -export * from '../models/V1UncountedTerminatedPods.js'; -export * from '../models/V1UserInfo.js'; -export * from '../models/V1UserSubject.js'; -export * from '../models/V1ValidatingAdmissionPolicy.js'; -export * from '../models/V1ValidatingAdmissionPolicyBinding.js'; -export * from '../models/V1ValidatingAdmissionPolicyBindingList.js'; -export * from '../models/V1ValidatingAdmissionPolicyBindingSpec.js'; -export * from '../models/V1ValidatingAdmissionPolicyList.js'; -export * from '../models/V1ValidatingAdmissionPolicySpec.js'; -export * from '../models/V1ValidatingAdmissionPolicyStatus.js'; -export * from '../models/V1ValidatingWebhook.js'; -export * from '../models/V1ValidatingWebhookConfiguration.js'; -export * from '../models/V1ValidatingWebhookConfigurationList.js'; -export * from '../models/V1Validation.js'; -export * from '../models/V1ValidationRule.js'; -export * from '../models/V1Variable.js'; -export * from '../models/V1Volume.js'; -export * from '../models/V1VolumeAttachment.js'; -export * from '../models/V1VolumeAttachmentList.js'; -export * from '../models/V1VolumeAttachmentSource.js'; -export * from '../models/V1VolumeAttachmentSpec.js'; -export * from '../models/V1VolumeAttachmentStatus.js'; -export * from '../models/V1VolumeDevice.js'; -export * from '../models/V1VolumeError.js'; -export * from '../models/V1VolumeMount.js'; -export * from '../models/V1VolumeMountStatus.js'; -export * from '../models/V1VolumeNodeAffinity.js'; -export * from '../models/V1VolumeNodeResources.js'; -export * from '../models/V1VolumeProjection.js'; -export * from '../models/V1VolumeResourceRequirements.js'; -export * from '../models/V1VsphereVirtualDiskVolumeSource.js'; -export * from '../models/V1WatchEvent.js'; -export * from '../models/V1WebhookConversion.js'; -export * from '../models/V1WeightedPodAffinityTerm.js'; -export * from '../models/V1WindowsSecurityContextOptions.js'; -export * from '../models/V1alpha1AuditAnnotation.js'; -export * from '../models/V1alpha1ClusterTrustBundle.js'; -export * from '../models/V1alpha1ClusterTrustBundleList.js'; -export * from '../models/V1alpha1ClusterTrustBundleSpec.js'; -export * from '../models/V1alpha1ExpressionWarning.js'; -export * from '../models/V1alpha1GroupVersionResource.js'; -export * from '../models/V1alpha1IPAddress.js'; -export * from '../models/V1alpha1IPAddressList.js'; -export * from '../models/V1alpha1IPAddressSpec.js'; -export * from '../models/V1alpha1MatchCondition.js'; -export * from '../models/V1alpha1MatchResources.js'; -export * from '../models/V1alpha1MigrationCondition.js'; -export * from '../models/V1alpha1NamedRuleWithOperations.js'; -export * from '../models/V1alpha1ParamKind.js'; -export * from '../models/V1alpha1ParamRef.js'; -export * from '../models/V1alpha1ParentReference.js'; -export * from '../models/V1alpha1SelfSubjectReview.js'; -export * from '../models/V1alpha1SelfSubjectReviewStatus.js'; -export * from '../models/V1alpha1ServerStorageVersion.js'; -export * from '../models/V1alpha1ServiceCIDR.js'; -export * from '../models/V1alpha1ServiceCIDRList.js'; -export * from '../models/V1alpha1ServiceCIDRSpec.js'; -export * from '../models/V1alpha1ServiceCIDRStatus.js'; -export * from '../models/V1alpha1StorageVersion.js'; -export * from '../models/V1alpha1StorageVersionCondition.js'; -export * from '../models/V1alpha1StorageVersionList.js'; -export * from '../models/V1alpha1StorageVersionMigration.js'; -export * from '../models/V1alpha1StorageVersionMigrationList.js'; -export * from '../models/V1alpha1StorageVersionMigrationSpec.js'; -export * from '../models/V1alpha1StorageVersionMigrationStatus.js'; -export * from '../models/V1alpha1StorageVersionStatus.js'; -export * from '../models/V1alpha1TypeChecking.js'; -export * from '../models/V1alpha1ValidatingAdmissionPolicy.js'; -export * from '../models/V1alpha1ValidatingAdmissionPolicyBinding.js'; -export * from '../models/V1alpha1ValidatingAdmissionPolicyBindingList.js'; -export * from '../models/V1alpha1ValidatingAdmissionPolicyBindingSpec.js'; -export * from '../models/V1alpha1ValidatingAdmissionPolicyList.js'; -export * from '../models/V1alpha1ValidatingAdmissionPolicySpec.js'; -export * from '../models/V1alpha1ValidatingAdmissionPolicyStatus.js'; -export * from '../models/V1alpha1Validation.js'; -export * from '../models/V1alpha1Variable.js'; -export * from '../models/V1alpha1VolumeAttributesClass.js'; -export * from '../models/V1alpha1VolumeAttributesClassList.js'; -export * from '../models/V1alpha2AllocationResult.js'; -export * from '../models/V1alpha2DriverAllocationResult.js'; -export * from '../models/V1alpha2DriverRequests.js'; -export * from '../models/V1alpha2NamedResourcesAllocationResult.js'; -export * from '../models/V1alpha2NamedResourcesAttribute.js'; -export * from '../models/V1alpha2NamedResourcesFilter.js'; -export * from '../models/V1alpha2NamedResourcesInstance.js'; -export * from '../models/V1alpha2NamedResourcesIntSlice.js'; -export * from '../models/V1alpha2NamedResourcesRequest.js'; -export * from '../models/V1alpha2NamedResourcesResources.js'; -export * from '../models/V1alpha2NamedResourcesStringSlice.js'; -export * from '../models/V1alpha2PodSchedulingContext.js'; -export * from '../models/V1alpha2PodSchedulingContextList.js'; -export * from '../models/V1alpha2PodSchedulingContextSpec.js'; -export * from '../models/V1alpha2PodSchedulingContextStatus.js'; -export * from '../models/V1alpha2ResourceClaim.js'; -export * from '../models/V1alpha2ResourceClaimConsumerReference.js'; -export * from '../models/V1alpha2ResourceClaimList.js'; -export * from '../models/V1alpha2ResourceClaimParameters.js'; -export * from '../models/V1alpha2ResourceClaimParametersList.js'; -export * from '../models/V1alpha2ResourceClaimParametersReference.js'; -export * from '../models/V1alpha2ResourceClaimSchedulingStatus.js'; -export * from '../models/V1alpha2ResourceClaimSpec.js'; -export * from '../models/V1alpha2ResourceClaimStatus.js'; -export * from '../models/V1alpha2ResourceClaimTemplate.js'; -export * from '../models/V1alpha2ResourceClaimTemplateList.js'; -export * from '../models/V1alpha2ResourceClaimTemplateSpec.js'; -export * from '../models/V1alpha2ResourceClass.js'; -export * from '../models/V1alpha2ResourceClassList.js'; -export * from '../models/V1alpha2ResourceClassParameters.js'; -export * from '../models/V1alpha2ResourceClassParametersList.js'; -export * from '../models/V1alpha2ResourceClassParametersReference.js'; -export * from '../models/V1alpha2ResourceFilter.js'; -export * from '../models/V1alpha2ResourceHandle.js'; -export * from '../models/V1alpha2ResourceRequest.js'; -export * from '../models/V1alpha2ResourceSlice.js'; -export * from '../models/V1alpha2ResourceSliceList.js'; -export * from '../models/V1alpha2StructuredResourceHandle.js'; -export * from '../models/V1alpha2VendorParameters.js'; -export * from '../models/V1beta1AuditAnnotation.js'; -export * from '../models/V1beta1ExpressionWarning.js'; -export * from '../models/V1beta1MatchCondition.js'; -export * from '../models/V1beta1MatchResources.js'; -export * from '../models/V1beta1NamedRuleWithOperations.js'; -export * from '../models/V1beta1ParamKind.js'; -export * from '../models/V1beta1ParamRef.js'; -export * from '../models/V1beta1SelfSubjectReview.js'; -export * from '../models/V1beta1SelfSubjectReviewStatus.js'; -export * from '../models/V1beta1TypeChecking.js'; -export * from '../models/V1beta1ValidatingAdmissionPolicy.js'; -export * from '../models/V1beta1ValidatingAdmissionPolicyBinding.js'; -export * from '../models/V1beta1ValidatingAdmissionPolicyBindingList.js'; -export * from '../models/V1beta1ValidatingAdmissionPolicyBindingSpec.js'; -export * from '../models/V1beta1ValidatingAdmissionPolicyList.js'; -export * from '../models/V1beta1ValidatingAdmissionPolicySpec.js'; -export * from '../models/V1beta1ValidatingAdmissionPolicyStatus.js'; -export * from '../models/V1beta1Validation.js'; -export * from '../models/V1beta1Variable.js'; -export * from '../models/V1beta3ExemptPriorityLevelConfiguration.js'; -export * from '../models/V1beta3FlowDistinguisherMethod.js'; -export * from '../models/V1beta3FlowSchema.js'; -export * from '../models/V1beta3FlowSchemaCondition.js'; -export * from '../models/V1beta3FlowSchemaList.js'; -export * from '../models/V1beta3FlowSchemaSpec.js'; -export * from '../models/V1beta3FlowSchemaStatus.js'; -export * from '../models/V1beta3GroupSubject.js'; -export * from '../models/V1beta3LimitResponse.js'; -export * from '../models/V1beta3LimitedPriorityLevelConfiguration.js'; -export * from '../models/V1beta3NonResourcePolicyRule.js'; -export * from '../models/V1beta3PolicyRulesWithSubjects.js'; -export * from '../models/V1beta3PriorityLevelConfiguration.js'; -export * from '../models/V1beta3PriorityLevelConfigurationCondition.js'; -export * from '../models/V1beta3PriorityLevelConfigurationList.js'; -export * from '../models/V1beta3PriorityLevelConfigurationReference.js'; -export * from '../models/V1beta3PriorityLevelConfigurationSpec.js'; -export * from '../models/V1beta3PriorityLevelConfigurationStatus.js'; -export * from '../models/V1beta3QueuingConfiguration.js'; -export * from '../models/V1beta3ResourcePolicyRule.js'; -export * from '../models/V1beta3ServiceAccountSubject.js'; -export * from '../models/V1beta3Subject.js'; -export * from '../models/V1beta3UserSubject.js'; -export * from '../models/V2ContainerResourceMetricSource.js'; -export * from '../models/V2ContainerResourceMetricStatus.js'; -export * from '../models/V2CrossVersionObjectReference.js'; -export * from '../models/V2ExternalMetricSource.js'; -export * from '../models/V2ExternalMetricStatus.js'; -export * from '../models/V2HPAScalingPolicy.js'; -export * from '../models/V2HPAScalingRules.js'; -export * from '../models/V2HorizontalPodAutoscaler.js'; -export * from '../models/V2HorizontalPodAutoscalerBehavior.js'; -export * from '../models/V2HorizontalPodAutoscalerCondition.js'; -export * from '../models/V2HorizontalPodAutoscalerList.js'; -export * from '../models/V2HorizontalPodAutoscalerSpec.js'; -export * from '../models/V2HorizontalPodAutoscalerStatus.js'; -export * from '../models/V2MetricIdentifier.js'; -export * from '../models/V2MetricSpec.js'; -export * from '../models/V2MetricStatus.js'; -export * from '../models/V2MetricTarget.js'; -export * from '../models/V2MetricValueStatus.js'; -export * from '../models/V2ObjectMetricSource.js'; -export * from '../models/V2ObjectMetricStatus.js'; -export * from '../models/V2PodsMetricSource.js'; -export * from '../models/V2PodsMetricStatus.js'; -export * from '../models/V2ResourceMetricSource.js'; -export * from '../models/V2ResourceMetricStatus.js'; -export * from '../models/VersionInfo.js'; +export * from '../models/AdmissionregistrationV1ServiceReference'; +export * from '../models/AdmissionregistrationV1WebhookClientConfig'; +export * from '../models/ApiextensionsV1ServiceReference'; +export * from '../models/ApiextensionsV1WebhookClientConfig'; +export * from '../models/ApiregistrationV1ServiceReference'; +export * from '../models/AuthenticationV1TokenRequest'; +export * from '../models/CoreV1EndpointPort'; +export * from '../models/CoreV1Event'; +export * from '../models/CoreV1EventList'; +export * from '../models/CoreV1EventSeries'; +export * from '../models/DiscoveryV1EndpointPort'; +export * from '../models/EventsV1Event'; +export * from '../models/EventsV1EventList'; +export * from '../models/EventsV1EventSeries'; +export * from '../models/FlowcontrolV1Subject'; +export * from '../models/RbacV1Subject'; +export * from '../models/StorageV1TokenRequest'; +export * from '../models/V1APIGroup'; +export * from '../models/V1APIGroupList'; +export * from '../models/V1APIResource'; +export * from '../models/V1APIResourceList'; +export * from '../models/V1APIService'; +export * from '../models/V1APIServiceCondition'; +export * from '../models/V1APIServiceList'; +export * from '../models/V1APIServiceSpec'; +export * from '../models/V1APIServiceStatus'; +export * from '../models/V1APIVersions'; +export * from '../models/V1AWSElasticBlockStoreVolumeSource'; +export * from '../models/V1Affinity'; +export * from '../models/V1AggregationRule'; +export * from '../models/V1AppArmorProfile'; +export * from '../models/V1AttachedVolume'; +export * from '../models/V1AuditAnnotation'; +export * from '../models/V1AzureDiskVolumeSource'; +export * from '../models/V1AzureFilePersistentVolumeSource'; +export * from '../models/V1AzureFileVolumeSource'; +export * from '../models/V1Binding'; +export * from '../models/V1BoundObjectReference'; +export * from '../models/V1CSIDriver'; +export * from '../models/V1CSIDriverList'; +export * from '../models/V1CSIDriverSpec'; +export * from '../models/V1CSINode'; +export * from '../models/V1CSINodeDriver'; +export * from '../models/V1CSINodeList'; +export * from '../models/V1CSINodeSpec'; +export * from '../models/V1CSIPersistentVolumeSource'; +export * from '../models/V1CSIStorageCapacity'; +export * from '../models/V1CSIStorageCapacityList'; +export * from '../models/V1CSIVolumeSource'; +export * from '../models/V1Capabilities'; +export * from '../models/V1CephFSPersistentVolumeSource'; +export * from '../models/V1CephFSVolumeSource'; +export * from '../models/V1CertificateSigningRequest'; +export * from '../models/V1CertificateSigningRequestCondition'; +export * from '../models/V1CertificateSigningRequestList'; +export * from '../models/V1CertificateSigningRequestSpec'; +export * from '../models/V1CertificateSigningRequestStatus'; +export * from '../models/V1CinderPersistentVolumeSource'; +export * from '../models/V1CinderVolumeSource'; +export * from '../models/V1ClientIPConfig'; +export * from '../models/V1ClusterRole'; +export * from '../models/V1ClusterRoleBinding'; +export * from '../models/V1ClusterRoleBindingList'; +export * from '../models/V1ClusterRoleList'; +export * from '../models/V1ClusterTrustBundleProjection'; +export * from '../models/V1ComponentCondition'; +export * from '../models/V1ComponentStatus'; +export * from '../models/V1ComponentStatusList'; +export * from '../models/V1Condition'; +export * from '../models/V1ConfigMap'; +export * from '../models/V1ConfigMapEnvSource'; +export * from '../models/V1ConfigMapKeySelector'; +export * from '../models/V1ConfigMapList'; +export * from '../models/V1ConfigMapNodeConfigSource'; +export * from '../models/V1ConfigMapProjection'; +export * from '../models/V1ConfigMapVolumeSource'; +export * from '../models/V1Container'; +export * from '../models/V1ContainerImage'; +export * from '../models/V1ContainerPort'; +export * from '../models/V1ContainerResizePolicy'; +export * from '../models/V1ContainerState'; +export * from '../models/V1ContainerStateRunning'; +export * from '../models/V1ContainerStateTerminated'; +export * from '../models/V1ContainerStateWaiting'; +export * from '../models/V1ContainerStatus'; +export * from '../models/V1ContainerUser'; +export * from '../models/V1ControllerRevision'; +export * from '../models/V1ControllerRevisionList'; +export * from '../models/V1CronJob'; +export * from '../models/V1CronJobList'; +export * from '../models/V1CronJobSpec'; +export * from '../models/V1CronJobStatus'; +export * from '../models/V1CrossVersionObjectReference'; +export * from '../models/V1CustomResourceColumnDefinition'; +export * from '../models/V1CustomResourceConversion'; +export * from '../models/V1CustomResourceDefinition'; +export * from '../models/V1CustomResourceDefinitionCondition'; +export * from '../models/V1CustomResourceDefinitionList'; +export * from '../models/V1CustomResourceDefinitionNames'; +export * from '../models/V1CustomResourceDefinitionSpec'; +export * from '../models/V1CustomResourceDefinitionStatus'; +export * from '../models/V1CustomResourceDefinitionVersion'; +export * from '../models/V1CustomResourceSubresourceScale'; +export * from '../models/V1CustomResourceSubresources'; +export * from '../models/V1CustomResourceValidation'; +export * from '../models/V1DaemonEndpoint'; +export * from '../models/V1DaemonSet'; +export * from '../models/V1DaemonSetCondition'; +export * from '../models/V1DaemonSetList'; +export * from '../models/V1DaemonSetSpec'; +export * from '../models/V1DaemonSetStatus'; +export * from '../models/V1DaemonSetUpdateStrategy'; +export * from '../models/V1DeleteOptions'; +export * from '../models/V1Deployment'; +export * from '../models/V1DeploymentCondition'; +export * from '../models/V1DeploymentList'; +export * from '../models/V1DeploymentSpec'; +export * from '../models/V1DeploymentStatus'; +export * from '../models/V1DeploymentStrategy'; +export * from '../models/V1DownwardAPIProjection'; +export * from '../models/V1DownwardAPIVolumeFile'; +export * from '../models/V1DownwardAPIVolumeSource'; +export * from '../models/V1EmptyDirVolumeSource'; +export * from '../models/V1Endpoint'; +export * from '../models/V1EndpointAddress'; +export * from '../models/V1EndpointConditions'; +export * from '../models/V1EndpointHints'; +export * from '../models/V1EndpointSlice'; +export * from '../models/V1EndpointSliceList'; +export * from '../models/V1EndpointSubset'; +export * from '../models/V1Endpoints'; +export * from '../models/V1EndpointsList'; +export * from '../models/V1EnvFromSource'; +export * from '../models/V1EnvVar'; +export * from '../models/V1EnvVarSource'; +export * from '../models/V1EphemeralContainer'; +export * from '../models/V1EphemeralVolumeSource'; +export * from '../models/V1EventSource'; +export * from '../models/V1Eviction'; +export * from '../models/V1ExecAction'; +export * from '../models/V1ExemptPriorityLevelConfiguration'; +export * from '../models/V1ExpressionWarning'; +export * from '../models/V1ExternalDocumentation'; +export * from '../models/V1FCVolumeSource'; +export * from '../models/V1FieldSelectorAttributes'; +export * from '../models/V1FieldSelectorRequirement'; +export * from '../models/V1FlexPersistentVolumeSource'; +export * from '../models/V1FlexVolumeSource'; +export * from '../models/V1FlockerVolumeSource'; +export * from '../models/V1FlowDistinguisherMethod'; +export * from '../models/V1FlowSchema'; +export * from '../models/V1FlowSchemaCondition'; +export * from '../models/V1FlowSchemaList'; +export * from '../models/V1FlowSchemaSpec'; +export * from '../models/V1FlowSchemaStatus'; +export * from '../models/V1ForZone'; +export * from '../models/V1GCEPersistentDiskVolumeSource'; +export * from '../models/V1GRPCAction'; +export * from '../models/V1GitRepoVolumeSource'; +export * from '../models/V1GlusterfsPersistentVolumeSource'; +export * from '../models/V1GlusterfsVolumeSource'; +export * from '../models/V1GroupSubject'; +export * from '../models/V1GroupVersionForDiscovery'; +export * from '../models/V1HTTPGetAction'; +export * from '../models/V1HTTPHeader'; +export * from '../models/V1HTTPIngressPath'; +export * from '../models/V1HTTPIngressRuleValue'; +export * from '../models/V1HorizontalPodAutoscaler'; +export * from '../models/V1HorizontalPodAutoscalerList'; +export * from '../models/V1HorizontalPodAutoscalerSpec'; +export * from '../models/V1HorizontalPodAutoscalerStatus'; +export * from '../models/V1HostAlias'; +export * from '../models/V1HostIP'; +export * from '../models/V1HostPathVolumeSource'; +export * from '../models/V1IPBlock'; +export * from '../models/V1ISCSIPersistentVolumeSource'; +export * from '../models/V1ISCSIVolumeSource'; +export * from '../models/V1ImageVolumeSource'; +export * from '../models/V1Ingress'; +export * from '../models/V1IngressBackend'; +export * from '../models/V1IngressClass'; +export * from '../models/V1IngressClassList'; +export * from '../models/V1IngressClassParametersReference'; +export * from '../models/V1IngressClassSpec'; +export * from '../models/V1IngressList'; +export * from '../models/V1IngressLoadBalancerIngress'; +export * from '../models/V1IngressLoadBalancerStatus'; +export * from '../models/V1IngressPortStatus'; +export * from '../models/V1IngressRule'; +export * from '../models/V1IngressServiceBackend'; +export * from '../models/V1IngressSpec'; +export * from '../models/V1IngressStatus'; +export * from '../models/V1IngressTLS'; +export * from '../models/V1JSONSchemaProps'; +export * from '../models/V1Job'; +export * from '../models/V1JobCondition'; +export * from '../models/V1JobList'; +export * from '../models/V1JobSpec'; +export * from '../models/V1JobStatus'; +export * from '../models/V1JobTemplateSpec'; +export * from '../models/V1KeyToPath'; +export * from '../models/V1LabelSelector'; +export * from '../models/V1LabelSelectorAttributes'; +export * from '../models/V1LabelSelectorRequirement'; +export * from '../models/V1Lease'; +export * from '../models/V1LeaseList'; +export * from '../models/V1LeaseSpec'; +export * from '../models/V1Lifecycle'; +export * from '../models/V1LifecycleHandler'; +export * from '../models/V1LimitRange'; +export * from '../models/V1LimitRangeItem'; +export * from '../models/V1LimitRangeList'; +export * from '../models/V1LimitRangeSpec'; +export * from '../models/V1LimitResponse'; +export * from '../models/V1LimitedPriorityLevelConfiguration'; +export * from '../models/V1LinuxContainerUser'; +export * from '../models/V1ListMeta'; +export * from '../models/V1LoadBalancerIngress'; +export * from '../models/V1LoadBalancerStatus'; +export * from '../models/V1LocalObjectReference'; +export * from '../models/V1LocalSubjectAccessReview'; +export * from '../models/V1LocalVolumeSource'; +export * from '../models/V1ManagedFieldsEntry'; +export * from '../models/V1MatchCondition'; +export * from '../models/V1MatchResources'; +export * from '../models/V1ModifyVolumeStatus'; +export * from '../models/V1MutatingWebhook'; +export * from '../models/V1MutatingWebhookConfiguration'; +export * from '../models/V1MutatingWebhookConfigurationList'; +export * from '../models/V1NFSVolumeSource'; +export * from '../models/V1NamedRuleWithOperations'; +export * from '../models/V1Namespace'; +export * from '../models/V1NamespaceCondition'; +export * from '../models/V1NamespaceList'; +export * from '../models/V1NamespaceSpec'; +export * from '../models/V1NamespaceStatus'; +export * from '../models/V1NetworkPolicy'; +export * from '../models/V1NetworkPolicyEgressRule'; +export * from '../models/V1NetworkPolicyIngressRule'; +export * from '../models/V1NetworkPolicyList'; +export * from '../models/V1NetworkPolicyPeer'; +export * from '../models/V1NetworkPolicyPort'; +export * from '../models/V1NetworkPolicySpec'; +export * from '../models/V1Node'; +export * from '../models/V1NodeAddress'; +export * from '../models/V1NodeAffinity'; +export * from '../models/V1NodeCondition'; +export * from '../models/V1NodeConfigSource'; +export * from '../models/V1NodeConfigStatus'; +export * from '../models/V1NodeDaemonEndpoints'; +export * from '../models/V1NodeFeatures'; +export * from '../models/V1NodeList'; +export * from '../models/V1NodeRuntimeHandler'; +export * from '../models/V1NodeRuntimeHandlerFeatures'; +export * from '../models/V1NodeSelector'; +export * from '../models/V1NodeSelectorRequirement'; +export * from '../models/V1NodeSelectorTerm'; +export * from '../models/V1NodeSpec'; +export * from '../models/V1NodeStatus'; +export * from '../models/V1NodeSystemInfo'; +export * from '../models/V1NonResourceAttributes'; +export * from '../models/V1NonResourcePolicyRule'; +export * from '../models/V1NonResourceRule'; +export * from '../models/V1ObjectFieldSelector'; +export * from '../models/V1ObjectMeta'; +export * from '../models/V1ObjectReference'; +export * from '../models/V1Overhead'; +export * from '../models/V1OwnerReference'; +export * from '../models/V1ParamKind'; +export * from '../models/V1ParamRef'; +export * from '../models/V1PersistentVolume'; +export * from '../models/V1PersistentVolumeClaim'; +export * from '../models/V1PersistentVolumeClaimCondition'; +export * from '../models/V1PersistentVolumeClaimList'; +export * from '../models/V1PersistentVolumeClaimSpec'; +export * from '../models/V1PersistentVolumeClaimStatus'; +export * from '../models/V1PersistentVolumeClaimTemplate'; +export * from '../models/V1PersistentVolumeClaimVolumeSource'; +export * from '../models/V1PersistentVolumeList'; +export * from '../models/V1PersistentVolumeSpec'; +export * from '../models/V1PersistentVolumeStatus'; +export * from '../models/V1PhotonPersistentDiskVolumeSource'; +export * from '../models/V1Pod'; +export * from '../models/V1PodAffinity'; +export * from '../models/V1PodAffinityTerm'; +export * from '../models/V1PodAntiAffinity'; +export * from '../models/V1PodCondition'; +export * from '../models/V1PodDNSConfig'; +export * from '../models/V1PodDNSConfigOption'; +export * from '../models/V1PodDisruptionBudget'; +export * from '../models/V1PodDisruptionBudgetList'; +export * from '../models/V1PodDisruptionBudgetSpec'; +export * from '../models/V1PodDisruptionBudgetStatus'; +export * from '../models/V1PodFailurePolicy'; +export * from '../models/V1PodFailurePolicyOnExitCodesRequirement'; +export * from '../models/V1PodFailurePolicyOnPodConditionsPattern'; +export * from '../models/V1PodFailurePolicyRule'; +export * from '../models/V1PodIP'; +export * from '../models/V1PodList'; +export * from '../models/V1PodOS'; +export * from '../models/V1PodReadinessGate'; +export * from '../models/V1PodResourceClaim'; +export * from '../models/V1PodResourceClaimStatus'; +export * from '../models/V1PodSchedulingGate'; +export * from '../models/V1PodSecurityContext'; +export * from '../models/V1PodSpec'; +export * from '../models/V1PodStatus'; +export * from '../models/V1PodTemplate'; +export * from '../models/V1PodTemplateList'; +export * from '../models/V1PodTemplateSpec'; +export * from '../models/V1PolicyRule'; +export * from '../models/V1PolicyRulesWithSubjects'; +export * from '../models/V1PortStatus'; +export * from '../models/V1PortworxVolumeSource'; +export * from '../models/V1Preconditions'; +export * from '../models/V1PreferredSchedulingTerm'; +export * from '../models/V1PriorityClass'; +export * from '../models/V1PriorityClassList'; +export * from '../models/V1PriorityLevelConfiguration'; +export * from '../models/V1PriorityLevelConfigurationCondition'; +export * from '../models/V1PriorityLevelConfigurationList'; +export * from '../models/V1PriorityLevelConfigurationReference'; +export * from '../models/V1PriorityLevelConfigurationSpec'; +export * from '../models/V1PriorityLevelConfigurationStatus'; +export * from '../models/V1Probe'; +export * from '../models/V1ProjectedVolumeSource'; +export * from '../models/V1QueuingConfiguration'; +export * from '../models/V1QuobyteVolumeSource'; +export * from '../models/V1RBDPersistentVolumeSource'; +export * from '../models/V1RBDVolumeSource'; +export * from '../models/V1ReplicaSet'; +export * from '../models/V1ReplicaSetCondition'; +export * from '../models/V1ReplicaSetList'; +export * from '../models/V1ReplicaSetSpec'; +export * from '../models/V1ReplicaSetStatus'; +export * from '../models/V1ReplicationController'; +export * from '../models/V1ReplicationControllerCondition'; +export * from '../models/V1ReplicationControllerList'; +export * from '../models/V1ReplicationControllerSpec'; +export * from '../models/V1ReplicationControllerStatus'; +export * from '../models/V1ResourceAttributes'; +export * from '../models/V1ResourceClaim'; +export * from '../models/V1ResourceFieldSelector'; +export * from '../models/V1ResourceHealth'; +export * from '../models/V1ResourcePolicyRule'; +export * from '../models/V1ResourceQuota'; +export * from '../models/V1ResourceQuotaList'; +export * from '../models/V1ResourceQuotaSpec'; +export * from '../models/V1ResourceQuotaStatus'; +export * from '../models/V1ResourceRequirements'; +export * from '../models/V1ResourceRule'; +export * from '../models/V1ResourceStatus'; +export * from '../models/V1Role'; +export * from '../models/V1RoleBinding'; +export * from '../models/V1RoleBindingList'; +export * from '../models/V1RoleList'; +export * from '../models/V1RoleRef'; +export * from '../models/V1RollingUpdateDaemonSet'; +export * from '../models/V1RollingUpdateDeployment'; +export * from '../models/V1RollingUpdateStatefulSetStrategy'; +export * from '../models/V1RuleWithOperations'; +export * from '../models/V1RuntimeClass'; +export * from '../models/V1RuntimeClassList'; +export * from '../models/V1SELinuxOptions'; +export * from '../models/V1Scale'; +export * from '../models/V1ScaleIOPersistentVolumeSource'; +export * from '../models/V1ScaleIOVolumeSource'; +export * from '../models/V1ScaleSpec'; +export * from '../models/V1ScaleStatus'; +export * from '../models/V1Scheduling'; +export * from '../models/V1ScopeSelector'; +export * from '../models/V1ScopedResourceSelectorRequirement'; +export * from '../models/V1SeccompProfile'; +export * from '../models/V1Secret'; +export * from '../models/V1SecretEnvSource'; +export * from '../models/V1SecretKeySelector'; +export * from '../models/V1SecretList'; +export * from '../models/V1SecretProjection'; +export * from '../models/V1SecretReference'; +export * from '../models/V1SecretVolumeSource'; +export * from '../models/V1SecurityContext'; +export * from '../models/V1SelectableField'; +export * from '../models/V1SelfSubjectAccessReview'; +export * from '../models/V1SelfSubjectAccessReviewSpec'; +export * from '../models/V1SelfSubjectReview'; +export * from '../models/V1SelfSubjectReviewStatus'; +export * from '../models/V1SelfSubjectRulesReview'; +export * from '../models/V1SelfSubjectRulesReviewSpec'; +export * from '../models/V1ServerAddressByClientCIDR'; +export * from '../models/V1Service'; +export * from '../models/V1ServiceAccount'; +export * from '../models/V1ServiceAccountList'; +export * from '../models/V1ServiceAccountSubject'; +export * from '../models/V1ServiceAccountTokenProjection'; +export * from '../models/V1ServiceBackendPort'; +export * from '../models/V1ServiceList'; +export * from '../models/V1ServicePort'; +export * from '../models/V1ServiceSpec'; +export * from '../models/V1ServiceStatus'; +export * from '../models/V1SessionAffinityConfig'; +export * from '../models/V1SleepAction'; +export * from '../models/V1StatefulSet'; +export * from '../models/V1StatefulSetCondition'; +export * from '../models/V1StatefulSetList'; +export * from '../models/V1StatefulSetOrdinals'; +export * from '../models/V1StatefulSetPersistentVolumeClaimRetentionPolicy'; +export * from '../models/V1StatefulSetSpec'; +export * from '../models/V1StatefulSetStatus'; +export * from '../models/V1StatefulSetUpdateStrategy'; +export * from '../models/V1Status'; +export * from '../models/V1StatusCause'; +export * from '../models/V1StatusDetails'; +export * from '../models/V1StorageClass'; +export * from '../models/V1StorageClassList'; +export * from '../models/V1StorageOSPersistentVolumeSource'; +export * from '../models/V1StorageOSVolumeSource'; +export * from '../models/V1SubjectAccessReview'; +export * from '../models/V1SubjectAccessReviewSpec'; +export * from '../models/V1SubjectAccessReviewStatus'; +export * from '../models/V1SubjectRulesReviewStatus'; +export * from '../models/V1SuccessPolicy'; +export * from '../models/V1SuccessPolicyRule'; +export * from '../models/V1Sysctl'; +export * from '../models/V1TCPSocketAction'; +export * from '../models/V1Taint'; +export * from '../models/V1TokenRequestSpec'; +export * from '../models/V1TokenRequestStatus'; +export * from '../models/V1TokenReview'; +export * from '../models/V1TokenReviewSpec'; +export * from '../models/V1TokenReviewStatus'; +export * from '../models/V1Toleration'; +export * from '../models/V1TopologySelectorLabelRequirement'; +export * from '../models/V1TopologySelectorTerm'; +export * from '../models/V1TopologySpreadConstraint'; +export * from '../models/V1TypeChecking'; +export * from '../models/V1TypedLocalObjectReference'; +export * from '../models/V1TypedObjectReference'; +export * from '../models/V1UncountedTerminatedPods'; +export * from '../models/V1UserInfo'; +export * from '../models/V1UserSubject'; +export * from '../models/V1ValidatingAdmissionPolicy'; +export * from '../models/V1ValidatingAdmissionPolicyBinding'; +export * from '../models/V1ValidatingAdmissionPolicyBindingList'; +export * from '../models/V1ValidatingAdmissionPolicyBindingSpec'; +export * from '../models/V1ValidatingAdmissionPolicyList'; +export * from '../models/V1ValidatingAdmissionPolicySpec'; +export * from '../models/V1ValidatingAdmissionPolicyStatus'; +export * from '../models/V1ValidatingWebhook'; +export * from '../models/V1ValidatingWebhookConfiguration'; +export * from '../models/V1ValidatingWebhookConfigurationList'; +export * from '../models/V1Validation'; +export * from '../models/V1ValidationRule'; +export * from '../models/V1Variable'; +export * from '../models/V1Volume'; +export * from '../models/V1VolumeAttachment'; +export * from '../models/V1VolumeAttachmentList'; +export * from '../models/V1VolumeAttachmentSource'; +export * from '../models/V1VolumeAttachmentSpec'; +export * from '../models/V1VolumeAttachmentStatus'; +export * from '../models/V1VolumeDevice'; +export * from '../models/V1VolumeError'; +export * from '../models/V1VolumeMount'; +export * from '../models/V1VolumeMountStatus'; +export * from '../models/V1VolumeNodeAffinity'; +export * from '../models/V1VolumeNodeResources'; +export * from '../models/V1VolumeProjection'; +export * from '../models/V1VolumeResourceRequirements'; +export * from '../models/V1VsphereVirtualDiskVolumeSource'; +export * from '../models/V1WatchEvent'; +export * from '../models/V1WebhookConversion'; +export * from '../models/V1WeightedPodAffinityTerm'; +export * from '../models/V1WindowsSecurityContextOptions'; +export * from '../models/V1alpha1ApplyConfiguration'; +export * from '../models/V1alpha1ClusterTrustBundle'; +export * from '../models/V1alpha1ClusterTrustBundleList'; +export * from '../models/V1alpha1ClusterTrustBundleSpec'; +export * from '../models/V1alpha1GroupVersionResource'; +export * from '../models/V1alpha1JSONPatch'; +export * from '../models/V1alpha1MatchCondition'; +export * from '../models/V1alpha1MatchResources'; +export * from '../models/V1alpha1MigrationCondition'; +export * from '../models/V1alpha1MutatingAdmissionPolicy'; +export * from '../models/V1alpha1MutatingAdmissionPolicyBinding'; +export * from '../models/V1alpha1MutatingAdmissionPolicyBindingList'; +export * from '../models/V1alpha1MutatingAdmissionPolicyBindingSpec'; +export * from '../models/V1alpha1MutatingAdmissionPolicyList'; +export * from '../models/V1alpha1MutatingAdmissionPolicySpec'; +export * from '../models/V1alpha1Mutation'; +export * from '../models/V1alpha1NamedRuleWithOperations'; +export * from '../models/V1alpha1ParamKind'; +export * from '../models/V1alpha1ParamRef'; +export * from '../models/V1alpha1ServerStorageVersion'; +export * from '../models/V1alpha1StorageVersion'; +export * from '../models/V1alpha1StorageVersionCondition'; +export * from '../models/V1alpha1StorageVersionList'; +export * from '../models/V1alpha1StorageVersionMigration'; +export * from '../models/V1alpha1StorageVersionMigrationList'; +export * from '../models/V1alpha1StorageVersionMigrationSpec'; +export * from '../models/V1alpha1StorageVersionMigrationStatus'; +export * from '../models/V1alpha1StorageVersionStatus'; +export * from '../models/V1alpha1Variable'; +export * from '../models/V1alpha1VolumeAttributesClass'; +export * from '../models/V1alpha1VolumeAttributesClassList'; +export * from '../models/V1alpha2LeaseCandidate'; +export * from '../models/V1alpha2LeaseCandidateList'; +export * from '../models/V1alpha2LeaseCandidateSpec'; +export * from '../models/V1alpha3AllocatedDeviceStatus'; +export * from '../models/V1alpha3AllocationResult'; +export * from '../models/V1alpha3BasicDevice'; +export * from '../models/V1alpha3CELDeviceSelector'; +export * from '../models/V1alpha3Device'; +export * from '../models/V1alpha3DeviceAllocationConfiguration'; +export * from '../models/V1alpha3DeviceAllocationResult'; +export * from '../models/V1alpha3DeviceAttribute'; +export * from '../models/V1alpha3DeviceClaim'; +export * from '../models/V1alpha3DeviceClaimConfiguration'; +export * from '../models/V1alpha3DeviceClass'; +export * from '../models/V1alpha3DeviceClassConfiguration'; +export * from '../models/V1alpha3DeviceClassList'; +export * from '../models/V1alpha3DeviceClassSpec'; +export * from '../models/V1alpha3DeviceConstraint'; +export * from '../models/V1alpha3DeviceRequest'; +export * from '../models/V1alpha3DeviceRequestAllocationResult'; +export * from '../models/V1alpha3DeviceSelector'; +export * from '../models/V1alpha3NetworkDeviceData'; +export * from '../models/V1alpha3OpaqueDeviceConfiguration'; +export * from '../models/V1alpha3ResourceClaim'; +export * from '../models/V1alpha3ResourceClaimConsumerReference'; +export * from '../models/V1alpha3ResourceClaimList'; +export * from '../models/V1alpha3ResourceClaimSpec'; +export * from '../models/V1alpha3ResourceClaimStatus'; +export * from '../models/V1alpha3ResourceClaimTemplate'; +export * from '../models/V1alpha3ResourceClaimTemplateList'; +export * from '../models/V1alpha3ResourceClaimTemplateSpec'; +export * from '../models/V1alpha3ResourcePool'; +export * from '../models/V1alpha3ResourceSlice'; +export * from '../models/V1alpha3ResourceSliceList'; +export * from '../models/V1alpha3ResourceSliceSpec'; +export * from '../models/V1beta1AllocatedDeviceStatus'; +export * from '../models/V1beta1AllocationResult'; +export * from '../models/V1beta1AuditAnnotation'; +export * from '../models/V1beta1BasicDevice'; +export * from '../models/V1beta1CELDeviceSelector'; +export * from '../models/V1beta1Device'; +export * from '../models/V1beta1DeviceAllocationConfiguration'; +export * from '../models/V1beta1DeviceAllocationResult'; +export * from '../models/V1beta1DeviceAttribute'; +export * from '../models/V1beta1DeviceCapacity'; +export * from '../models/V1beta1DeviceClaim'; +export * from '../models/V1beta1DeviceClaimConfiguration'; +export * from '../models/V1beta1DeviceClass'; +export * from '../models/V1beta1DeviceClassConfiguration'; +export * from '../models/V1beta1DeviceClassList'; +export * from '../models/V1beta1DeviceClassSpec'; +export * from '../models/V1beta1DeviceConstraint'; +export * from '../models/V1beta1DeviceRequest'; +export * from '../models/V1beta1DeviceRequestAllocationResult'; +export * from '../models/V1beta1DeviceSelector'; +export * from '../models/V1beta1ExpressionWarning'; +export * from '../models/V1beta1IPAddress'; +export * from '../models/V1beta1IPAddressList'; +export * from '../models/V1beta1IPAddressSpec'; +export * from '../models/V1beta1MatchCondition'; +export * from '../models/V1beta1MatchResources'; +export * from '../models/V1beta1NamedRuleWithOperations'; +export * from '../models/V1beta1NetworkDeviceData'; +export * from '../models/V1beta1OpaqueDeviceConfiguration'; +export * from '../models/V1beta1ParamKind'; +export * from '../models/V1beta1ParamRef'; +export * from '../models/V1beta1ParentReference'; +export * from '../models/V1beta1ResourceClaim'; +export * from '../models/V1beta1ResourceClaimConsumerReference'; +export * from '../models/V1beta1ResourceClaimList'; +export * from '../models/V1beta1ResourceClaimSpec'; +export * from '../models/V1beta1ResourceClaimStatus'; +export * from '../models/V1beta1ResourceClaimTemplate'; +export * from '../models/V1beta1ResourceClaimTemplateList'; +export * from '../models/V1beta1ResourceClaimTemplateSpec'; +export * from '../models/V1beta1ResourcePool'; +export * from '../models/V1beta1ResourceSlice'; +export * from '../models/V1beta1ResourceSliceList'; +export * from '../models/V1beta1ResourceSliceSpec'; +export * from '../models/V1beta1SelfSubjectReview'; +export * from '../models/V1beta1SelfSubjectReviewStatus'; +export * from '../models/V1beta1ServiceCIDR'; +export * from '../models/V1beta1ServiceCIDRList'; +export * from '../models/V1beta1ServiceCIDRSpec'; +export * from '../models/V1beta1ServiceCIDRStatus'; +export * from '../models/V1beta1TypeChecking'; +export * from '../models/V1beta1ValidatingAdmissionPolicy'; +export * from '../models/V1beta1ValidatingAdmissionPolicyBinding'; +export * from '../models/V1beta1ValidatingAdmissionPolicyBindingList'; +export * from '../models/V1beta1ValidatingAdmissionPolicyBindingSpec'; +export * from '../models/V1beta1ValidatingAdmissionPolicyList'; +export * from '../models/V1beta1ValidatingAdmissionPolicySpec'; +export * from '../models/V1beta1ValidatingAdmissionPolicyStatus'; +export * from '../models/V1beta1Validation'; +export * from '../models/V1beta1Variable'; +export * from '../models/V1beta1VolumeAttributesClass'; +export * from '../models/V1beta1VolumeAttributesClassList'; +export * from '../models/V2ContainerResourceMetricSource'; +export * from '../models/V2ContainerResourceMetricStatus'; +export * from '../models/V2CrossVersionObjectReference'; +export * from '../models/V2ExternalMetricSource'; +export * from '../models/V2ExternalMetricStatus'; +export * from '../models/V2HPAScalingPolicy'; +export * from '../models/V2HPAScalingRules'; +export * from '../models/V2HorizontalPodAutoscaler'; +export * from '../models/V2HorizontalPodAutoscalerBehavior'; +export * from '../models/V2HorizontalPodAutoscalerCondition'; +export * from '../models/V2HorizontalPodAutoscalerList'; +export * from '../models/V2HorizontalPodAutoscalerSpec'; +export * from '../models/V2HorizontalPodAutoscalerStatus'; +export * from '../models/V2MetricIdentifier'; +export * from '../models/V2MetricSpec'; +export * from '../models/V2MetricStatus'; +export * from '../models/V2MetricTarget'; +export * from '../models/V2MetricValueStatus'; +export * from '../models/V2ObjectMetricSource'; +export * from '../models/V2ObjectMetricStatus'; +export * from '../models/V2PodsMetricSource'; +export * from '../models/V2PodsMetricStatus'; +export * from '../models/V2ResourceMetricSource'; +export * from '../models/V2ResourceMetricStatus'; +export * from '../models/VersionInfo'; -import { AdmissionregistrationV1ServiceReference } from '../models/AdmissionregistrationV1ServiceReference.js'; -import { AdmissionregistrationV1WebhookClientConfig } from '../models/AdmissionregistrationV1WebhookClientConfig.js'; -import { ApiextensionsV1ServiceReference } from '../models/ApiextensionsV1ServiceReference.js'; -import { ApiextensionsV1WebhookClientConfig } from '../models/ApiextensionsV1WebhookClientConfig.js'; -import { ApiregistrationV1ServiceReference } from '../models/ApiregistrationV1ServiceReference.js'; -import { AuthenticationV1TokenRequest } from '../models/AuthenticationV1TokenRequest.js'; -import { CoreV1EndpointPort } from '../models/CoreV1EndpointPort.js'; -import { CoreV1Event } from '../models/CoreV1Event.js'; -import { CoreV1EventList } from '../models/CoreV1EventList.js'; -import { CoreV1EventSeries } from '../models/CoreV1EventSeries.js'; -import { DiscoveryV1EndpointPort } from '../models/DiscoveryV1EndpointPort.js'; -import { EventsV1Event } from '../models/EventsV1Event.js'; -import { EventsV1EventList } from '../models/EventsV1EventList.js'; -import { EventsV1EventSeries } from '../models/EventsV1EventSeries.js'; -import { FlowcontrolV1Subject } from '../models/FlowcontrolV1Subject.js'; -import { RbacV1Subject } from '../models/RbacV1Subject.js'; -import { StorageV1TokenRequest } from '../models/StorageV1TokenRequest.js'; -import { V1APIGroup } from '../models/V1APIGroup.js'; -import { V1APIGroupList } from '../models/V1APIGroupList.js'; -import { V1APIResource } from '../models/V1APIResource.js'; -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1APIService } from '../models/V1APIService.js'; -import { V1APIServiceCondition } from '../models/V1APIServiceCondition.js'; -import { V1APIServiceList } from '../models/V1APIServiceList.js'; -import { V1APIServiceSpec } from '../models/V1APIServiceSpec.js'; -import { V1APIServiceStatus } from '../models/V1APIServiceStatus.js'; -import { V1APIVersions } from '../models/V1APIVersions.js'; -import { V1AWSElasticBlockStoreVolumeSource } from '../models/V1AWSElasticBlockStoreVolumeSource.js'; -import { V1Affinity } from '../models/V1Affinity.js'; -import { V1AggregationRule } from '../models/V1AggregationRule.js'; -import { V1AppArmorProfile } from '../models/V1AppArmorProfile.js'; -import { V1AttachedVolume } from '../models/V1AttachedVolume.js'; -import { V1AuditAnnotation } from '../models/V1AuditAnnotation.js'; -import { V1AzureDiskVolumeSource } from '../models/V1AzureDiskVolumeSource.js'; -import { V1AzureFilePersistentVolumeSource } from '../models/V1AzureFilePersistentVolumeSource.js'; -import { V1AzureFileVolumeSource } from '../models/V1AzureFileVolumeSource.js'; -import { V1Binding } from '../models/V1Binding.js'; -import { V1BoundObjectReference } from '../models/V1BoundObjectReference.js'; -import { V1CSIDriver } from '../models/V1CSIDriver.js'; -import { V1CSIDriverList } from '../models/V1CSIDriverList.js'; -import { V1CSIDriverSpec } from '../models/V1CSIDriverSpec.js'; -import { V1CSINode } from '../models/V1CSINode.js'; -import { V1CSINodeDriver } from '../models/V1CSINodeDriver.js'; -import { V1CSINodeList } from '../models/V1CSINodeList.js'; -import { V1CSINodeSpec } from '../models/V1CSINodeSpec.js'; -import { V1CSIPersistentVolumeSource } from '../models/V1CSIPersistentVolumeSource.js'; -import { V1CSIStorageCapacity } from '../models/V1CSIStorageCapacity.js'; -import { V1CSIStorageCapacityList } from '../models/V1CSIStorageCapacityList.js'; -import { V1CSIVolumeSource } from '../models/V1CSIVolumeSource.js'; -import { V1Capabilities } from '../models/V1Capabilities.js'; -import { V1CephFSPersistentVolumeSource } from '../models/V1CephFSPersistentVolumeSource.js'; -import { V1CephFSVolumeSource } from '../models/V1CephFSVolumeSource.js'; -import { V1CertificateSigningRequest } from '../models/V1CertificateSigningRequest.js'; -import { V1CertificateSigningRequestCondition } from '../models/V1CertificateSigningRequestCondition.js'; -import { V1CertificateSigningRequestList } from '../models/V1CertificateSigningRequestList.js'; -import { V1CertificateSigningRequestSpec } from '../models/V1CertificateSigningRequestSpec.js'; -import { V1CertificateSigningRequestStatus } from '../models/V1CertificateSigningRequestStatus.js'; -import { V1CinderPersistentVolumeSource } from '../models/V1CinderPersistentVolumeSource.js'; -import { V1CinderVolumeSource } from '../models/V1CinderVolumeSource.js'; -import { V1ClaimSource } from '../models/V1ClaimSource.js'; -import { V1ClientIPConfig } from '../models/V1ClientIPConfig.js'; -import { V1ClusterRole } from '../models/V1ClusterRole.js'; -import { V1ClusterRoleBinding } from '../models/V1ClusterRoleBinding.js'; -import { V1ClusterRoleBindingList } from '../models/V1ClusterRoleBindingList.js'; -import { V1ClusterRoleList } from '../models/V1ClusterRoleList.js'; -import { V1ClusterTrustBundleProjection } from '../models/V1ClusterTrustBundleProjection.js'; -import { V1ComponentCondition } from '../models/V1ComponentCondition.js'; -import { V1ComponentStatus } from '../models/V1ComponentStatus.js'; -import { V1ComponentStatusList } from '../models/V1ComponentStatusList.js'; -import { V1Condition } from '../models/V1Condition.js'; -import { V1ConfigMap } from '../models/V1ConfigMap.js'; -import { V1ConfigMapEnvSource } from '../models/V1ConfigMapEnvSource.js'; -import { V1ConfigMapKeySelector } from '../models/V1ConfigMapKeySelector.js'; -import { V1ConfigMapList } from '../models/V1ConfigMapList.js'; -import { V1ConfigMapNodeConfigSource } from '../models/V1ConfigMapNodeConfigSource.js'; -import { V1ConfigMapProjection } from '../models/V1ConfigMapProjection.js'; -import { V1ConfigMapVolumeSource } from '../models/V1ConfigMapVolumeSource.js'; -import { V1Container } from '../models/V1Container.js'; -import { V1ContainerImage } from '../models/V1ContainerImage.js'; -import { V1ContainerPort } from '../models/V1ContainerPort.js'; -import { V1ContainerResizePolicy } from '../models/V1ContainerResizePolicy.js'; -import { V1ContainerState } from '../models/V1ContainerState.js'; -import { V1ContainerStateRunning } from '../models/V1ContainerStateRunning.js'; -import { V1ContainerStateTerminated } from '../models/V1ContainerStateTerminated.js'; -import { V1ContainerStateWaiting } from '../models/V1ContainerStateWaiting.js'; -import { V1ContainerStatus } from '../models/V1ContainerStatus.js'; -import { V1ControllerRevision } from '../models/V1ControllerRevision.js'; -import { V1ControllerRevisionList } from '../models/V1ControllerRevisionList.js'; -import { V1CronJob } from '../models/V1CronJob.js'; -import { V1CronJobList } from '../models/V1CronJobList.js'; -import { V1CronJobSpec } from '../models/V1CronJobSpec.js'; -import { V1CronJobStatus } from '../models/V1CronJobStatus.js'; -import { V1CrossVersionObjectReference } from '../models/V1CrossVersionObjectReference.js'; -import { V1CustomResourceColumnDefinition } from '../models/V1CustomResourceColumnDefinition.js'; -import { V1CustomResourceConversion } from '../models/V1CustomResourceConversion.js'; -import { V1CustomResourceDefinition } from '../models/V1CustomResourceDefinition.js'; -import { V1CustomResourceDefinitionCondition } from '../models/V1CustomResourceDefinitionCondition.js'; -import { V1CustomResourceDefinitionList } from '../models/V1CustomResourceDefinitionList.js'; -import { V1CustomResourceDefinitionNames } from '../models/V1CustomResourceDefinitionNames.js'; -import { V1CustomResourceDefinitionSpec } from '../models/V1CustomResourceDefinitionSpec.js'; -import { V1CustomResourceDefinitionStatus } from '../models/V1CustomResourceDefinitionStatus.js'; -import { V1CustomResourceDefinitionVersion } from '../models/V1CustomResourceDefinitionVersion.js'; -import { V1CustomResourceSubresourceScale } from '../models/V1CustomResourceSubresourceScale.js'; -import { V1CustomResourceSubresources } from '../models/V1CustomResourceSubresources.js'; -import { V1CustomResourceValidation } from '../models/V1CustomResourceValidation.js'; -import { V1DaemonEndpoint } from '../models/V1DaemonEndpoint.js'; -import { V1DaemonSet } from '../models/V1DaemonSet.js'; -import { V1DaemonSetCondition } from '../models/V1DaemonSetCondition.js'; -import { V1DaemonSetList } from '../models/V1DaemonSetList.js'; -import { V1DaemonSetSpec } from '../models/V1DaemonSetSpec.js'; -import { V1DaemonSetStatus } from '../models/V1DaemonSetStatus.js'; -import { V1DaemonSetUpdateStrategy } from '../models/V1DaemonSetUpdateStrategy.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1Deployment } from '../models/V1Deployment.js'; -import { V1DeploymentCondition } from '../models/V1DeploymentCondition.js'; -import { V1DeploymentList } from '../models/V1DeploymentList.js'; -import { V1DeploymentSpec } from '../models/V1DeploymentSpec.js'; -import { V1DeploymentStatus } from '../models/V1DeploymentStatus.js'; -import { V1DeploymentStrategy } from '../models/V1DeploymentStrategy.js'; -import { V1DownwardAPIProjection } from '../models/V1DownwardAPIProjection.js'; -import { V1DownwardAPIVolumeFile } from '../models/V1DownwardAPIVolumeFile.js'; -import { V1DownwardAPIVolumeSource } from '../models/V1DownwardAPIVolumeSource.js'; -import { V1EmptyDirVolumeSource } from '../models/V1EmptyDirVolumeSource.js'; -import { V1Endpoint } from '../models/V1Endpoint.js'; -import { V1EndpointAddress } from '../models/V1EndpointAddress.js'; -import { V1EndpointConditions } from '../models/V1EndpointConditions.js'; -import { V1EndpointHints } from '../models/V1EndpointHints.js'; -import { V1EndpointSlice } from '../models/V1EndpointSlice.js'; -import { V1EndpointSliceList } from '../models/V1EndpointSliceList.js'; -import { V1EndpointSubset } from '../models/V1EndpointSubset.js'; -import { V1Endpoints } from '../models/V1Endpoints.js'; -import { V1EndpointsList } from '../models/V1EndpointsList.js'; -import { V1EnvFromSource } from '../models/V1EnvFromSource.js'; -import { V1EnvVar } from '../models/V1EnvVar.js'; -import { V1EnvVarSource } from '../models/V1EnvVarSource.js'; -import { V1EphemeralContainer } from '../models/V1EphemeralContainer.js'; -import { V1EphemeralVolumeSource } from '../models/V1EphemeralVolumeSource.js'; -import { V1EventSource } from '../models/V1EventSource.js'; -import { V1Eviction } from '../models/V1Eviction.js'; -import { V1ExecAction } from '../models/V1ExecAction.js'; -import { V1ExemptPriorityLevelConfiguration } from '../models/V1ExemptPriorityLevelConfiguration.js'; -import { V1ExpressionWarning } from '../models/V1ExpressionWarning.js'; -import { V1ExternalDocumentation } from '../models/V1ExternalDocumentation.js'; -import { V1FCVolumeSource } from '../models/V1FCVolumeSource.js'; -import { V1FlexPersistentVolumeSource } from '../models/V1FlexPersistentVolumeSource.js'; -import { V1FlexVolumeSource } from '../models/V1FlexVolumeSource.js'; -import { V1FlockerVolumeSource } from '../models/V1FlockerVolumeSource.js'; -import { V1FlowDistinguisherMethod } from '../models/V1FlowDistinguisherMethod.js'; -import { V1FlowSchema } from '../models/V1FlowSchema.js'; -import { V1FlowSchemaCondition } from '../models/V1FlowSchemaCondition.js'; -import { V1FlowSchemaList } from '../models/V1FlowSchemaList.js'; -import { V1FlowSchemaSpec } from '../models/V1FlowSchemaSpec.js'; -import { V1FlowSchemaStatus } from '../models/V1FlowSchemaStatus.js'; -import { V1ForZone } from '../models/V1ForZone.js'; -import { V1GCEPersistentDiskVolumeSource } from '../models/V1GCEPersistentDiskVolumeSource.js'; -import { V1GRPCAction } from '../models/V1GRPCAction.js'; -import { V1GitRepoVolumeSource } from '../models/V1GitRepoVolumeSource.js'; -import { V1GlusterfsPersistentVolumeSource } from '../models/V1GlusterfsPersistentVolumeSource.js'; -import { V1GlusterfsVolumeSource } from '../models/V1GlusterfsVolumeSource.js'; -import { V1GroupSubject } from '../models/V1GroupSubject.js'; -import { V1GroupVersionForDiscovery } from '../models/V1GroupVersionForDiscovery.js'; -import { V1HTTPGetAction } from '../models/V1HTTPGetAction.js'; -import { V1HTTPHeader } from '../models/V1HTTPHeader.js'; -import { V1HTTPIngressPath } from '../models/V1HTTPIngressPath.js'; -import { V1HTTPIngressRuleValue } from '../models/V1HTTPIngressRuleValue.js'; -import { V1HorizontalPodAutoscaler } from '../models/V1HorizontalPodAutoscaler.js'; -import { V1HorizontalPodAutoscalerList } from '../models/V1HorizontalPodAutoscalerList.js'; -import { V1HorizontalPodAutoscalerSpec } from '../models/V1HorizontalPodAutoscalerSpec.js'; -import { V1HorizontalPodAutoscalerStatus } from '../models/V1HorizontalPodAutoscalerStatus.js'; -import { V1HostAlias } from '../models/V1HostAlias.js'; -import { V1HostIP } from '../models/V1HostIP.js'; -import { V1HostPathVolumeSource } from '../models/V1HostPathVolumeSource.js'; -import { V1IPBlock } from '../models/V1IPBlock.js'; -import { V1ISCSIPersistentVolumeSource } from '../models/V1ISCSIPersistentVolumeSource.js'; -import { V1ISCSIVolumeSource } from '../models/V1ISCSIVolumeSource.js'; -import { V1Ingress } from '../models/V1Ingress.js'; -import { V1IngressBackend } from '../models/V1IngressBackend.js'; -import { V1IngressClass } from '../models/V1IngressClass.js'; -import { V1IngressClassList } from '../models/V1IngressClassList.js'; -import { V1IngressClassParametersReference } from '../models/V1IngressClassParametersReference.js'; -import { V1IngressClassSpec } from '../models/V1IngressClassSpec.js'; -import { V1IngressList } from '../models/V1IngressList.js'; -import { V1IngressLoadBalancerIngress } from '../models/V1IngressLoadBalancerIngress.js'; -import { V1IngressLoadBalancerStatus } from '../models/V1IngressLoadBalancerStatus.js'; -import { V1IngressPortStatus } from '../models/V1IngressPortStatus.js'; -import { V1IngressRule } from '../models/V1IngressRule.js'; -import { V1IngressServiceBackend } from '../models/V1IngressServiceBackend.js'; -import { V1IngressSpec } from '../models/V1IngressSpec.js'; -import { V1IngressStatus } from '../models/V1IngressStatus.js'; -import { V1IngressTLS } from '../models/V1IngressTLS.js'; -import { V1JSONSchemaProps } from '../models/V1JSONSchemaProps.js'; -import { V1Job } from '../models/V1Job.js'; -import { V1JobCondition } from '../models/V1JobCondition.js'; -import { V1JobList } from '../models/V1JobList.js'; -import { V1JobSpec } from '../models/V1JobSpec.js'; -import { V1JobStatus } from '../models/V1JobStatus.js'; -import { V1JobTemplateSpec } from '../models/V1JobTemplateSpec.js'; -import { V1KeyToPath } from '../models/V1KeyToPath.js'; -import { V1LabelSelector } from '../models/V1LabelSelector.js'; -import { V1LabelSelectorRequirement } from '../models/V1LabelSelectorRequirement.js'; -import { V1Lease } from '../models/V1Lease.js'; -import { V1LeaseList } from '../models/V1LeaseList.js'; -import { V1LeaseSpec } from '../models/V1LeaseSpec.js'; -import { V1Lifecycle } from '../models/V1Lifecycle.js'; -import { V1LifecycleHandler } from '../models/V1LifecycleHandler.js'; -import { V1LimitRange } from '../models/V1LimitRange.js'; -import { V1LimitRangeItem } from '../models/V1LimitRangeItem.js'; -import { V1LimitRangeList } from '../models/V1LimitRangeList.js'; -import { V1LimitRangeSpec } from '../models/V1LimitRangeSpec.js'; -import { V1LimitResponse } from '../models/V1LimitResponse.js'; -import { V1LimitedPriorityLevelConfiguration } from '../models/V1LimitedPriorityLevelConfiguration.js'; -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1LoadBalancerIngress } from '../models/V1LoadBalancerIngress.js'; -import { V1LoadBalancerStatus } from '../models/V1LoadBalancerStatus.js'; -import { V1LocalObjectReference } from '../models/V1LocalObjectReference.js'; -import { V1LocalSubjectAccessReview } from '../models/V1LocalSubjectAccessReview.js'; -import { V1LocalVolumeSource } from '../models/V1LocalVolumeSource.js'; -import { V1ManagedFieldsEntry } from '../models/V1ManagedFieldsEntry.js'; -import { V1MatchCondition } from '../models/V1MatchCondition.js'; -import { V1MatchResources } from '../models/V1MatchResources.js'; -import { V1ModifyVolumeStatus } from '../models/V1ModifyVolumeStatus.js'; -import { V1MutatingWebhook } from '../models/V1MutatingWebhook.js'; -import { V1MutatingWebhookConfiguration } from '../models/V1MutatingWebhookConfiguration.js'; -import { V1MutatingWebhookConfigurationList } from '../models/V1MutatingWebhookConfigurationList.js'; -import { V1NFSVolumeSource } from '../models/V1NFSVolumeSource.js'; -import { V1NamedRuleWithOperations } from '../models/V1NamedRuleWithOperations.js'; -import { V1Namespace } from '../models/V1Namespace.js'; -import { V1NamespaceCondition } from '../models/V1NamespaceCondition.js'; -import { V1NamespaceList } from '../models/V1NamespaceList.js'; -import { V1NamespaceSpec } from '../models/V1NamespaceSpec.js'; -import { V1NamespaceStatus } from '../models/V1NamespaceStatus.js'; -import { V1NetworkPolicy } from '../models/V1NetworkPolicy.js'; -import { V1NetworkPolicyEgressRule } from '../models/V1NetworkPolicyEgressRule.js'; -import { V1NetworkPolicyIngressRule } from '../models/V1NetworkPolicyIngressRule.js'; -import { V1NetworkPolicyList } from '../models/V1NetworkPolicyList.js'; -import { V1NetworkPolicyPeer } from '../models/V1NetworkPolicyPeer.js'; -import { V1NetworkPolicyPort } from '../models/V1NetworkPolicyPort.js'; -import { V1NetworkPolicySpec } from '../models/V1NetworkPolicySpec.js'; -import { V1Node } from '../models/V1Node.js'; -import { V1NodeAddress } from '../models/V1NodeAddress.js'; -import { V1NodeAffinity } from '../models/V1NodeAffinity.js'; -import { V1NodeCondition } from '../models/V1NodeCondition.js'; -import { V1NodeConfigSource } from '../models/V1NodeConfigSource.js'; -import { V1NodeConfigStatus } from '../models/V1NodeConfigStatus.js'; -import { V1NodeDaemonEndpoints } from '../models/V1NodeDaemonEndpoints.js'; -import { V1NodeList } from '../models/V1NodeList.js'; -import { V1NodeRuntimeHandler } from '../models/V1NodeRuntimeHandler.js'; -import { V1NodeRuntimeHandlerFeatures } from '../models/V1NodeRuntimeHandlerFeatures.js'; -import { V1NodeSelector } from '../models/V1NodeSelector.js'; -import { V1NodeSelectorRequirement } from '../models/V1NodeSelectorRequirement.js'; -import { V1NodeSelectorTerm } from '../models/V1NodeSelectorTerm.js'; -import { V1NodeSpec } from '../models/V1NodeSpec.js'; -import { V1NodeStatus } from '../models/V1NodeStatus.js'; -import { V1NodeSystemInfo } from '../models/V1NodeSystemInfo.js'; -import { V1NonResourceAttributes } from '../models/V1NonResourceAttributes.js'; -import { V1NonResourcePolicyRule } from '../models/V1NonResourcePolicyRule.js'; -import { V1NonResourceRule } from '../models/V1NonResourceRule.js'; -import { V1ObjectFieldSelector } from '../models/V1ObjectFieldSelector.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1ObjectReference } from '../models/V1ObjectReference.js'; -import { V1Overhead } from '../models/V1Overhead.js'; -import { V1OwnerReference } from '../models/V1OwnerReference.js'; -import { V1ParamKind } from '../models/V1ParamKind.js'; -import { V1ParamRef } from '../models/V1ParamRef.js'; -import { V1PersistentVolume } from '../models/V1PersistentVolume.js'; -import { V1PersistentVolumeClaim } from '../models/V1PersistentVolumeClaim.js'; -import { V1PersistentVolumeClaimCondition } from '../models/V1PersistentVolumeClaimCondition.js'; -import { V1PersistentVolumeClaimList } from '../models/V1PersistentVolumeClaimList.js'; -import { V1PersistentVolumeClaimSpec } from '../models/V1PersistentVolumeClaimSpec.js'; -import { V1PersistentVolumeClaimStatus } from '../models/V1PersistentVolumeClaimStatus.js'; -import { V1PersistentVolumeClaimTemplate } from '../models/V1PersistentVolumeClaimTemplate.js'; -import { V1PersistentVolumeClaimVolumeSource } from '../models/V1PersistentVolumeClaimVolumeSource.js'; -import { V1PersistentVolumeList } from '../models/V1PersistentVolumeList.js'; -import { V1PersistentVolumeSpec } from '../models/V1PersistentVolumeSpec.js'; -import { V1PersistentVolumeStatus } from '../models/V1PersistentVolumeStatus.js'; -import { V1PhotonPersistentDiskVolumeSource } from '../models/V1PhotonPersistentDiskVolumeSource.js'; -import { V1Pod } from '../models/V1Pod.js'; -import { V1PodAffinity } from '../models/V1PodAffinity.js'; -import { V1PodAffinityTerm } from '../models/V1PodAffinityTerm.js'; -import { V1PodAntiAffinity } from '../models/V1PodAntiAffinity.js'; -import { V1PodCondition } from '../models/V1PodCondition.js'; -import { V1PodDNSConfig } from '../models/V1PodDNSConfig.js'; -import { V1PodDNSConfigOption } from '../models/V1PodDNSConfigOption.js'; -import { V1PodDisruptionBudget } from '../models/V1PodDisruptionBudget.js'; -import { V1PodDisruptionBudgetList } from '../models/V1PodDisruptionBudgetList.js'; -import { V1PodDisruptionBudgetSpec } from '../models/V1PodDisruptionBudgetSpec.js'; -import { V1PodDisruptionBudgetStatus } from '../models/V1PodDisruptionBudgetStatus.js'; -import { V1PodFailurePolicy } from '../models/V1PodFailurePolicy.js'; -import { V1PodFailurePolicyOnExitCodesRequirement } from '../models/V1PodFailurePolicyOnExitCodesRequirement.js'; -import { V1PodFailurePolicyOnPodConditionsPattern } from '../models/V1PodFailurePolicyOnPodConditionsPattern.js'; -import { V1PodFailurePolicyRule } from '../models/V1PodFailurePolicyRule.js'; -import { V1PodIP } from '../models/V1PodIP.js'; -import { V1PodList } from '../models/V1PodList.js'; -import { V1PodOS } from '../models/V1PodOS.js'; -import { V1PodReadinessGate } from '../models/V1PodReadinessGate.js'; -import { V1PodResourceClaim } from '../models/V1PodResourceClaim.js'; -import { V1PodResourceClaimStatus } from '../models/V1PodResourceClaimStatus.js'; -import { V1PodSchedulingGate } from '../models/V1PodSchedulingGate.js'; -import { V1PodSecurityContext } from '../models/V1PodSecurityContext.js'; -import { V1PodSpec } from '../models/V1PodSpec.js'; -import { V1PodStatus } from '../models/V1PodStatus.js'; -import { V1PodTemplate } from '../models/V1PodTemplate.js'; -import { V1PodTemplateList } from '../models/V1PodTemplateList.js'; -import { V1PodTemplateSpec } from '../models/V1PodTemplateSpec.js'; -import { V1PolicyRule } from '../models/V1PolicyRule.js'; -import { V1PolicyRulesWithSubjects } from '../models/V1PolicyRulesWithSubjects.js'; -import { V1PortStatus } from '../models/V1PortStatus.js'; -import { V1PortworxVolumeSource } from '../models/V1PortworxVolumeSource.js'; -import { V1Preconditions } from '../models/V1Preconditions.js'; -import { V1PreferredSchedulingTerm } from '../models/V1PreferredSchedulingTerm.js'; -import { V1PriorityClass } from '../models/V1PriorityClass.js'; -import { V1PriorityClassList } from '../models/V1PriorityClassList.js'; -import { V1PriorityLevelConfiguration } from '../models/V1PriorityLevelConfiguration.js'; -import { V1PriorityLevelConfigurationCondition } from '../models/V1PriorityLevelConfigurationCondition.js'; -import { V1PriorityLevelConfigurationList } from '../models/V1PriorityLevelConfigurationList.js'; -import { V1PriorityLevelConfigurationReference } from '../models/V1PriorityLevelConfigurationReference.js'; -import { V1PriorityLevelConfigurationSpec } from '../models/V1PriorityLevelConfigurationSpec.js'; -import { V1PriorityLevelConfigurationStatus } from '../models/V1PriorityLevelConfigurationStatus.js'; -import { V1Probe } from '../models/V1Probe.js'; -import { V1ProjectedVolumeSource } from '../models/V1ProjectedVolumeSource.js'; -import { V1QueuingConfiguration } from '../models/V1QueuingConfiguration.js'; -import { V1QuobyteVolumeSource } from '../models/V1QuobyteVolumeSource.js'; -import { V1RBDPersistentVolumeSource } from '../models/V1RBDPersistentVolumeSource.js'; -import { V1RBDVolumeSource } from '../models/V1RBDVolumeSource.js'; -import { V1ReplicaSet } from '../models/V1ReplicaSet.js'; -import { V1ReplicaSetCondition } from '../models/V1ReplicaSetCondition.js'; -import { V1ReplicaSetList } from '../models/V1ReplicaSetList.js'; -import { V1ReplicaSetSpec } from '../models/V1ReplicaSetSpec.js'; -import { V1ReplicaSetStatus } from '../models/V1ReplicaSetStatus.js'; -import { V1ReplicationController } from '../models/V1ReplicationController.js'; -import { V1ReplicationControllerCondition } from '../models/V1ReplicationControllerCondition.js'; -import { V1ReplicationControllerList } from '../models/V1ReplicationControllerList.js'; -import { V1ReplicationControllerSpec } from '../models/V1ReplicationControllerSpec.js'; -import { V1ReplicationControllerStatus } from '../models/V1ReplicationControllerStatus.js'; -import { V1ResourceAttributes } from '../models/V1ResourceAttributes.js'; -import { V1ResourceClaim } from '../models/V1ResourceClaim.js'; -import { V1ResourceFieldSelector } from '../models/V1ResourceFieldSelector.js'; -import { V1ResourcePolicyRule } from '../models/V1ResourcePolicyRule.js'; -import { V1ResourceQuota } from '../models/V1ResourceQuota.js'; -import { V1ResourceQuotaList } from '../models/V1ResourceQuotaList.js'; -import { V1ResourceQuotaSpec } from '../models/V1ResourceQuotaSpec.js'; -import { V1ResourceQuotaStatus } from '../models/V1ResourceQuotaStatus.js'; -import { V1ResourceRequirements } from '../models/V1ResourceRequirements.js'; -import { V1ResourceRule } from '../models/V1ResourceRule.js'; -import { V1Role } from '../models/V1Role.js'; -import { V1RoleBinding } from '../models/V1RoleBinding.js'; -import { V1RoleBindingList } from '../models/V1RoleBindingList.js'; -import { V1RoleList } from '../models/V1RoleList.js'; -import { V1RoleRef } from '../models/V1RoleRef.js'; -import { V1RollingUpdateDaemonSet } from '../models/V1RollingUpdateDaemonSet.js'; -import { V1RollingUpdateDeployment } from '../models/V1RollingUpdateDeployment.js'; -import { V1RollingUpdateStatefulSetStrategy } from '../models/V1RollingUpdateStatefulSetStrategy.js'; -import { V1RuleWithOperations } from '../models/V1RuleWithOperations.js'; -import { V1RuntimeClass } from '../models/V1RuntimeClass.js'; -import { V1RuntimeClassList } from '../models/V1RuntimeClassList.js'; -import { V1SELinuxOptions } from '../models/V1SELinuxOptions.js'; -import { V1Scale } from '../models/V1Scale.js'; -import { V1ScaleIOPersistentVolumeSource } from '../models/V1ScaleIOPersistentVolumeSource.js'; -import { V1ScaleIOVolumeSource } from '../models/V1ScaleIOVolumeSource.js'; -import { V1ScaleSpec } from '../models/V1ScaleSpec.js'; -import { V1ScaleStatus } from '../models/V1ScaleStatus.js'; -import { V1Scheduling } from '../models/V1Scheduling.js'; -import { V1ScopeSelector } from '../models/V1ScopeSelector.js'; -import { V1ScopedResourceSelectorRequirement } from '../models/V1ScopedResourceSelectorRequirement.js'; -import { V1SeccompProfile } from '../models/V1SeccompProfile.js'; -import { V1Secret } from '../models/V1Secret.js'; -import { V1SecretEnvSource } from '../models/V1SecretEnvSource.js'; -import { V1SecretKeySelector } from '../models/V1SecretKeySelector.js'; -import { V1SecretList } from '../models/V1SecretList.js'; -import { V1SecretProjection } from '../models/V1SecretProjection.js'; -import { V1SecretReference } from '../models/V1SecretReference.js'; -import { V1SecretVolumeSource } from '../models/V1SecretVolumeSource.js'; -import { V1SecurityContext } from '../models/V1SecurityContext.js'; -import { V1SelectableField } from '../models/V1SelectableField.js'; -import { V1SelfSubjectAccessReview } from '../models/V1SelfSubjectAccessReview.js'; -import { V1SelfSubjectAccessReviewSpec } from '../models/V1SelfSubjectAccessReviewSpec.js'; -import { V1SelfSubjectReview } from '../models/V1SelfSubjectReview.js'; -import { V1SelfSubjectReviewStatus } from '../models/V1SelfSubjectReviewStatus.js'; -import { V1SelfSubjectRulesReview } from '../models/V1SelfSubjectRulesReview.js'; -import { V1SelfSubjectRulesReviewSpec } from '../models/V1SelfSubjectRulesReviewSpec.js'; -import { V1ServerAddressByClientCIDR } from '../models/V1ServerAddressByClientCIDR.js'; -import { V1Service } from '../models/V1Service.js'; -import { V1ServiceAccount } from '../models/V1ServiceAccount.js'; -import { V1ServiceAccountList } from '../models/V1ServiceAccountList.js'; -import { V1ServiceAccountSubject } from '../models/V1ServiceAccountSubject.js'; -import { V1ServiceAccountTokenProjection } from '../models/V1ServiceAccountTokenProjection.js'; -import { V1ServiceBackendPort } from '../models/V1ServiceBackendPort.js'; -import { V1ServiceList } from '../models/V1ServiceList.js'; -import { V1ServicePort } from '../models/V1ServicePort.js'; -import { V1ServiceSpec } from '../models/V1ServiceSpec.js'; -import { V1ServiceStatus } from '../models/V1ServiceStatus.js'; -import { V1SessionAffinityConfig } from '../models/V1SessionAffinityConfig.js'; -import { V1SleepAction } from '../models/V1SleepAction.js'; -import { V1StatefulSet } from '../models/V1StatefulSet.js'; -import { V1StatefulSetCondition } from '../models/V1StatefulSetCondition.js'; -import { V1StatefulSetList } from '../models/V1StatefulSetList.js'; -import { V1StatefulSetOrdinals } from '../models/V1StatefulSetOrdinals.js'; -import { V1StatefulSetPersistentVolumeClaimRetentionPolicy } from '../models/V1StatefulSetPersistentVolumeClaimRetentionPolicy.js'; -import { V1StatefulSetSpec } from '../models/V1StatefulSetSpec.js'; -import { V1StatefulSetStatus } from '../models/V1StatefulSetStatus.js'; -import { V1StatefulSetUpdateStrategy } from '../models/V1StatefulSetUpdateStrategy.js'; -import { V1Status } from '../models/V1Status.js'; -import { V1StatusCause } from '../models/V1StatusCause.js'; -import { V1StatusDetails } from '../models/V1StatusDetails.js'; -import { V1StorageClass } from '../models/V1StorageClass.js'; -import { V1StorageClassList } from '../models/V1StorageClassList.js'; -import { V1StorageOSPersistentVolumeSource } from '../models/V1StorageOSPersistentVolumeSource.js'; -import { V1StorageOSVolumeSource } from '../models/V1StorageOSVolumeSource.js'; -import { V1SubjectAccessReview } from '../models/V1SubjectAccessReview.js'; -import { V1SubjectAccessReviewSpec } from '../models/V1SubjectAccessReviewSpec.js'; -import { V1SubjectAccessReviewStatus } from '../models/V1SubjectAccessReviewStatus.js'; -import { V1SubjectRulesReviewStatus } from '../models/V1SubjectRulesReviewStatus.js'; -import { V1SuccessPolicy } from '../models/V1SuccessPolicy.js'; -import { V1SuccessPolicyRule } from '../models/V1SuccessPolicyRule.js'; -import { V1Sysctl } from '../models/V1Sysctl.js'; -import { V1TCPSocketAction } from '../models/V1TCPSocketAction.js'; -import { V1Taint } from '../models/V1Taint.js'; -import { V1TokenRequestSpec } from '../models/V1TokenRequestSpec.js'; -import { V1TokenRequestStatus } from '../models/V1TokenRequestStatus.js'; -import { V1TokenReview } from '../models/V1TokenReview.js'; -import { V1TokenReviewSpec } from '../models/V1TokenReviewSpec.js'; -import { V1TokenReviewStatus } from '../models/V1TokenReviewStatus.js'; -import { V1Toleration } from '../models/V1Toleration.js'; -import { V1TopologySelectorLabelRequirement } from '../models/V1TopologySelectorLabelRequirement.js'; -import { V1TopologySelectorTerm } from '../models/V1TopologySelectorTerm.js'; -import { V1TopologySpreadConstraint } from '../models/V1TopologySpreadConstraint.js'; -import { V1TypeChecking } from '../models/V1TypeChecking.js'; -import { V1TypedLocalObjectReference } from '../models/V1TypedLocalObjectReference.js'; -import { V1TypedObjectReference } from '../models/V1TypedObjectReference.js'; -import { V1UncountedTerminatedPods } from '../models/V1UncountedTerminatedPods.js'; -import { V1UserInfo } from '../models/V1UserInfo.js'; -import { V1UserSubject } from '../models/V1UserSubject.js'; -import { V1ValidatingAdmissionPolicy } from '../models/V1ValidatingAdmissionPolicy.js'; -import { V1ValidatingAdmissionPolicyBinding } from '../models/V1ValidatingAdmissionPolicyBinding.js'; -import { V1ValidatingAdmissionPolicyBindingList } from '../models/V1ValidatingAdmissionPolicyBindingList.js'; -import { V1ValidatingAdmissionPolicyBindingSpec } from '../models/V1ValidatingAdmissionPolicyBindingSpec.js'; -import { V1ValidatingAdmissionPolicyList } from '../models/V1ValidatingAdmissionPolicyList.js'; -import { V1ValidatingAdmissionPolicySpec } from '../models/V1ValidatingAdmissionPolicySpec.js'; -import { V1ValidatingAdmissionPolicyStatus } from '../models/V1ValidatingAdmissionPolicyStatus.js'; -import { V1ValidatingWebhook } from '../models/V1ValidatingWebhook.js'; -import { V1ValidatingWebhookConfiguration } from '../models/V1ValidatingWebhookConfiguration.js'; -import { V1ValidatingWebhookConfigurationList } from '../models/V1ValidatingWebhookConfigurationList.js'; -import { V1Validation } from '../models/V1Validation.js'; -import { V1ValidationRule } from '../models/V1ValidationRule.js'; -import { V1Variable } from '../models/V1Variable.js'; -import { V1Volume } from '../models/V1Volume.js'; -import { V1VolumeAttachment } from '../models/V1VolumeAttachment.js'; -import { V1VolumeAttachmentList } from '../models/V1VolumeAttachmentList.js'; -import { V1VolumeAttachmentSource } from '../models/V1VolumeAttachmentSource.js'; -import { V1VolumeAttachmentSpec } from '../models/V1VolumeAttachmentSpec.js'; -import { V1VolumeAttachmentStatus } from '../models/V1VolumeAttachmentStatus.js'; -import { V1VolumeDevice } from '../models/V1VolumeDevice.js'; -import { V1VolumeError } from '../models/V1VolumeError.js'; -import { V1VolumeMount } from '../models/V1VolumeMount.js'; -import { V1VolumeMountStatus } from '../models/V1VolumeMountStatus.js'; -import { V1VolumeNodeAffinity } from '../models/V1VolumeNodeAffinity.js'; -import { V1VolumeNodeResources } from '../models/V1VolumeNodeResources.js'; -import { V1VolumeProjection } from '../models/V1VolumeProjection.js'; -import { V1VolumeResourceRequirements } from '../models/V1VolumeResourceRequirements.js'; -import { V1VsphereVirtualDiskVolumeSource } from '../models/V1VsphereVirtualDiskVolumeSource.js'; -import { V1WatchEvent } from '../models/V1WatchEvent.js'; -import { V1WebhookConversion } from '../models/V1WebhookConversion.js'; -import { V1WeightedPodAffinityTerm } from '../models/V1WeightedPodAffinityTerm.js'; -import { V1WindowsSecurityContextOptions } from '../models/V1WindowsSecurityContextOptions.js'; -import { V1alpha1AuditAnnotation } from '../models/V1alpha1AuditAnnotation.js'; -import { V1alpha1ClusterTrustBundle } from '../models/V1alpha1ClusterTrustBundle.js'; -import { V1alpha1ClusterTrustBundleList } from '../models/V1alpha1ClusterTrustBundleList.js'; -import { V1alpha1ClusterTrustBundleSpec } from '../models/V1alpha1ClusterTrustBundleSpec.js'; -import { V1alpha1ExpressionWarning } from '../models/V1alpha1ExpressionWarning.js'; -import { V1alpha1GroupVersionResource } from '../models/V1alpha1GroupVersionResource.js'; -import { V1alpha1IPAddress } from '../models/V1alpha1IPAddress.js'; -import { V1alpha1IPAddressList } from '../models/V1alpha1IPAddressList.js'; -import { V1alpha1IPAddressSpec } from '../models/V1alpha1IPAddressSpec.js'; -import { V1alpha1MatchCondition } from '../models/V1alpha1MatchCondition.js'; -import { V1alpha1MatchResources } from '../models/V1alpha1MatchResources.js'; -import { V1alpha1MigrationCondition } from '../models/V1alpha1MigrationCondition.js'; -import { V1alpha1NamedRuleWithOperations } from '../models/V1alpha1NamedRuleWithOperations.js'; -import { V1alpha1ParamKind } from '../models/V1alpha1ParamKind.js'; -import { V1alpha1ParamRef } from '../models/V1alpha1ParamRef.js'; -import { V1alpha1ParentReference } from '../models/V1alpha1ParentReference.js'; -import { V1alpha1SelfSubjectReview } from '../models/V1alpha1SelfSubjectReview.js'; -import { V1alpha1SelfSubjectReviewStatus } from '../models/V1alpha1SelfSubjectReviewStatus.js'; -import { V1alpha1ServerStorageVersion } from '../models/V1alpha1ServerStorageVersion.js'; -import { V1alpha1ServiceCIDR } from '../models/V1alpha1ServiceCIDR.js'; -import { V1alpha1ServiceCIDRList } from '../models/V1alpha1ServiceCIDRList.js'; -import { V1alpha1ServiceCIDRSpec } from '../models/V1alpha1ServiceCIDRSpec.js'; -import { V1alpha1ServiceCIDRStatus } from '../models/V1alpha1ServiceCIDRStatus.js'; -import { V1alpha1StorageVersion } from '../models/V1alpha1StorageVersion.js'; -import { V1alpha1StorageVersionCondition } from '../models/V1alpha1StorageVersionCondition.js'; -import { V1alpha1StorageVersionList } from '../models/V1alpha1StorageVersionList.js'; -import { V1alpha1StorageVersionMigration } from '../models/V1alpha1StorageVersionMigration.js'; -import { V1alpha1StorageVersionMigrationList } from '../models/V1alpha1StorageVersionMigrationList.js'; -import { V1alpha1StorageVersionMigrationSpec } from '../models/V1alpha1StorageVersionMigrationSpec.js'; -import { V1alpha1StorageVersionMigrationStatus } from '../models/V1alpha1StorageVersionMigrationStatus.js'; -import { V1alpha1StorageVersionStatus } from '../models/V1alpha1StorageVersionStatus.js'; -import { V1alpha1TypeChecking } from '../models/V1alpha1TypeChecking.js'; -import { V1alpha1ValidatingAdmissionPolicy } from '../models/V1alpha1ValidatingAdmissionPolicy.js'; -import { V1alpha1ValidatingAdmissionPolicyBinding } from '../models/V1alpha1ValidatingAdmissionPolicyBinding.js'; -import { V1alpha1ValidatingAdmissionPolicyBindingList } from '../models/V1alpha1ValidatingAdmissionPolicyBindingList.js'; -import { V1alpha1ValidatingAdmissionPolicyBindingSpec } from '../models/V1alpha1ValidatingAdmissionPolicyBindingSpec.js'; -import { V1alpha1ValidatingAdmissionPolicyList } from '../models/V1alpha1ValidatingAdmissionPolicyList.js'; -import { V1alpha1ValidatingAdmissionPolicySpec } from '../models/V1alpha1ValidatingAdmissionPolicySpec.js'; -import { V1alpha1ValidatingAdmissionPolicyStatus } from '../models/V1alpha1ValidatingAdmissionPolicyStatus.js'; -import { V1alpha1Validation } from '../models/V1alpha1Validation.js'; -import { V1alpha1Variable } from '../models/V1alpha1Variable.js'; -import { V1alpha1VolumeAttributesClass } from '../models/V1alpha1VolumeAttributesClass.js'; -import { V1alpha1VolumeAttributesClassList } from '../models/V1alpha1VolumeAttributesClassList.js'; -import { V1alpha2AllocationResult } from '../models/V1alpha2AllocationResult.js'; -import { V1alpha2DriverAllocationResult } from '../models/V1alpha2DriverAllocationResult.js'; -import { V1alpha2DriverRequests } from '../models/V1alpha2DriverRequests.js'; -import { V1alpha2NamedResourcesAllocationResult } from '../models/V1alpha2NamedResourcesAllocationResult.js'; -import { V1alpha2NamedResourcesAttribute } from '../models/V1alpha2NamedResourcesAttribute.js'; -import { V1alpha2NamedResourcesFilter } from '../models/V1alpha2NamedResourcesFilter.js'; -import { V1alpha2NamedResourcesInstance } from '../models/V1alpha2NamedResourcesInstance.js'; -import { V1alpha2NamedResourcesIntSlice } from '../models/V1alpha2NamedResourcesIntSlice.js'; -import { V1alpha2NamedResourcesRequest } from '../models/V1alpha2NamedResourcesRequest.js'; -import { V1alpha2NamedResourcesResources } from '../models/V1alpha2NamedResourcesResources.js'; -import { V1alpha2NamedResourcesStringSlice } from '../models/V1alpha2NamedResourcesStringSlice.js'; -import { V1alpha2PodSchedulingContext } from '../models/V1alpha2PodSchedulingContext.js'; -import { V1alpha2PodSchedulingContextList } from '../models/V1alpha2PodSchedulingContextList.js'; -import { V1alpha2PodSchedulingContextSpec } from '../models/V1alpha2PodSchedulingContextSpec.js'; -import { V1alpha2PodSchedulingContextStatus } from '../models/V1alpha2PodSchedulingContextStatus.js'; -import { V1alpha2ResourceClaim } from '../models/V1alpha2ResourceClaim.js'; -import { V1alpha2ResourceClaimConsumerReference } from '../models/V1alpha2ResourceClaimConsumerReference.js'; -import { V1alpha2ResourceClaimList } from '../models/V1alpha2ResourceClaimList.js'; -import { V1alpha2ResourceClaimParameters } from '../models/V1alpha2ResourceClaimParameters.js'; -import { V1alpha2ResourceClaimParametersList } from '../models/V1alpha2ResourceClaimParametersList.js'; -import { V1alpha2ResourceClaimParametersReference } from '../models/V1alpha2ResourceClaimParametersReference.js'; -import { V1alpha2ResourceClaimSchedulingStatus } from '../models/V1alpha2ResourceClaimSchedulingStatus.js'; -import { V1alpha2ResourceClaimSpec } from '../models/V1alpha2ResourceClaimSpec.js'; -import { V1alpha2ResourceClaimStatus } from '../models/V1alpha2ResourceClaimStatus.js'; -import { V1alpha2ResourceClaimTemplate } from '../models/V1alpha2ResourceClaimTemplate.js'; -import { V1alpha2ResourceClaimTemplateList } from '../models/V1alpha2ResourceClaimTemplateList.js'; -import { V1alpha2ResourceClaimTemplateSpec } from '../models/V1alpha2ResourceClaimTemplateSpec.js'; -import { V1alpha2ResourceClass } from '../models/V1alpha2ResourceClass.js'; -import { V1alpha2ResourceClassList } from '../models/V1alpha2ResourceClassList.js'; -import { V1alpha2ResourceClassParameters } from '../models/V1alpha2ResourceClassParameters.js'; -import { V1alpha2ResourceClassParametersList } from '../models/V1alpha2ResourceClassParametersList.js'; -import { V1alpha2ResourceClassParametersReference } from '../models/V1alpha2ResourceClassParametersReference.js'; -import { V1alpha2ResourceFilter } from '../models/V1alpha2ResourceFilter.js'; -import { V1alpha2ResourceHandle } from '../models/V1alpha2ResourceHandle.js'; -import { V1alpha2ResourceRequest } from '../models/V1alpha2ResourceRequest.js'; -import { V1alpha2ResourceSlice } from '../models/V1alpha2ResourceSlice.js'; -import { V1alpha2ResourceSliceList } from '../models/V1alpha2ResourceSliceList.js'; -import { V1alpha2StructuredResourceHandle } from '../models/V1alpha2StructuredResourceHandle.js'; -import { V1alpha2VendorParameters } from '../models/V1alpha2VendorParameters.js'; -import { V1beta1AuditAnnotation } from '../models/V1beta1AuditAnnotation.js'; -import { V1beta1ExpressionWarning } from '../models/V1beta1ExpressionWarning.js'; -import { V1beta1MatchCondition } from '../models/V1beta1MatchCondition.js'; -import { V1beta1MatchResources } from '../models/V1beta1MatchResources.js'; -import { V1beta1NamedRuleWithOperations } from '../models/V1beta1NamedRuleWithOperations.js'; -import { V1beta1ParamKind } from '../models/V1beta1ParamKind.js'; -import { V1beta1ParamRef } from '../models/V1beta1ParamRef.js'; -import { V1beta1SelfSubjectReview } from '../models/V1beta1SelfSubjectReview.js'; -import { V1beta1SelfSubjectReviewStatus } from '../models/V1beta1SelfSubjectReviewStatus.js'; -import { V1beta1TypeChecking } from '../models/V1beta1TypeChecking.js'; -import { V1beta1ValidatingAdmissionPolicy } from '../models/V1beta1ValidatingAdmissionPolicy.js'; -import { V1beta1ValidatingAdmissionPolicyBinding } from '../models/V1beta1ValidatingAdmissionPolicyBinding.js'; -import { V1beta1ValidatingAdmissionPolicyBindingList } from '../models/V1beta1ValidatingAdmissionPolicyBindingList.js'; -import { V1beta1ValidatingAdmissionPolicyBindingSpec } from '../models/V1beta1ValidatingAdmissionPolicyBindingSpec.js'; -import { V1beta1ValidatingAdmissionPolicyList } from '../models/V1beta1ValidatingAdmissionPolicyList.js'; -import { V1beta1ValidatingAdmissionPolicySpec } from '../models/V1beta1ValidatingAdmissionPolicySpec.js'; -import { V1beta1ValidatingAdmissionPolicyStatus } from '../models/V1beta1ValidatingAdmissionPolicyStatus.js'; -import { V1beta1Validation } from '../models/V1beta1Validation.js'; -import { V1beta1Variable } from '../models/V1beta1Variable.js'; -import { V1beta3ExemptPriorityLevelConfiguration } from '../models/V1beta3ExemptPriorityLevelConfiguration.js'; -import { V1beta3FlowDistinguisherMethod } from '../models/V1beta3FlowDistinguisherMethod.js'; -import { V1beta3FlowSchema } from '../models/V1beta3FlowSchema.js'; -import { V1beta3FlowSchemaCondition } from '../models/V1beta3FlowSchemaCondition.js'; -import { V1beta3FlowSchemaList } from '../models/V1beta3FlowSchemaList.js'; -import { V1beta3FlowSchemaSpec } from '../models/V1beta3FlowSchemaSpec.js'; -import { V1beta3FlowSchemaStatus } from '../models/V1beta3FlowSchemaStatus.js'; -import { V1beta3GroupSubject } from '../models/V1beta3GroupSubject.js'; -import { V1beta3LimitResponse } from '../models/V1beta3LimitResponse.js'; -import { V1beta3LimitedPriorityLevelConfiguration } from '../models/V1beta3LimitedPriorityLevelConfiguration.js'; -import { V1beta3NonResourcePolicyRule } from '../models/V1beta3NonResourcePolicyRule.js'; -import { V1beta3PolicyRulesWithSubjects } from '../models/V1beta3PolicyRulesWithSubjects.js'; -import { V1beta3PriorityLevelConfiguration } from '../models/V1beta3PriorityLevelConfiguration.js'; -import { V1beta3PriorityLevelConfigurationCondition } from '../models/V1beta3PriorityLevelConfigurationCondition.js'; -import { V1beta3PriorityLevelConfigurationList } from '../models/V1beta3PriorityLevelConfigurationList.js'; -import { V1beta3PriorityLevelConfigurationReference } from '../models/V1beta3PriorityLevelConfigurationReference.js'; -import { V1beta3PriorityLevelConfigurationSpec } from '../models/V1beta3PriorityLevelConfigurationSpec.js'; -import { V1beta3PriorityLevelConfigurationStatus } from '../models/V1beta3PriorityLevelConfigurationStatus.js'; -import { V1beta3QueuingConfiguration } from '../models/V1beta3QueuingConfiguration.js'; -import { V1beta3ResourcePolicyRule } from '../models/V1beta3ResourcePolicyRule.js'; -import { V1beta3ServiceAccountSubject } from '../models/V1beta3ServiceAccountSubject.js'; -import { V1beta3Subject } from '../models/V1beta3Subject.js'; -import { V1beta3UserSubject } from '../models/V1beta3UserSubject.js'; -import { V2ContainerResourceMetricSource } from '../models/V2ContainerResourceMetricSource.js'; -import { V2ContainerResourceMetricStatus } from '../models/V2ContainerResourceMetricStatus.js'; -import { V2CrossVersionObjectReference } from '../models/V2CrossVersionObjectReference.js'; -import { V2ExternalMetricSource } from '../models/V2ExternalMetricSource.js'; -import { V2ExternalMetricStatus } from '../models/V2ExternalMetricStatus.js'; -import { V2HPAScalingPolicy } from '../models/V2HPAScalingPolicy.js'; -import { V2HPAScalingRules } from '../models/V2HPAScalingRules.js'; -import { V2HorizontalPodAutoscaler } from '../models/V2HorizontalPodAutoscaler.js'; -import { V2HorizontalPodAutoscalerBehavior } from '../models/V2HorizontalPodAutoscalerBehavior.js'; -import { V2HorizontalPodAutoscalerCondition } from '../models/V2HorizontalPodAutoscalerCondition.js'; -import { V2HorizontalPodAutoscalerList } from '../models/V2HorizontalPodAutoscalerList.js'; -import { V2HorizontalPodAutoscalerSpec } from '../models/V2HorizontalPodAutoscalerSpec.js'; -import { V2HorizontalPodAutoscalerStatus } from '../models/V2HorizontalPodAutoscalerStatus.js'; -import { V2MetricIdentifier } from '../models/V2MetricIdentifier.js'; -import { V2MetricSpec } from '../models/V2MetricSpec.js'; -import { V2MetricStatus } from '../models/V2MetricStatus.js'; -import { V2MetricTarget } from '../models/V2MetricTarget.js'; -import { V2MetricValueStatus } from '../models/V2MetricValueStatus.js'; -import { V2ObjectMetricSource } from '../models/V2ObjectMetricSource.js'; -import { V2ObjectMetricStatus } from '../models/V2ObjectMetricStatus.js'; -import { V2PodsMetricSource } from '../models/V2PodsMetricSource.js'; -import { V2PodsMetricStatus } from '../models/V2PodsMetricStatus.js'; -import { V2ResourceMetricSource } from '../models/V2ResourceMetricSource.js'; -import { V2ResourceMetricStatus } from '../models/V2ResourceMetricStatus.js'; -import { VersionInfo } from '../models/VersionInfo.js'; +import { AdmissionregistrationV1ServiceReference } from '../models/AdmissionregistrationV1ServiceReference'; +import { AdmissionregistrationV1WebhookClientConfig } from '../models/AdmissionregistrationV1WebhookClientConfig'; +import { ApiextensionsV1ServiceReference } from '../models/ApiextensionsV1ServiceReference'; +import { ApiextensionsV1WebhookClientConfig } from '../models/ApiextensionsV1WebhookClientConfig'; +import { ApiregistrationV1ServiceReference } from '../models/ApiregistrationV1ServiceReference'; +import { AuthenticationV1TokenRequest } from '../models/AuthenticationV1TokenRequest'; +import { CoreV1EndpointPort } from '../models/CoreV1EndpointPort'; +import { CoreV1Event } from '../models/CoreV1Event'; +import { CoreV1EventList } from '../models/CoreV1EventList'; +import { CoreV1EventSeries } from '../models/CoreV1EventSeries'; +import { DiscoveryV1EndpointPort } from '../models/DiscoveryV1EndpointPort'; +import { EventsV1Event } from '../models/EventsV1Event'; +import { EventsV1EventList } from '../models/EventsV1EventList'; +import { EventsV1EventSeries } from '../models/EventsV1EventSeries'; +import { FlowcontrolV1Subject } from '../models/FlowcontrolV1Subject'; +import { RbacV1Subject } from '../models/RbacV1Subject'; +import { StorageV1TokenRequest } from '../models/StorageV1TokenRequest'; +import { V1APIGroup } from '../models/V1APIGroup'; +import { V1APIGroupList } from '../models/V1APIGroupList'; +import { V1APIResource } from '../models/V1APIResource'; +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1APIService } from '../models/V1APIService'; +import { V1APIServiceCondition } from '../models/V1APIServiceCondition'; +import { V1APIServiceList } from '../models/V1APIServiceList'; +import { V1APIServiceSpec } from '../models/V1APIServiceSpec'; +import { V1APIServiceStatus } from '../models/V1APIServiceStatus'; +import { V1APIVersions } from '../models/V1APIVersions'; +import { V1AWSElasticBlockStoreVolumeSource } from '../models/V1AWSElasticBlockStoreVolumeSource'; +import { V1Affinity } from '../models/V1Affinity'; +import { V1AggregationRule } from '../models/V1AggregationRule'; +import { V1AppArmorProfile } from '../models/V1AppArmorProfile'; +import { V1AttachedVolume } from '../models/V1AttachedVolume'; +import { V1AuditAnnotation } from '../models/V1AuditAnnotation'; +import { V1AzureDiskVolumeSource } from '../models/V1AzureDiskVolumeSource'; +import { V1AzureFilePersistentVolumeSource } from '../models/V1AzureFilePersistentVolumeSource'; +import { V1AzureFileVolumeSource } from '../models/V1AzureFileVolumeSource'; +import { V1Binding } from '../models/V1Binding'; +import { V1BoundObjectReference } from '../models/V1BoundObjectReference'; +import { V1CSIDriver } from '../models/V1CSIDriver'; +import { V1CSIDriverList } from '../models/V1CSIDriverList'; +import { V1CSIDriverSpec } from '../models/V1CSIDriverSpec'; +import { V1CSINode } from '../models/V1CSINode'; +import { V1CSINodeDriver } from '../models/V1CSINodeDriver'; +import { V1CSINodeList } from '../models/V1CSINodeList'; +import { V1CSINodeSpec } from '../models/V1CSINodeSpec'; +import { V1CSIPersistentVolumeSource } from '../models/V1CSIPersistentVolumeSource'; +import { V1CSIStorageCapacity } from '../models/V1CSIStorageCapacity'; +import { V1CSIStorageCapacityList } from '../models/V1CSIStorageCapacityList'; +import { V1CSIVolumeSource } from '../models/V1CSIVolumeSource'; +import { V1Capabilities } from '../models/V1Capabilities'; +import { V1CephFSPersistentVolumeSource } from '../models/V1CephFSPersistentVolumeSource'; +import { V1CephFSVolumeSource } from '../models/V1CephFSVolumeSource'; +import { V1CertificateSigningRequest } from '../models/V1CertificateSigningRequest'; +import { V1CertificateSigningRequestCondition } from '../models/V1CertificateSigningRequestCondition'; +import { V1CertificateSigningRequestList } from '../models/V1CertificateSigningRequestList'; +import { V1CertificateSigningRequestSpec } from '../models/V1CertificateSigningRequestSpec'; +import { V1CertificateSigningRequestStatus } from '../models/V1CertificateSigningRequestStatus'; +import { V1CinderPersistentVolumeSource } from '../models/V1CinderPersistentVolumeSource'; +import { V1CinderVolumeSource } from '../models/V1CinderVolumeSource'; +import { V1ClientIPConfig } from '../models/V1ClientIPConfig'; +import { V1ClusterRole } from '../models/V1ClusterRole'; +import { V1ClusterRoleBinding } from '../models/V1ClusterRoleBinding'; +import { V1ClusterRoleBindingList } from '../models/V1ClusterRoleBindingList'; +import { V1ClusterRoleList } from '../models/V1ClusterRoleList'; +import { V1ClusterTrustBundleProjection } from '../models/V1ClusterTrustBundleProjection'; +import { V1ComponentCondition } from '../models/V1ComponentCondition'; +import { V1ComponentStatus } from '../models/V1ComponentStatus'; +import { V1ComponentStatusList } from '../models/V1ComponentStatusList'; +import { V1Condition } from '../models/V1Condition'; +import { V1ConfigMap } from '../models/V1ConfigMap'; +import { V1ConfigMapEnvSource } from '../models/V1ConfigMapEnvSource'; +import { V1ConfigMapKeySelector } from '../models/V1ConfigMapKeySelector'; +import { V1ConfigMapList } from '../models/V1ConfigMapList'; +import { V1ConfigMapNodeConfigSource } from '../models/V1ConfigMapNodeConfigSource'; +import { V1ConfigMapProjection } from '../models/V1ConfigMapProjection'; +import { V1ConfigMapVolumeSource } from '../models/V1ConfigMapVolumeSource'; +import { V1Container } from '../models/V1Container'; +import { V1ContainerImage } from '../models/V1ContainerImage'; +import { V1ContainerPort } from '../models/V1ContainerPort'; +import { V1ContainerResizePolicy } from '../models/V1ContainerResizePolicy'; +import { V1ContainerState } from '../models/V1ContainerState'; +import { V1ContainerStateRunning } from '../models/V1ContainerStateRunning'; +import { V1ContainerStateTerminated } from '../models/V1ContainerStateTerminated'; +import { V1ContainerStateWaiting } from '../models/V1ContainerStateWaiting'; +import { V1ContainerStatus } from '../models/V1ContainerStatus'; +import { V1ContainerUser } from '../models/V1ContainerUser'; +import { V1ControllerRevision } from '../models/V1ControllerRevision'; +import { V1ControllerRevisionList } from '../models/V1ControllerRevisionList'; +import { V1CronJob } from '../models/V1CronJob'; +import { V1CronJobList } from '../models/V1CronJobList'; +import { V1CronJobSpec } from '../models/V1CronJobSpec'; +import { V1CronJobStatus } from '../models/V1CronJobStatus'; +import { V1CrossVersionObjectReference } from '../models/V1CrossVersionObjectReference'; +import { V1CustomResourceColumnDefinition } from '../models/V1CustomResourceColumnDefinition'; +import { V1CustomResourceConversion } from '../models/V1CustomResourceConversion'; +import { V1CustomResourceDefinition } from '../models/V1CustomResourceDefinition'; +import { V1CustomResourceDefinitionCondition } from '../models/V1CustomResourceDefinitionCondition'; +import { V1CustomResourceDefinitionList } from '../models/V1CustomResourceDefinitionList'; +import { V1CustomResourceDefinitionNames } from '../models/V1CustomResourceDefinitionNames'; +import { V1CustomResourceDefinitionSpec } from '../models/V1CustomResourceDefinitionSpec'; +import { V1CustomResourceDefinitionStatus } from '../models/V1CustomResourceDefinitionStatus'; +import { V1CustomResourceDefinitionVersion } from '../models/V1CustomResourceDefinitionVersion'; +import { V1CustomResourceSubresourceScale } from '../models/V1CustomResourceSubresourceScale'; +import { V1CustomResourceSubresources } from '../models/V1CustomResourceSubresources'; +import { V1CustomResourceValidation } from '../models/V1CustomResourceValidation'; +import { V1DaemonEndpoint } from '../models/V1DaemonEndpoint'; +import { V1DaemonSet } from '../models/V1DaemonSet'; +import { V1DaemonSetCondition } from '../models/V1DaemonSetCondition'; +import { V1DaemonSetList } from '../models/V1DaemonSetList'; +import { V1DaemonSetSpec } from '../models/V1DaemonSetSpec'; +import { V1DaemonSetStatus } from '../models/V1DaemonSetStatus'; +import { V1DaemonSetUpdateStrategy } from '../models/V1DaemonSetUpdateStrategy'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1Deployment } from '../models/V1Deployment'; +import { V1DeploymentCondition } from '../models/V1DeploymentCondition'; +import { V1DeploymentList } from '../models/V1DeploymentList'; +import { V1DeploymentSpec } from '../models/V1DeploymentSpec'; +import { V1DeploymentStatus } from '../models/V1DeploymentStatus'; +import { V1DeploymentStrategy } from '../models/V1DeploymentStrategy'; +import { V1DownwardAPIProjection } from '../models/V1DownwardAPIProjection'; +import { V1DownwardAPIVolumeFile } from '../models/V1DownwardAPIVolumeFile'; +import { V1DownwardAPIVolumeSource } from '../models/V1DownwardAPIVolumeSource'; +import { V1EmptyDirVolumeSource } from '../models/V1EmptyDirVolumeSource'; +import { V1Endpoint } from '../models/V1Endpoint'; +import { V1EndpointAddress } from '../models/V1EndpointAddress'; +import { V1EndpointConditions } from '../models/V1EndpointConditions'; +import { V1EndpointHints } from '../models/V1EndpointHints'; +import { V1EndpointSlice } from '../models/V1EndpointSlice'; +import { V1EndpointSliceList } from '../models/V1EndpointSliceList'; +import { V1EndpointSubset } from '../models/V1EndpointSubset'; +import { V1Endpoints } from '../models/V1Endpoints'; +import { V1EndpointsList } from '../models/V1EndpointsList'; +import { V1EnvFromSource } from '../models/V1EnvFromSource'; +import { V1EnvVar } from '../models/V1EnvVar'; +import { V1EnvVarSource } from '../models/V1EnvVarSource'; +import { V1EphemeralContainer } from '../models/V1EphemeralContainer'; +import { V1EphemeralVolumeSource } from '../models/V1EphemeralVolumeSource'; +import { V1EventSource } from '../models/V1EventSource'; +import { V1Eviction } from '../models/V1Eviction'; +import { V1ExecAction } from '../models/V1ExecAction'; +import { V1ExemptPriorityLevelConfiguration } from '../models/V1ExemptPriorityLevelConfiguration'; +import { V1ExpressionWarning } from '../models/V1ExpressionWarning'; +import { V1ExternalDocumentation } from '../models/V1ExternalDocumentation'; +import { V1FCVolumeSource } from '../models/V1FCVolumeSource'; +import { V1FieldSelectorAttributes } from '../models/V1FieldSelectorAttributes'; +import { V1FieldSelectorRequirement } from '../models/V1FieldSelectorRequirement'; +import { V1FlexPersistentVolumeSource } from '../models/V1FlexPersistentVolumeSource'; +import { V1FlexVolumeSource } from '../models/V1FlexVolumeSource'; +import { V1FlockerVolumeSource } from '../models/V1FlockerVolumeSource'; +import { V1FlowDistinguisherMethod } from '../models/V1FlowDistinguisherMethod'; +import { V1FlowSchema } from '../models/V1FlowSchema'; +import { V1FlowSchemaCondition } from '../models/V1FlowSchemaCondition'; +import { V1FlowSchemaList } from '../models/V1FlowSchemaList'; +import { V1FlowSchemaSpec } from '../models/V1FlowSchemaSpec'; +import { V1FlowSchemaStatus } from '../models/V1FlowSchemaStatus'; +import { V1ForZone } from '../models/V1ForZone'; +import { V1GCEPersistentDiskVolumeSource } from '../models/V1GCEPersistentDiskVolumeSource'; +import { V1GRPCAction } from '../models/V1GRPCAction'; +import { V1GitRepoVolumeSource } from '../models/V1GitRepoVolumeSource'; +import { V1GlusterfsPersistentVolumeSource } from '../models/V1GlusterfsPersistentVolumeSource'; +import { V1GlusterfsVolumeSource } from '../models/V1GlusterfsVolumeSource'; +import { V1GroupSubject } from '../models/V1GroupSubject'; +import { V1GroupVersionForDiscovery } from '../models/V1GroupVersionForDiscovery'; +import { V1HTTPGetAction } from '../models/V1HTTPGetAction'; +import { V1HTTPHeader } from '../models/V1HTTPHeader'; +import { V1HTTPIngressPath } from '../models/V1HTTPIngressPath'; +import { V1HTTPIngressRuleValue } from '../models/V1HTTPIngressRuleValue'; +import { V1HorizontalPodAutoscaler } from '../models/V1HorizontalPodAutoscaler'; +import { V1HorizontalPodAutoscalerList } from '../models/V1HorizontalPodAutoscalerList'; +import { V1HorizontalPodAutoscalerSpec } from '../models/V1HorizontalPodAutoscalerSpec'; +import { V1HorizontalPodAutoscalerStatus } from '../models/V1HorizontalPodAutoscalerStatus'; +import { V1HostAlias } from '../models/V1HostAlias'; +import { V1HostIP } from '../models/V1HostIP'; +import { V1HostPathVolumeSource } from '../models/V1HostPathVolumeSource'; +import { V1IPBlock } from '../models/V1IPBlock'; +import { V1ISCSIPersistentVolumeSource } from '../models/V1ISCSIPersistentVolumeSource'; +import { V1ISCSIVolumeSource } from '../models/V1ISCSIVolumeSource'; +import { V1ImageVolumeSource } from '../models/V1ImageVolumeSource'; +import { V1Ingress } from '../models/V1Ingress'; +import { V1IngressBackend } from '../models/V1IngressBackend'; +import { V1IngressClass } from '../models/V1IngressClass'; +import { V1IngressClassList } from '../models/V1IngressClassList'; +import { V1IngressClassParametersReference } from '../models/V1IngressClassParametersReference'; +import { V1IngressClassSpec } from '../models/V1IngressClassSpec'; +import { V1IngressList } from '../models/V1IngressList'; +import { V1IngressLoadBalancerIngress } from '../models/V1IngressLoadBalancerIngress'; +import { V1IngressLoadBalancerStatus } from '../models/V1IngressLoadBalancerStatus'; +import { V1IngressPortStatus } from '../models/V1IngressPortStatus'; +import { V1IngressRule } from '../models/V1IngressRule'; +import { V1IngressServiceBackend } from '../models/V1IngressServiceBackend'; +import { V1IngressSpec } from '../models/V1IngressSpec'; +import { V1IngressStatus } from '../models/V1IngressStatus'; +import { V1IngressTLS } from '../models/V1IngressTLS'; +import { V1JSONSchemaProps } from '../models/V1JSONSchemaProps'; +import { V1Job } from '../models/V1Job'; +import { V1JobCondition } from '../models/V1JobCondition'; +import { V1JobList } from '../models/V1JobList'; +import { V1JobSpec } from '../models/V1JobSpec'; +import { V1JobStatus } from '../models/V1JobStatus'; +import { V1JobTemplateSpec } from '../models/V1JobTemplateSpec'; +import { V1KeyToPath } from '../models/V1KeyToPath'; +import { V1LabelSelector } from '../models/V1LabelSelector'; +import { V1LabelSelectorAttributes } from '../models/V1LabelSelectorAttributes'; +import { V1LabelSelectorRequirement } from '../models/V1LabelSelectorRequirement'; +import { V1Lease } from '../models/V1Lease'; +import { V1LeaseList } from '../models/V1LeaseList'; +import { V1LeaseSpec } from '../models/V1LeaseSpec'; +import { V1Lifecycle } from '../models/V1Lifecycle'; +import { V1LifecycleHandler } from '../models/V1LifecycleHandler'; +import { V1LimitRange } from '../models/V1LimitRange'; +import { V1LimitRangeItem } from '../models/V1LimitRangeItem'; +import { V1LimitRangeList } from '../models/V1LimitRangeList'; +import { V1LimitRangeSpec } from '../models/V1LimitRangeSpec'; +import { V1LimitResponse } from '../models/V1LimitResponse'; +import { V1LimitedPriorityLevelConfiguration } from '../models/V1LimitedPriorityLevelConfiguration'; +import { V1LinuxContainerUser } from '../models/V1LinuxContainerUser'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1LoadBalancerIngress } from '../models/V1LoadBalancerIngress'; +import { V1LoadBalancerStatus } from '../models/V1LoadBalancerStatus'; +import { V1LocalObjectReference } from '../models/V1LocalObjectReference'; +import { V1LocalSubjectAccessReview } from '../models/V1LocalSubjectAccessReview'; +import { V1LocalVolumeSource } from '../models/V1LocalVolumeSource'; +import { V1ManagedFieldsEntry } from '../models/V1ManagedFieldsEntry'; +import { V1MatchCondition } from '../models/V1MatchCondition'; +import { V1MatchResources } from '../models/V1MatchResources'; +import { V1ModifyVolumeStatus } from '../models/V1ModifyVolumeStatus'; +import { V1MutatingWebhook } from '../models/V1MutatingWebhook'; +import { V1MutatingWebhookConfiguration } from '../models/V1MutatingWebhookConfiguration'; +import { V1MutatingWebhookConfigurationList } from '../models/V1MutatingWebhookConfigurationList'; +import { V1NFSVolumeSource } from '../models/V1NFSVolumeSource'; +import { V1NamedRuleWithOperations } from '../models/V1NamedRuleWithOperations'; +import { V1Namespace } from '../models/V1Namespace'; +import { V1NamespaceCondition } from '../models/V1NamespaceCondition'; +import { V1NamespaceList } from '../models/V1NamespaceList'; +import { V1NamespaceSpec } from '../models/V1NamespaceSpec'; +import { V1NamespaceStatus } from '../models/V1NamespaceStatus'; +import { V1NetworkPolicy } from '../models/V1NetworkPolicy'; +import { V1NetworkPolicyEgressRule } from '../models/V1NetworkPolicyEgressRule'; +import { V1NetworkPolicyIngressRule } from '../models/V1NetworkPolicyIngressRule'; +import { V1NetworkPolicyList } from '../models/V1NetworkPolicyList'; +import { V1NetworkPolicyPeer } from '../models/V1NetworkPolicyPeer'; +import { V1NetworkPolicyPort } from '../models/V1NetworkPolicyPort'; +import { V1NetworkPolicySpec } from '../models/V1NetworkPolicySpec'; +import { V1Node } from '../models/V1Node'; +import { V1NodeAddress } from '../models/V1NodeAddress'; +import { V1NodeAffinity } from '../models/V1NodeAffinity'; +import { V1NodeCondition } from '../models/V1NodeCondition'; +import { V1NodeConfigSource } from '../models/V1NodeConfigSource'; +import { V1NodeConfigStatus } from '../models/V1NodeConfigStatus'; +import { V1NodeDaemonEndpoints } from '../models/V1NodeDaemonEndpoints'; +import { V1NodeFeatures } from '../models/V1NodeFeatures'; +import { V1NodeList } from '../models/V1NodeList'; +import { V1NodeRuntimeHandler } from '../models/V1NodeRuntimeHandler'; +import { V1NodeRuntimeHandlerFeatures } from '../models/V1NodeRuntimeHandlerFeatures'; +import { V1NodeSelector } from '../models/V1NodeSelector'; +import { V1NodeSelectorRequirement } from '../models/V1NodeSelectorRequirement'; +import { V1NodeSelectorTerm } from '../models/V1NodeSelectorTerm'; +import { V1NodeSpec } from '../models/V1NodeSpec'; +import { V1NodeStatus } from '../models/V1NodeStatus'; +import { V1NodeSystemInfo } from '../models/V1NodeSystemInfo'; +import { V1NonResourceAttributes } from '../models/V1NonResourceAttributes'; +import { V1NonResourcePolicyRule } from '../models/V1NonResourcePolicyRule'; +import { V1NonResourceRule } from '../models/V1NonResourceRule'; +import { V1ObjectFieldSelector } from '../models/V1ObjectFieldSelector'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1ObjectReference } from '../models/V1ObjectReference'; +import { V1Overhead } from '../models/V1Overhead'; +import { V1OwnerReference } from '../models/V1OwnerReference'; +import { V1ParamKind } from '../models/V1ParamKind'; +import { V1ParamRef } from '../models/V1ParamRef'; +import { V1PersistentVolume } from '../models/V1PersistentVolume'; +import { V1PersistentVolumeClaim } from '../models/V1PersistentVolumeClaim'; +import { V1PersistentVolumeClaimCondition } from '../models/V1PersistentVolumeClaimCondition'; +import { V1PersistentVolumeClaimList } from '../models/V1PersistentVolumeClaimList'; +import { V1PersistentVolumeClaimSpec } from '../models/V1PersistentVolumeClaimSpec'; +import { V1PersistentVolumeClaimStatus } from '../models/V1PersistentVolumeClaimStatus'; +import { V1PersistentVolumeClaimTemplate } from '../models/V1PersistentVolumeClaimTemplate'; +import { V1PersistentVolumeClaimVolumeSource } from '../models/V1PersistentVolumeClaimVolumeSource'; +import { V1PersistentVolumeList } from '../models/V1PersistentVolumeList'; +import { V1PersistentVolumeSpec } from '../models/V1PersistentVolumeSpec'; +import { V1PersistentVolumeStatus } from '../models/V1PersistentVolumeStatus'; +import { V1PhotonPersistentDiskVolumeSource } from '../models/V1PhotonPersistentDiskVolumeSource'; +import { V1Pod } from '../models/V1Pod'; +import { V1PodAffinity } from '../models/V1PodAffinity'; +import { V1PodAffinityTerm } from '../models/V1PodAffinityTerm'; +import { V1PodAntiAffinity } from '../models/V1PodAntiAffinity'; +import { V1PodCondition } from '../models/V1PodCondition'; +import { V1PodDNSConfig } from '../models/V1PodDNSConfig'; +import { V1PodDNSConfigOption } from '../models/V1PodDNSConfigOption'; +import { V1PodDisruptionBudget } from '../models/V1PodDisruptionBudget'; +import { V1PodDisruptionBudgetList } from '../models/V1PodDisruptionBudgetList'; +import { V1PodDisruptionBudgetSpec } from '../models/V1PodDisruptionBudgetSpec'; +import { V1PodDisruptionBudgetStatus } from '../models/V1PodDisruptionBudgetStatus'; +import { V1PodFailurePolicy } from '../models/V1PodFailurePolicy'; +import { V1PodFailurePolicyOnExitCodesRequirement } from '../models/V1PodFailurePolicyOnExitCodesRequirement'; +import { V1PodFailurePolicyOnPodConditionsPattern } from '../models/V1PodFailurePolicyOnPodConditionsPattern'; +import { V1PodFailurePolicyRule } from '../models/V1PodFailurePolicyRule'; +import { V1PodIP } from '../models/V1PodIP'; +import { V1PodList } from '../models/V1PodList'; +import { V1PodOS } from '../models/V1PodOS'; +import { V1PodReadinessGate } from '../models/V1PodReadinessGate'; +import { V1PodResourceClaim } from '../models/V1PodResourceClaim'; +import { V1PodResourceClaimStatus } from '../models/V1PodResourceClaimStatus'; +import { V1PodSchedulingGate } from '../models/V1PodSchedulingGate'; +import { V1PodSecurityContext } from '../models/V1PodSecurityContext'; +import { V1PodSpec } from '../models/V1PodSpec'; +import { V1PodStatus } from '../models/V1PodStatus'; +import { V1PodTemplate } from '../models/V1PodTemplate'; +import { V1PodTemplateList } from '../models/V1PodTemplateList'; +import { V1PodTemplateSpec } from '../models/V1PodTemplateSpec'; +import { V1PolicyRule } from '../models/V1PolicyRule'; +import { V1PolicyRulesWithSubjects } from '../models/V1PolicyRulesWithSubjects'; +import { V1PortStatus } from '../models/V1PortStatus'; +import { V1PortworxVolumeSource } from '../models/V1PortworxVolumeSource'; +import { V1Preconditions } from '../models/V1Preconditions'; +import { V1PreferredSchedulingTerm } from '../models/V1PreferredSchedulingTerm'; +import { V1PriorityClass } from '../models/V1PriorityClass'; +import { V1PriorityClassList } from '../models/V1PriorityClassList'; +import { V1PriorityLevelConfiguration } from '../models/V1PriorityLevelConfiguration'; +import { V1PriorityLevelConfigurationCondition } from '../models/V1PriorityLevelConfigurationCondition'; +import { V1PriorityLevelConfigurationList } from '../models/V1PriorityLevelConfigurationList'; +import { V1PriorityLevelConfigurationReference } from '../models/V1PriorityLevelConfigurationReference'; +import { V1PriorityLevelConfigurationSpec } from '../models/V1PriorityLevelConfigurationSpec'; +import { V1PriorityLevelConfigurationStatus } from '../models/V1PriorityLevelConfigurationStatus'; +import { V1Probe } from '../models/V1Probe'; +import { V1ProjectedVolumeSource } from '../models/V1ProjectedVolumeSource'; +import { V1QueuingConfiguration } from '../models/V1QueuingConfiguration'; +import { V1QuobyteVolumeSource } from '../models/V1QuobyteVolumeSource'; +import { V1RBDPersistentVolumeSource } from '../models/V1RBDPersistentVolumeSource'; +import { V1RBDVolumeSource } from '../models/V1RBDVolumeSource'; +import { V1ReplicaSet } from '../models/V1ReplicaSet'; +import { V1ReplicaSetCondition } from '../models/V1ReplicaSetCondition'; +import { V1ReplicaSetList } from '../models/V1ReplicaSetList'; +import { V1ReplicaSetSpec } from '../models/V1ReplicaSetSpec'; +import { V1ReplicaSetStatus } from '../models/V1ReplicaSetStatus'; +import { V1ReplicationController } from '../models/V1ReplicationController'; +import { V1ReplicationControllerCondition } from '../models/V1ReplicationControllerCondition'; +import { V1ReplicationControllerList } from '../models/V1ReplicationControllerList'; +import { V1ReplicationControllerSpec } from '../models/V1ReplicationControllerSpec'; +import { V1ReplicationControllerStatus } from '../models/V1ReplicationControllerStatus'; +import { V1ResourceAttributes } from '../models/V1ResourceAttributes'; +import { V1ResourceClaim } from '../models/V1ResourceClaim'; +import { V1ResourceFieldSelector } from '../models/V1ResourceFieldSelector'; +import { V1ResourceHealth } from '../models/V1ResourceHealth'; +import { V1ResourcePolicyRule } from '../models/V1ResourcePolicyRule'; +import { V1ResourceQuota } from '../models/V1ResourceQuota'; +import { V1ResourceQuotaList } from '../models/V1ResourceQuotaList'; +import { V1ResourceQuotaSpec } from '../models/V1ResourceQuotaSpec'; +import { V1ResourceQuotaStatus } from '../models/V1ResourceQuotaStatus'; +import { V1ResourceRequirements } from '../models/V1ResourceRequirements'; +import { V1ResourceRule } from '../models/V1ResourceRule'; +import { V1ResourceStatus } from '../models/V1ResourceStatus'; +import { V1Role } from '../models/V1Role'; +import { V1RoleBinding } from '../models/V1RoleBinding'; +import { V1RoleBindingList } from '../models/V1RoleBindingList'; +import { V1RoleList } from '../models/V1RoleList'; +import { V1RoleRef } from '../models/V1RoleRef'; +import { V1RollingUpdateDaemonSet } from '../models/V1RollingUpdateDaemonSet'; +import { V1RollingUpdateDeployment } from '../models/V1RollingUpdateDeployment'; +import { V1RollingUpdateStatefulSetStrategy } from '../models/V1RollingUpdateStatefulSetStrategy'; +import { V1RuleWithOperations } from '../models/V1RuleWithOperations'; +import { V1RuntimeClass } from '../models/V1RuntimeClass'; +import { V1RuntimeClassList } from '../models/V1RuntimeClassList'; +import { V1SELinuxOptions } from '../models/V1SELinuxOptions'; +import { V1Scale } from '../models/V1Scale'; +import { V1ScaleIOPersistentVolumeSource } from '../models/V1ScaleIOPersistentVolumeSource'; +import { V1ScaleIOVolumeSource } from '../models/V1ScaleIOVolumeSource'; +import { V1ScaleSpec } from '../models/V1ScaleSpec'; +import { V1ScaleStatus } from '../models/V1ScaleStatus'; +import { V1Scheduling } from '../models/V1Scheduling'; +import { V1ScopeSelector } from '../models/V1ScopeSelector'; +import { V1ScopedResourceSelectorRequirement } from '../models/V1ScopedResourceSelectorRequirement'; +import { V1SeccompProfile } from '../models/V1SeccompProfile'; +import { V1Secret } from '../models/V1Secret'; +import { V1SecretEnvSource } from '../models/V1SecretEnvSource'; +import { V1SecretKeySelector } from '../models/V1SecretKeySelector'; +import { V1SecretList } from '../models/V1SecretList'; +import { V1SecretProjection } from '../models/V1SecretProjection'; +import { V1SecretReference } from '../models/V1SecretReference'; +import { V1SecretVolumeSource } from '../models/V1SecretVolumeSource'; +import { V1SecurityContext } from '../models/V1SecurityContext'; +import { V1SelectableField } from '../models/V1SelectableField'; +import { V1SelfSubjectAccessReview } from '../models/V1SelfSubjectAccessReview'; +import { V1SelfSubjectAccessReviewSpec } from '../models/V1SelfSubjectAccessReviewSpec'; +import { V1SelfSubjectReview } from '../models/V1SelfSubjectReview'; +import { V1SelfSubjectReviewStatus } from '../models/V1SelfSubjectReviewStatus'; +import { V1SelfSubjectRulesReview } from '../models/V1SelfSubjectRulesReview'; +import { V1SelfSubjectRulesReviewSpec } from '../models/V1SelfSubjectRulesReviewSpec'; +import { V1ServerAddressByClientCIDR } from '../models/V1ServerAddressByClientCIDR'; +import { V1Service } from '../models/V1Service'; +import { V1ServiceAccount } from '../models/V1ServiceAccount'; +import { V1ServiceAccountList } from '../models/V1ServiceAccountList'; +import { V1ServiceAccountSubject } from '../models/V1ServiceAccountSubject'; +import { V1ServiceAccountTokenProjection } from '../models/V1ServiceAccountTokenProjection'; +import { V1ServiceBackendPort } from '../models/V1ServiceBackendPort'; +import { V1ServiceList } from '../models/V1ServiceList'; +import { V1ServicePort } from '../models/V1ServicePort'; +import { V1ServiceSpec } from '../models/V1ServiceSpec'; +import { V1ServiceStatus } from '../models/V1ServiceStatus'; +import { V1SessionAffinityConfig } from '../models/V1SessionAffinityConfig'; +import { V1SleepAction } from '../models/V1SleepAction'; +import { V1StatefulSet } from '../models/V1StatefulSet'; +import { V1StatefulSetCondition } from '../models/V1StatefulSetCondition'; +import { V1StatefulSetList } from '../models/V1StatefulSetList'; +import { V1StatefulSetOrdinals } from '../models/V1StatefulSetOrdinals'; +import { V1StatefulSetPersistentVolumeClaimRetentionPolicy } from '../models/V1StatefulSetPersistentVolumeClaimRetentionPolicy'; +import { V1StatefulSetSpec } from '../models/V1StatefulSetSpec'; +import { V1StatefulSetStatus } from '../models/V1StatefulSetStatus'; +import { V1StatefulSetUpdateStrategy } from '../models/V1StatefulSetUpdateStrategy'; +import { V1Status } from '../models/V1Status'; +import { V1StatusCause } from '../models/V1StatusCause'; +import { V1StatusDetails } from '../models/V1StatusDetails'; +import { V1StorageClass } from '../models/V1StorageClass'; +import { V1StorageClassList } from '../models/V1StorageClassList'; +import { V1StorageOSPersistentVolumeSource } from '../models/V1StorageOSPersistentVolumeSource'; +import { V1StorageOSVolumeSource } from '../models/V1StorageOSVolumeSource'; +import { V1SubjectAccessReview } from '../models/V1SubjectAccessReview'; +import { V1SubjectAccessReviewSpec } from '../models/V1SubjectAccessReviewSpec'; +import { V1SubjectAccessReviewStatus } from '../models/V1SubjectAccessReviewStatus'; +import { V1SubjectRulesReviewStatus } from '../models/V1SubjectRulesReviewStatus'; +import { V1SuccessPolicy } from '../models/V1SuccessPolicy'; +import { V1SuccessPolicyRule } from '../models/V1SuccessPolicyRule'; +import { V1Sysctl } from '../models/V1Sysctl'; +import { V1TCPSocketAction } from '../models/V1TCPSocketAction'; +import { V1Taint } from '../models/V1Taint'; +import { V1TokenRequestSpec } from '../models/V1TokenRequestSpec'; +import { V1TokenRequestStatus } from '../models/V1TokenRequestStatus'; +import { V1TokenReview } from '../models/V1TokenReview'; +import { V1TokenReviewSpec } from '../models/V1TokenReviewSpec'; +import { V1TokenReviewStatus } from '../models/V1TokenReviewStatus'; +import { V1Toleration } from '../models/V1Toleration'; +import { V1TopologySelectorLabelRequirement } from '../models/V1TopologySelectorLabelRequirement'; +import { V1TopologySelectorTerm } from '../models/V1TopologySelectorTerm'; +import { V1TopologySpreadConstraint } from '../models/V1TopologySpreadConstraint'; +import { V1TypeChecking } from '../models/V1TypeChecking'; +import { V1TypedLocalObjectReference } from '../models/V1TypedLocalObjectReference'; +import { V1TypedObjectReference } from '../models/V1TypedObjectReference'; +import { V1UncountedTerminatedPods } from '../models/V1UncountedTerminatedPods'; +import { V1UserInfo } from '../models/V1UserInfo'; +import { V1UserSubject } from '../models/V1UserSubject'; +import { V1ValidatingAdmissionPolicy } from '../models/V1ValidatingAdmissionPolicy'; +import { V1ValidatingAdmissionPolicyBinding } from '../models/V1ValidatingAdmissionPolicyBinding'; +import { V1ValidatingAdmissionPolicyBindingList } from '../models/V1ValidatingAdmissionPolicyBindingList'; +import { V1ValidatingAdmissionPolicyBindingSpec } from '../models/V1ValidatingAdmissionPolicyBindingSpec'; +import { V1ValidatingAdmissionPolicyList } from '../models/V1ValidatingAdmissionPolicyList'; +import { V1ValidatingAdmissionPolicySpec } from '../models/V1ValidatingAdmissionPolicySpec'; +import { V1ValidatingAdmissionPolicyStatus } from '../models/V1ValidatingAdmissionPolicyStatus'; +import { V1ValidatingWebhook } from '../models/V1ValidatingWebhook'; +import { V1ValidatingWebhookConfiguration } from '../models/V1ValidatingWebhookConfiguration'; +import { V1ValidatingWebhookConfigurationList } from '../models/V1ValidatingWebhookConfigurationList'; +import { V1Validation } from '../models/V1Validation'; +import { V1ValidationRule } from '../models/V1ValidationRule'; +import { V1Variable } from '../models/V1Variable'; +import { V1Volume } from '../models/V1Volume'; +import { V1VolumeAttachment } from '../models/V1VolumeAttachment'; +import { V1VolumeAttachmentList } from '../models/V1VolumeAttachmentList'; +import { V1VolumeAttachmentSource } from '../models/V1VolumeAttachmentSource'; +import { V1VolumeAttachmentSpec } from '../models/V1VolumeAttachmentSpec'; +import { V1VolumeAttachmentStatus } from '../models/V1VolumeAttachmentStatus'; +import { V1VolumeDevice } from '../models/V1VolumeDevice'; +import { V1VolumeError } from '../models/V1VolumeError'; +import { V1VolumeMount } from '../models/V1VolumeMount'; +import { V1VolumeMountStatus } from '../models/V1VolumeMountStatus'; +import { V1VolumeNodeAffinity } from '../models/V1VolumeNodeAffinity'; +import { V1VolumeNodeResources } from '../models/V1VolumeNodeResources'; +import { V1VolumeProjection } from '../models/V1VolumeProjection'; +import { V1VolumeResourceRequirements } from '../models/V1VolumeResourceRequirements'; +import { V1VsphereVirtualDiskVolumeSource } from '../models/V1VsphereVirtualDiskVolumeSource'; +import { V1WatchEvent } from '../models/V1WatchEvent'; +import { V1WebhookConversion } from '../models/V1WebhookConversion'; +import { V1WeightedPodAffinityTerm } from '../models/V1WeightedPodAffinityTerm'; +import { V1WindowsSecurityContextOptions } from '../models/V1WindowsSecurityContextOptions'; +import { V1alpha1ApplyConfiguration } from '../models/V1alpha1ApplyConfiguration'; +import { V1alpha1ClusterTrustBundle } from '../models/V1alpha1ClusterTrustBundle'; +import { V1alpha1ClusterTrustBundleList } from '../models/V1alpha1ClusterTrustBundleList'; +import { V1alpha1ClusterTrustBundleSpec } from '../models/V1alpha1ClusterTrustBundleSpec'; +import { V1alpha1GroupVersionResource } from '../models/V1alpha1GroupVersionResource'; +import { V1alpha1JSONPatch } from '../models/V1alpha1JSONPatch'; +import { V1alpha1MatchCondition } from '../models/V1alpha1MatchCondition'; +import { V1alpha1MatchResources } from '../models/V1alpha1MatchResources'; +import { V1alpha1MigrationCondition } from '../models/V1alpha1MigrationCondition'; +import { V1alpha1MutatingAdmissionPolicy } from '../models/V1alpha1MutatingAdmissionPolicy'; +import { V1alpha1MutatingAdmissionPolicyBinding } from '../models/V1alpha1MutatingAdmissionPolicyBinding'; +import { V1alpha1MutatingAdmissionPolicyBindingList } from '../models/V1alpha1MutatingAdmissionPolicyBindingList'; +import { V1alpha1MutatingAdmissionPolicyBindingSpec } from '../models/V1alpha1MutatingAdmissionPolicyBindingSpec'; +import { V1alpha1MutatingAdmissionPolicyList } from '../models/V1alpha1MutatingAdmissionPolicyList'; +import { V1alpha1MutatingAdmissionPolicySpec } from '../models/V1alpha1MutatingAdmissionPolicySpec'; +import { V1alpha1Mutation } from '../models/V1alpha1Mutation'; +import { V1alpha1NamedRuleWithOperations } from '../models/V1alpha1NamedRuleWithOperations'; +import { V1alpha1ParamKind } from '../models/V1alpha1ParamKind'; +import { V1alpha1ParamRef } from '../models/V1alpha1ParamRef'; +import { V1alpha1ServerStorageVersion } from '../models/V1alpha1ServerStorageVersion'; +import { V1alpha1StorageVersion } from '../models/V1alpha1StorageVersion'; +import { V1alpha1StorageVersionCondition } from '../models/V1alpha1StorageVersionCondition'; +import { V1alpha1StorageVersionList } from '../models/V1alpha1StorageVersionList'; +import { V1alpha1StorageVersionMigration } from '../models/V1alpha1StorageVersionMigration'; +import { V1alpha1StorageVersionMigrationList } from '../models/V1alpha1StorageVersionMigrationList'; +import { V1alpha1StorageVersionMigrationSpec } from '../models/V1alpha1StorageVersionMigrationSpec'; +import { V1alpha1StorageVersionMigrationStatus } from '../models/V1alpha1StorageVersionMigrationStatus'; +import { V1alpha1StorageVersionStatus } from '../models/V1alpha1StorageVersionStatus'; +import { V1alpha1Variable } from '../models/V1alpha1Variable'; +import { V1alpha1VolumeAttributesClass } from '../models/V1alpha1VolumeAttributesClass'; +import { V1alpha1VolumeAttributesClassList } from '../models/V1alpha1VolumeAttributesClassList'; +import { V1alpha2LeaseCandidate } from '../models/V1alpha2LeaseCandidate'; +import { V1alpha2LeaseCandidateList } from '../models/V1alpha2LeaseCandidateList'; +import { V1alpha2LeaseCandidateSpec } from '../models/V1alpha2LeaseCandidateSpec'; +import { V1alpha3AllocatedDeviceStatus } from '../models/V1alpha3AllocatedDeviceStatus'; +import { V1alpha3AllocationResult } from '../models/V1alpha3AllocationResult'; +import { V1alpha3BasicDevice } from '../models/V1alpha3BasicDevice'; +import { V1alpha3CELDeviceSelector } from '../models/V1alpha3CELDeviceSelector'; +import { V1alpha3Device } from '../models/V1alpha3Device'; +import { V1alpha3DeviceAllocationConfiguration } from '../models/V1alpha3DeviceAllocationConfiguration'; +import { V1alpha3DeviceAllocationResult } from '../models/V1alpha3DeviceAllocationResult'; +import { V1alpha3DeviceAttribute } from '../models/V1alpha3DeviceAttribute'; +import { V1alpha3DeviceClaim } from '../models/V1alpha3DeviceClaim'; +import { V1alpha3DeviceClaimConfiguration } from '../models/V1alpha3DeviceClaimConfiguration'; +import { V1alpha3DeviceClass } from '../models/V1alpha3DeviceClass'; +import { V1alpha3DeviceClassConfiguration } from '../models/V1alpha3DeviceClassConfiguration'; +import { V1alpha3DeviceClassList } from '../models/V1alpha3DeviceClassList'; +import { V1alpha3DeviceClassSpec } from '../models/V1alpha3DeviceClassSpec'; +import { V1alpha3DeviceConstraint } from '../models/V1alpha3DeviceConstraint'; +import { V1alpha3DeviceRequest } from '../models/V1alpha3DeviceRequest'; +import { V1alpha3DeviceRequestAllocationResult } from '../models/V1alpha3DeviceRequestAllocationResult'; +import { V1alpha3DeviceSelector } from '../models/V1alpha3DeviceSelector'; +import { V1alpha3NetworkDeviceData } from '../models/V1alpha3NetworkDeviceData'; +import { V1alpha3OpaqueDeviceConfiguration } from '../models/V1alpha3OpaqueDeviceConfiguration'; +import { V1alpha3ResourceClaim } from '../models/V1alpha3ResourceClaim'; +import { V1alpha3ResourceClaimConsumerReference } from '../models/V1alpha3ResourceClaimConsumerReference'; +import { V1alpha3ResourceClaimList } from '../models/V1alpha3ResourceClaimList'; +import { V1alpha3ResourceClaimSpec } from '../models/V1alpha3ResourceClaimSpec'; +import { V1alpha3ResourceClaimStatus } from '../models/V1alpha3ResourceClaimStatus'; +import { V1alpha3ResourceClaimTemplate } from '../models/V1alpha3ResourceClaimTemplate'; +import { V1alpha3ResourceClaimTemplateList } from '../models/V1alpha3ResourceClaimTemplateList'; +import { V1alpha3ResourceClaimTemplateSpec } from '../models/V1alpha3ResourceClaimTemplateSpec'; +import { V1alpha3ResourcePool } from '../models/V1alpha3ResourcePool'; +import { V1alpha3ResourceSlice } from '../models/V1alpha3ResourceSlice'; +import { V1alpha3ResourceSliceList } from '../models/V1alpha3ResourceSliceList'; +import { V1alpha3ResourceSliceSpec } from '../models/V1alpha3ResourceSliceSpec'; +import { V1beta1AllocatedDeviceStatus } from '../models/V1beta1AllocatedDeviceStatus'; +import { V1beta1AllocationResult } from '../models/V1beta1AllocationResult'; +import { V1beta1AuditAnnotation } from '../models/V1beta1AuditAnnotation'; +import { V1beta1BasicDevice } from '../models/V1beta1BasicDevice'; +import { V1beta1CELDeviceSelector } from '../models/V1beta1CELDeviceSelector'; +import { V1beta1Device } from '../models/V1beta1Device'; +import { V1beta1DeviceAllocationConfiguration } from '../models/V1beta1DeviceAllocationConfiguration'; +import { V1beta1DeviceAllocationResult } from '../models/V1beta1DeviceAllocationResult'; +import { V1beta1DeviceAttribute } from '../models/V1beta1DeviceAttribute'; +import { V1beta1DeviceCapacity } from '../models/V1beta1DeviceCapacity'; +import { V1beta1DeviceClaim } from '../models/V1beta1DeviceClaim'; +import { V1beta1DeviceClaimConfiguration } from '../models/V1beta1DeviceClaimConfiguration'; +import { V1beta1DeviceClass } from '../models/V1beta1DeviceClass'; +import { V1beta1DeviceClassConfiguration } from '../models/V1beta1DeviceClassConfiguration'; +import { V1beta1DeviceClassList } from '../models/V1beta1DeviceClassList'; +import { V1beta1DeviceClassSpec } from '../models/V1beta1DeviceClassSpec'; +import { V1beta1DeviceConstraint } from '../models/V1beta1DeviceConstraint'; +import { V1beta1DeviceRequest } from '../models/V1beta1DeviceRequest'; +import { V1beta1DeviceRequestAllocationResult } from '../models/V1beta1DeviceRequestAllocationResult'; +import { V1beta1DeviceSelector } from '../models/V1beta1DeviceSelector'; +import { V1beta1ExpressionWarning } from '../models/V1beta1ExpressionWarning'; +import { V1beta1IPAddress } from '../models/V1beta1IPAddress'; +import { V1beta1IPAddressList } from '../models/V1beta1IPAddressList'; +import { V1beta1IPAddressSpec } from '../models/V1beta1IPAddressSpec'; +import { V1beta1MatchCondition } from '../models/V1beta1MatchCondition'; +import { V1beta1MatchResources } from '../models/V1beta1MatchResources'; +import { V1beta1NamedRuleWithOperations } from '../models/V1beta1NamedRuleWithOperations'; +import { V1beta1NetworkDeviceData } from '../models/V1beta1NetworkDeviceData'; +import { V1beta1OpaqueDeviceConfiguration } from '../models/V1beta1OpaqueDeviceConfiguration'; +import { V1beta1ParamKind } from '../models/V1beta1ParamKind'; +import { V1beta1ParamRef } from '../models/V1beta1ParamRef'; +import { V1beta1ParentReference } from '../models/V1beta1ParentReference'; +import { V1beta1ResourceClaim } from '../models/V1beta1ResourceClaim'; +import { V1beta1ResourceClaimConsumerReference } from '../models/V1beta1ResourceClaimConsumerReference'; +import { V1beta1ResourceClaimList } from '../models/V1beta1ResourceClaimList'; +import { V1beta1ResourceClaimSpec } from '../models/V1beta1ResourceClaimSpec'; +import { V1beta1ResourceClaimStatus } from '../models/V1beta1ResourceClaimStatus'; +import { V1beta1ResourceClaimTemplate } from '../models/V1beta1ResourceClaimTemplate'; +import { V1beta1ResourceClaimTemplateList } from '../models/V1beta1ResourceClaimTemplateList'; +import { V1beta1ResourceClaimTemplateSpec } from '../models/V1beta1ResourceClaimTemplateSpec'; +import { V1beta1ResourcePool } from '../models/V1beta1ResourcePool'; +import { V1beta1ResourceSlice } from '../models/V1beta1ResourceSlice'; +import { V1beta1ResourceSliceList } from '../models/V1beta1ResourceSliceList'; +import { V1beta1ResourceSliceSpec } from '../models/V1beta1ResourceSliceSpec'; +import { V1beta1SelfSubjectReview } from '../models/V1beta1SelfSubjectReview'; +import { V1beta1SelfSubjectReviewStatus } from '../models/V1beta1SelfSubjectReviewStatus'; +import { V1beta1ServiceCIDR } from '../models/V1beta1ServiceCIDR'; +import { V1beta1ServiceCIDRList } from '../models/V1beta1ServiceCIDRList'; +import { V1beta1ServiceCIDRSpec } from '../models/V1beta1ServiceCIDRSpec'; +import { V1beta1ServiceCIDRStatus } from '../models/V1beta1ServiceCIDRStatus'; +import { V1beta1TypeChecking } from '../models/V1beta1TypeChecking'; +import { V1beta1ValidatingAdmissionPolicy } from '../models/V1beta1ValidatingAdmissionPolicy'; +import { V1beta1ValidatingAdmissionPolicyBinding } from '../models/V1beta1ValidatingAdmissionPolicyBinding'; +import { V1beta1ValidatingAdmissionPolicyBindingList } from '../models/V1beta1ValidatingAdmissionPolicyBindingList'; +import { V1beta1ValidatingAdmissionPolicyBindingSpec } from '../models/V1beta1ValidatingAdmissionPolicyBindingSpec'; +import { V1beta1ValidatingAdmissionPolicyList } from '../models/V1beta1ValidatingAdmissionPolicyList'; +import { V1beta1ValidatingAdmissionPolicySpec } from '../models/V1beta1ValidatingAdmissionPolicySpec'; +import { V1beta1ValidatingAdmissionPolicyStatus } from '../models/V1beta1ValidatingAdmissionPolicyStatus'; +import { V1beta1Validation } from '../models/V1beta1Validation'; +import { V1beta1Variable } from '../models/V1beta1Variable'; +import { V1beta1VolumeAttributesClass } from '../models/V1beta1VolumeAttributesClass'; +import { V1beta1VolumeAttributesClassList } from '../models/V1beta1VolumeAttributesClassList'; +import { V2ContainerResourceMetricSource } from '../models/V2ContainerResourceMetricSource'; +import { V2ContainerResourceMetricStatus } from '../models/V2ContainerResourceMetricStatus'; +import { V2CrossVersionObjectReference } from '../models/V2CrossVersionObjectReference'; +import { V2ExternalMetricSource } from '../models/V2ExternalMetricSource'; +import { V2ExternalMetricStatus } from '../models/V2ExternalMetricStatus'; +import { V2HPAScalingPolicy } from '../models/V2HPAScalingPolicy'; +import { V2HPAScalingRules } from '../models/V2HPAScalingRules'; +import { V2HorizontalPodAutoscaler } from '../models/V2HorizontalPodAutoscaler'; +import { V2HorizontalPodAutoscalerBehavior } from '../models/V2HorizontalPodAutoscalerBehavior'; +import { V2HorizontalPodAutoscalerCondition } from '../models/V2HorizontalPodAutoscalerCondition'; +import { V2HorizontalPodAutoscalerList } from '../models/V2HorizontalPodAutoscalerList'; +import { V2HorizontalPodAutoscalerSpec } from '../models/V2HorizontalPodAutoscalerSpec'; +import { V2HorizontalPodAutoscalerStatus } from '../models/V2HorizontalPodAutoscalerStatus'; +import { V2MetricIdentifier } from '../models/V2MetricIdentifier'; +import { V2MetricSpec } from '../models/V2MetricSpec'; +import { V2MetricStatus } from '../models/V2MetricStatus'; +import { V2MetricTarget } from '../models/V2MetricTarget'; +import { V2MetricValueStatus } from '../models/V2MetricValueStatus'; +import { V2ObjectMetricSource } from '../models/V2ObjectMetricSource'; +import { V2ObjectMetricStatus } from '../models/V2ObjectMetricStatus'; +import { V2PodsMetricSource } from '../models/V2PodsMetricSource'; +import { V2PodsMetricStatus } from '../models/V2PodsMetricStatus'; +import { V2ResourceMetricSource } from '../models/V2ResourceMetricSource'; +import { V2ResourceMetricStatus } from '../models/V2ResourceMetricStatus'; +import { VersionInfo } from '../models/VersionInfo'; /* tslint:disable:no-unused-variable */ let primitives = [ @@ -1301,7 +1325,6 @@ let typeMap: {[index: string]: any} = { "V1CertificateSigningRequestStatus": V1CertificateSigningRequestStatus, "V1CinderPersistentVolumeSource": V1CinderPersistentVolumeSource, "V1CinderVolumeSource": V1CinderVolumeSource, - "V1ClaimSource": V1ClaimSource, "V1ClientIPConfig": V1ClientIPConfig, "V1ClusterRole": V1ClusterRole, "V1ClusterRoleBinding": V1ClusterRoleBinding, @@ -1328,6 +1351,7 @@ let typeMap: {[index: string]: any} = { "V1ContainerStateTerminated": V1ContainerStateTerminated, "V1ContainerStateWaiting": V1ContainerStateWaiting, "V1ContainerStatus": V1ContainerStatus, + "V1ContainerUser": V1ContainerUser, "V1ControllerRevision": V1ControllerRevision, "V1ControllerRevisionList": V1ControllerRevisionList, "V1CronJob": V1CronJob, @@ -1386,6 +1410,8 @@ let typeMap: {[index: string]: any} = { "V1ExpressionWarning": V1ExpressionWarning, "V1ExternalDocumentation": V1ExternalDocumentation, "V1FCVolumeSource": V1FCVolumeSource, + "V1FieldSelectorAttributes": V1FieldSelectorAttributes, + "V1FieldSelectorRequirement": V1FieldSelectorRequirement, "V1FlexPersistentVolumeSource": V1FlexPersistentVolumeSource, "V1FlexVolumeSource": V1FlexVolumeSource, "V1FlockerVolumeSource": V1FlockerVolumeSource, @@ -1417,6 +1443,7 @@ let typeMap: {[index: string]: any} = { "V1IPBlock": V1IPBlock, "V1ISCSIPersistentVolumeSource": V1ISCSIPersistentVolumeSource, "V1ISCSIVolumeSource": V1ISCSIVolumeSource, + "V1ImageVolumeSource": V1ImageVolumeSource, "V1Ingress": V1Ingress, "V1IngressBackend": V1IngressBackend, "V1IngressClass": V1IngressClass, @@ -1441,6 +1468,7 @@ let typeMap: {[index: string]: any} = { "V1JobTemplateSpec": V1JobTemplateSpec, "V1KeyToPath": V1KeyToPath, "V1LabelSelector": V1LabelSelector, + "V1LabelSelectorAttributes": V1LabelSelectorAttributes, "V1LabelSelectorRequirement": V1LabelSelectorRequirement, "V1Lease": V1Lease, "V1LeaseList": V1LeaseList, @@ -1453,6 +1481,7 @@ let typeMap: {[index: string]: any} = { "V1LimitRangeSpec": V1LimitRangeSpec, "V1LimitResponse": V1LimitResponse, "V1LimitedPriorityLevelConfiguration": V1LimitedPriorityLevelConfiguration, + "V1LinuxContainerUser": V1LinuxContainerUser, "V1ListMeta": V1ListMeta, "V1LoadBalancerIngress": V1LoadBalancerIngress, "V1LoadBalancerStatus": V1LoadBalancerStatus, @@ -1487,6 +1516,7 @@ let typeMap: {[index: string]: any} = { "V1NodeConfigSource": V1NodeConfigSource, "V1NodeConfigStatus": V1NodeConfigStatus, "V1NodeDaemonEndpoints": V1NodeDaemonEndpoints, + "V1NodeFeatures": V1NodeFeatures, "V1NodeList": V1NodeList, "V1NodeRuntimeHandler": V1NodeRuntimeHandler, "V1NodeRuntimeHandlerFeatures": V1NodeRuntimeHandlerFeatures, @@ -1579,6 +1609,7 @@ let typeMap: {[index: string]: any} = { "V1ResourceAttributes": V1ResourceAttributes, "V1ResourceClaim": V1ResourceClaim, "V1ResourceFieldSelector": V1ResourceFieldSelector, + "V1ResourceHealth": V1ResourceHealth, "V1ResourcePolicyRule": V1ResourcePolicyRule, "V1ResourceQuota": V1ResourceQuota, "V1ResourceQuotaList": V1ResourceQuotaList, @@ -1586,6 +1617,7 @@ let typeMap: {[index: string]: any} = { "V1ResourceQuotaStatus": V1ResourceQuotaStatus, "V1ResourceRequirements": V1ResourceRequirements, "V1ResourceRule": V1ResourceRule, + "V1ResourceStatus": V1ResourceStatus, "V1Role": V1Role, "V1RoleBinding": V1RoleBinding, "V1RoleBindingList": V1RoleBindingList, @@ -1706,29 +1738,26 @@ let typeMap: {[index: string]: any} = { "V1WebhookConversion": V1WebhookConversion, "V1WeightedPodAffinityTerm": V1WeightedPodAffinityTerm, "V1WindowsSecurityContextOptions": V1WindowsSecurityContextOptions, - "V1alpha1AuditAnnotation": V1alpha1AuditAnnotation, + "V1alpha1ApplyConfiguration": V1alpha1ApplyConfiguration, "V1alpha1ClusterTrustBundle": V1alpha1ClusterTrustBundle, "V1alpha1ClusterTrustBundleList": V1alpha1ClusterTrustBundleList, "V1alpha1ClusterTrustBundleSpec": V1alpha1ClusterTrustBundleSpec, - "V1alpha1ExpressionWarning": V1alpha1ExpressionWarning, "V1alpha1GroupVersionResource": V1alpha1GroupVersionResource, - "V1alpha1IPAddress": V1alpha1IPAddress, - "V1alpha1IPAddressList": V1alpha1IPAddressList, - "V1alpha1IPAddressSpec": V1alpha1IPAddressSpec, + "V1alpha1JSONPatch": V1alpha1JSONPatch, "V1alpha1MatchCondition": V1alpha1MatchCondition, "V1alpha1MatchResources": V1alpha1MatchResources, "V1alpha1MigrationCondition": V1alpha1MigrationCondition, + "V1alpha1MutatingAdmissionPolicy": V1alpha1MutatingAdmissionPolicy, + "V1alpha1MutatingAdmissionPolicyBinding": V1alpha1MutatingAdmissionPolicyBinding, + "V1alpha1MutatingAdmissionPolicyBindingList": V1alpha1MutatingAdmissionPolicyBindingList, + "V1alpha1MutatingAdmissionPolicyBindingSpec": V1alpha1MutatingAdmissionPolicyBindingSpec, + "V1alpha1MutatingAdmissionPolicyList": V1alpha1MutatingAdmissionPolicyList, + "V1alpha1MutatingAdmissionPolicySpec": V1alpha1MutatingAdmissionPolicySpec, + "V1alpha1Mutation": V1alpha1Mutation, "V1alpha1NamedRuleWithOperations": V1alpha1NamedRuleWithOperations, "V1alpha1ParamKind": V1alpha1ParamKind, "V1alpha1ParamRef": V1alpha1ParamRef, - "V1alpha1ParentReference": V1alpha1ParentReference, - "V1alpha1SelfSubjectReview": V1alpha1SelfSubjectReview, - "V1alpha1SelfSubjectReviewStatus": V1alpha1SelfSubjectReviewStatus, "V1alpha1ServerStorageVersion": V1alpha1ServerStorageVersion, - "V1alpha1ServiceCIDR": V1alpha1ServiceCIDR, - "V1alpha1ServiceCIDRList": V1alpha1ServiceCIDRList, - "V1alpha1ServiceCIDRSpec": V1alpha1ServiceCIDRSpec, - "V1alpha1ServiceCIDRStatus": V1alpha1ServiceCIDRStatus, "V1alpha1StorageVersion": V1alpha1StorageVersion, "V1alpha1StorageVersionCondition": V1alpha1StorageVersionCondition, "V1alpha1StorageVersionList": V1alpha1StorageVersionList, @@ -1737,66 +1766,94 @@ let typeMap: {[index: string]: any} = { "V1alpha1StorageVersionMigrationSpec": V1alpha1StorageVersionMigrationSpec, "V1alpha1StorageVersionMigrationStatus": V1alpha1StorageVersionMigrationStatus, "V1alpha1StorageVersionStatus": V1alpha1StorageVersionStatus, - "V1alpha1TypeChecking": V1alpha1TypeChecking, - "V1alpha1ValidatingAdmissionPolicy": V1alpha1ValidatingAdmissionPolicy, - "V1alpha1ValidatingAdmissionPolicyBinding": V1alpha1ValidatingAdmissionPolicyBinding, - "V1alpha1ValidatingAdmissionPolicyBindingList": V1alpha1ValidatingAdmissionPolicyBindingList, - "V1alpha1ValidatingAdmissionPolicyBindingSpec": V1alpha1ValidatingAdmissionPolicyBindingSpec, - "V1alpha1ValidatingAdmissionPolicyList": V1alpha1ValidatingAdmissionPolicyList, - "V1alpha1ValidatingAdmissionPolicySpec": V1alpha1ValidatingAdmissionPolicySpec, - "V1alpha1ValidatingAdmissionPolicyStatus": V1alpha1ValidatingAdmissionPolicyStatus, - "V1alpha1Validation": V1alpha1Validation, "V1alpha1Variable": V1alpha1Variable, "V1alpha1VolumeAttributesClass": V1alpha1VolumeAttributesClass, "V1alpha1VolumeAttributesClassList": V1alpha1VolumeAttributesClassList, - "V1alpha2AllocationResult": V1alpha2AllocationResult, - "V1alpha2DriverAllocationResult": V1alpha2DriverAllocationResult, - "V1alpha2DriverRequests": V1alpha2DriverRequests, - "V1alpha2NamedResourcesAllocationResult": V1alpha2NamedResourcesAllocationResult, - "V1alpha2NamedResourcesAttribute": V1alpha2NamedResourcesAttribute, - "V1alpha2NamedResourcesFilter": V1alpha2NamedResourcesFilter, - "V1alpha2NamedResourcesInstance": V1alpha2NamedResourcesInstance, - "V1alpha2NamedResourcesIntSlice": V1alpha2NamedResourcesIntSlice, - "V1alpha2NamedResourcesRequest": V1alpha2NamedResourcesRequest, - "V1alpha2NamedResourcesResources": V1alpha2NamedResourcesResources, - "V1alpha2NamedResourcesStringSlice": V1alpha2NamedResourcesStringSlice, - "V1alpha2PodSchedulingContext": V1alpha2PodSchedulingContext, - "V1alpha2PodSchedulingContextList": V1alpha2PodSchedulingContextList, - "V1alpha2PodSchedulingContextSpec": V1alpha2PodSchedulingContextSpec, - "V1alpha2PodSchedulingContextStatus": V1alpha2PodSchedulingContextStatus, - "V1alpha2ResourceClaim": V1alpha2ResourceClaim, - "V1alpha2ResourceClaimConsumerReference": V1alpha2ResourceClaimConsumerReference, - "V1alpha2ResourceClaimList": V1alpha2ResourceClaimList, - "V1alpha2ResourceClaimParameters": V1alpha2ResourceClaimParameters, - "V1alpha2ResourceClaimParametersList": V1alpha2ResourceClaimParametersList, - "V1alpha2ResourceClaimParametersReference": V1alpha2ResourceClaimParametersReference, - "V1alpha2ResourceClaimSchedulingStatus": V1alpha2ResourceClaimSchedulingStatus, - "V1alpha2ResourceClaimSpec": V1alpha2ResourceClaimSpec, - "V1alpha2ResourceClaimStatus": V1alpha2ResourceClaimStatus, - "V1alpha2ResourceClaimTemplate": V1alpha2ResourceClaimTemplate, - "V1alpha2ResourceClaimTemplateList": V1alpha2ResourceClaimTemplateList, - "V1alpha2ResourceClaimTemplateSpec": V1alpha2ResourceClaimTemplateSpec, - "V1alpha2ResourceClass": V1alpha2ResourceClass, - "V1alpha2ResourceClassList": V1alpha2ResourceClassList, - "V1alpha2ResourceClassParameters": V1alpha2ResourceClassParameters, - "V1alpha2ResourceClassParametersList": V1alpha2ResourceClassParametersList, - "V1alpha2ResourceClassParametersReference": V1alpha2ResourceClassParametersReference, - "V1alpha2ResourceFilter": V1alpha2ResourceFilter, - "V1alpha2ResourceHandle": V1alpha2ResourceHandle, - "V1alpha2ResourceRequest": V1alpha2ResourceRequest, - "V1alpha2ResourceSlice": V1alpha2ResourceSlice, - "V1alpha2ResourceSliceList": V1alpha2ResourceSliceList, - "V1alpha2StructuredResourceHandle": V1alpha2StructuredResourceHandle, - "V1alpha2VendorParameters": V1alpha2VendorParameters, + "V1alpha2LeaseCandidate": V1alpha2LeaseCandidate, + "V1alpha2LeaseCandidateList": V1alpha2LeaseCandidateList, + "V1alpha2LeaseCandidateSpec": V1alpha2LeaseCandidateSpec, + "V1alpha3AllocatedDeviceStatus": V1alpha3AllocatedDeviceStatus, + "V1alpha3AllocationResult": V1alpha3AllocationResult, + "V1alpha3BasicDevice": V1alpha3BasicDevice, + "V1alpha3CELDeviceSelector": V1alpha3CELDeviceSelector, + "V1alpha3Device": V1alpha3Device, + "V1alpha3DeviceAllocationConfiguration": V1alpha3DeviceAllocationConfiguration, + "V1alpha3DeviceAllocationResult": V1alpha3DeviceAllocationResult, + "V1alpha3DeviceAttribute": V1alpha3DeviceAttribute, + "V1alpha3DeviceClaim": V1alpha3DeviceClaim, + "V1alpha3DeviceClaimConfiguration": V1alpha3DeviceClaimConfiguration, + "V1alpha3DeviceClass": V1alpha3DeviceClass, + "V1alpha3DeviceClassConfiguration": V1alpha3DeviceClassConfiguration, + "V1alpha3DeviceClassList": V1alpha3DeviceClassList, + "V1alpha3DeviceClassSpec": V1alpha3DeviceClassSpec, + "V1alpha3DeviceConstraint": V1alpha3DeviceConstraint, + "V1alpha3DeviceRequest": V1alpha3DeviceRequest, + "V1alpha3DeviceRequestAllocationResult": V1alpha3DeviceRequestAllocationResult, + "V1alpha3DeviceSelector": V1alpha3DeviceSelector, + "V1alpha3NetworkDeviceData": V1alpha3NetworkDeviceData, + "V1alpha3OpaqueDeviceConfiguration": V1alpha3OpaqueDeviceConfiguration, + "V1alpha3ResourceClaim": V1alpha3ResourceClaim, + "V1alpha3ResourceClaimConsumerReference": V1alpha3ResourceClaimConsumerReference, + "V1alpha3ResourceClaimList": V1alpha3ResourceClaimList, + "V1alpha3ResourceClaimSpec": V1alpha3ResourceClaimSpec, + "V1alpha3ResourceClaimStatus": V1alpha3ResourceClaimStatus, + "V1alpha3ResourceClaimTemplate": V1alpha3ResourceClaimTemplate, + "V1alpha3ResourceClaimTemplateList": V1alpha3ResourceClaimTemplateList, + "V1alpha3ResourceClaimTemplateSpec": V1alpha3ResourceClaimTemplateSpec, + "V1alpha3ResourcePool": V1alpha3ResourcePool, + "V1alpha3ResourceSlice": V1alpha3ResourceSlice, + "V1alpha3ResourceSliceList": V1alpha3ResourceSliceList, + "V1alpha3ResourceSliceSpec": V1alpha3ResourceSliceSpec, + "V1beta1AllocatedDeviceStatus": V1beta1AllocatedDeviceStatus, + "V1beta1AllocationResult": V1beta1AllocationResult, "V1beta1AuditAnnotation": V1beta1AuditAnnotation, + "V1beta1BasicDevice": V1beta1BasicDevice, + "V1beta1CELDeviceSelector": V1beta1CELDeviceSelector, + "V1beta1Device": V1beta1Device, + "V1beta1DeviceAllocationConfiguration": V1beta1DeviceAllocationConfiguration, + "V1beta1DeviceAllocationResult": V1beta1DeviceAllocationResult, + "V1beta1DeviceAttribute": V1beta1DeviceAttribute, + "V1beta1DeviceCapacity": V1beta1DeviceCapacity, + "V1beta1DeviceClaim": V1beta1DeviceClaim, + "V1beta1DeviceClaimConfiguration": V1beta1DeviceClaimConfiguration, + "V1beta1DeviceClass": V1beta1DeviceClass, + "V1beta1DeviceClassConfiguration": V1beta1DeviceClassConfiguration, + "V1beta1DeviceClassList": V1beta1DeviceClassList, + "V1beta1DeviceClassSpec": V1beta1DeviceClassSpec, + "V1beta1DeviceConstraint": V1beta1DeviceConstraint, + "V1beta1DeviceRequest": V1beta1DeviceRequest, + "V1beta1DeviceRequestAllocationResult": V1beta1DeviceRequestAllocationResult, + "V1beta1DeviceSelector": V1beta1DeviceSelector, "V1beta1ExpressionWarning": V1beta1ExpressionWarning, + "V1beta1IPAddress": V1beta1IPAddress, + "V1beta1IPAddressList": V1beta1IPAddressList, + "V1beta1IPAddressSpec": V1beta1IPAddressSpec, "V1beta1MatchCondition": V1beta1MatchCondition, "V1beta1MatchResources": V1beta1MatchResources, "V1beta1NamedRuleWithOperations": V1beta1NamedRuleWithOperations, + "V1beta1NetworkDeviceData": V1beta1NetworkDeviceData, + "V1beta1OpaqueDeviceConfiguration": V1beta1OpaqueDeviceConfiguration, "V1beta1ParamKind": V1beta1ParamKind, "V1beta1ParamRef": V1beta1ParamRef, + "V1beta1ParentReference": V1beta1ParentReference, + "V1beta1ResourceClaim": V1beta1ResourceClaim, + "V1beta1ResourceClaimConsumerReference": V1beta1ResourceClaimConsumerReference, + "V1beta1ResourceClaimList": V1beta1ResourceClaimList, + "V1beta1ResourceClaimSpec": V1beta1ResourceClaimSpec, + "V1beta1ResourceClaimStatus": V1beta1ResourceClaimStatus, + "V1beta1ResourceClaimTemplate": V1beta1ResourceClaimTemplate, + "V1beta1ResourceClaimTemplateList": V1beta1ResourceClaimTemplateList, + "V1beta1ResourceClaimTemplateSpec": V1beta1ResourceClaimTemplateSpec, + "V1beta1ResourcePool": V1beta1ResourcePool, + "V1beta1ResourceSlice": V1beta1ResourceSlice, + "V1beta1ResourceSliceList": V1beta1ResourceSliceList, + "V1beta1ResourceSliceSpec": V1beta1ResourceSliceSpec, "V1beta1SelfSubjectReview": V1beta1SelfSubjectReview, "V1beta1SelfSubjectReviewStatus": V1beta1SelfSubjectReviewStatus, + "V1beta1ServiceCIDR": V1beta1ServiceCIDR, + "V1beta1ServiceCIDRList": V1beta1ServiceCIDRList, + "V1beta1ServiceCIDRSpec": V1beta1ServiceCIDRSpec, + "V1beta1ServiceCIDRStatus": V1beta1ServiceCIDRStatus, "V1beta1TypeChecking": V1beta1TypeChecking, "V1beta1ValidatingAdmissionPolicy": V1beta1ValidatingAdmissionPolicy, "V1beta1ValidatingAdmissionPolicyBinding": V1beta1ValidatingAdmissionPolicyBinding, @@ -1807,29 +1864,8 @@ let typeMap: {[index: string]: any} = { "V1beta1ValidatingAdmissionPolicyStatus": V1beta1ValidatingAdmissionPolicyStatus, "V1beta1Validation": V1beta1Validation, "V1beta1Variable": V1beta1Variable, - "V1beta3ExemptPriorityLevelConfiguration": V1beta3ExemptPriorityLevelConfiguration, - "V1beta3FlowDistinguisherMethod": V1beta3FlowDistinguisherMethod, - "V1beta3FlowSchema": V1beta3FlowSchema, - "V1beta3FlowSchemaCondition": V1beta3FlowSchemaCondition, - "V1beta3FlowSchemaList": V1beta3FlowSchemaList, - "V1beta3FlowSchemaSpec": V1beta3FlowSchemaSpec, - "V1beta3FlowSchemaStatus": V1beta3FlowSchemaStatus, - "V1beta3GroupSubject": V1beta3GroupSubject, - "V1beta3LimitResponse": V1beta3LimitResponse, - "V1beta3LimitedPriorityLevelConfiguration": V1beta3LimitedPriorityLevelConfiguration, - "V1beta3NonResourcePolicyRule": V1beta3NonResourcePolicyRule, - "V1beta3PolicyRulesWithSubjects": V1beta3PolicyRulesWithSubjects, - "V1beta3PriorityLevelConfiguration": V1beta3PriorityLevelConfiguration, - "V1beta3PriorityLevelConfigurationCondition": V1beta3PriorityLevelConfigurationCondition, - "V1beta3PriorityLevelConfigurationList": V1beta3PriorityLevelConfigurationList, - "V1beta3PriorityLevelConfigurationReference": V1beta3PriorityLevelConfigurationReference, - "V1beta3PriorityLevelConfigurationSpec": V1beta3PriorityLevelConfigurationSpec, - "V1beta3PriorityLevelConfigurationStatus": V1beta3PriorityLevelConfigurationStatus, - "V1beta3QueuingConfiguration": V1beta3QueuingConfiguration, - "V1beta3ResourcePolicyRule": V1beta3ResourcePolicyRule, - "V1beta3ServiceAccountSubject": V1beta3ServiceAccountSubject, - "V1beta3Subject": V1beta3Subject, - "V1beta3UserSubject": V1beta3UserSubject, + "V1beta1VolumeAttributesClass": V1beta1VolumeAttributesClass, + "V1beta1VolumeAttributesClassList": V1beta1VolumeAttributesClassList, "V2ContainerResourceMetricSource": V2ContainerResourceMetricSource, "V2ContainerResourceMetricStatus": V2ContainerResourceMetricStatus, "V2CrossVersionObjectReference": V2CrossVersionObjectReference, diff --git a/src/gen/models/RbacV1Subject.ts b/src/gen/models/RbacV1Subject.ts index 4cb11e9fb37..a8ab8c8a08d 100644 --- a/src/gen/models/RbacV1Subject.ts +++ b/src/gen/models/RbacV1Subject.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * 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. diff --git a/src/gen/models/StorageV1TokenRequest.ts b/src/gen/models/StorageV1TokenRequest.ts index 74bed64ca5d..d185c512474 100644 --- a/src/gen/models/StorageV1TokenRequest.ts +++ b/src/gen/models/StorageV1TokenRequest.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * TokenRequest contains parameters of a service account token. diff --git a/src/gen/models/V1APIGroup.ts b/src/gen/models/V1APIGroup.ts index 756d0f3c83e..66eac0e16f8 100644 --- a/src/gen/models/V1APIGroup.ts +++ b/src/gen/models/V1APIGroup.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1GroupVersionForDiscovery } from '../models/V1GroupVersionForDiscovery.js'; -import { V1ServerAddressByClientCIDR } from '../models/V1ServerAddressByClientCIDR.js'; -import { HttpFile } from '../http/http.js'; +import { V1GroupVersionForDiscovery } from '../models/V1GroupVersionForDiscovery'; +import { V1ServerAddressByClientCIDR } from '../models/V1ServerAddressByClientCIDR'; +import { HttpFile } from '../http/http'; /** * APIGroup contains the name, the supported versions, and the preferred version of a group. diff --git a/src/gen/models/V1APIGroupList.ts b/src/gen/models/V1APIGroupList.ts index 6cf0981cb85..75230831acd 100644 --- a/src/gen/models/V1APIGroupList.ts +++ b/src/gen/models/V1APIGroupList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1APIGroup } from '../models/V1APIGroup.js'; -import { HttpFile } from '../http/http.js'; +import { V1APIGroup } from '../models/V1APIGroup'; +import { HttpFile } from '../http/http'; /** * APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis. diff --git a/src/gen/models/V1APIResource.ts b/src/gen/models/V1APIResource.ts index e3c347dbe7b..ef02720f3f4 100644 --- a/src/gen/models/V1APIResource.ts +++ b/src/gen/models/V1APIResource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * APIResource specifies the name of a resource and whether it is namespaced. diff --git a/src/gen/models/V1APIResourceList.ts b/src/gen/models/V1APIResourceList.ts index 3bb5362ad4e..60da96fe60a 100644 --- a/src/gen/models/V1APIResourceList.ts +++ b/src/gen/models/V1APIResourceList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1APIResource } from '../models/V1APIResource.js'; -import { HttpFile } from '../http/http.js'; +import { V1APIResource } from '../models/V1APIResource'; +import { HttpFile } from '../http/http'; /** * 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. diff --git a/src/gen/models/V1APIService.ts b/src/gen/models/V1APIService.ts index 5193935326d..000dec7b51c 100644 --- a/src/gen/models/V1APIService.ts +++ b/src/gen/models/V1APIService.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1APIServiceSpec } from '../models/V1APIServiceSpec.js'; -import { V1APIServiceStatus } from '../models/V1APIServiceStatus.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1APIServiceSpec } from '../models/V1APIServiceSpec'; +import { V1APIServiceStatus } from '../models/V1APIServiceStatus'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * APIService represents a server for a particular GroupVersion. Name must be \"version.group\". diff --git a/src/gen/models/V1APIServiceCondition.ts b/src/gen/models/V1APIServiceCondition.ts index 87371564dc0..c19365a5264 100644 --- a/src/gen/models/V1APIServiceCondition.ts +++ b/src/gen/models/V1APIServiceCondition.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * APIServiceCondition describes the state of an APIService at a particular point diff --git a/src/gen/models/V1APIServiceList.ts b/src/gen/models/V1APIServiceList.ts index 7c0e4e696e6..7f6a632129b 100644 --- a/src/gen/models/V1APIServiceList.ts +++ b/src/gen/models/V1APIServiceList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1APIService } from '../models/V1APIService.js'; -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1APIService } from '../models/V1APIService'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { HttpFile } from '../http/http'; /** * APIServiceList is a list of APIService objects. diff --git a/src/gen/models/V1APIServiceSpec.ts b/src/gen/models/V1APIServiceSpec.ts index 9bf6a32bee2..03cb5687f4a 100644 --- a/src/gen/models/V1APIServiceSpec.ts +++ b/src/gen/models/V1APIServiceSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { ApiregistrationV1ServiceReference } from '../models/ApiregistrationV1ServiceReference.js'; -import { HttpFile } from '../http/http.js'; +import { ApiregistrationV1ServiceReference } from '../models/ApiregistrationV1ServiceReference'; +import { HttpFile } from '../http/http'; /** * APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification. diff --git a/src/gen/models/V1APIServiceStatus.ts b/src/gen/models/V1APIServiceStatus.ts index 48182be2128..42c5574e8b7 100644 --- a/src/gen/models/V1APIServiceStatus.ts +++ b/src/gen/models/V1APIServiceStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1APIServiceCondition } from '../models/V1APIServiceCondition.js'; -import { HttpFile } from '../http/http.js'; +import { V1APIServiceCondition } from '../models/V1APIServiceCondition'; +import { HttpFile } from '../http/http'; /** * APIServiceStatus contains derived information about an API server diff --git a/src/gen/models/V1APIVersions.ts b/src/gen/models/V1APIVersions.ts index 538491ff7a8..dae3ec7a43d 100644 --- a/src/gen/models/V1APIVersions.ts +++ b/src/gen/models/V1APIVersions.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1ServerAddressByClientCIDR } from '../models/V1ServerAddressByClientCIDR.js'; -import { HttpFile } from '../http/http.js'; +import { V1ServerAddressByClientCIDR } from '../models/V1ServerAddressByClientCIDR'; +import { HttpFile } from '../http/http'; /** * 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. diff --git a/src/gen/models/V1AWSElasticBlockStoreVolumeSource.ts b/src/gen/models/V1AWSElasticBlockStoreVolumeSource.ts index be83b34d50d..23717060aa8 100644 --- a/src/gen/models/V1AWSElasticBlockStoreVolumeSource.ts +++ b/src/gen/models/V1AWSElasticBlockStoreVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * 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. diff --git a/src/gen/models/V1Affinity.ts b/src/gen/models/V1Affinity.ts index fa505693957..84f1a3eeade 100644 --- a/src/gen/models/V1Affinity.ts +++ b/src/gen/models/V1Affinity.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1NodeAffinity } from '../models/V1NodeAffinity.js'; -import { V1PodAffinity } from '../models/V1PodAffinity.js'; -import { V1PodAntiAffinity } from '../models/V1PodAntiAffinity.js'; -import { HttpFile } from '../http/http.js'; +import { V1NodeAffinity } from '../models/V1NodeAffinity'; +import { V1PodAffinity } from '../models/V1PodAffinity'; +import { V1PodAntiAffinity } from '../models/V1PodAntiAffinity'; +import { HttpFile } from '../http/http'; /** * Affinity is a group of affinity scheduling rules. diff --git a/src/gen/models/V1AggregationRule.ts b/src/gen/models/V1AggregationRule.ts index 94b936e1263..0966a568e73 100644 --- a/src/gen/models/V1AggregationRule.ts +++ b/src/gen/models/V1AggregationRule.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1LabelSelector } from '../models/V1LabelSelector.js'; -import { HttpFile } from '../http/http.js'; +import { V1LabelSelector } from '../models/V1LabelSelector'; +import { HttpFile } from '../http/http'; /** * AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole diff --git a/src/gen/models/V1AppArmorProfile.ts b/src/gen/models/V1AppArmorProfile.ts index 54298a2dbf5..1e6004169ab 100644 --- a/src/gen/models/V1AppArmorProfile.ts +++ b/src/gen/models/V1AppArmorProfile.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * AppArmorProfile defines a pod or container\'s AppArmor settings. diff --git a/src/gen/models/V1AttachedVolume.ts b/src/gen/models/V1AttachedVolume.ts index 296b332add9..3a530e46df8 100644 --- a/src/gen/models/V1AttachedVolume.ts +++ b/src/gen/models/V1AttachedVolume.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * AttachedVolume describes a volume attached to a node diff --git a/src/gen/models/V1AuditAnnotation.ts b/src/gen/models/V1AuditAnnotation.ts index fc982ef5068..082558fe2b1 100644 --- a/src/gen/models/V1AuditAnnotation.ts +++ b/src/gen/models/V1AuditAnnotation.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * AuditAnnotation describes how to produce an audit annotation for an API request. diff --git a/src/gen/models/V1AzureDiskVolumeSource.ts b/src/gen/models/V1AzureDiskVolumeSource.ts index 660acb6c40b..424a3495ace 100644 --- a/src/gen/models/V1AzureDiskVolumeSource.ts +++ b/src/gen/models/V1AzureDiskVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. diff --git a/src/gen/models/V1AzureFilePersistentVolumeSource.ts b/src/gen/models/V1AzureFilePersistentVolumeSource.ts index 26f070ee5de..683ef60ec56 100644 --- a/src/gen/models/V1AzureFilePersistentVolumeSource.ts +++ b/src/gen/models/V1AzureFilePersistentVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * AzureFile represents an Azure File Service mount on the host and bind mount to the pod. diff --git a/src/gen/models/V1AzureFileVolumeSource.ts b/src/gen/models/V1AzureFileVolumeSource.ts index 6cd38cf5b6f..534dc2c7ca9 100644 --- a/src/gen/models/V1AzureFileVolumeSource.ts +++ b/src/gen/models/V1AzureFileVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * AzureFile represents an Azure File Service mount on the host and bind mount to the pod. diff --git a/src/gen/models/V1Binding.ts b/src/gen/models/V1Binding.ts index d6973d65640..1892d4ce3e4 100644 --- a/src/gen/models/V1Binding.ts +++ b/src/gen/models/V1Binding.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,12 +10,12 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1ObjectReference } from '../models/V1ObjectReference.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1ObjectReference } from '../models/V1ObjectReference'; +import { HttpFile } from '../http/http'; /** -* 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. +* Binding ties one object to another; for example, a pod is bound to a node by a scheduler. */ export class V1Binding { /** diff --git a/src/gen/models/V1BoundObjectReference.ts b/src/gen/models/V1BoundObjectReference.ts index 344d9af2961..d3041425785 100644 --- a/src/gen/models/V1BoundObjectReference.ts +++ b/src/gen/models/V1BoundObjectReference.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * BoundObjectReference is a reference to an object that a token is bound to. diff --git a/src/gen/models/V1CSIDriver.ts b/src/gen/models/V1CSIDriver.ts index b12b8ccafd3..40079b1a771 100644 --- a/src/gen/models/V1CSIDriver.ts +++ b/src/gen/models/V1CSIDriver.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1CSIDriverSpec } from '../models/V1CSIDriverSpec.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1CSIDriverSpec } from '../models/V1CSIDriverSpec'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * 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. diff --git a/src/gen/models/V1CSIDriverList.ts b/src/gen/models/V1CSIDriverList.ts index 92c004564e1..300ec5320f3 100644 --- a/src/gen/models/V1CSIDriverList.ts +++ b/src/gen/models/V1CSIDriverList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1CSIDriver } from '../models/V1CSIDriver.js'; -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1CSIDriver } from '../models/V1CSIDriver'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { HttpFile } from '../http/http'; /** * CSIDriverList is a collection of CSIDriver objects. diff --git a/src/gen/models/V1CSIDriverSpec.ts b/src/gen/models/V1CSIDriverSpec.ts index d2c5d3bce33..700aabf90bc 100644 --- a/src/gen/models/V1CSIDriverSpec.ts +++ b/src/gen/models/V1CSIDriverSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { StorageV1TokenRequest } from '../models/StorageV1TokenRequest.js'; -import { HttpFile } from '../http/http.js'; +import { StorageV1TokenRequest } from '../models/StorageV1TokenRequest'; +import { HttpFile } from '../http/http'; /** * CSIDriverSpec is the specification of a CSIDriver. diff --git a/src/gen/models/V1CSINode.ts b/src/gen/models/V1CSINode.ts index 8644c134a60..151edf3fd86 100644 --- a/src/gen/models/V1CSINode.ts +++ b/src/gen/models/V1CSINode.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1CSINodeSpec } from '../models/V1CSINodeSpec.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1CSINodeSpec } from '../models/V1CSINodeSpec'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * 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. diff --git a/src/gen/models/V1CSINodeDriver.ts b/src/gen/models/V1CSINodeDriver.ts index 9a164a437e9..727cc7cd568 100644 --- a/src/gen/models/V1CSINodeDriver.ts +++ b/src/gen/models/V1CSINodeDriver.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1VolumeNodeResources } from '../models/V1VolumeNodeResources.js'; -import { HttpFile } from '../http/http.js'; +import { V1VolumeNodeResources } from '../models/V1VolumeNodeResources'; +import { HttpFile } from '../http/http'; /** * CSINodeDriver holds information about the specification of one CSI driver installed on a node diff --git a/src/gen/models/V1CSINodeList.ts b/src/gen/models/V1CSINodeList.ts index 12b9edfcae7..71c88dca087 100644 --- a/src/gen/models/V1CSINodeList.ts +++ b/src/gen/models/V1CSINodeList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1CSINode } from '../models/V1CSINode.js'; -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1CSINode } from '../models/V1CSINode'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { HttpFile } from '../http/http'; /** * CSINodeList is a collection of CSINode objects. diff --git a/src/gen/models/V1CSINodeSpec.ts b/src/gen/models/V1CSINodeSpec.ts index 32e9670d1e1..65b932bd853 100644 --- a/src/gen/models/V1CSINodeSpec.ts +++ b/src/gen/models/V1CSINodeSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1CSINodeDriver } from '../models/V1CSINodeDriver.js'; -import { HttpFile } from '../http/http.js'; +import { V1CSINodeDriver } from '../models/V1CSINodeDriver'; +import { HttpFile } from '../http/http'; /** * CSINodeSpec holds information about the specification of all CSI drivers installed on a node diff --git a/src/gen/models/V1CSIPersistentVolumeSource.ts b/src/gen/models/V1CSIPersistentVolumeSource.ts index 6f5a25c96b5..f7213c5b9a7 100644 --- a/src/gen/models/V1CSIPersistentVolumeSource.ts +++ b/src/gen/models/V1CSIPersistentVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,11 +10,11 @@ * Do not edit the class manually. */ -import { V1SecretReference } from '../models/V1SecretReference.js'; -import { HttpFile } from '../http/http.js'; +import { V1SecretReference } from '../models/V1SecretReference'; +import { HttpFile } from '../http/http'; /** -* Represents storage that is managed by an external CSI volume driver (Beta feature) +* Represents storage that is managed by an external CSI volume driver */ export class V1CSIPersistentVolumeSource { 'controllerExpandSecretRef'?: V1SecretReference; diff --git a/src/gen/models/V1CSIStorageCapacity.ts b/src/gen/models/V1CSIStorageCapacity.ts index a865b920aab..0de12e68da1 100644 --- a/src/gen/models/V1CSIStorageCapacity.ts +++ b/src/gen/models/V1CSIStorageCapacity.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1LabelSelector } from '../models/V1LabelSelector.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1LabelSelector } from '../models/V1LabelSelector'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes. For example this can express things like: - StorageClass \"standard\" has \"1234 GiB\" available in \"topology.kubernetes.io/zone=us-east1\" - StorageClass \"localssd\" has \"10 GiB\" available in \"kubernetes.io/hostname=knode-abc123\" The following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero The producer of these objects can decide which approach is more suitable. They are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node. diff --git a/src/gen/models/V1CSIStorageCapacityList.ts b/src/gen/models/V1CSIStorageCapacityList.ts index e5ae1a84ee8..ee2d17e9ff3 100644 --- a/src/gen/models/V1CSIStorageCapacityList.ts +++ b/src/gen/models/V1CSIStorageCapacityList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1CSIStorageCapacity } from '../models/V1CSIStorageCapacity.js'; -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1CSIStorageCapacity } from '../models/V1CSIStorageCapacity'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { HttpFile } from '../http/http'; /** * CSIStorageCapacityList is a collection of CSIStorageCapacity objects. diff --git a/src/gen/models/V1CSIVolumeSource.ts b/src/gen/models/V1CSIVolumeSource.ts index ff611062549..85a8f8a966c 100644 --- a/src/gen/models/V1CSIVolumeSource.ts +++ b/src/gen/models/V1CSIVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1LocalObjectReference } from '../models/V1LocalObjectReference.js'; -import { HttpFile } from '../http/http.js'; +import { V1LocalObjectReference } from '../models/V1LocalObjectReference'; +import { HttpFile } from '../http/http'; /** * Represents a source location of a volume to mount, managed by an external CSI driver diff --git a/src/gen/models/V1Capabilities.ts b/src/gen/models/V1Capabilities.ts index 4e222e06110..fd10a631a0a 100644 --- a/src/gen/models/V1Capabilities.ts +++ b/src/gen/models/V1Capabilities.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Adds and removes POSIX capabilities from running containers. diff --git a/src/gen/models/V1CephFSPersistentVolumeSource.ts b/src/gen/models/V1CephFSPersistentVolumeSource.ts index b11d21f3772..caeb9a33cd4 100644 --- a/src/gen/models/V1CephFSPersistentVolumeSource.ts +++ b/src/gen/models/V1CephFSPersistentVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1SecretReference } from '../models/V1SecretReference.js'; -import { HttpFile } from '../http/http.js'; +import { V1SecretReference } from '../models/V1SecretReference'; +import { HttpFile } from '../http/http'; /** * Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling. diff --git a/src/gen/models/V1CephFSVolumeSource.ts b/src/gen/models/V1CephFSVolumeSource.ts index 6ff70704ce5..5d423adc489 100644 --- a/src/gen/models/V1CephFSVolumeSource.ts +++ b/src/gen/models/V1CephFSVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1LocalObjectReference } from '../models/V1LocalObjectReference.js'; -import { HttpFile } from '../http/http.js'; +import { V1LocalObjectReference } from '../models/V1LocalObjectReference'; +import { HttpFile } from '../http/http'; /** * Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling. diff --git a/src/gen/models/V1CertificateSigningRequest.ts b/src/gen/models/V1CertificateSigningRequest.ts index f135e6164d2..c911a8a8087 100644 --- a/src/gen/models/V1CertificateSigningRequest.ts +++ b/src/gen/models/V1CertificateSigningRequest.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1CertificateSigningRequestSpec } from '../models/V1CertificateSigningRequestSpec.js'; -import { V1CertificateSigningRequestStatus } from '../models/V1CertificateSigningRequestStatus.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1CertificateSigningRequestSpec } from '../models/V1CertificateSigningRequestSpec'; +import { V1CertificateSigningRequestStatus } from '../models/V1CertificateSigningRequestStatus'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued. Kubelets use this API to obtain: 1. client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client-kubelet\" signerName). 2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the \"kubernetes.io/kubelet-serving\" signerName). This API can be used to request client certificates to authenticate to kube-apiserver (with the \"kubernetes.io/kube-apiserver-client\" signerName), or to obtain certificates from custom non-Kubernetes signers. diff --git a/src/gen/models/V1CertificateSigningRequestCondition.ts b/src/gen/models/V1CertificateSigningRequestCondition.ts index da9f8ca2e56..98b40cef5bc 100644 --- a/src/gen/models/V1CertificateSigningRequestCondition.ts +++ b/src/gen/models/V1CertificateSigningRequestCondition.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * CertificateSigningRequestCondition describes a condition of a CertificateSigningRequest object diff --git a/src/gen/models/V1CertificateSigningRequestList.ts b/src/gen/models/V1CertificateSigningRequestList.ts index a98663a470f..c5203b9f4d9 100644 --- a/src/gen/models/V1CertificateSigningRequestList.ts +++ b/src/gen/models/V1CertificateSigningRequestList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1CertificateSigningRequest } from '../models/V1CertificateSigningRequest.js'; -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1CertificateSigningRequest } from '../models/V1CertificateSigningRequest'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { HttpFile } from '../http/http'; /** * CertificateSigningRequestList is a collection of CertificateSigningRequest objects diff --git a/src/gen/models/V1CertificateSigningRequestSpec.ts b/src/gen/models/V1CertificateSigningRequestSpec.ts index d040525c058..ca0ca7fbb6e 100644 --- a/src/gen/models/V1CertificateSigningRequestSpec.ts +++ b/src/gen/models/V1CertificateSigningRequestSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * CertificateSigningRequestSpec contains the certificate request. diff --git a/src/gen/models/V1CertificateSigningRequestStatus.ts b/src/gen/models/V1CertificateSigningRequestStatus.ts index 1529f938bba..28784b80112 100644 --- a/src/gen/models/V1CertificateSigningRequestStatus.ts +++ b/src/gen/models/V1CertificateSigningRequestStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1CertificateSigningRequestCondition } from '../models/V1CertificateSigningRequestCondition.js'; -import { HttpFile } from '../http/http.js'; +import { V1CertificateSigningRequestCondition } from '../models/V1CertificateSigningRequestCondition'; +import { HttpFile } from '../http/http'; /** * CertificateSigningRequestStatus contains conditions used to indicate approved/denied/failed status of the request, and the issued certificate. diff --git a/src/gen/models/V1CinderPersistentVolumeSource.ts b/src/gen/models/V1CinderPersistentVolumeSource.ts index 274bfa4d693..b71f4572e53 100644 --- a/src/gen/models/V1CinderPersistentVolumeSource.ts +++ b/src/gen/models/V1CinderPersistentVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1SecretReference } from '../models/V1SecretReference.js'; -import { HttpFile } from '../http/http.js'; +import { V1SecretReference } from '../models/V1SecretReference'; +import { HttpFile } from '../http/http'; /** * Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling. diff --git a/src/gen/models/V1CinderVolumeSource.ts b/src/gen/models/V1CinderVolumeSource.ts index 414170f4cb1..00b79014ff1 100644 --- a/src/gen/models/V1CinderVolumeSource.ts +++ b/src/gen/models/V1CinderVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1LocalObjectReference } from '../models/V1LocalObjectReference.js'; -import { HttpFile } from '../http/http.js'; +import { V1LocalObjectReference } from '../models/V1LocalObjectReference'; +import { HttpFile } from '../http/http'; /** * Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling. diff --git a/src/gen/models/V1ClientIPConfig.ts b/src/gen/models/V1ClientIPConfig.ts index 7a174546739..0657c5ed77f 100644 --- a/src/gen/models/V1ClientIPConfig.ts +++ b/src/gen/models/V1ClientIPConfig.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ClientIPConfig represents the configurations of Client IP based session affinity. diff --git a/src/gen/models/V1ClusterRole.ts b/src/gen/models/V1ClusterRole.ts index acbf600af12..edaa960fc2b 100644 --- a/src/gen/models/V1ClusterRole.ts +++ b/src/gen/models/V1ClusterRole.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1AggregationRule } from '../models/V1AggregationRule.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1PolicyRule } from '../models/V1PolicyRule.js'; -import { HttpFile } from '../http/http.js'; +import { V1AggregationRule } from '../models/V1AggregationRule'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1PolicyRule } from '../models/V1PolicyRule'; +import { HttpFile } from '../http/http'; /** * ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. diff --git a/src/gen/models/V1ClusterRoleBinding.ts b/src/gen/models/V1ClusterRoleBinding.ts index fb44c309387..80a94f132c4 100644 --- a/src/gen/models/V1ClusterRoleBinding.ts +++ b/src/gen/models/V1ClusterRoleBinding.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { RbacV1Subject } from '../models/RbacV1Subject.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1RoleRef } from '../models/V1RoleRef.js'; -import { HttpFile } from '../http/http.js'; +import { RbacV1Subject } from '../models/RbacV1Subject'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1RoleRef } from '../models/V1RoleRef'; +import { HttpFile } from '../http/http'; /** * ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. diff --git a/src/gen/models/V1ClusterRoleBindingList.ts b/src/gen/models/V1ClusterRoleBindingList.ts index 8f102fd475f..7daf7aef776 100644 --- a/src/gen/models/V1ClusterRoleBindingList.ts +++ b/src/gen/models/V1ClusterRoleBindingList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ClusterRoleBinding } from '../models/V1ClusterRoleBinding.js'; -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1ClusterRoleBinding } from '../models/V1ClusterRoleBinding'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { HttpFile } from '../http/http'; /** * ClusterRoleBindingList is a collection of ClusterRoleBindings diff --git a/src/gen/models/V1ClusterRoleList.ts b/src/gen/models/V1ClusterRoleList.ts index 165cf7bf6f1..68f7a466217 100644 --- a/src/gen/models/V1ClusterRoleList.ts +++ b/src/gen/models/V1ClusterRoleList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ClusterRole } from '../models/V1ClusterRole.js'; -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1ClusterRole } from '../models/V1ClusterRole'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { HttpFile } from '../http/http'; /** * ClusterRoleList is a collection of ClusterRoles diff --git a/src/gen/models/V1ClusterTrustBundleProjection.ts b/src/gen/models/V1ClusterTrustBundleProjection.ts index d3250f4e96c..bb17d67f366 100644 --- a/src/gen/models/V1ClusterTrustBundleProjection.ts +++ b/src/gen/models/V1ClusterTrustBundleProjection.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1LabelSelector } from '../models/V1LabelSelector.js'; -import { HttpFile } from '../http/http.js'; +import { V1LabelSelector } from '../models/V1LabelSelector'; +import { HttpFile } from '../http/http'; /** * ClusterTrustBundleProjection describes how to select a set of ClusterTrustBundle objects and project their contents into the pod filesystem. diff --git a/src/gen/models/V1ComponentCondition.ts b/src/gen/models/V1ComponentCondition.ts index 3c0975be2da..13988c6fe32 100644 --- a/src/gen/models/V1ComponentCondition.ts +++ b/src/gen/models/V1ComponentCondition.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Information about the condition of a component. diff --git a/src/gen/models/V1ComponentStatus.ts b/src/gen/models/V1ComponentStatus.ts index 6ce42ed4d26..b5c3de3a71a 100644 --- a/src/gen/models/V1ComponentStatus.ts +++ b/src/gen/models/V1ComponentStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ComponentCondition } from '../models/V1ComponentCondition.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1ComponentCondition } from '../models/V1ComponentCondition'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * ComponentStatus (and ComponentStatusList) holds the cluster validation info. Deprecated: This API is deprecated in v1.19+ diff --git a/src/gen/models/V1ComponentStatusList.ts b/src/gen/models/V1ComponentStatusList.ts index da61adcf39a..4d57f5e1782 100644 --- a/src/gen/models/V1ComponentStatusList.ts +++ b/src/gen/models/V1ComponentStatusList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ComponentStatus } from '../models/V1ComponentStatus.js'; -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1ComponentStatus } from '../models/V1ComponentStatus'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { HttpFile } from '../http/http'; /** * Status of all the conditions for the component as a list of ComponentStatus objects. Deprecated: This API is deprecated in v1.19+ diff --git a/src/gen/models/V1Condition.ts b/src/gen/models/V1Condition.ts index b90a617be76..d95d3d5d05e 100644 --- a/src/gen/models/V1Condition.ts +++ b/src/gen/models/V1Condition.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Condition contains details for one aspect of the current state of this API Resource. diff --git a/src/gen/models/V1ConfigMap.ts b/src/gen/models/V1ConfigMap.ts index 318aa839242..3ea88581d46 100644 --- a/src/gen/models/V1ConfigMap.ts +++ b/src/gen/models/V1ConfigMap.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * ConfigMap holds configuration data for pods to consume. diff --git a/src/gen/models/V1ConfigMapEnvSource.ts b/src/gen/models/V1ConfigMapEnvSource.ts index d5d3c4a67e8..643fe8ba07b 100644 --- a/src/gen/models/V1ConfigMapEnvSource.ts +++ b/src/gen/models/V1ConfigMapEnvSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ConfigMapEnvSource selects a ConfigMap to populate the environment variables with. The contents of the target ConfigMap\'s Data field will represent the key-value pairs as environment variables. diff --git a/src/gen/models/V1ConfigMapKeySelector.ts b/src/gen/models/V1ConfigMapKeySelector.ts index 42ba0572771..5039b0c1c05 100644 --- a/src/gen/models/V1ConfigMapKeySelector.ts +++ b/src/gen/models/V1ConfigMapKeySelector.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Selects a key from a ConfigMap. diff --git a/src/gen/models/V1ConfigMapList.ts b/src/gen/models/V1ConfigMapList.ts index abc2c3e4210..3d6c121c3fb 100644 --- a/src/gen/models/V1ConfigMapList.ts +++ b/src/gen/models/V1ConfigMapList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ConfigMap } from '../models/V1ConfigMap.js'; -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1ConfigMap } from '../models/V1ConfigMap'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { HttpFile } from '../http/http'; /** * ConfigMapList is a resource containing a list of ConfigMap objects. diff --git a/src/gen/models/V1ConfigMapNodeConfigSource.ts b/src/gen/models/V1ConfigMapNodeConfigSource.ts index 0ca4dabf673..d85467d3e47 100644 --- a/src/gen/models/V1ConfigMapNodeConfigSource.ts +++ b/src/gen/models/V1ConfigMapNodeConfigSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. This API is deprecated since 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configuration diff --git a/src/gen/models/V1ConfigMapProjection.ts b/src/gen/models/V1ConfigMapProjection.ts index 4d0c664918d..166635d94ae 100644 --- a/src/gen/models/V1ConfigMapProjection.ts +++ b/src/gen/models/V1ConfigMapProjection.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1KeyToPath } from '../models/V1KeyToPath.js'; -import { HttpFile } from '../http/http.js'; +import { V1KeyToPath } from '../models/V1KeyToPath'; +import { HttpFile } from '../http/http'; /** * Adapts a ConfigMap into a projected volume. The contents of the target ConfigMap\'s Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode. diff --git a/src/gen/models/V1ConfigMapVolumeSource.ts b/src/gen/models/V1ConfigMapVolumeSource.ts index 3fb14ef022c..97f1f618411 100644 --- a/src/gen/models/V1ConfigMapVolumeSource.ts +++ b/src/gen/models/V1ConfigMapVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1KeyToPath } from '../models/V1KeyToPath.js'; -import { HttpFile } from '../http/http.js'; +import { V1KeyToPath } from '../models/V1KeyToPath'; +import { HttpFile } from '../http/http'; /** * Adapts a ConfigMap into a volume. The contents of the target ConfigMap\'s Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling. diff --git a/src/gen/models/V1Container.ts b/src/gen/models/V1Container.ts index 1bf5a03f2ce..27adbebbd8d 100644 --- a/src/gen/models/V1Container.ts +++ b/src/gen/models/V1Container.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,17 +10,17 @@ * Do not edit the class manually. */ -import { V1ContainerPort } from '../models/V1ContainerPort.js'; -import { V1ContainerResizePolicy } from '../models/V1ContainerResizePolicy.js'; -import { V1EnvFromSource } from '../models/V1EnvFromSource.js'; -import { V1EnvVar } from '../models/V1EnvVar.js'; -import { V1Lifecycle } from '../models/V1Lifecycle.js'; -import { V1Probe } from '../models/V1Probe.js'; -import { V1ResourceRequirements } from '../models/V1ResourceRequirements.js'; -import { V1SecurityContext } from '../models/V1SecurityContext.js'; -import { V1VolumeDevice } from '../models/V1VolumeDevice.js'; -import { V1VolumeMount } from '../models/V1VolumeMount.js'; -import { HttpFile } from '../http/http.js'; +import { V1ContainerPort } from '../models/V1ContainerPort'; +import { V1ContainerResizePolicy } from '../models/V1ContainerResizePolicy'; +import { V1EnvFromSource } from '../models/V1EnvFromSource'; +import { V1EnvVar } from '../models/V1EnvVar'; +import { V1Lifecycle } from '../models/V1Lifecycle'; +import { V1Probe } from '../models/V1Probe'; +import { V1ResourceRequirements } from '../models/V1ResourceRequirements'; +import { V1SecurityContext } from '../models/V1SecurityContext'; +import { V1VolumeDevice } from '../models/V1VolumeDevice'; +import { V1VolumeMount } from '../models/V1VolumeMount'; +import { HttpFile } from '../http/http'; /** * A single application container that you want to run within a pod. diff --git a/src/gen/models/V1ContainerImage.ts b/src/gen/models/V1ContainerImage.ts index 9ccd1b7910d..4e8a4246df1 100644 --- a/src/gen/models/V1ContainerImage.ts +++ b/src/gen/models/V1ContainerImage.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Describe a container image diff --git a/src/gen/models/V1ContainerPort.ts b/src/gen/models/V1ContainerPort.ts index 28d6e26e4ce..08d4352220e 100644 --- a/src/gen/models/V1ContainerPort.ts +++ b/src/gen/models/V1ContainerPort.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ContainerPort represents a network port in a single container. diff --git a/src/gen/models/V1ContainerResizePolicy.ts b/src/gen/models/V1ContainerResizePolicy.ts index af6feda2944..ebadfc0e9c6 100644 --- a/src/gen/models/V1ContainerResizePolicy.ts +++ b/src/gen/models/V1ContainerResizePolicy.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ContainerResizePolicy represents resource resize policy for the container. diff --git a/src/gen/models/V1ContainerState.ts b/src/gen/models/V1ContainerState.ts index c87dfddb0ed..c0003edb0eb 100644 --- a/src/gen/models/V1ContainerState.ts +++ b/src/gen/models/V1ContainerState.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1ContainerStateRunning } from '../models/V1ContainerStateRunning.js'; -import { V1ContainerStateTerminated } from '../models/V1ContainerStateTerminated.js'; -import { V1ContainerStateWaiting } from '../models/V1ContainerStateWaiting.js'; -import { HttpFile } from '../http/http.js'; +import { V1ContainerStateRunning } from '../models/V1ContainerStateRunning'; +import { V1ContainerStateTerminated } from '../models/V1ContainerStateTerminated'; +import { V1ContainerStateWaiting } from '../models/V1ContainerStateWaiting'; +import { HttpFile } from '../http/http'; /** * ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting. diff --git a/src/gen/models/V1ContainerStateRunning.ts b/src/gen/models/V1ContainerStateRunning.ts index e5690b46bc6..c3764999c84 100644 --- a/src/gen/models/V1ContainerStateRunning.ts +++ b/src/gen/models/V1ContainerStateRunning.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ContainerStateRunning is a running state of a container. diff --git a/src/gen/models/V1ContainerStateTerminated.ts b/src/gen/models/V1ContainerStateTerminated.ts index 76e3aa59884..bb737cd4dc4 100644 --- a/src/gen/models/V1ContainerStateTerminated.ts +++ b/src/gen/models/V1ContainerStateTerminated.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ContainerStateTerminated is a terminated state of a container. diff --git a/src/gen/models/V1ContainerStateWaiting.ts b/src/gen/models/V1ContainerStateWaiting.ts index 0112d4d8cc5..2b32687df5f 100644 --- a/src/gen/models/V1ContainerStateWaiting.ts +++ b/src/gen/models/V1ContainerStateWaiting.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ContainerStateWaiting is a waiting state of a container. diff --git a/src/gen/models/V1ContainerStatus.ts b/src/gen/models/V1ContainerStatus.ts index c4ff1eae30d..048e0b3a17f 100644 --- a/src/gen/models/V1ContainerStatus.ts +++ b/src/gen/models/V1ContainerStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,12 @@ * Do not edit the class manually. */ -import { V1ContainerState } from '../models/V1ContainerState.js'; -import { V1ResourceRequirements } from '../models/V1ResourceRequirements.js'; -import { V1VolumeMountStatus } from '../models/V1VolumeMountStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1ContainerState } from '../models/V1ContainerState'; +import { V1ContainerUser } from '../models/V1ContainerUser'; +import { V1ResourceRequirements } from '../models/V1ResourceRequirements'; +import { V1ResourceStatus } from '../models/V1ResourceStatus'; +import { V1VolumeMountStatus } from '../models/V1VolumeMountStatus'; +import { HttpFile } from '../http/http'; /** * ContainerStatus contains details for the current status of this container. @@ -24,6 +26,10 @@ export class V1ContainerStatus { */ 'allocatedResources'?: { [key: string]: string; }; /** + * AllocatedResourcesStatus represents the status of various resources allocated for this Pod. + */ + 'allocatedResourcesStatus'?: Array; + /** * ContainerID is the ID of the container in the format \'://\'. Where type is a container runtime identifier, returned from Version call of CRI API (for example \"containerd\"). */ 'containerID'?: string; @@ -54,6 +60,7 @@ export class V1ContainerStatus { */ 'started'?: boolean; 'state'?: V1ContainerState; + 'user'?: V1ContainerUser; /** * Status of volume mounts. */ @@ -70,6 +77,12 @@ export class V1ContainerStatus { "type": "{ [key: string]: string; }", "format": "" }, + { + "name": "allocatedResourcesStatus", + "baseName": "allocatedResourcesStatus", + "type": "Array", + "format": "" + }, { "name": "containerID", "baseName": "containerID", @@ -130,6 +143,12 @@ export class V1ContainerStatus { "type": "V1ContainerState", "format": "" }, + { + "name": "user", + "baseName": "user", + "type": "V1ContainerUser", + "format": "" + }, { "name": "volumeMounts", "baseName": "volumeMounts", diff --git a/src/gen/models/V1ContainerUser.ts b/src/gen/models/V1ContainerUser.ts new file mode 100644 index 00000000000..d38f73a908a --- /dev/null +++ b/src/gen/models/V1ContainerUser.ts @@ -0,0 +1,40 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1LinuxContainerUser } from '../models/V1LinuxContainerUser'; +import { HttpFile } from '../http/http'; + +/** +* ContainerUser represents user identity information +*/ +export class V1ContainerUser { + 'linux'?: V1LinuxContainerUser; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "linux", + "baseName": "linux", + "type": "V1LinuxContainerUser", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1ContainerUser.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1ControllerRevision.ts b/src/gen/models/V1ControllerRevision.ts index 27a16399ca8..1254df5821a 100644 --- a/src/gen/models/V1ControllerRevision.ts +++ b/src/gen/models/V1ControllerRevision.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers. diff --git a/src/gen/models/V1ControllerRevisionList.ts b/src/gen/models/V1ControllerRevisionList.ts index 361fed36ab3..7a87a1176be 100644 --- a/src/gen/models/V1ControllerRevisionList.ts +++ b/src/gen/models/V1ControllerRevisionList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ControllerRevision } from '../models/V1ControllerRevision.js'; -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1ControllerRevision } from '../models/V1ControllerRevision'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { HttpFile } from '../http/http'; /** * ControllerRevisionList is a resource containing a list of ControllerRevision objects. diff --git a/src/gen/models/V1CronJob.ts b/src/gen/models/V1CronJob.ts index 0922868d3a9..ec4ad5389cf 100644 --- a/src/gen/models/V1CronJob.ts +++ b/src/gen/models/V1CronJob.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1CronJobSpec } from '../models/V1CronJobSpec.js'; -import { V1CronJobStatus } from '../models/V1CronJobStatus.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1CronJobSpec } from '../models/V1CronJobSpec'; +import { V1CronJobStatus } from '../models/V1CronJobStatus'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * CronJob represents the configuration of a single cron job. diff --git a/src/gen/models/V1CronJobList.ts b/src/gen/models/V1CronJobList.ts index 8211a72e582..cf0e031155c 100644 --- a/src/gen/models/V1CronJobList.ts +++ b/src/gen/models/V1CronJobList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1CronJob } from '../models/V1CronJob.js'; -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1CronJob } from '../models/V1CronJob'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { HttpFile } from '../http/http'; /** * CronJobList is a collection of cron jobs. diff --git a/src/gen/models/V1CronJobSpec.ts b/src/gen/models/V1CronJobSpec.ts index d6a85a0427d..0f2efa6d2e4 100644 --- a/src/gen/models/V1CronJobSpec.ts +++ b/src/gen/models/V1CronJobSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1JobTemplateSpec } from '../models/V1JobTemplateSpec.js'; -import { HttpFile } from '../http/http.js'; +import { V1JobTemplateSpec } from '../models/V1JobTemplateSpec'; +import { HttpFile } from '../http/http'; /** * CronJobSpec describes how the job execution will look like and when it will actually run. diff --git a/src/gen/models/V1CronJobStatus.ts b/src/gen/models/V1CronJobStatus.ts index 515b9292c84..fc2f91a28d7 100644 --- a/src/gen/models/V1CronJobStatus.ts +++ b/src/gen/models/V1CronJobStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1ObjectReference } from '../models/V1ObjectReference.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectReference } from '../models/V1ObjectReference'; +import { HttpFile } from '../http/http'; /** * CronJobStatus represents the current state of a cron job. diff --git a/src/gen/models/V1CrossVersionObjectReference.ts b/src/gen/models/V1CrossVersionObjectReference.ts index 217191f65b7..40ea03aaf49 100644 --- a/src/gen/models/V1CrossVersionObjectReference.ts +++ b/src/gen/models/V1CrossVersionObjectReference.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * CrossVersionObjectReference contains enough information to let you identify the referred resource. diff --git a/src/gen/models/V1CustomResourceColumnDefinition.ts b/src/gen/models/V1CustomResourceColumnDefinition.ts index 329f5e7f4fd..abbaa87a713 100644 --- a/src/gen/models/V1CustomResourceColumnDefinition.ts +++ b/src/gen/models/V1CustomResourceColumnDefinition.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * CustomResourceColumnDefinition specifies a column for server side printing. diff --git a/src/gen/models/V1CustomResourceConversion.ts b/src/gen/models/V1CustomResourceConversion.ts index 2b00780645e..0e9829bd606 100644 --- a/src/gen/models/V1CustomResourceConversion.ts +++ b/src/gen/models/V1CustomResourceConversion.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1WebhookConversion } from '../models/V1WebhookConversion.js'; -import { HttpFile } from '../http/http.js'; +import { V1WebhookConversion } from '../models/V1WebhookConversion'; +import { HttpFile } from '../http/http'; /** * CustomResourceConversion describes how to convert different versions of a CR. diff --git a/src/gen/models/V1CustomResourceDefinition.ts b/src/gen/models/V1CustomResourceDefinition.ts index 9b1b5bf820d..3b9b7db2c5f 100644 --- a/src/gen/models/V1CustomResourceDefinition.ts +++ b/src/gen/models/V1CustomResourceDefinition.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1CustomResourceDefinitionSpec } from '../models/V1CustomResourceDefinitionSpec.js'; -import { V1CustomResourceDefinitionStatus } from '../models/V1CustomResourceDefinitionStatus.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1CustomResourceDefinitionSpec } from '../models/V1CustomResourceDefinitionSpec'; +import { V1CustomResourceDefinitionStatus } from '../models/V1CustomResourceDefinitionStatus'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>. diff --git a/src/gen/models/V1CustomResourceDefinitionCondition.ts b/src/gen/models/V1CustomResourceDefinitionCondition.ts index 1a73c667022..754e3ef43bf 100644 --- a/src/gen/models/V1CustomResourceDefinitionCondition.ts +++ b/src/gen/models/V1CustomResourceDefinitionCondition.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * CustomResourceDefinitionCondition contains details for the current condition of this pod. diff --git a/src/gen/models/V1CustomResourceDefinitionList.ts b/src/gen/models/V1CustomResourceDefinitionList.ts index dab3d986c7b..b577c9c2b07 100644 --- a/src/gen/models/V1CustomResourceDefinitionList.ts +++ b/src/gen/models/V1CustomResourceDefinitionList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1CustomResourceDefinition } from '../models/V1CustomResourceDefinition.js'; -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1CustomResourceDefinition } from '../models/V1CustomResourceDefinition'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { HttpFile } from '../http/http'; /** * CustomResourceDefinitionList is a list of CustomResourceDefinition objects. diff --git a/src/gen/models/V1CustomResourceDefinitionNames.ts b/src/gen/models/V1CustomResourceDefinitionNames.ts index dc9896f49dc..22337a9a132 100644 --- a/src/gen/models/V1CustomResourceDefinitionNames.ts +++ b/src/gen/models/V1CustomResourceDefinitionNames.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition diff --git a/src/gen/models/V1CustomResourceDefinitionSpec.ts b/src/gen/models/V1CustomResourceDefinitionSpec.ts index 4167c251d83..14636c23b7d 100644 --- a/src/gen/models/V1CustomResourceDefinitionSpec.ts +++ b/src/gen/models/V1CustomResourceDefinitionSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1CustomResourceConversion } from '../models/V1CustomResourceConversion.js'; -import { V1CustomResourceDefinitionNames } from '../models/V1CustomResourceDefinitionNames.js'; -import { V1CustomResourceDefinitionVersion } from '../models/V1CustomResourceDefinitionVersion.js'; -import { HttpFile } from '../http/http.js'; +import { V1CustomResourceConversion } from '../models/V1CustomResourceConversion'; +import { V1CustomResourceDefinitionNames } from '../models/V1CustomResourceDefinitionNames'; +import { V1CustomResourceDefinitionVersion } from '../models/V1CustomResourceDefinitionVersion'; +import { HttpFile } from '../http/http'; /** * CustomResourceDefinitionSpec describes how a user wants their resource to appear diff --git a/src/gen/models/V1CustomResourceDefinitionStatus.ts b/src/gen/models/V1CustomResourceDefinitionStatus.ts index 3be5058df5b..80bff02cedc 100644 --- a/src/gen/models/V1CustomResourceDefinitionStatus.ts +++ b/src/gen/models/V1CustomResourceDefinitionStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1CustomResourceDefinitionCondition } from '../models/V1CustomResourceDefinitionCondition.js'; -import { V1CustomResourceDefinitionNames } from '../models/V1CustomResourceDefinitionNames.js'; -import { HttpFile } from '../http/http.js'; +import { V1CustomResourceDefinitionCondition } from '../models/V1CustomResourceDefinitionCondition'; +import { V1CustomResourceDefinitionNames } from '../models/V1CustomResourceDefinitionNames'; +import { HttpFile } from '../http/http'; /** * CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition diff --git a/src/gen/models/V1CustomResourceDefinitionVersion.ts b/src/gen/models/V1CustomResourceDefinitionVersion.ts index f6685a2747d..13af97a3612 100644 --- a/src/gen/models/V1CustomResourceDefinitionVersion.ts +++ b/src/gen/models/V1CustomResourceDefinitionVersion.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,11 +10,11 @@ * Do not edit the class manually. */ -import { V1CustomResourceColumnDefinition } from '../models/V1CustomResourceColumnDefinition.js'; -import { V1CustomResourceSubresources } from '../models/V1CustomResourceSubresources.js'; -import { V1CustomResourceValidation } from '../models/V1CustomResourceValidation.js'; -import { V1SelectableField } from '../models/V1SelectableField.js'; -import { HttpFile } from '../http/http.js'; +import { V1CustomResourceColumnDefinition } from '../models/V1CustomResourceColumnDefinition'; +import { V1CustomResourceSubresources } from '../models/V1CustomResourceSubresources'; +import { V1CustomResourceValidation } from '../models/V1CustomResourceValidation'; +import { V1SelectableField } from '../models/V1SelectableField'; +import { HttpFile } from '../http/http'; /** * CustomResourceDefinitionVersion describes a version for CRD. diff --git a/src/gen/models/V1CustomResourceSubresourceScale.ts b/src/gen/models/V1CustomResourceSubresourceScale.ts index 990f12cac05..b1634708b35 100644 --- a/src/gen/models/V1CustomResourceSubresourceScale.ts +++ b/src/gen/models/V1CustomResourceSubresourceScale.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources. diff --git a/src/gen/models/V1CustomResourceSubresources.ts b/src/gen/models/V1CustomResourceSubresources.ts index 88aa2b26c00..8ae5a43c3ca 100644 --- a/src/gen/models/V1CustomResourceSubresources.ts +++ b/src/gen/models/V1CustomResourceSubresources.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1CustomResourceSubresourceScale } from '../models/V1CustomResourceSubresourceScale.js'; -import { HttpFile } from '../http/http.js'; +import { V1CustomResourceSubresourceScale } from '../models/V1CustomResourceSubresourceScale'; +import { HttpFile } from '../http/http'; /** * CustomResourceSubresources defines the status and scale subresources for CustomResources. diff --git a/src/gen/models/V1CustomResourceValidation.ts b/src/gen/models/V1CustomResourceValidation.ts index 5fa26c05bee..f69911268a0 100644 --- a/src/gen/models/V1CustomResourceValidation.ts +++ b/src/gen/models/V1CustomResourceValidation.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1JSONSchemaProps } from '../models/V1JSONSchemaProps.js'; -import { HttpFile } from '../http/http.js'; +import { V1JSONSchemaProps } from '../models/V1JSONSchemaProps'; +import { HttpFile } from '../http/http'; /** * CustomResourceValidation is a list of validation methods for CustomResources. diff --git a/src/gen/models/V1DaemonEndpoint.ts b/src/gen/models/V1DaemonEndpoint.ts index 0122d72e7b4..b8790c9a97d 100644 --- a/src/gen/models/V1DaemonEndpoint.ts +++ b/src/gen/models/V1DaemonEndpoint.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * DaemonEndpoint contains information about a single Daemon endpoint. diff --git a/src/gen/models/V1DaemonSet.ts b/src/gen/models/V1DaemonSet.ts index b0bc7ec386d..586fdf42917 100644 --- a/src/gen/models/V1DaemonSet.ts +++ b/src/gen/models/V1DaemonSet.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1DaemonSetSpec } from '../models/V1DaemonSetSpec.js'; -import { V1DaemonSetStatus } from '../models/V1DaemonSetStatus.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1DaemonSetSpec } from '../models/V1DaemonSetSpec'; +import { V1DaemonSetStatus } from '../models/V1DaemonSetStatus'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * DaemonSet represents the configuration of a daemon set. diff --git a/src/gen/models/V1DaemonSetCondition.ts b/src/gen/models/V1DaemonSetCondition.ts index b81543cb277..9311d6573c4 100644 --- a/src/gen/models/V1DaemonSetCondition.ts +++ b/src/gen/models/V1DaemonSetCondition.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * DaemonSetCondition describes the state of a DaemonSet at a certain point. diff --git a/src/gen/models/V1DaemonSetList.ts b/src/gen/models/V1DaemonSetList.ts index caeb1a0cc94..5199dd20b5b 100644 --- a/src/gen/models/V1DaemonSetList.ts +++ b/src/gen/models/V1DaemonSetList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1DaemonSet } from '../models/V1DaemonSet.js'; -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1DaemonSet } from '../models/V1DaemonSet'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { HttpFile } from '../http/http'; /** * DaemonSetList is a collection of daemon sets. diff --git a/src/gen/models/V1DaemonSetSpec.ts b/src/gen/models/V1DaemonSetSpec.ts index 8d89c8317ee..916d7543b7b 100644 --- a/src/gen/models/V1DaemonSetSpec.ts +++ b/src/gen/models/V1DaemonSetSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1DaemonSetUpdateStrategy } from '../models/V1DaemonSetUpdateStrategy.js'; -import { V1LabelSelector } from '../models/V1LabelSelector.js'; -import { V1PodTemplateSpec } from '../models/V1PodTemplateSpec.js'; -import { HttpFile } from '../http/http.js'; +import { V1DaemonSetUpdateStrategy } from '../models/V1DaemonSetUpdateStrategy'; +import { V1LabelSelector } from '../models/V1LabelSelector'; +import { V1PodTemplateSpec } from '../models/V1PodTemplateSpec'; +import { HttpFile } from '../http/http'; /** * DaemonSetSpec is the specification of a daemon set. diff --git a/src/gen/models/V1DaemonSetStatus.ts b/src/gen/models/V1DaemonSetStatus.ts index 81a5b9a333a..9d01d9ed4ce 100644 --- a/src/gen/models/V1DaemonSetStatus.ts +++ b/src/gen/models/V1DaemonSetStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1DaemonSetCondition } from '../models/V1DaemonSetCondition.js'; -import { HttpFile } from '../http/http.js'; +import { V1DaemonSetCondition } from '../models/V1DaemonSetCondition'; +import { HttpFile } from '../http/http'; /** * DaemonSetStatus represents the current status of a daemon set. diff --git a/src/gen/models/V1DaemonSetUpdateStrategy.ts b/src/gen/models/V1DaemonSetUpdateStrategy.ts index 5dbc939cc7e..9f194ef0db3 100644 --- a/src/gen/models/V1DaemonSetUpdateStrategy.ts +++ b/src/gen/models/V1DaemonSetUpdateStrategy.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1RollingUpdateDaemonSet } from '../models/V1RollingUpdateDaemonSet.js'; -import { HttpFile } from '../http/http.js'; +import { V1RollingUpdateDaemonSet } from '../models/V1RollingUpdateDaemonSet'; +import { HttpFile } from '../http/http'; /** * DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet. diff --git a/src/gen/models/V1DeleteOptions.ts b/src/gen/models/V1DeleteOptions.ts index 80e1bd7b95a..70431efe61c 100644 --- a/src/gen/models/V1DeleteOptions.ts +++ b/src/gen/models/V1DeleteOptions.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1Preconditions } from '../models/V1Preconditions.js'; -import { HttpFile } from '../http/http.js'; +import { V1Preconditions } from '../models/V1Preconditions'; +import { HttpFile } from '../http/http'; /** * DeleteOptions may be provided when deleting an API object. @@ -30,6 +30,10 @@ export class V1DeleteOptions { */ 'gracePeriodSeconds'?: number; /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + */ + 'ignoreStoreReadErrorWithClusterBreakingPotential'?: boolean; + /** * 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 */ 'kind'?: string; @@ -66,6 +70,12 @@ export class V1DeleteOptions { "type": "number", "format": "int64" }, + { + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "baseName": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "format": "" + }, { "name": "kind", "baseName": "kind", diff --git a/src/gen/models/V1Deployment.ts b/src/gen/models/V1Deployment.ts index 53a4fef00b3..897c246c433 100644 --- a/src/gen/models/V1Deployment.ts +++ b/src/gen/models/V1Deployment.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1DeploymentSpec } from '../models/V1DeploymentSpec.js'; -import { V1DeploymentStatus } from '../models/V1DeploymentStatus.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1DeploymentSpec } from '../models/V1DeploymentSpec'; +import { V1DeploymentStatus } from '../models/V1DeploymentStatus'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * Deployment enables declarative updates for Pods and ReplicaSets. diff --git a/src/gen/models/V1DeploymentCondition.ts b/src/gen/models/V1DeploymentCondition.ts index 5a0119ac85c..cbf9e4068c6 100644 --- a/src/gen/models/V1DeploymentCondition.ts +++ b/src/gen/models/V1DeploymentCondition.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * DeploymentCondition describes the state of a deployment at a certain point. diff --git a/src/gen/models/V1DeploymentList.ts b/src/gen/models/V1DeploymentList.ts index da9dd19f997..ce64f75bed3 100644 --- a/src/gen/models/V1DeploymentList.ts +++ b/src/gen/models/V1DeploymentList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1Deployment } from '../models/V1Deployment.js'; -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1Deployment } from '../models/V1Deployment'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { HttpFile } from '../http/http'; /** * DeploymentList is a list of Deployments. diff --git a/src/gen/models/V1DeploymentSpec.ts b/src/gen/models/V1DeploymentSpec.ts index 5fdeb1dfd92..9b38bb84d85 100644 --- a/src/gen/models/V1DeploymentSpec.ts +++ b/src/gen/models/V1DeploymentSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1DeploymentStrategy } from '../models/V1DeploymentStrategy.js'; -import { V1LabelSelector } from '../models/V1LabelSelector.js'; -import { V1PodTemplateSpec } from '../models/V1PodTemplateSpec.js'; -import { HttpFile } from '../http/http.js'; +import { V1DeploymentStrategy } from '../models/V1DeploymentStrategy'; +import { V1LabelSelector } from '../models/V1LabelSelector'; +import { V1PodTemplateSpec } from '../models/V1PodTemplateSpec'; +import { HttpFile } from '../http/http'; /** * DeploymentSpec is the specification of the desired behavior of the Deployment. diff --git a/src/gen/models/V1DeploymentStatus.ts b/src/gen/models/V1DeploymentStatus.ts index 8a4bba5fc73..13b239304d7 100644 --- a/src/gen/models/V1DeploymentStatus.ts +++ b/src/gen/models/V1DeploymentStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1DeploymentCondition } from '../models/V1DeploymentCondition.js'; -import { HttpFile } from '../http/http.js'; +import { V1DeploymentCondition } from '../models/V1DeploymentCondition'; +import { HttpFile } from '../http/http'; /** * DeploymentStatus is the most recently observed status of the Deployment. diff --git a/src/gen/models/V1DeploymentStrategy.ts b/src/gen/models/V1DeploymentStrategy.ts index 326af814fc1..70d425cf25b 100644 --- a/src/gen/models/V1DeploymentStrategy.ts +++ b/src/gen/models/V1DeploymentStrategy.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1RollingUpdateDeployment } from '../models/V1RollingUpdateDeployment.js'; -import { HttpFile } from '../http/http.js'; +import { V1RollingUpdateDeployment } from '../models/V1RollingUpdateDeployment'; +import { HttpFile } from '../http/http'; /** * DeploymentStrategy describes how to replace existing pods with new ones. diff --git a/src/gen/models/V1DownwardAPIProjection.ts b/src/gen/models/V1DownwardAPIProjection.ts index f95246619f4..a6c342593a4 100644 --- a/src/gen/models/V1DownwardAPIProjection.ts +++ b/src/gen/models/V1DownwardAPIProjection.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1DownwardAPIVolumeFile } from '../models/V1DownwardAPIVolumeFile.js'; -import { HttpFile } from '../http/http.js'; +import { V1DownwardAPIVolumeFile } from '../models/V1DownwardAPIVolumeFile'; +import { HttpFile } from '../http/http'; /** * Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode. diff --git a/src/gen/models/V1DownwardAPIVolumeFile.ts b/src/gen/models/V1DownwardAPIVolumeFile.ts index 09ff218befb..0696ae05c34 100644 --- a/src/gen/models/V1DownwardAPIVolumeFile.ts +++ b/src/gen/models/V1DownwardAPIVolumeFile.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ObjectFieldSelector } from '../models/V1ObjectFieldSelector.js'; -import { V1ResourceFieldSelector } from '../models/V1ResourceFieldSelector.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectFieldSelector } from '../models/V1ObjectFieldSelector'; +import { V1ResourceFieldSelector } from '../models/V1ResourceFieldSelector'; +import { HttpFile } from '../http/http'; /** * DownwardAPIVolumeFile represents information to create the file containing the pod field diff --git a/src/gen/models/V1DownwardAPIVolumeSource.ts b/src/gen/models/V1DownwardAPIVolumeSource.ts index a40aa90d754..3c84509acfb 100644 --- a/src/gen/models/V1DownwardAPIVolumeSource.ts +++ b/src/gen/models/V1DownwardAPIVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1DownwardAPIVolumeFile } from '../models/V1DownwardAPIVolumeFile.js'; -import { HttpFile } from '../http/http.js'; +import { V1DownwardAPIVolumeFile } from '../models/V1DownwardAPIVolumeFile'; +import { HttpFile } from '../http/http'; /** * DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling. diff --git a/src/gen/models/V1EmptyDirVolumeSource.ts b/src/gen/models/V1EmptyDirVolumeSource.ts index 25a8cd81f6b..98f1d627447 100644 --- a/src/gen/models/V1EmptyDirVolumeSource.ts +++ b/src/gen/models/V1EmptyDirVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling. diff --git a/src/gen/models/V1Endpoint.ts b/src/gen/models/V1Endpoint.ts index c82eea872dd..3f745341a88 100644 --- a/src/gen/models/V1Endpoint.ts +++ b/src/gen/models/V1Endpoint.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1EndpointConditions } from '../models/V1EndpointConditions.js'; -import { V1EndpointHints } from '../models/V1EndpointHints.js'; -import { V1ObjectReference } from '../models/V1ObjectReference.js'; -import { HttpFile } from '../http/http.js'; +import { V1EndpointConditions } from '../models/V1EndpointConditions'; +import { V1EndpointHints } from '../models/V1EndpointHints'; +import { V1ObjectReference } from '../models/V1ObjectReference'; +import { HttpFile } from '../http/http'; /** * Endpoint represents a single logical \"backend\" implementing a service. diff --git a/src/gen/models/V1EndpointAddress.ts b/src/gen/models/V1EndpointAddress.ts index 20b57a009bc..3f4b8f4d926 100644 --- a/src/gen/models/V1EndpointAddress.ts +++ b/src/gen/models/V1EndpointAddress.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1ObjectReference } from '../models/V1ObjectReference.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectReference } from '../models/V1ObjectReference'; +import { HttpFile } from '../http/http'; /** * EndpointAddress is a tuple that describes single IP address. diff --git a/src/gen/models/V1EndpointConditions.ts b/src/gen/models/V1EndpointConditions.ts index ad0645bed55..0bbb5bc5b9f 100644 --- a/src/gen/models/V1EndpointConditions.ts +++ b/src/gen/models/V1EndpointConditions.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * EndpointConditions represents the current condition of an endpoint. diff --git a/src/gen/models/V1EndpointHints.ts b/src/gen/models/V1EndpointHints.ts index 7d8333fecc4..450edabf2d4 100644 --- a/src/gen/models/V1EndpointHints.ts +++ b/src/gen/models/V1EndpointHints.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1ForZone } from '../models/V1ForZone.js'; -import { HttpFile } from '../http/http.js'; +import { V1ForZone } from '../models/V1ForZone'; +import { HttpFile } from '../http/http'; /** * EndpointHints provides hints describing how an endpoint should be consumed. diff --git a/src/gen/models/V1EndpointSlice.ts b/src/gen/models/V1EndpointSlice.ts index f7ba95feab1..35754b1fa7b 100644 --- a/src/gen/models/V1EndpointSlice.ts +++ b/src/gen/models/V1EndpointSlice.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { DiscoveryV1EndpointPort } from '../models/DiscoveryV1EndpointPort.js'; -import { V1Endpoint } from '../models/V1Endpoint.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { DiscoveryV1EndpointPort } from '../models/DiscoveryV1EndpointPort'; +import { V1Endpoint } from '../models/V1Endpoint'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints. diff --git a/src/gen/models/V1EndpointSliceList.ts b/src/gen/models/V1EndpointSliceList.ts index 3cf2a6883af..f164f01bce3 100644 --- a/src/gen/models/V1EndpointSliceList.ts +++ b/src/gen/models/V1EndpointSliceList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1EndpointSlice } from '../models/V1EndpointSlice.js'; -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1EndpointSlice } from '../models/V1EndpointSlice'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { HttpFile } from '../http/http'; /** * EndpointSliceList represents a list of endpoint slices diff --git a/src/gen/models/V1EndpointSubset.ts b/src/gen/models/V1EndpointSubset.ts index 12a0471b2db..71009245ab3 100644 --- a/src/gen/models/V1EndpointSubset.ts +++ b/src/gen/models/V1EndpointSubset.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { CoreV1EndpointPort } from '../models/CoreV1EndpointPort.js'; -import { V1EndpointAddress } from '../models/V1EndpointAddress.js'; -import { HttpFile } from '../http/http.js'; +import { CoreV1EndpointPort } from '../models/CoreV1EndpointPort'; +import { V1EndpointAddress } from '../models/V1EndpointAddress'; +import { HttpFile } from '../http/http'; /** * EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given: { Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}], Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}] } The resulting set of endpoints can be viewed as: a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], b: [ 10.10.1.1:309, 10.10.2.2:309 ] diff --git a/src/gen/models/V1Endpoints.ts b/src/gen/models/V1Endpoints.ts index 81793ca7f88..3618c95e76b 100644 --- a/src/gen/models/V1Endpoints.ts +++ b/src/gen/models/V1Endpoints.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1EndpointSubset } from '../models/V1EndpointSubset.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1EndpointSubset } from '../models/V1EndpointSubset'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * Endpoints is a collection of endpoints that implement the actual service. Example: Name: \"mysvc\", Subsets: [ { Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}], Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}] }, { Addresses: [{\"ip\": \"10.10.3.3\"}], Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}] }, ] diff --git a/src/gen/models/V1EndpointsList.ts b/src/gen/models/V1EndpointsList.ts index 8aa151d77ec..f57e1eed0a3 100644 --- a/src/gen/models/V1EndpointsList.ts +++ b/src/gen/models/V1EndpointsList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1Endpoints } from '../models/V1Endpoints.js'; -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1Endpoints } from '../models/V1Endpoints'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { HttpFile } from '../http/http'; /** * EndpointsList is a list of endpoints. diff --git a/src/gen/models/V1EnvFromSource.ts b/src/gen/models/V1EnvFromSource.ts index f1c03d89bac..462f7556a10 100644 --- a/src/gen/models/V1EnvFromSource.ts +++ b/src/gen/models/V1EnvFromSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ConfigMapEnvSource } from '../models/V1ConfigMapEnvSource.js'; -import { V1SecretEnvSource } from '../models/V1SecretEnvSource.js'; -import { HttpFile } from '../http/http.js'; +import { V1ConfigMapEnvSource } from '../models/V1ConfigMapEnvSource'; +import { V1SecretEnvSource } from '../models/V1SecretEnvSource'; +import { HttpFile } from '../http/http'; /** * EnvFromSource represents the source of a set of ConfigMaps diff --git a/src/gen/models/V1EnvVar.ts b/src/gen/models/V1EnvVar.ts index 861b6ae7971..eccf64b5253 100644 --- a/src/gen/models/V1EnvVar.ts +++ b/src/gen/models/V1EnvVar.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1EnvVarSource } from '../models/V1EnvVarSource.js'; -import { HttpFile } from '../http/http.js'; +import { V1EnvVarSource } from '../models/V1EnvVarSource'; +import { HttpFile } from '../http/http'; /** * EnvVar represents an environment variable present in a Container. diff --git a/src/gen/models/V1EnvVarSource.ts b/src/gen/models/V1EnvVarSource.ts index 9b554ce6205..71afecb89dc 100644 --- a/src/gen/models/V1EnvVarSource.ts +++ b/src/gen/models/V1EnvVarSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,11 +10,11 @@ * Do not edit the class manually. */ -import { V1ConfigMapKeySelector } from '../models/V1ConfigMapKeySelector.js'; -import { V1ObjectFieldSelector } from '../models/V1ObjectFieldSelector.js'; -import { V1ResourceFieldSelector } from '../models/V1ResourceFieldSelector.js'; -import { V1SecretKeySelector } from '../models/V1SecretKeySelector.js'; -import { HttpFile } from '../http/http.js'; +import { V1ConfigMapKeySelector } from '../models/V1ConfigMapKeySelector'; +import { V1ObjectFieldSelector } from '../models/V1ObjectFieldSelector'; +import { V1ResourceFieldSelector } from '../models/V1ResourceFieldSelector'; +import { V1SecretKeySelector } from '../models/V1SecretKeySelector'; +import { HttpFile } from '../http/http'; /** * EnvVarSource represents a source for the value of an EnvVar. diff --git a/src/gen/models/V1EphemeralContainer.ts b/src/gen/models/V1EphemeralContainer.ts index 11fd0c98ede..b9b56590b93 100644 --- a/src/gen/models/V1EphemeralContainer.ts +++ b/src/gen/models/V1EphemeralContainer.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,17 +10,17 @@ * Do not edit the class manually. */ -import { V1ContainerPort } from '../models/V1ContainerPort.js'; -import { V1ContainerResizePolicy } from '../models/V1ContainerResizePolicy.js'; -import { V1EnvFromSource } from '../models/V1EnvFromSource.js'; -import { V1EnvVar } from '../models/V1EnvVar.js'; -import { V1Lifecycle } from '../models/V1Lifecycle.js'; -import { V1Probe } from '../models/V1Probe.js'; -import { V1ResourceRequirements } from '../models/V1ResourceRequirements.js'; -import { V1SecurityContext } from '../models/V1SecurityContext.js'; -import { V1VolumeDevice } from '../models/V1VolumeDevice.js'; -import { V1VolumeMount } from '../models/V1VolumeMount.js'; -import { HttpFile } from '../http/http.js'; +import { V1ContainerPort } from '../models/V1ContainerPort'; +import { V1ContainerResizePolicy } from '../models/V1ContainerResizePolicy'; +import { V1EnvFromSource } from '../models/V1EnvFromSource'; +import { V1EnvVar } from '../models/V1EnvVar'; +import { V1Lifecycle } from '../models/V1Lifecycle'; +import { V1Probe } from '../models/V1Probe'; +import { V1ResourceRequirements } from '../models/V1ResourceRequirements'; +import { V1SecurityContext } from '../models/V1SecurityContext'; +import { V1VolumeDevice } from '../models/V1VolumeDevice'; +import { V1VolumeMount } from '../models/V1VolumeMount'; +import { HttpFile } from '../http/http'; /** * An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a Pod is removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the Pod to exceed its resource allocation. To add an ephemeral container, use the ephemeralcontainers subresource of an existing Pod. Ephemeral containers may not be removed or restarted. diff --git a/src/gen/models/V1EphemeralVolumeSource.ts b/src/gen/models/V1EphemeralVolumeSource.ts index 73fc14154d0..d1e8cc2480a 100644 --- a/src/gen/models/V1EphemeralVolumeSource.ts +++ b/src/gen/models/V1EphemeralVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1PersistentVolumeClaimTemplate } from '../models/V1PersistentVolumeClaimTemplate.js'; -import { HttpFile } from '../http/http.js'; +import { V1PersistentVolumeClaimTemplate } from '../models/V1PersistentVolumeClaimTemplate'; +import { HttpFile } from '../http/http'; /** * Represents an ephemeral volume that is handled by a normal storage driver. diff --git a/src/gen/models/V1EventSource.ts b/src/gen/models/V1EventSource.ts index fef4d7f7769..a576b97a2cc 100644 --- a/src/gen/models/V1EventSource.ts +++ b/src/gen/models/V1EventSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * EventSource contains information for an event. diff --git a/src/gen/models/V1Eviction.ts b/src/gen/models/V1Eviction.ts index cd3e7e9a820..6255318be54 100644 --- a/src/gen/models/V1Eviction.ts +++ b/src/gen/models/V1Eviction.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions. diff --git a/src/gen/models/V1ExecAction.ts b/src/gen/models/V1ExecAction.ts index 6fab47e7775..6bb05e6e81c 100644 --- a/src/gen/models/V1ExecAction.ts +++ b/src/gen/models/V1ExecAction.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ExecAction describes a \"run in container\" action. diff --git a/src/gen/models/V1ExemptPriorityLevelConfiguration.ts b/src/gen/models/V1ExemptPriorityLevelConfiguration.ts index c09e57ac21d..5c6f9a05c54 100644 --- a/src/gen/models/V1ExemptPriorityLevelConfiguration.ts +++ b/src/gen/models/V1ExemptPriorityLevelConfiguration.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ExemptPriorityLevelConfiguration describes the configurable aspects of the handling of exempt requests. In the mandatory exempt configuration object the values in the fields here can be modified by authorized users, unlike the rest of the `spec`. diff --git a/src/gen/models/V1ExpressionWarning.ts b/src/gen/models/V1ExpressionWarning.ts index fd9d87d85db..940a836ad17 100644 --- a/src/gen/models/V1ExpressionWarning.ts +++ b/src/gen/models/V1ExpressionWarning.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ExpressionWarning is a warning information that targets a specific expression. diff --git a/src/gen/models/V1ExternalDocumentation.ts b/src/gen/models/V1ExternalDocumentation.ts index 89ef7b3cb6b..c75e5adbb0e 100644 --- a/src/gen/models/V1ExternalDocumentation.ts +++ b/src/gen/models/V1ExternalDocumentation.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ExternalDocumentation allows referencing an external resource for extended documentation. diff --git a/src/gen/models/V1FCVolumeSource.ts b/src/gen/models/V1FCVolumeSource.ts index ecc1bab810c..243d888cac2 100644 --- a/src/gen/models/V1FCVolumeSource.ts +++ b/src/gen/models/V1FCVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling. diff --git a/src/gen/models/V1FieldSelectorAttributes.ts b/src/gen/models/V1FieldSelectorAttributes.ts new file mode 100644 index 00000000000..56be18136fe --- /dev/null +++ b/src/gen/models/V1FieldSelectorAttributes.ts @@ -0,0 +1,53 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1FieldSelectorRequirement } from '../models/V1FieldSelectorRequirement'; +import { HttpFile } from '../http/http'; + +/** +* FieldSelectorAttributes indicates a field limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid. +*/ +export class V1FieldSelectorAttributes { + /** + * rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSelector. The kube-apiserver\'s *SubjectAccessReview will parse the rawSelector as long as the requirements are not present. + */ + 'rawSelector'?: string; + /** + * requirements is the parsed interpretation of a field selector. All requirements must be met for a resource instance to match the selector. Webhook implementations should handle requirements, but how to handle them is up to the webhook. Since requirements can only limit the request, it is safe to authorize as unlimited request if the requirements are not understood. + */ + 'requirements'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "rawSelector", + "baseName": "rawSelector", + "type": "string", + "format": "" + }, + { + "name": "requirements", + "baseName": "requirements", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1FieldSelectorAttributes.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1FieldSelectorRequirement.ts b/src/gen/models/V1FieldSelectorRequirement.ts new file mode 100644 index 00000000000..a298ad3f442 --- /dev/null +++ b/src/gen/models/V1FieldSelectorRequirement.ts @@ -0,0 +1,62 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* FieldSelectorRequirement is a selector that contains values, a key, and an operator that relates the key and values. +*/ +export class V1FieldSelectorRequirement { + /** + * key is the field selector key that the requirement applies to. + */ + 'key': string; + /** + * operator represents a key\'s relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. The list of operators may grow in the future. + */ + 'operator': string; + /** + * values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. + */ + 'values'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "key", + "baseName": "key", + "type": "string", + "format": "" + }, + { + "name": "operator", + "baseName": "operator", + "type": "string", + "format": "" + }, + { + "name": "values", + "baseName": "values", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1FieldSelectorRequirement.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1FlexPersistentVolumeSource.ts b/src/gen/models/V1FlexPersistentVolumeSource.ts index 49f6981c885..79928c332cf 100644 --- a/src/gen/models/V1FlexPersistentVolumeSource.ts +++ b/src/gen/models/V1FlexPersistentVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1SecretReference } from '../models/V1SecretReference.js'; -import { HttpFile } from '../http/http.js'; +import { V1SecretReference } from '../models/V1SecretReference'; +import { HttpFile } from '../http/http'; /** * FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin. diff --git a/src/gen/models/V1FlexVolumeSource.ts b/src/gen/models/V1FlexVolumeSource.ts index 5209c6b7267..b1ae6d67919 100644 --- a/src/gen/models/V1FlexVolumeSource.ts +++ b/src/gen/models/V1FlexVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1LocalObjectReference } from '../models/V1LocalObjectReference.js'; -import { HttpFile } from '../http/http.js'; +import { V1LocalObjectReference } from '../models/V1LocalObjectReference'; +import { HttpFile } from '../http/http'; /** * FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. diff --git a/src/gen/models/V1FlockerVolumeSource.ts b/src/gen/models/V1FlockerVolumeSource.ts index 6e55373aecf..9761484a909 100644 --- a/src/gen/models/V1FlockerVolumeSource.ts +++ b/src/gen/models/V1FlockerVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling. diff --git a/src/gen/models/V1FlowDistinguisherMethod.ts b/src/gen/models/V1FlowDistinguisherMethod.ts index e7380334823..b799d7829b2 100644 --- a/src/gen/models/V1FlowDistinguisherMethod.ts +++ b/src/gen/models/V1FlowDistinguisherMethod.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * FlowDistinguisherMethod specifies the method of a flow distinguisher. diff --git a/src/gen/models/V1FlowSchema.ts b/src/gen/models/V1FlowSchema.ts index 24bd47f5815..33f650e5b71 100644 --- a/src/gen/models/V1FlowSchema.ts +++ b/src/gen/models/V1FlowSchema.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1FlowSchemaSpec } from '../models/V1FlowSchemaSpec.js'; -import { V1FlowSchemaStatus } from '../models/V1FlowSchemaStatus.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1FlowSchemaSpec } from '../models/V1FlowSchemaSpec'; +import { V1FlowSchemaStatus } from '../models/V1FlowSchemaStatus'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\". diff --git a/src/gen/models/V1FlowSchemaCondition.ts b/src/gen/models/V1FlowSchemaCondition.ts index 6741fb8bb8e..8e764d32038 100644 --- a/src/gen/models/V1FlowSchemaCondition.ts +++ b/src/gen/models/V1FlowSchemaCondition.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * FlowSchemaCondition describes conditions for a FlowSchema. diff --git a/src/gen/models/V1FlowSchemaList.ts b/src/gen/models/V1FlowSchemaList.ts index 5253d3caa79..2c5eecf2ead 100644 --- a/src/gen/models/V1FlowSchemaList.ts +++ b/src/gen/models/V1FlowSchemaList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1FlowSchema } from '../models/V1FlowSchema.js'; -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1FlowSchema } from '../models/V1FlowSchema'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { HttpFile } from '../http/http'; /** * FlowSchemaList is a list of FlowSchema objects. diff --git a/src/gen/models/V1FlowSchemaSpec.ts b/src/gen/models/V1FlowSchemaSpec.ts index 26d03b55ec1..a17e5b91c22 100644 --- a/src/gen/models/V1FlowSchemaSpec.ts +++ b/src/gen/models/V1FlowSchemaSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1FlowDistinguisherMethod } from '../models/V1FlowDistinguisherMethod.js'; -import { V1PolicyRulesWithSubjects } from '../models/V1PolicyRulesWithSubjects.js'; -import { V1PriorityLevelConfigurationReference } from '../models/V1PriorityLevelConfigurationReference.js'; -import { HttpFile } from '../http/http.js'; +import { V1FlowDistinguisherMethod } from '../models/V1FlowDistinguisherMethod'; +import { V1PolicyRulesWithSubjects } from '../models/V1PolicyRulesWithSubjects'; +import { V1PriorityLevelConfigurationReference } from '../models/V1PriorityLevelConfigurationReference'; +import { HttpFile } from '../http/http'; /** * FlowSchemaSpec describes how the FlowSchema\'s specification looks like. diff --git a/src/gen/models/V1FlowSchemaStatus.ts b/src/gen/models/V1FlowSchemaStatus.ts index aef6919e889..fd28189815e 100644 --- a/src/gen/models/V1FlowSchemaStatus.ts +++ b/src/gen/models/V1FlowSchemaStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1FlowSchemaCondition } from '../models/V1FlowSchemaCondition.js'; -import { HttpFile } from '../http/http.js'; +import { V1FlowSchemaCondition } from '../models/V1FlowSchemaCondition'; +import { HttpFile } from '../http/http'; /** * FlowSchemaStatus represents the current state of a FlowSchema. diff --git a/src/gen/models/V1ForZone.ts b/src/gen/models/V1ForZone.ts index 32501f08284..f41d61fadda 100644 --- a/src/gen/models/V1ForZone.ts +++ b/src/gen/models/V1ForZone.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ForZone provides information about which zones should consume this endpoint. diff --git a/src/gen/models/V1GCEPersistentDiskVolumeSource.ts b/src/gen/models/V1GCEPersistentDiskVolumeSource.ts index 12b96a2c1d4..e32b61a1a87 100644 --- a/src/gen/models/V1GCEPersistentDiskVolumeSource.ts +++ b/src/gen/models/V1GCEPersistentDiskVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Represents a Persistent Disk resource in Google Compute Engine. A GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling. diff --git a/src/gen/models/V1GRPCAction.ts b/src/gen/models/V1GRPCAction.ts index 7d69aa5d816..ad2d616ecb7 100644 --- a/src/gen/models/V1GRPCAction.ts +++ b/src/gen/models/V1GRPCAction.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,11 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; +/** +* GRPCAction specifies an action involving a GRPC service. +*/ export class V1GRPCAction { /** * Port number of the gRPC service. Number must be in the range 1 to 65535. diff --git a/src/gen/models/V1GitRepoVolumeSource.ts b/src/gen/models/V1GitRepoVolumeSource.ts index f4d0b5a8461..ab4a18f4261 100644 --- a/src/gen/models/V1GitRepoVolumeSource.ts +++ b/src/gen/models/V1GitRepoVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod\'s container. diff --git a/src/gen/models/V1GlusterfsPersistentVolumeSource.ts b/src/gen/models/V1GlusterfsPersistentVolumeSource.ts index 310be5cd481..6330f0c4bf3 100644 --- a/src/gen/models/V1GlusterfsPersistentVolumeSource.ts +++ b/src/gen/models/V1GlusterfsPersistentVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling. diff --git a/src/gen/models/V1GlusterfsVolumeSource.ts b/src/gen/models/V1GlusterfsVolumeSource.ts index d86563b4323..d94dcd9298a 100644 --- a/src/gen/models/V1GlusterfsVolumeSource.ts +++ b/src/gen/models/V1GlusterfsVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling. diff --git a/src/gen/models/V1GroupSubject.ts b/src/gen/models/V1GroupSubject.ts index f1cbd40de3a..90d5834316d 100644 --- a/src/gen/models/V1GroupSubject.ts +++ b/src/gen/models/V1GroupSubject.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * GroupSubject holds detailed information for group-kind subject. diff --git a/src/gen/models/V1GroupVersionForDiscovery.ts b/src/gen/models/V1GroupVersionForDiscovery.ts index 3bd0e43caea..e80a3fff9df 100644 --- a/src/gen/models/V1GroupVersionForDiscovery.ts +++ b/src/gen/models/V1GroupVersionForDiscovery.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility. diff --git a/src/gen/models/V1HTTPGetAction.ts b/src/gen/models/V1HTTPGetAction.ts index 8f145b3cfac..e6774df687f 100644 --- a/src/gen/models/V1HTTPGetAction.ts +++ b/src/gen/models/V1HTTPGetAction.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { IntOrString } from '../../types.js'; -import { V1HTTPHeader } from '../models/V1HTTPHeader.js'; -import { HttpFile } from '../http/http.js'; +import { IntOrString } from '../../types'; +import { V1HTTPHeader } from '../models/V1HTTPHeader'; +import { HttpFile } from '../http/http'; /** * HTTPGetAction describes an action based on HTTP Get requests. diff --git a/src/gen/models/V1HTTPHeader.ts b/src/gen/models/V1HTTPHeader.ts index d55ba9a8e70..84e87aa3a4f 100644 --- a/src/gen/models/V1HTTPHeader.ts +++ b/src/gen/models/V1HTTPHeader.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * HTTPHeader describes a custom header to be used in HTTP probes diff --git a/src/gen/models/V1HTTPIngressPath.ts b/src/gen/models/V1HTTPIngressPath.ts index 5659a55b65d..74fa0aec81d 100644 --- a/src/gen/models/V1HTTPIngressPath.ts +++ b/src/gen/models/V1HTTPIngressPath.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1IngressBackend } from '../models/V1IngressBackend.js'; -import { HttpFile } from '../http/http.js'; +import { V1IngressBackend } from '../models/V1IngressBackend'; +import { HttpFile } from '../http/http'; /** * HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend. diff --git a/src/gen/models/V1HTTPIngressRuleValue.ts b/src/gen/models/V1HTTPIngressRuleValue.ts index 1c6ff6dec6b..7288e1345ff 100644 --- a/src/gen/models/V1HTTPIngressRuleValue.ts +++ b/src/gen/models/V1HTTPIngressRuleValue.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1HTTPIngressPath } from '../models/V1HTTPIngressPath.js'; -import { HttpFile } from '../http/http.js'; +import { V1HTTPIngressPath } from '../models/V1HTTPIngressPath'; +import { HttpFile } from '../http/http'; /** * HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last \'/\' and before the first \'?\' or \'#\'. diff --git a/src/gen/models/V1HorizontalPodAutoscaler.ts b/src/gen/models/V1HorizontalPodAutoscaler.ts index 42efd685ec4..2c741299150 100644 --- a/src/gen/models/V1HorizontalPodAutoscaler.ts +++ b/src/gen/models/V1HorizontalPodAutoscaler.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1HorizontalPodAutoscalerSpec } from '../models/V1HorizontalPodAutoscalerSpec.js'; -import { V1HorizontalPodAutoscalerStatus } from '../models/V1HorizontalPodAutoscalerStatus.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1HorizontalPodAutoscalerSpec } from '../models/V1HorizontalPodAutoscalerSpec'; +import { V1HorizontalPodAutoscalerStatus } from '../models/V1HorizontalPodAutoscalerStatus'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * configuration of a horizontal pod autoscaler. diff --git a/src/gen/models/V1HorizontalPodAutoscalerList.ts b/src/gen/models/V1HorizontalPodAutoscalerList.ts index 9e92097e8a6..156fe09c018 100644 --- a/src/gen/models/V1HorizontalPodAutoscalerList.ts +++ b/src/gen/models/V1HorizontalPodAutoscalerList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1HorizontalPodAutoscaler } from '../models/V1HorizontalPodAutoscaler.js'; -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1HorizontalPodAutoscaler } from '../models/V1HorizontalPodAutoscaler'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { HttpFile } from '../http/http'; /** * list of horizontal pod autoscaler objects. diff --git a/src/gen/models/V1HorizontalPodAutoscalerSpec.ts b/src/gen/models/V1HorizontalPodAutoscalerSpec.ts index a83e26c2872..0990e472ac0 100644 --- a/src/gen/models/V1HorizontalPodAutoscalerSpec.ts +++ b/src/gen/models/V1HorizontalPodAutoscalerSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1CrossVersionObjectReference } from '../models/V1CrossVersionObjectReference.js'; -import { HttpFile } from '../http/http.js'; +import { V1CrossVersionObjectReference } from '../models/V1CrossVersionObjectReference'; +import { HttpFile } from '../http/http'; /** * specification of a horizontal pod autoscaler. diff --git a/src/gen/models/V1HorizontalPodAutoscalerStatus.ts b/src/gen/models/V1HorizontalPodAutoscalerStatus.ts index 412711f88ee..dee4be55155 100644 --- a/src/gen/models/V1HorizontalPodAutoscalerStatus.ts +++ b/src/gen/models/V1HorizontalPodAutoscalerStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * current status of a horizontal pod autoscaler diff --git a/src/gen/models/V1HostAlias.ts b/src/gen/models/V1HostAlias.ts index c6821f7259b..2e2c5a37a79 100644 --- a/src/gen/models/V1HostAlias.ts +++ b/src/gen/models/V1HostAlias.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod\'s hosts file. diff --git a/src/gen/models/V1HostIP.ts b/src/gen/models/V1HostIP.ts index adcd3d1fabc..59bd31f954d 100644 --- a/src/gen/models/V1HostIP.ts +++ b/src/gen/models/V1HostIP.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * HostIP represents a single IP address allocated to the host. @@ -19,7 +19,7 @@ export class V1HostIP { /** * IP is the IP address assigned to the host */ - 'ip'?: string; + 'ip': string; static readonly discriminator: string | undefined = undefined; diff --git a/src/gen/models/V1HostPathVolumeSource.ts b/src/gen/models/V1HostPathVolumeSource.ts index a2aa2ef9ca1..01f37dce342 100644 --- a/src/gen/models/V1HostPathVolumeSource.ts +++ b/src/gen/models/V1HostPathVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling. diff --git a/src/gen/models/V1IPBlock.ts b/src/gen/models/V1IPBlock.ts index c6633b804c0..7f288f97945 100644 --- a/src/gen/models/V1IPBlock.ts +++ b/src/gen/models/V1IPBlock.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed to the pods matched by a NetworkPolicySpec\'s podSelector. The except entry describes CIDRs that should not be included within this rule. diff --git a/src/gen/models/V1ISCSIPersistentVolumeSource.ts b/src/gen/models/V1ISCSIPersistentVolumeSource.ts index f41f01887ba..efff9e78304 100644 --- a/src/gen/models/V1ISCSIPersistentVolumeSource.ts +++ b/src/gen/models/V1ISCSIPersistentVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1SecretReference } from '../models/V1SecretReference.js'; -import { HttpFile } from '../http/http.js'; +import { V1SecretReference } from '../models/V1SecretReference'; +import { HttpFile } from '../http/http'; /** * ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling. diff --git a/src/gen/models/V1ISCSIVolumeSource.ts b/src/gen/models/V1ISCSIVolumeSource.ts index 46416d0d6e2..f9453246093 100644 --- a/src/gen/models/V1ISCSIVolumeSource.ts +++ b/src/gen/models/V1ISCSIVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1LocalObjectReference } from '../models/V1LocalObjectReference.js'; -import { HttpFile } from '../http/http.js'; +import { V1LocalObjectReference } from '../models/V1LocalObjectReference'; +import { HttpFile } from '../http/http'; /** * Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling. diff --git a/src/gen/models/V1ImageVolumeSource.ts b/src/gen/models/V1ImageVolumeSource.ts new file mode 100644 index 00000000000..c28ae79bfee --- /dev/null +++ b/src/gen/models/V1ImageVolumeSource.ts @@ -0,0 +1,52 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ImageVolumeSource represents a image volume resource. +*/ +export class V1ImageVolumeSource { + /** + * Policy for pulling OCI objects. Possible values are: Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn\'t present. IfNotPresent: the kubelet pulls if the reference isn\'t already present on disk. Container creation will fail if the reference isn\'t present and the pull fails. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + */ + 'pullPolicy'?: string; + /** + * Required: Image or artifact reference to be used. Behaves in the same way as pod.spec.containers[*].image. Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets. + */ + 'reference'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "pullPolicy", + "baseName": "pullPolicy", + "type": "string", + "format": "" + }, + { + "name": "reference", + "baseName": "reference", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1ImageVolumeSource.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1Ingress.ts b/src/gen/models/V1Ingress.ts index b7e78707da4..237fb52c4e3 100644 --- a/src/gen/models/V1Ingress.ts +++ b/src/gen/models/V1Ingress.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1IngressSpec } from '../models/V1IngressSpec.js'; -import { V1IngressStatus } from '../models/V1IngressStatus.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1IngressSpec } from '../models/V1IngressSpec'; +import { V1IngressStatus } from '../models/V1IngressStatus'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc. diff --git a/src/gen/models/V1IngressBackend.ts b/src/gen/models/V1IngressBackend.ts index 776d693d13c..03ae820e947 100644 --- a/src/gen/models/V1IngressBackend.ts +++ b/src/gen/models/V1IngressBackend.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1IngressServiceBackend } from '../models/V1IngressServiceBackend.js'; -import { V1TypedLocalObjectReference } from '../models/V1TypedLocalObjectReference.js'; -import { HttpFile } from '../http/http.js'; +import { V1IngressServiceBackend } from '../models/V1IngressServiceBackend'; +import { V1TypedLocalObjectReference } from '../models/V1TypedLocalObjectReference'; +import { HttpFile } from '../http/http'; /** * IngressBackend describes all endpoints for a given service and port. diff --git a/src/gen/models/V1IngressClass.ts b/src/gen/models/V1IngressClass.ts index c2983691221..237f3d932c3 100644 --- a/src/gen/models/V1IngressClass.ts +++ b/src/gen/models/V1IngressClass.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1IngressClassSpec } from '../models/V1IngressClassSpec.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1IngressClassSpec } from '../models/V1IngressClassSpec'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class. diff --git a/src/gen/models/V1IngressClassList.ts b/src/gen/models/V1IngressClassList.ts index f3d3d72483b..d57e5f09587 100644 --- a/src/gen/models/V1IngressClassList.ts +++ b/src/gen/models/V1IngressClassList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1IngressClass } from '../models/V1IngressClass.js'; -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1IngressClass } from '../models/V1IngressClass'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { HttpFile } from '../http/http'; /** * IngressClassList is a collection of IngressClasses. diff --git a/src/gen/models/V1IngressClassParametersReference.ts b/src/gen/models/V1IngressClassParametersReference.ts index 54f917dbbbb..5e3ddda0109 100644 --- a/src/gen/models/V1IngressClassParametersReference.ts +++ b/src/gen/models/V1IngressClassParametersReference.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource. diff --git a/src/gen/models/V1IngressClassSpec.ts b/src/gen/models/V1IngressClassSpec.ts index e8db338e1fb..9d84ecb2800 100644 --- a/src/gen/models/V1IngressClassSpec.ts +++ b/src/gen/models/V1IngressClassSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1IngressClassParametersReference } from '../models/V1IngressClassParametersReference.js'; -import { HttpFile } from '../http/http.js'; +import { V1IngressClassParametersReference } from '../models/V1IngressClassParametersReference'; +import { HttpFile } from '../http/http'; /** * IngressClassSpec provides information about the class of an Ingress. diff --git a/src/gen/models/V1IngressList.ts b/src/gen/models/V1IngressList.ts index c1cb61d3821..414c309833a 100644 --- a/src/gen/models/V1IngressList.ts +++ b/src/gen/models/V1IngressList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1Ingress } from '../models/V1Ingress.js'; -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1Ingress } from '../models/V1Ingress'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { HttpFile } from '../http/http'; /** * IngressList is a collection of Ingress. diff --git a/src/gen/models/V1IngressLoadBalancerIngress.ts b/src/gen/models/V1IngressLoadBalancerIngress.ts index 89bd002bb5b..0ce13ff69f1 100644 --- a/src/gen/models/V1IngressLoadBalancerIngress.ts +++ b/src/gen/models/V1IngressLoadBalancerIngress.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1IngressPortStatus } from '../models/V1IngressPortStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1IngressPortStatus } from '../models/V1IngressPortStatus'; +import { HttpFile } from '../http/http'; /** * IngressLoadBalancerIngress represents the status of a load-balancer ingress point. diff --git a/src/gen/models/V1IngressLoadBalancerStatus.ts b/src/gen/models/V1IngressLoadBalancerStatus.ts index f0b70c5ce69..bc567ae373a 100644 --- a/src/gen/models/V1IngressLoadBalancerStatus.ts +++ b/src/gen/models/V1IngressLoadBalancerStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1IngressLoadBalancerIngress } from '../models/V1IngressLoadBalancerIngress.js'; -import { HttpFile } from '../http/http.js'; +import { V1IngressLoadBalancerIngress } from '../models/V1IngressLoadBalancerIngress'; +import { HttpFile } from '../http/http'; /** * IngressLoadBalancerStatus represents the status of a load-balancer. diff --git a/src/gen/models/V1IngressPortStatus.ts b/src/gen/models/V1IngressPortStatus.ts index c1472445779..aacc297f422 100644 --- a/src/gen/models/V1IngressPortStatus.ts +++ b/src/gen/models/V1IngressPortStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * IngressPortStatus represents the error condition of a service port diff --git a/src/gen/models/V1IngressRule.ts b/src/gen/models/V1IngressRule.ts index cf74c5a640a..94f37172127 100644 --- a/src/gen/models/V1IngressRule.ts +++ b/src/gen/models/V1IngressRule.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1HTTPIngressRuleValue } from '../models/V1HTTPIngressRuleValue.js'; -import { HttpFile } from '../http/http.js'; +import { V1HTTPIngressRuleValue } from '../models/V1HTTPIngressRuleValue'; +import { HttpFile } from '../http/http'; /** * IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue. diff --git a/src/gen/models/V1IngressServiceBackend.ts b/src/gen/models/V1IngressServiceBackend.ts index fe877d1d9c3..78f0048f179 100644 --- a/src/gen/models/V1IngressServiceBackend.ts +++ b/src/gen/models/V1IngressServiceBackend.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1ServiceBackendPort } from '../models/V1ServiceBackendPort.js'; -import { HttpFile } from '../http/http.js'; +import { V1ServiceBackendPort } from '../models/V1ServiceBackendPort'; +import { HttpFile } from '../http/http'; /** * IngressServiceBackend references a Kubernetes Service as a Backend. diff --git a/src/gen/models/V1IngressSpec.ts b/src/gen/models/V1IngressSpec.ts index d31e4d2c753..00477d6f148 100644 --- a/src/gen/models/V1IngressSpec.ts +++ b/src/gen/models/V1IngressSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1IngressBackend } from '../models/V1IngressBackend.js'; -import { V1IngressRule } from '../models/V1IngressRule.js'; -import { V1IngressTLS } from '../models/V1IngressTLS.js'; -import { HttpFile } from '../http/http.js'; +import { V1IngressBackend } from '../models/V1IngressBackend'; +import { V1IngressRule } from '../models/V1IngressRule'; +import { V1IngressTLS } from '../models/V1IngressTLS'; +import { HttpFile } from '../http/http'; /** * IngressSpec describes the Ingress the user wishes to exist. diff --git a/src/gen/models/V1IngressStatus.ts b/src/gen/models/V1IngressStatus.ts index eb76b5f5a1f..1bb05032edc 100644 --- a/src/gen/models/V1IngressStatus.ts +++ b/src/gen/models/V1IngressStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1IngressLoadBalancerStatus } from '../models/V1IngressLoadBalancerStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1IngressLoadBalancerStatus } from '../models/V1IngressLoadBalancerStatus'; +import { HttpFile } from '../http/http'; /** * IngressStatus describe the current state of the Ingress. diff --git a/src/gen/models/V1IngressTLS.ts b/src/gen/models/V1IngressTLS.ts index 6680aab5836..7f61ed06e06 100644 --- a/src/gen/models/V1IngressTLS.ts +++ b/src/gen/models/V1IngressTLS.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * IngressTLS describes the transport layer security associated with an ingress. diff --git a/src/gen/models/V1JSONSchemaProps.ts b/src/gen/models/V1JSONSchemaProps.ts index efc0c20d51d..096c4a8126b 100644 --- a/src/gen/models/V1JSONSchemaProps.ts +++ b/src/gen/models/V1JSONSchemaProps.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ExternalDocumentation } from '../models/V1ExternalDocumentation.js'; -import { V1ValidationRule } from '../models/V1ValidationRule.js'; -import { HttpFile } from '../http/http.js'; +import { V1ExternalDocumentation } from '../models/V1ExternalDocumentation'; +import { V1ValidationRule } from '../models/V1ValidationRule'; +import { HttpFile } from '../http/http'; /** * JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/). @@ -46,7 +46,7 @@ export class V1JSONSchemaProps { 'exclusiveMinimum'?: boolean; 'externalDocs'?: V1ExternalDocumentation; /** - * format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated: - bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339. + * format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated: - bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\\\d{3})\\\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\\\d{3}[- ]?\\\\d{2}[- ]?\\\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339. */ 'format'?: string; 'id'?: string; @@ -98,7 +98,7 @@ export class V1JSONSchemaProps { */ 'x_kubernetes_preserve_unknown_fields'?: boolean; /** - * x-kubernetes-validations describes a list of validation rules written in the CEL expression language. This field is an alpha-level. Using this field requires the feature gate `CustomResourceValidationExpressions` to be enabled. + * x-kubernetes-validations describes a list of validation rules written in the CEL expression language. */ 'x_kubernetes_validations'?: Array; diff --git a/src/gen/models/V1Job.ts b/src/gen/models/V1Job.ts index 66ed9c9bddd..46803bd1470 100644 --- a/src/gen/models/V1Job.ts +++ b/src/gen/models/V1Job.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1JobSpec } from '../models/V1JobSpec.js'; -import { V1JobStatus } from '../models/V1JobStatus.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1JobSpec } from '../models/V1JobSpec'; +import { V1JobStatus } from '../models/V1JobStatus'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * Job represents the configuration of a single job. diff --git a/src/gen/models/V1JobCondition.ts b/src/gen/models/V1JobCondition.ts index 96f37269f27..a61946d4575 100644 --- a/src/gen/models/V1JobCondition.ts +++ b/src/gen/models/V1JobCondition.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * JobCondition describes current state of a job. diff --git a/src/gen/models/V1JobList.ts b/src/gen/models/V1JobList.ts index 8bf6b6c829f..c88244d2365 100644 --- a/src/gen/models/V1JobList.ts +++ b/src/gen/models/V1JobList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1Job } from '../models/V1Job.js'; -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1Job } from '../models/V1Job'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { HttpFile } from '../http/http'; /** * JobList is a collection of jobs. diff --git a/src/gen/models/V1JobSpec.ts b/src/gen/models/V1JobSpec.ts index 81f11f73e9b..730b2ce198e 100644 --- a/src/gen/models/V1JobSpec.ts +++ b/src/gen/models/V1JobSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,11 +10,11 @@ * Do not edit the class manually. */ -import { V1LabelSelector } from '../models/V1LabelSelector.js'; -import { V1PodFailurePolicy } from '../models/V1PodFailurePolicy.js'; -import { V1PodTemplateSpec } from '../models/V1PodTemplateSpec.js'; -import { V1SuccessPolicy } from '../models/V1SuccessPolicy.js'; -import { HttpFile } from '../http/http.js'; +import { V1LabelSelector } from '../models/V1LabelSelector'; +import { V1PodFailurePolicy } from '../models/V1PodFailurePolicy'; +import { V1PodTemplateSpec } from '../models/V1PodTemplateSpec'; +import { V1SuccessPolicy } from '../models/V1SuccessPolicy'; +import { HttpFile } from '../http/http'; /** * JobSpec describes how the job execution will look like. @@ -41,7 +41,7 @@ export class V1JobSpec { */ 'completions'?: number; /** - * ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don\'t have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first \"/\" must be a valid subdomain as defined by RFC 1123. All characters trailing the first \"/\" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 64 characters. This field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default). + * ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don\'t have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first \"/\" must be a valid subdomain as defined by RFC 1123. All characters trailing the first \"/\" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable. This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default). */ 'managedBy'?: string; /** diff --git a/src/gen/models/V1JobStatus.ts b/src/gen/models/V1JobStatus.ts index 72f00acd909..c36139aa9ff 100644 --- a/src/gen/models/V1JobStatus.ts +++ b/src/gen/models/V1JobStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1JobCondition } from '../models/V1JobCondition.js'; -import { V1UncountedTerminatedPods } from '../models/V1UncountedTerminatedPods.js'; -import { HttpFile } from '../http/http.js'; +import { V1JobCondition } from '../models/V1JobCondition'; +import { V1UncountedTerminatedPods } from '../models/V1UncountedTerminatedPods'; +import { HttpFile } from '../http/http'; /** * JobStatus represents the current state of a Job. @@ -43,7 +43,7 @@ export class V1JobStatus { */ 'failedIndexes'?: string; /** - * The number of pods which have a Ready condition. + * The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp). */ 'ready'?: number; /** diff --git a/src/gen/models/V1JobTemplateSpec.ts b/src/gen/models/V1JobTemplateSpec.ts index 5abc77cf134..ea757547014 100644 --- a/src/gen/models/V1JobTemplateSpec.ts +++ b/src/gen/models/V1JobTemplateSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1JobSpec } from '../models/V1JobSpec.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1JobSpec } from '../models/V1JobSpec'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * JobTemplateSpec describes the data a Job should have when created from a template diff --git a/src/gen/models/V1KeyToPath.ts b/src/gen/models/V1KeyToPath.ts index d451eca3ce7..f9931f292a1 100644 --- a/src/gen/models/V1KeyToPath.ts +++ b/src/gen/models/V1KeyToPath.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Maps a string key to a path within a volume. diff --git a/src/gen/models/V1LabelSelector.ts b/src/gen/models/V1LabelSelector.ts index 09f55376506..eb19a675fe2 100644 --- a/src/gen/models/V1LabelSelector.ts +++ b/src/gen/models/V1LabelSelector.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1LabelSelectorRequirement } from '../models/V1LabelSelectorRequirement.js'; -import { HttpFile } from '../http/http.js'; +import { V1LabelSelectorRequirement } from '../models/V1LabelSelectorRequirement'; +import { HttpFile } from '../http/http'; /** * A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. diff --git a/src/gen/models/V1LabelSelectorAttributes.ts b/src/gen/models/V1LabelSelectorAttributes.ts new file mode 100644 index 00000000000..788c5fa6d5c --- /dev/null +++ b/src/gen/models/V1LabelSelectorAttributes.ts @@ -0,0 +1,53 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1LabelSelectorRequirement } from '../models/V1LabelSelectorRequirement'; +import { HttpFile } from '../http/http'; + +/** +* LabelSelectorAttributes indicates a label limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid. +*/ +export class V1LabelSelectorAttributes { + /** + * rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSelector. The kube-apiserver\'s *SubjectAccessReview will parse the rawSelector as long as the requirements are not present. + */ + 'rawSelector'?: string; + /** + * requirements is the parsed interpretation of a label selector. All requirements must be met for a resource instance to match the selector. Webhook implementations should handle requirements, but how to handle them is up to the webhook. Since requirements can only limit the request, it is safe to authorize as unlimited request if the requirements are not understood. + */ + 'requirements'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "rawSelector", + "baseName": "rawSelector", + "type": "string", + "format": "" + }, + { + "name": "requirements", + "baseName": "requirements", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1LabelSelectorAttributes.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1LabelSelectorRequirement.ts b/src/gen/models/V1LabelSelectorRequirement.ts index 0de47c55161..23f4e80167d 100644 --- a/src/gen/models/V1LabelSelectorRequirement.ts +++ b/src/gen/models/V1LabelSelectorRequirement.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values. diff --git a/src/gen/models/V1Lease.ts b/src/gen/models/V1Lease.ts index 2f60a29c62f..7c4799cce6f 100644 --- a/src/gen/models/V1Lease.ts +++ b/src/gen/models/V1Lease.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1LeaseSpec } from '../models/V1LeaseSpec.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1LeaseSpec } from '../models/V1LeaseSpec'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * Lease defines a lease concept. diff --git a/src/gen/models/V1LeaseList.ts b/src/gen/models/V1LeaseList.ts index adcecb3b9fc..c273357403c 100644 --- a/src/gen/models/V1LeaseList.ts +++ b/src/gen/models/V1LeaseList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1Lease } from '../models/V1Lease.js'; -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1Lease } from '../models/V1Lease'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { HttpFile } from '../http/http'; /** * LeaseList is a list of Lease objects. diff --git a/src/gen/models/V1LeaseSpec.ts b/src/gen/models/V1LeaseSpec.ts index a10481277a8..8a24cbc1a51 100644 --- a/src/gen/models/V1LeaseSpec.ts +++ b/src/gen/models/V1LeaseSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1MicroTime } from '../../types.js'; -import { HttpFile } from '../http/http.js'; +import { V1MicroTime } from '../../types'; +import { HttpFile } from '../http/http'; /** * LeaseSpec is a specification of a Lease. @@ -22,11 +22,11 @@ export class V1LeaseSpec { */ 'acquireTime'?: V1MicroTime; /** - * holderIdentity contains the identity of the holder of a current lease. + * holderIdentity contains the identity of the holder of a current lease. If Coordinated Leader Election is used, the holder identity must be equal to the elected LeaseCandidate.metadata.name field. */ 'holderIdentity'?: string; /** - * leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed renewTime. + * leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measured against the time of last observed renewTime. */ 'leaseDurationSeconds'?: number; /** @@ -34,9 +34,17 @@ export class V1LeaseSpec { */ 'leaseTransitions'?: number; /** + * PreferredHolder signals to a lease holder that the lease has a more optimal holder and should be given up. This field can only be set if Strategy is also set. + */ + 'preferredHolder'?: string; + /** * MicroTime is version of Time with microsecond level precision. */ 'renewTime'?: V1MicroTime; + /** + * Strategy indicates the strategy for picking the leader for coordinated leader election. If the field is not specified, there is no active coordination for this lease. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled. + */ + 'strategy'?: string; static readonly discriminator: string | undefined = undefined; @@ -67,11 +75,23 @@ export class V1LeaseSpec { "type": "number", "format": "int32" }, + { + "name": "preferredHolder", + "baseName": "preferredHolder", + "type": "string", + "format": "" + }, { "name": "renewTime", "baseName": "renewTime", "type": "V1MicroTime", "format": "date-time-micro" + }, + { + "name": "strategy", + "baseName": "strategy", + "type": "string", + "format": "" } ]; static getAttributeTypeMap() { diff --git a/src/gen/models/V1Lifecycle.ts b/src/gen/models/V1Lifecycle.ts index 77ff665b48c..e99768f08b1 100644 --- a/src/gen/models/V1Lifecycle.ts +++ b/src/gen/models/V1Lifecycle.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1LifecycleHandler } from '../models/V1LifecycleHandler.js'; -import { HttpFile } from '../http/http.js'; +import { V1LifecycleHandler } from '../models/V1LifecycleHandler'; +import { HttpFile } from '../http/http'; /** * Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted. diff --git a/src/gen/models/V1LifecycleHandler.ts b/src/gen/models/V1LifecycleHandler.ts index 5dc70e6548f..72574470fc0 100644 --- a/src/gen/models/V1LifecycleHandler.ts +++ b/src/gen/models/V1LifecycleHandler.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,11 +10,11 @@ * Do not edit the class manually. */ -import { V1ExecAction } from '../models/V1ExecAction.js'; -import { V1HTTPGetAction } from '../models/V1HTTPGetAction.js'; -import { V1SleepAction } from '../models/V1SleepAction.js'; -import { V1TCPSocketAction } from '../models/V1TCPSocketAction.js'; -import { HttpFile } from '../http/http.js'; +import { V1ExecAction } from '../models/V1ExecAction'; +import { V1HTTPGetAction } from '../models/V1HTTPGetAction'; +import { V1SleepAction } from '../models/V1SleepAction'; +import { V1TCPSocketAction } from '../models/V1TCPSocketAction'; +import { HttpFile } from '../http/http'; /** * LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified. diff --git a/src/gen/models/V1LimitRange.ts b/src/gen/models/V1LimitRange.ts index 00e537a909d..7867ca8ac61 100644 --- a/src/gen/models/V1LimitRange.ts +++ b/src/gen/models/V1LimitRange.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1LimitRangeSpec } from '../models/V1LimitRangeSpec.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1LimitRangeSpec } from '../models/V1LimitRangeSpec'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * LimitRange sets resource usage limits for each kind of resource in a Namespace. diff --git a/src/gen/models/V1LimitRangeItem.ts b/src/gen/models/V1LimitRangeItem.ts index a5ead8e4fa5..7dd3c65878b 100644 --- a/src/gen/models/V1LimitRangeItem.ts +++ b/src/gen/models/V1LimitRangeItem.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * LimitRangeItem defines a min/max usage limit for any resource that matches on kind. diff --git a/src/gen/models/V1LimitRangeList.ts b/src/gen/models/V1LimitRangeList.ts index d1beb0437d6..3dfb1dc9459 100644 --- a/src/gen/models/V1LimitRangeList.ts +++ b/src/gen/models/V1LimitRangeList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1LimitRange } from '../models/V1LimitRange.js'; -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1LimitRange } from '../models/V1LimitRange'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { HttpFile } from '../http/http'; /** * LimitRangeList is a list of LimitRange items. diff --git a/src/gen/models/V1LimitRangeSpec.ts b/src/gen/models/V1LimitRangeSpec.ts index 0e9f6c97c22..4c237e1d619 100644 --- a/src/gen/models/V1LimitRangeSpec.ts +++ b/src/gen/models/V1LimitRangeSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1LimitRangeItem } from '../models/V1LimitRangeItem.js'; -import { HttpFile } from '../http/http.js'; +import { V1LimitRangeItem } from '../models/V1LimitRangeItem'; +import { HttpFile } from '../http/http'; /** * LimitRangeSpec defines a min/max usage limit for resources that match on kind. diff --git a/src/gen/models/V1LimitResponse.ts b/src/gen/models/V1LimitResponse.ts index 9d5f07bb473..ef9d205baff 100644 --- a/src/gen/models/V1LimitResponse.ts +++ b/src/gen/models/V1LimitResponse.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1QueuingConfiguration } from '../models/V1QueuingConfiguration.js'; -import { HttpFile } from '../http/http.js'; +import { V1QueuingConfiguration } from '../models/V1QueuingConfiguration'; +import { HttpFile } from '../http/http'; /** * LimitResponse defines how to handle requests that can not be executed right now. diff --git a/src/gen/models/V1LimitedPriorityLevelConfiguration.ts b/src/gen/models/V1LimitedPriorityLevelConfiguration.ts index f25fa7c6c45..53eafed6029 100644 --- a/src/gen/models/V1LimitedPriorityLevelConfiguration.ts +++ b/src/gen/models/V1LimitedPriorityLevelConfiguration.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1LimitResponse } from '../models/V1LimitResponse.js'; -import { HttpFile } from '../http/http.js'; +import { V1LimitResponse } from '../models/V1LimitResponse'; +import { HttpFile } from '../http/http'; /** * LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues: - How are requests for this priority level limited? - What should be done with requests that exceed the limit? diff --git a/src/gen/models/V1LinuxContainerUser.ts b/src/gen/models/V1LinuxContainerUser.ts new file mode 100644 index 00000000000..bb5e7854a0a --- /dev/null +++ b/src/gen/models/V1LinuxContainerUser.ts @@ -0,0 +1,62 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* LinuxContainerUser represents user identity information in Linux containers +*/ +export class V1LinuxContainerUser { + /** + * GID is the primary gid initially attached to the first process in the container + */ + 'gid': number; + /** + * SupplementalGroups are the supplemental groups initially attached to the first process in the container + */ + 'supplementalGroups'?: Array; + /** + * UID is the primary uid initially attached to the first process in the container + */ + 'uid': number; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "gid", + "baseName": "gid", + "type": "number", + "format": "int64" + }, + { + "name": "supplementalGroups", + "baseName": "supplementalGroups", + "type": "Array", + "format": "int64" + }, + { + "name": "uid", + "baseName": "uid", + "type": "number", + "format": "int64" + } ]; + + static getAttributeTypeMap() { + return V1LinuxContainerUser.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1ListMeta.ts b/src/gen/models/V1ListMeta.ts index ba5a6c07b68..e954a8e2e1c 100644 --- a/src/gen/models/V1ListMeta.ts +++ b/src/gen/models/V1ListMeta.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}. diff --git a/src/gen/models/V1LoadBalancerIngress.ts b/src/gen/models/V1LoadBalancerIngress.ts index 29a8db2ec39..db18e8428f8 100644 --- a/src/gen/models/V1LoadBalancerIngress.ts +++ b/src/gen/models/V1LoadBalancerIngress.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1PortStatus } from '../models/V1PortStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1PortStatus } from '../models/V1PortStatus'; +import { HttpFile } from '../http/http'; /** * LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point. diff --git a/src/gen/models/V1LoadBalancerStatus.ts b/src/gen/models/V1LoadBalancerStatus.ts index 7c3284ff380..d4a450b3e2d 100644 --- a/src/gen/models/V1LoadBalancerStatus.ts +++ b/src/gen/models/V1LoadBalancerStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1LoadBalancerIngress } from '../models/V1LoadBalancerIngress.js'; -import { HttpFile } from '../http/http.js'; +import { V1LoadBalancerIngress } from '../models/V1LoadBalancerIngress'; +import { HttpFile } from '../http/http'; /** * LoadBalancerStatus represents the status of a load-balancer. diff --git a/src/gen/models/V1LocalObjectReference.ts b/src/gen/models/V1LocalObjectReference.ts index d16b0afe6bf..61a2fe82cab 100644 --- a/src/gen/models/V1LocalObjectReference.ts +++ b/src/gen/models/V1LocalObjectReference.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. diff --git a/src/gen/models/V1LocalSubjectAccessReview.ts b/src/gen/models/V1LocalSubjectAccessReview.ts index efd4df7ac68..dbcac9690b7 100644 --- a/src/gen/models/V1LocalSubjectAccessReview.ts +++ b/src/gen/models/V1LocalSubjectAccessReview.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1SubjectAccessReviewSpec } from '../models/V1SubjectAccessReviewSpec.js'; -import { V1SubjectAccessReviewStatus } from '../models/V1SubjectAccessReviewStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1SubjectAccessReviewSpec } from '../models/V1SubjectAccessReviewSpec'; +import { V1SubjectAccessReviewStatus } from '../models/V1SubjectAccessReviewStatus'; +import { HttpFile } from '../http/http'; /** * LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking. diff --git a/src/gen/models/V1LocalVolumeSource.ts b/src/gen/models/V1LocalVolumeSource.ts index 872f8820690..99e8c4ce040 100644 --- a/src/gen/models/V1LocalVolumeSource.ts +++ b/src/gen/models/V1LocalVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** -* Local represents directly-attached storage with node affinity (Beta feature) +* Local represents directly-attached storage with node affinity */ export class V1LocalVolumeSource { /** diff --git a/src/gen/models/V1ManagedFieldsEntry.ts b/src/gen/models/V1ManagedFieldsEntry.ts index 07d3eac09d1..74b9f38bf48 100644 --- a/src/gen/models/V1ManagedFieldsEntry.ts +++ b/src/gen/models/V1ManagedFieldsEntry.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to. diff --git a/src/gen/models/V1MatchCondition.ts b/src/gen/models/V1MatchCondition.ts index 1f4f4e0d86a..c634cbaf5df 100644 --- a/src/gen/models/V1MatchCondition.ts +++ b/src/gen/models/V1MatchCondition.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook. diff --git a/src/gen/models/V1MatchResources.ts b/src/gen/models/V1MatchResources.ts index 30e9ada8f21..3307b3904f1 100644 --- a/src/gen/models/V1MatchResources.ts +++ b/src/gen/models/V1MatchResources.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1LabelSelector } from '../models/V1LabelSelector.js'; -import { V1NamedRuleWithOperations } from '../models/V1NamedRuleWithOperations.js'; -import { HttpFile } from '../http/http.js'; +import { V1LabelSelector } from '../models/V1LabelSelector'; +import { V1NamedRuleWithOperations } from '../models/V1NamedRuleWithOperations'; +import { HttpFile } from '../http/http'; /** * MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded) diff --git a/src/gen/models/V1ModifyVolumeStatus.ts b/src/gen/models/V1ModifyVolumeStatus.ts index edf4476b64c..dbaf0dc8ad9 100644 --- a/src/gen/models/V1ModifyVolumeStatus.ts +++ b/src/gen/models/V1ModifyVolumeStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ModifyVolumeStatus represents the status object of ControllerModifyVolume operation diff --git a/src/gen/models/V1MutatingWebhook.ts b/src/gen/models/V1MutatingWebhook.ts index c4b06efe149..1a7ded9ec2b 100644 --- a/src/gen/models/V1MutatingWebhook.ts +++ b/src/gen/models/V1MutatingWebhook.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,11 +10,11 @@ * Do not edit the class manually. */ -import { AdmissionregistrationV1WebhookClientConfig } from '../models/AdmissionregistrationV1WebhookClientConfig.js'; -import { V1LabelSelector } from '../models/V1LabelSelector.js'; -import { V1MatchCondition } from '../models/V1MatchCondition.js'; -import { V1RuleWithOperations } from '../models/V1RuleWithOperations.js'; -import { HttpFile } from '../http/http.js'; +import { AdmissionregistrationV1WebhookClientConfig } from '../models/AdmissionregistrationV1WebhookClientConfig'; +import { V1LabelSelector } from '../models/V1LabelSelector'; +import { V1MatchCondition } from '../models/V1MatchCondition'; +import { V1RuleWithOperations } from '../models/V1RuleWithOperations'; +import { HttpFile } from '../http/http'; /** * MutatingWebhook describes an admission webhook and the resources and operations it applies to. diff --git a/src/gen/models/V1MutatingWebhookConfiguration.ts b/src/gen/models/V1MutatingWebhookConfiguration.ts index 83bd4095454..0a1a8877bfd 100644 --- a/src/gen/models/V1MutatingWebhookConfiguration.ts +++ b/src/gen/models/V1MutatingWebhookConfiguration.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1MutatingWebhook } from '../models/V1MutatingWebhook.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1MutatingWebhook } from '../models/V1MutatingWebhook'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. diff --git a/src/gen/models/V1MutatingWebhookConfigurationList.ts b/src/gen/models/V1MutatingWebhookConfigurationList.ts index 821a78fb8dd..3c432890506 100644 --- a/src/gen/models/V1MutatingWebhookConfigurationList.ts +++ b/src/gen/models/V1MutatingWebhookConfigurationList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1MutatingWebhookConfiguration } from '../models/V1MutatingWebhookConfiguration.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1MutatingWebhookConfiguration } from '../models/V1MutatingWebhookConfiguration'; +import { HttpFile } from '../http/http'; /** * MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration. diff --git a/src/gen/models/V1NFSVolumeSource.ts b/src/gen/models/V1NFSVolumeSource.ts index 3252e453aa7..30e8234f944 100644 --- a/src/gen/models/V1NFSVolumeSource.ts +++ b/src/gen/models/V1NFSVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling. diff --git a/src/gen/models/V1NamedRuleWithOperations.ts b/src/gen/models/V1NamedRuleWithOperations.ts index 30b93d1e87b..71eb31b0739 100644 --- a/src/gen/models/V1NamedRuleWithOperations.ts +++ b/src/gen/models/V1NamedRuleWithOperations.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames. diff --git a/src/gen/models/V1Namespace.ts b/src/gen/models/V1Namespace.ts index f2cf62d9af2..66f87b09357 100644 --- a/src/gen/models/V1Namespace.ts +++ b/src/gen/models/V1Namespace.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1NamespaceSpec } from '../models/V1NamespaceSpec.js'; -import { V1NamespaceStatus } from '../models/V1NamespaceStatus.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1NamespaceSpec } from '../models/V1NamespaceSpec'; +import { V1NamespaceStatus } from '../models/V1NamespaceStatus'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * Namespace provides a scope for Names. Use of multiple namespaces is optional. diff --git a/src/gen/models/V1NamespaceCondition.ts b/src/gen/models/V1NamespaceCondition.ts index ef1aca2bde8..113a88b1e67 100644 --- a/src/gen/models/V1NamespaceCondition.ts +++ b/src/gen/models/V1NamespaceCondition.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,17 +10,23 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * NamespaceCondition contains details about state of namespace. */ export class V1NamespaceCondition { /** - * Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers. + * Last time the condition transitioned from one status to another. */ 'lastTransitionTime'?: Date; + /** + * Human-readable message indicating details about last transition. + */ 'message'?: string; + /** + * Unique, one-word, CamelCase reason for the condition\'s last transition. + */ 'reason'?: string; /** * Status of the condition, one of True, False, Unknown. diff --git a/src/gen/models/V1NamespaceList.ts b/src/gen/models/V1NamespaceList.ts index dcf67770bba..2947b37cfe0 100644 --- a/src/gen/models/V1NamespaceList.ts +++ b/src/gen/models/V1NamespaceList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1Namespace } from '../models/V1Namespace.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1Namespace } from '../models/V1Namespace'; +import { HttpFile } from '../http/http'; /** * NamespaceList is a list of Namespaces. diff --git a/src/gen/models/V1NamespaceSpec.ts b/src/gen/models/V1NamespaceSpec.ts index d2d24b96645..7bc4a91e01d 100644 --- a/src/gen/models/V1NamespaceSpec.ts +++ b/src/gen/models/V1NamespaceSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * NamespaceSpec describes the attributes on a Namespace. diff --git a/src/gen/models/V1NamespaceStatus.ts b/src/gen/models/V1NamespaceStatus.ts index 38dedf259d3..75000c8379a 100644 --- a/src/gen/models/V1NamespaceStatus.ts +++ b/src/gen/models/V1NamespaceStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1NamespaceCondition } from '../models/V1NamespaceCondition.js'; -import { HttpFile } from '../http/http.js'; +import { V1NamespaceCondition } from '../models/V1NamespaceCondition'; +import { HttpFile } from '../http/http'; /** * NamespaceStatus is information about the current status of a Namespace. diff --git a/src/gen/models/V1NetworkPolicy.ts b/src/gen/models/V1NetworkPolicy.ts index 087775f013c..b8ed7d8cb4f 100644 --- a/src/gen/models/V1NetworkPolicy.ts +++ b/src/gen/models/V1NetworkPolicy.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1NetworkPolicySpec } from '../models/V1NetworkPolicySpec.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1NetworkPolicySpec } from '../models/V1NetworkPolicySpec'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * NetworkPolicy describes what network traffic is allowed for a set of Pods diff --git a/src/gen/models/V1NetworkPolicyEgressRule.ts b/src/gen/models/V1NetworkPolicyEgressRule.ts index d140da7ab80..0eda0502cbe 100644 --- a/src/gen/models/V1NetworkPolicyEgressRule.ts +++ b/src/gen/models/V1NetworkPolicyEgressRule.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1NetworkPolicyPeer } from '../models/V1NetworkPolicyPeer.js'; -import { V1NetworkPolicyPort } from '../models/V1NetworkPolicyPort.js'; -import { HttpFile } from '../http/http.js'; +import { V1NetworkPolicyPeer } from '../models/V1NetworkPolicyPeer'; +import { V1NetworkPolicyPort } from '../models/V1NetworkPolicyPort'; +import { HttpFile } from '../http/http'; /** * NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec\'s podSelector. The traffic must match both ports and to. This type is beta-level in 1.8 diff --git a/src/gen/models/V1NetworkPolicyIngressRule.ts b/src/gen/models/V1NetworkPolicyIngressRule.ts index 95d95e86468..a509c2429a4 100644 --- a/src/gen/models/V1NetworkPolicyIngressRule.ts +++ b/src/gen/models/V1NetworkPolicyIngressRule.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1NetworkPolicyPeer } from '../models/V1NetworkPolicyPeer.js'; -import { V1NetworkPolicyPort } from '../models/V1NetworkPolicyPort.js'; -import { HttpFile } from '../http/http.js'; +import { V1NetworkPolicyPeer } from '../models/V1NetworkPolicyPeer'; +import { V1NetworkPolicyPort } from '../models/V1NetworkPolicyPort'; +import { HttpFile } from '../http/http'; /** * NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec\'s podSelector. The traffic must match both ports and from. diff --git a/src/gen/models/V1NetworkPolicyList.ts b/src/gen/models/V1NetworkPolicyList.ts index 1fdb519efc3..e9c9d3bcd42 100644 --- a/src/gen/models/V1NetworkPolicyList.ts +++ b/src/gen/models/V1NetworkPolicyList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1NetworkPolicy } from '../models/V1NetworkPolicy.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1NetworkPolicy } from '../models/V1NetworkPolicy'; +import { HttpFile } from '../http/http'; /** * NetworkPolicyList is a list of NetworkPolicy objects. diff --git a/src/gen/models/V1NetworkPolicyPeer.ts b/src/gen/models/V1NetworkPolicyPeer.ts index ba74e5114a2..f6d86df5816 100644 --- a/src/gen/models/V1NetworkPolicyPeer.ts +++ b/src/gen/models/V1NetworkPolicyPeer.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1IPBlock } from '../models/V1IPBlock.js'; -import { V1LabelSelector } from '../models/V1LabelSelector.js'; -import { HttpFile } from '../http/http.js'; +import { V1IPBlock } from '../models/V1IPBlock'; +import { V1LabelSelector } from '../models/V1LabelSelector'; +import { HttpFile } from '../http/http'; /** * NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed diff --git a/src/gen/models/V1NetworkPolicyPort.ts b/src/gen/models/V1NetworkPolicyPort.ts index f67ea152d85..98c3bb2dee4 100644 --- a/src/gen/models/V1NetworkPolicyPort.ts +++ b/src/gen/models/V1NetworkPolicyPort.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { IntOrString } from '../../types.js'; -import { HttpFile } from '../http/http.js'; +import { IntOrString } from '../../types'; +import { HttpFile } from '../http/http'; /** * NetworkPolicyPort describes a port to allow traffic on diff --git a/src/gen/models/V1NetworkPolicySpec.ts b/src/gen/models/V1NetworkPolicySpec.ts index 4f7a279e0f8..a36d884b4ae 100644 --- a/src/gen/models/V1NetworkPolicySpec.ts +++ b/src/gen/models/V1NetworkPolicySpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1LabelSelector } from '../models/V1LabelSelector.js'; -import { V1NetworkPolicyEgressRule } from '../models/V1NetworkPolicyEgressRule.js'; -import { V1NetworkPolicyIngressRule } from '../models/V1NetworkPolicyIngressRule.js'; -import { HttpFile } from '../http/http.js'; +import { V1LabelSelector } from '../models/V1LabelSelector'; +import { V1NetworkPolicyEgressRule } from '../models/V1NetworkPolicyEgressRule'; +import { V1NetworkPolicyIngressRule } from '../models/V1NetworkPolicyIngressRule'; +import { HttpFile } from '../http/http'; /** * NetworkPolicySpec provides the specification of a NetworkPolicy diff --git a/src/gen/models/V1Node.ts b/src/gen/models/V1Node.ts index df068cd7303..62b9438736a 100644 --- a/src/gen/models/V1Node.ts +++ b/src/gen/models/V1Node.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1NodeSpec } from '../models/V1NodeSpec.js'; -import { V1NodeStatus } from '../models/V1NodeStatus.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1NodeSpec } from '../models/V1NodeSpec'; +import { V1NodeStatus } from '../models/V1NodeStatus'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd). diff --git a/src/gen/models/V1NodeAddress.ts b/src/gen/models/V1NodeAddress.ts index 06586567bbf..e11c31a2ef7 100644 --- a/src/gen/models/V1NodeAddress.ts +++ b/src/gen/models/V1NodeAddress.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * NodeAddress contains information for the node\'s address. diff --git a/src/gen/models/V1NodeAffinity.ts b/src/gen/models/V1NodeAffinity.ts index a13a821cc65..b398f36f1a4 100644 --- a/src/gen/models/V1NodeAffinity.ts +++ b/src/gen/models/V1NodeAffinity.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1NodeSelector } from '../models/V1NodeSelector.js'; -import { V1PreferredSchedulingTerm } from '../models/V1PreferredSchedulingTerm.js'; -import { HttpFile } from '../http/http.js'; +import { V1NodeSelector } from '../models/V1NodeSelector'; +import { V1PreferredSchedulingTerm } from '../models/V1PreferredSchedulingTerm'; +import { HttpFile } from '../http/http'; /** * Node affinity is a group of node affinity scheduling rules. diff --git a/src/gen/models/V1NodeCondition.ts b/src/gen/models/V1NodeCondition.ts index b12c99dd59e..4b0af4bfe1d 100644 --- a/src/gen/models/V1NodeCondition.ts +++ b/src/gen/models/V1NodeCondition.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * NodeCondition contains condition information for a node. diff --git a/src/gen/models/V1NodeConfigSource.ts b/src/gen/models/V1NodeConfigSource.ts index d12abe626fd..42dc2912a58 100644 --- a/src/gen/models/V1NodeConfigSource.ts +++ b/src/gen/models/V1NodeConfigSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1ConfigMapNodeConfigSource } from '../models/V1ConfigMapNodeConfigSource.js'; -import { HttpFile } from '../http/http.js'; +import { V1ConfigMapNodeConfigSource } from '../models/V1ConfigMapNodeConfigSource'; +import { HttpFile } from '../http/http'; /** * NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22 diff --git a/src/gen/models/V1NodeConfigStatus.ts b/src/gen/models/V1NodeConfigStatus.ts index 74187d30623..b7690d7039c 100644 --- a/src/gen/models/V1NodeConfigStatus.ts +++ b/src/gen/models/V1NodeConfigStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1NodeConfigSource } from '../models/V1NodeConfigSource.js'; -import { HttpFile } from '../http/http.js'; +import { V1NodeConfigSource } from '../models/V1NodeConfigSource'; +import { HttpFile } from '../http/http'; /** * NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource. diff --git a/src/gen/models/V1NodeDaemonEndpoints.ts b/src/gen/models/V1NodeDaemonEndpoints.ts index 3559ba16179..a6638c2abe4 100644 --- a/src/gen/models/V1NodeDaemonEndpoints.ts +++ b/src/gen/models/V1NodeDaemonEndpoints.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1DaemonEndpoint } from '../models/V1DaemonEndpoint.js'; -import { HttpFile } from '../http/http.js'; +import { V1DaemonEndpoint } from '../models/V1DaemonEndpoint'; +import { HttpFile } from '../http/http'; /** * NodeDaemonEndpoints lists ports opened by daemons running on the Node. diff --git a/src/gen/models/V1NodeFeatures.ts b/src/gen/models/V1NodeFeatures.ts new file mode 100644 index 00000000000..c1677350210 --- /dev/null +++ b/src/gen/models/V1NodeFeatures.ts @@ -0,0 +1,42 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* NodeFeatures describes the set of features implemented by the CRI implementation. The features contained in the NodeFeatures should depend only on the cri implementation independent of runtime handlers. +*/ +export class V1NodeFeatures { + /** + * SupplementalGroupsPolicy is set to true if the runtime supports SupplementalGroupsPolicy and ContainerUser. + */ + 'supplementalGroupsPolicy'?: boolean; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "supplementalGroupsPolicy", + "baseName": "supplementalGroupsPolicy", + "type": "boolean", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1NodeFeatures.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1NodeList.ts b/src/gen/models/V1NodeList.ts index 9a560b3eb65..72394fe88a3 100644 --- a/src/gen/models/V1NodeList.ts +++ b/src/gen/models/V1NodeList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1Node } from '../models/V1Node.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1Node } from '../models/V1Node'; +import { HttpFile } from '../http/http'; /** * NodeList is the whole list of all Nodes which have been registered with master. diff --git a/src/gen/models/V1NodeRuntimeHandler.ts b/src/gen/models/V1NodeRuntimeHandler.ts index 52344008377..b8f36c8df51 100644 --- a/src/gen/models/V1NodeRuntimeHandler.ts +++ b/src/gen/models/V1NodeRuntimeHandler.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1NodeRuntimeHandlerFeatures } from '../models/V1NodeRuntimeHandlerFeatures.js'; -import { HttpFile } from '../http/http.js'; +import { V1NodeRuntimeHandlerFeatures } from '../models/V1NodeRuntimeHandlerFeatures'; +import { HttpFile } from '../http/http'; /** * NodeRuntimeHandler is a set of runtime handler information. diff --git a/src/gen/models/V1NodeRuntimeHandlerFeatures.ts b/src/gen/models/V1NodeRuntimeHandlerFeatures.ts index 2851f1ea853..05040446249 100644 --- a/src/gen/models/V1NodeRuntimeHandlerFeatures.ts +++ b/src/gen/models/V1NodeRuntimeHandlerFeatures.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,16 +10,20 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** -* NodeRuntimeHandlerFeatures is a set of runtime features. +* NodeRuntimeHandlerFeatures is a set of features implemented by the runtime handler. */ export class V1NodeRuntimeHandlerFeatures { /** * RecursiveReadOnlyMounts is set to true if the runtime handler supports RecursiveReadOnlyMounts. */ 'recursiveReadOnlyMounts'?: boolean; + /** + * UserNamespaces is set to true if the runtime handler supports UserNamespaces, including for volumes. + */ + 'userNamespaces'?: boolean; static readonly discriminator: string | undefined = undefined; @@ -31,6 +35,12 @@ export class V1NodeRuntimeHandlerFeatures { "baseName": "recursiveReadOnlyMounts", "type": "boolean", "format": "" + }, + { + "name": "userNamespaces", + "baseName": "userNamespaces", + "type": "boolean", + "format": "" } ]; static getAttributeTypeMap() { diff --git a/src/gen/models/V1NodeSelector.ts b/src/gen/models/V1NodeSelector.ts index c8dab4265e4..f5945706faf 100644 --- a/src/gen/models/V1NodeSelector.ts +++ b/src/gen/models/V1NodeSelector.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1NodeSelectorTerm } from '../models/V1NodeSelectorTerm.js'; -import { HttpFile } from '../http/http.js'; +import { V1NodeSelectorTerm } from '../models/V1NodeSelectorTerm'; +import { HttpFile } from '../http/http'; /** * A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms. diff --git a/src/gen/models/V1NodeSelectorRequirement.ts b/src/gen/models/V1NodeSelectorRequirement.ts index 9b552ad5c19..ee4b12f2c86 100644 --- a/src/gen/models/V1NodeSelectorRequirement.ts +++ b/src/gen/models/V1NodeSelectorRequirement.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values. diff --git a/src/gen/models/V1NodeSelectorTerm.ts b/src/gen/models/V1NodeSelectorTerm.ts index d672da69696..392b17c0707 100644 --- a/src/gen/models/V1NodeSelectorTerm.ts +++ b/src/gen/models/V1NodeSelectorTerm.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1NodeSelectorRequirement } from '../models/V1NodeSelectorRequirement.js'; -import { HttpFile } from '../http/http.js'; +import { V1NodeSelectorRequirement } from '../models/V1NodeSelectorRequirement'; +import { HttpFile } from '../http/http'; /** * A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. diff --git a/src/gen/models/V1NodeSpec.ts b/src/gen/models/V1NodeSpec.ts index 7ea59bc5345..8729493de58 100644 --- a/src/gen/models/V1NodeSpec.ts +++ b/src/gen/models/V1NodeSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1NodeConfigSource } from '../models/V1NodeConfigSource.js'; -import { V1Taint } from '../models/V1Taint.js'; -import { HttpFile } from '../http/http.js'; +import { V1NodeConfigSource } from '../models/V1NodeConfigSource'; +import { V1Taint } from '../models/V1Taint'; +import { HttpFile } from '../http/http'; /** * NodeSpec describes the attributes that a node is created with. diff --git a/src/gen/models/V1NodeStatus.ts b/src/gen/models/V1NodeStatus.ts index 8773bb2cf70..b310af0d98d 100644 --- a/src/gen/models/V1NodeStatus.ts +++ b/src/gen/models/V1NodeStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,22 +10,23 @@ * Do not edit the class manually. */ -import { V1AttachedVolume } from '../models/V1AttachedVolume.js'; -import { V1ContainerImage } from '../models/V1ContainerImage.js'; -import { V1NodeAddress } from '../models/V1NodeAddress.js'; -import { V1NodeCondition } from '../models/V1NodeCondition.js'; -import { V1NodeConfigStatus } from '../models/V1NodeConfigStatus.js'; -import { V1NodeDaemonEndpoints } from '../models/V1NodeDaemonEndpoints.js'; -import { V1NodeRuntimeHandler } from '../models/V1NodeRuntimeHandler.js'; -import { V1NodeSystemInfo } from '../models/V1NodeSystemInfo.js'; -import { HttpFile } from '../http/http.js'; +import { V1AttachedVolume } from '../models/V1AttachedVolume'; +import { V1ContainerImage } from '../models/V1ContainerImage'; +import { V1NodeAddress } from '../models/V1NodeAddress'; +import { V1NodeCondition } from '../models/V1NodeCondition'; +import { V1NodeConfigStatus } from '../models/V1NodeConfigStatus'; +import { V1NodeDaemonEndpoints } from '../models/V1NodeDaemonEndpoints'; +import { V1NodeFeatures } from '../models/V1NodeFeatures'; +import { V1NodeRuntimeHandler } from '../models/V1NodeRuntimeHandler'; +import { V1NodeSystemInfo } from '../models/V1NodeSystemInfo'; +import { HttpFile } from '../http/http'; /** * NodeStatus is information about the current status of a node. */ export class V1NodeStatus { /** - * List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node\'s address in its own status or consumers of the downward API (status.hostIP). + * List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/reference/node/node-status/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node\'s address in its own status or consumers of the downward API (status.hostIP). */ 'addresses'?: Array; /** @@ -33,15 +34,16 @@ export class V1NodeStatus { */ 'allocatable'?: { [key: string]: string; }; /** - * Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity + * Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacity */ 'capacity'?: { [key: string]: string; }; /** - * Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition + * Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/reference/node/node-status/#condition */ 'conditions'?: Array; 'config'?: V1NodeConfigStatus; 'daemonEndpoints'?: V1NodeDaemonEndpoints; + 'features'?: V1NodeFeatures; /** * List of container images on this node */ @@ -105,6 +107,12 @@ export class V1NodeStatus { "type": "V1NodeDaemonEndpoints", "format": "" }, + { + "name": "features", + "baseName": "features", + "type": "V1NodeFeatures", + "format": "" + }, { "name": "images", "baseName": "images", diff --git a/src/gen/models/V1NodeSystemInfo.ts b/src/gen/models/V1NodeSystemInfo.ts index 2d0cc573f4e..8bba9db8432 100644 --- a/src/gen/models/V1NodeSystemInfo.ts +++ b/src/gen/models/V1NodeSystemInfo.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * NodeSystemInfo is a set of ids/uuids to uniquely identify the node. @@ -33,7 +33,7 @@ export class V1NodeSystemInfo { */ 'kernelVersion': string; /** - * KubeProxy Version reported by the node. + * Deprecated: KubeProxy Version reported by the node. */ 'kubeProxyVersion': string; /** diff --git a/src/gen/models/V1NonResourceAttributes.ts b/src/gen/models/V1NonResourceAttributes.ts index 3756caca955..56eac633a34 100644 --- a/src/gen/models/V1NonResourceAttributes.ts +++ b/src/gen/models/V1NonResourceAttributes.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface diff --git a/src/gen/models/V1NonResourcePolicyRule.ts b/src/gen/models/V1NonResourcePolicyRule.ts index b0411b1466b..4a9609ba05b 100644 --- a/src/gen/models/V1NonResourcePolicyRule.ts +++ b/src/gen/models/V1NonResourcePolicyRule.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request. diff --git a/src/gen/models/V1NonResourceRule.ts b/src/gen/models/V1NonResourceRule.ts index 59b35f58b29..8eadcf77e17 100644 --- a/src/gen/models/V1NonResourceRule.ts +++ b/src/gen/models/V1NonResourceRule.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * NonResourceRule holds information that describes a rule for the non-resource diff --git a/src/gen/models/V1ObjectFieldSelector.ts b/src/gen/models/V1ObjectFieldSelector.ts index ef0d5e4dc5b..674c7e7bbca 100644 --- a/src/gen/models/V1ObjectFieldSelector.ts +++ b/src/gen/models/V1ObjectFieldSelector.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ObjectFieldSelector selects an APIVersioned field of an object. diff --git a/src/gen/models/V1ObjectMeta.ts b/src/gen/models/V1ObjectMeta.ts index 55eee813f25..970fce1aa9e 100644 --- a/src/gen/models/V1ObjectMeta.ts +++ b/src/gen/models/V1ObjectMeta.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ManagedFieldsEntry } from '../models/V1ManagedFieldsEntry.js'; -import { V1OwnerReference } from '../models/V1OwnerReference.js'; -import { HttpFile } from '../http/http.js'; +import { V1ManagedFieldsEntry } from '../models/V1ManagedFieldsEntry'; +import { V1OwnerReference } from '../models/V1OwnerReference'; +import { HttpFile } from '../http/http'; /** * ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. diff --git a/src/gen/models/V1ObjectReference.ts b/src/gen/models/V1ObjectReference.ts index 0b63ad12368..b3cec735c74 100644 --- a/src/gen/models/V1ObjectReference.ts +++ b/src/gen/models/V1ObjectReference.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ObjectReference contains enough information to let you inspect or modify the referred object. diff --git a/src/gen/models/V1Overhead.ts b/src/gen/models/V1Overhead.ts index 6d840dcedac..e832df36811 100644 --- a/src/gen/models/V1Overhead.ts +++ b/src/gen/models/V1Overhead.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Overhead structure represents the resource overhead associated with running a pod. diff --git a/src/gen/models/V1OwnerReference.ts b/src/gen/models/V1OwnerReference.ts index e157e73a383..82bd7462349 100644 --- a/src/gen/models/V1OwnerReference.ts +++ b/src/gen/models/V1OwnerReference.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field. diff --git a/src/gen/models/V1ParamKind.ts b/src/gen/models/V1ParamKind.ts index a569af216bc..28891aa2384 100644 --- a/src/gen/models/V1ParamKind.ts +++ b/src/gen/models/V1ParamKind.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ParamKind is a tuple of Group Kind and Version. diff --git a/src/gen/models/V1ParamRef.ts b/src/gen/models/V1ParamRef.ts index 318eba05ae9..4be23def648 100644 --- a/src/gen/models/V1ParamRef.ts +++ b/src/gen/models/V1ParamRef.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1LabelSelector } from '../models/V1LabelSelector.js'; -import { HttpFile } from '../http/http.js'; +import { V1LabelSelector } from '../models/V1LabelSelector'; +import { HttpFile } from '../http/http'; /** * ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding. diff --git a/src/gen/models/V1PersistentVolume.ts b/src/gen/models/V1PersistentVolume.ts index e49d10a67af..6ac964e213a 100644 --- a/src/gen/models/V1PersistentVolume.ts +++ b/src/gen/models/V1PersistentVolume.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1PersistentVolumeSpec } from '../models/V1PersistentVolumeSpec.js'; -import { V1PersistentVolumeStatus } from '../models/V1PersistentVolumeStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1PersistentVolumeSpec } from '../models/V1PersistentVolumeSpec'; +import { V1PersistentVolumeStatus } from '../models/V1PersistentVolumeStatus'; +import { HttpFile } from '../http/http'; /** * PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes diff --git a/src/gen/models/V1PersistentVolumeClaim.ts b/src/gen/models/V1PersistentVolumeClaim.ts index bcc173cbbc5..3249de44d5c 100644 --- a/src/gen/models/V1PersistentVolumeClaim.ts +++ b/src/gen/models/V1PersistentVolumeClaim.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1PersistentVolumeClaimSpec } from '../models/V1PersistentVolumeClaimSpec.js'; -import { V1PersistentVolumeClaimStatus } from '../models/V1PersistentVolumeClaimStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1PersistentVolumeClaimSpec } from '../models/V1PersistentVolumeClaimSpec'; +import { V1PersistentVolumeClaimStatus } from '../models/V1PersistentVolumeClaimStatus'; +import { HttpFile } from '../http/http'; /** * PersistentVolumeClaim is a user\'s request for and claim to a persistent volume diff --git a/src/gen/models/V1PersistentVolumeClaimCondition.ts b/src/gen/models/V1PersistentVolumeClaimCondition.ts index 0d57f1c0a4b..673665d0e03 100644 --- a/src/gen/models/V1PersistentVolumeClaimCondition.ts +++ b/src/gen/models/V1PersistentVolumeClaimCondition.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * PersistentVolumeClaimCondition contains details about state of pvc @@ -32,7 +32,13 @@ export class V1PersistentVolumeClaimCondition { * reason is a unique, this should be a short, machine understandable string that gives the reason for condition\'s last transition. If it reports \"Resizing\" that means the underlying persistent volume is being resized. */ 'reason'?: string; + /** + * Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=state%20of%20pvc-,conditions.status,-(string)%2C%20required + */ 'status': string; + /** + * Type is the type of the condition. More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=set%20to%20%27ResizeStarted%27.-,PersistentVolumeClaimCondition,-contains%20details%20about + */ 'type': string; static readonly discriminator: string | undefined = undefined; diff --git a/src/gen/models/V1PersistentVolumeClaimList.ts b/src/gen/models/V1PersistentVolumeClaimList.ts index 7f1919b7c47..46016caca96 100644 --- a/src/gen/models/V1PersistentVolumeClaimList.ts +++ b/src/gen/models/V1PersistentVolumeClaimList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1PersistentVolumeClaim } from '../models/V1PersistentVolumeClaim.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1PersistentVolumeClaim } from '../models/V1PersistentVolumeClaim'; +import { HttpFile } from '../http/http'; /** * PersistentVolumeClaimList is a list of PersistentVolumeClaim items. diff --git a/src/gen/models/V1PersistentVolumeClaimSpec.ts b/src/gen/models/V1PersistentVolumeClaimSpec.ts index f363fd57baf..f80e77fe459 100644 --- a/src/gen/models/V1PersistentVolumeClaimSpec.ts +++ b/src/gen/models/V1PersistentVolumeClaimSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,11 +10,11 @@ * Do not edit the class manually. */ -import { V1LabelSelector } from '../models/V1LabelSelector.js'; -import { V1TypedLocalObjectReference } from '../models/V1TypedLocalObjectReference.js'; -import { V1TypedObjectReference } from '../models/V1TypedObjectReference.js'; -import { V1VolumeResourceRequirements } from '../models/V1VolumeResourceRequirements.js'; -import { HttpFile } from '../http/http.js'; +import { V1LabelSelector } from '../models/V1LabelSelector'; +import { V1TypedLocalObjectReference } from '../models/V1TypedLocalObjectReference'; +import { V1TypedObjectReference } from '../models/V1TypedObjectReference'; +import { V1VolumeResourceRequirements } from '../models/V1VolumeResourceRequirements'; +import { HttpFile } from '../http/http'; /** * PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes @@ -33,7 +33,7 @@ export class V1PersistentVolumeClaimSpec { */ 'storageClassName'?: string; /** - * volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it\'s not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled. + * volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it\'s not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default). */ 'volumeAttributesClassName'?: string; /** diff --git a/src/gen/models/V1PersistentVolumeClaimStatus.ts b/src/gen/models/V1PersistentVolumeClaimStatus.ts index 380b1c6fe60..7508f3589da 100644 --- a/src/gen/models/V1PersistentVolumeClaimStatus.ts +++ b/src/gen/models/V1PersistentVolumeClaimStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ModifyVolumeStatus } from '../models/V1ModifyVolumeStatus.js'; -import { V1PersistentVolumeClaimCondition } from '../models/V1PersistentVolumeClaimCondition.js'; -import { HttpFile } from '../http/http.js'; +import { V1ModifyVolumeStatus } from '../models/V1ModifyVolumeStatus'; +import { V1PersistentVolumeClaimCondition } from '../models/V1PersistentVolumeClaimCondition'; +import { HttpFile } from '../http/http'; /** * PersistentVolumeClaimStatus is the current status of a persistent volume claim. @@ -39,7 +39,7 @@ export class V1PersistentVolumeClaimStatus { */ 'conditions'?: Array; /** - * currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is an alpha field and requires enabling VolumeAttributesClass feature. + * currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is a beta field and requires enabling VolumeAttributesClass feature (off by default). */ 'currentVolumeAttributesClassName'?: string; 'modifyVolumeStatus'?: V1ModifyVolumeStatus; diff --git a/src/gen/models/V1PersistentVolumeClaimTemplate.ts b/src/gen/models/V1PersistentVolumeClaimTemplate.ts index deee025d87c..a94216c9970 100644 --- a/src/gen/models/V1PersistentVolumeClaimTemplate.ts +++ b/src/gen/models/V1PersistentVolumeClaimTemplate.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1PersistentVolumeClaimSpec } from '../models/V1PersistentVolumeClaimSpec.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1PersistentVolumeClaimSpec } from '../models/V1PersistentVolumeClaimSpec'; +import { HttpFile } from '../http/http'; /** * PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource. diff --git a/src/gen/models/V1PersistentVolumeClaimVolumeSource.ts b/src/gen/models/V1PersistentVolumeClaimVolumeSource.ts index 888b88409c9..e370ec4b2ca 100644 --- a/src/gen/models/V1PersistentVolumeClaimVolumeSource.ts +++ b/src/gen/models/V1PersistentVolumeClaimVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * PersistentVolumeClaimVolumeSource references the user\'s PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system). diff --git a/src/gen/models/V1PersistentVolumeList.ts b/src/gen/models/V1PersistentVolumeList.ts index 955b69a4583..3cd9dfea738 100644 --- a/src/gen/models/V1PersistentVolumeList.ts +++ b/src/gen/models/V1PersistentVolumeList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1PersistentVolume } from '../models/V1PersistentVolume.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1PersistentVolume } from '../models/V1PersistentVolume'; +import { HttpFile } from '../http/http'; /** * PersistentVolumeList is a list of PersistentVolume items. diff --git a/src/gen/models/V1PersistentVolumeSpec.ts b/src/gen/models/V1PersistentVolumeSpec.ts index d281dcd05d4..236568ea82c 100644 --- a/src/gen/models/V1PersistentVolumeSpec.ts +++ b/src/gen/models/V1PersistentVolumeSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,31 +10,31 @@ * Do not edit the class manually. */ -import { V1AWSElasticBlockStoreVolumeSource } from '../models/V1AWSElasticBlockStoreVolumeSource.js'; -import { V1AzureDiskVolumeSource } from '../models/V1AzureDiskVolumeSource.js'; -import { V1AzureFilePersistentVolumeSource } from '../models/V1AzureFilePersistentVolumeSource.js'; -import { V1CSIPersistentVolumeSource } from '../models/V1CSIPersistentVolumeSource.js'; -import { V1CephFSPersistentVolumeSource } from '../models/V1CephFSPersistentVolumeSource.js'; -import { V1CinderPersistentVolumeSource } from '../models/V1CinderPersistentVolumeSource.js'; -import { V1FCVolumeSource } from '../models/V1FCVolumeSource.js'; -import { V1FlexPersistentVolumeSource } from '../models/V1FlexPersistentVolumeSource.js'; -import { V1FlockerVolumeSource } from '../models/V1FlockerVolumeSource.js'; -import { V1GCEPersistentDiskVolumeSource } from '../models/V1GCEPersistentDiskVolumeSource.js'; -import { V1GlusterfsPersistentVolumeSource } from '../models/V1GlusterfsPersistentVolumeSource.js'; -import { V1HostPathVolumeSource } from '../models/V1HostPathVolumeSource.js'; -import { V1ISCSIPersistentVolumeSource } from '../models/V1ISCSIPersistentVolumeSource.js'; -import { V1LocalVolumeSource } from '../models/V1LocalVolumeSource.js'; -import { V1NFSVolumeSource } from '../models/V1NFSVolumeSource.js'; -import { V1ObjectReference } from '../models/V1ObjectReference.js'; -import { V1PhotonPersistentDiskVolumeSource } from '../models/V1PhotonPersistentDiskVolumeSource.js'; -import { V1PortworxVolumeSource } from '../models/V1PortworxVolumeSource.js'; -import { V1QuobyteVolumeSource } from '../models/V1QuobyteVolumeSource.js'; -import { V1RBDPersistentVolumeSource } from '../models/V1RBDPersistentVolumeSource.js'; -import { V1ScaleIOPersistentVolumeSource } from '../models/V1ScaleIOPersistentVolumeSource.js'; -import { V1StorageOSPersistentVolumeSource } from '../models/V1StorageOSPersistentVolumeSource.js'; -import { V1VolumeNodeAffinity } from '../models/V1VolumeNodeAffinity.js'; -import { V1VsphereVirtualDiskVolumeSource } from '../models/V1VsphereVirtualDiskVolumeSource.js'; -import { HttpFile } from '../http/http.js'; +import { V1AWSElasticBlockStoreVolumeSource } from '../models/V1AWSElasticBlockStoreVolumeSource'; +import { V1AzureDiskVolumeSource } from '../models/V1AzureDiskVolumeSource'; +import { V1AzureFilePersistentVolumeSource } from '../models/V1AzureFilePersistentVolumeSource'; +import { V1CSIPersistentVolumeSource } from '../models/V1CSIPersistentVolumeSource'; +import { V1CephFSPersistentVolumeSource } from '../models/V1CephFSPersistentVolumeSource'; +import { V1CinderPersistentVolumeSource } from '../models/V1CinderPersistentVolumeSource'; +import { V1FCVolumeSource } from '../models/V1FCVolumeSource'; +import { V1FlexPersistentVolumeSource } from '../models/V1FlexPersistentVolumeSource'; +import { V1FlockerVolumeSource } from '../models/V1FlockerVolumeSource'; +import { V1GCEPersistentDiskVolumeSource } from '../models/V1GCEPersistentDiskVolumeSource'; +import { V1GlusterfsPersistentVolumeSource } from '../models/V1GlusterfsPersistentVolumeSource'; +import { V1HostPathVolumeSource } from '../models/V1HostPathVolumeSource'; +import { V1ISCSIPersistentVolumeSource } from '../models/V1ISCSIPersistentVolumeSource'; +import { V1LocalVolumeSource } from '../models/V1LocalVolumeSource'; +import { V1NFSVolumeSource } from '../models/V1NFSVolumeSource'; +import { V1ObjectReference } from '../models/V1ObjectReference'; +import { V1PhotonPersistentDiskVolumeSource } from '../models/V1PhotonPersistentDiskVolumeSource'; +import { V1PortworxVolumeSource } from '../models/V1PortworxVolumeSource'; +import { V1QuobyteVolumeSource } from '../models/V1QuobyteVolumeSource'; +import { V1RBDPersistentVolumeSource } from '../models/V1RBDPersistentVolumeSource'; +import { V1ScaleIOPersistentVolumeSource } from '../models/V1ScaleIOPersistentVolumeSource'; +import { V1StorageOSPersistentVolumeSource } from '../models/V1StorageOSPersistentVolumeSource'; +import { V1VolumeNodeAffinity } from '../models/V1VolumeNodeAffinity'; +import { V1VsphereVirtualDiskVolumeSource } from '../models/V1VsphereVirtualDiskVolumeSource'; +import { HttpFile } from '../http/http'; /** * PersistentVolumeSpec is the specification of a persistent volume. @@ -84,7 +84,7 @@ export class V1PersistentVolumeSpec { 'storageClassName'?: string; 'storageos'?: V1StorageOSPersistentVolumeSource; /** - * Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is an alpha field and requires enabling VolumeAttributesClass feature. + * Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is a beta field and requires enabling VolumeAttributesClass feature (off by default). */ 'volumeAttributesClassName'?: string; /** diff --git a/src/gen/models/V1PersistentVolumeStatus.ts b/src/gen/models/V1PersistentVolumeStatus.ts index cf1cb36e6fe..79f63c4d9ef 100644 --- a/src/gen/models/V1PersistentVolumeStatus.ts +++ b/src/gen/models/V1PersistentVolumeStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,14 +10,14 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * PersistentVolumeStatus is the current status of a persistent volume. */ export class V1PersistentVolumeStatus { /** - * lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default). + * lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. */ 'lastPhaseTransitionTime'?: Date; /** diff --git a/src/gen/models/V1PhotonPersistentDiskVolumeSource.ts b/src/gen/models/V1PhotonPersistentDiskVolumeSource.ts index 1eddd7f8a47..30cc70edfc3 100644 --- a/src/gen/models/V1PhotonPersistentDiskVolumeSource.ts +++ b/src/gen/models/V1PhotonPersistentDiskVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Represents a Photon Controller persistent disk resource. diff --git a/src/gen/models/V1Pod.ts b/src/gen/models/V1Pod.ts index 194bac0456c..d57c3b53876 100644 --- a/src/gen/models/V1Pod.ts +++ b/src/gen/models/V1Pod.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1PodSpec } from '../models/V1PodSpec.js'; -import { V1PodStatus } from '../models/V1PodStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1PodSpec } from '../models/V1PodSpec'; +import { V1PodStatus } from '../models/V1PodStatus'; +import { HttpFile } from '../http/http'; /** * Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts. diff --git a/src/gen/models/V1PodAffinity.ts b/src/gen/models/V1PodAffinity.ts index 6816c380e2a..3821d7dfd92 100644 --- a/src/gen/models/V1PodAffinity.ts +++ b/src/gen/models/V1PodAffinity.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1PodAffinityTerm } from '../models/V1PodAffinityTerm.js'; -import { V1WeightedPodAffinityTerm } from '../models/V1WeightedPodAffinityTerm.js'; -import { HttpFile } from '../http/http.js'; +import { V1PodAffinityTerm } from '../models/V1PodAffinityTerm'; +import { V1WeightedPodAffinityTerm } from '../models/V1WeightedPodAffinityTerm'; +import { HttpFile } from '../http/http'; /** * Pod affinity is a group of inter pod affinity scheduling rules. diff --git a/src/gen/models/V1PodAffinityTerm.ts b/src/gen/models/V1PodAffinityTerm.ts index 956f0161e63..252ee6f811f 100644 --- a/src/gen/models/V1PodAffinityTerm.ts +++ b/src/gen/models/V1PodAffinityTerm.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1LabelSelector } from '../models/V1LabelSelector.js'; -import { HttpFile } from '../http/http.js'; +import { V1LabelSelector } from '../models/V1LabelSelector'; +import { HttpFile } from '../http/http'; /** * Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running @@ -19,11 +19,11 @@ import { HttpFile } from '../http/http.js'; export class V1PodAffinityTerm { 'labelSelector'?: V1LabelSelector; /** - * MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod\'s pod (anti) affinity. Keys that don\'t exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn\'t set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + * MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod\'s pod (anti) affinity. Keys that don\'t exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn\'t set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). */ 'matchLabelKeys'?: Array; /** - * MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod\'s pod (anti) affinity. Keys that don\'t exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn\'t set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. + * MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod\'s pod (anti) affinity. Keys that don\'t exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn\'t set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default). */ 'mismatchLabelKeys'?: Array; 'namespaceSelector'?: V1LabelSelector; diff --git a/src/gen/models/V1PodAntiAffinity.ts b/src/gen/models/V1PodAntiAffinity.ts index 8ec0c2d1d59..f0a9f43a168 100644 --- a/src/gen/models/V1PodAntiAffinity.ts +++ b/src/gen/models/V1PodAntiAffinity.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1PodAffinityTerm } from '../models/V1PodAffinityTerm.js'; -import { V1WeightedPodAffinityTerm } from '../models/V1WeightedPodAffinityTerm.js'; -import { HttpFile } from '../http/http.js'; +import { V1PodAffinityTerm } from '../models/V1PodAffinityTerm'; +import { V1WeightedPodAffinityTerm } from '../models/V1WeightedPodAffinityTerm'; +import { HttpFile } from '../http/http'; /** * Pod anti affinity is a group of inter pod anti affinity scheduling rules. diff --git a/src/gen/models/V1PodCondition.ts b/src/gen/models/V1PodCondition.ts index 282bca20a52..2ed8b5daba1 100644 --- a/src/gen/models/V1PodCondition.ts +++ b/src/gen/models/V1PodCondition.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * PodCondition contains details for the current condition of this pod. diff --git a/src/gen/models/V1PodDNSConfig.ts b/src/gen/models/V1PodDNSConfig.ts index 2d41467ed3a..7f13d38b8ee 100644 --- a/src/gen/models/V1PodDNSConfig.ts +++ b/src/gen/models/V1PodDNSConfig.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1PodDNSConfigOption } from '../models/V1PodDNSConfigOption.js'; -import { HttpFile } from '../http/http.js'; +import { V1PodDNSConfigOption } from '../models/V1PodDNSConfigOption'; +import { HttpFile } from '../http/http'; /** * PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy. diff --git a/src/gen/models/V1PodDNSConfigOption.ts b/src/gen/models/V1PodDNSConfigOption.ts index 5e2785165ff..f8a25907d5b 100644 --- a/src/gen/models/V1PodDNSConfigOption.ts +++ b/src/gen/models/V1PodDNSConfigOption.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,16 +10,19 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * PodDNSConfigOption defines DNS resolver options of a pod. */ export class V1PodDNSConfigOption { /** - * Required. + * Name is this DNS resolver option\'s name. Required. */ 'name'?: string; + /** + * Value is this DNS resolver option\'s value. + */ 'value'?: string; static readonly discriminator: string | undefined = undefined; diff --git a/src/gen/models/V1PodDisruptionBudget.ts b/src/gen/models/V1PodDisruptionBudget.ts index aca7aba5595..9f5ef8fe01a 100644 --- a/src/gen/models/V1PodDisruptionBudget.ts +++ b/src/gen/models/V1PodDisruptionBudget.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1PodDisruptionBudgetSpec } from '../models/V1PodDisruptionBudgetSpec.js'; -import { V1PodDisruptionBudgetStatus } from '../models/V1PodDisruptionBudgetStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1PodDisruptionBudgetSpec } from '../models/V1PodDisruptionBudgetSpec'; +import { V1PodDisruptionBudgetStatus } from '../models/V1PodDisruptionBudgetStatus'; +import { HttpFile } from '../http/http'; /** * PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods diff --git a/src/gen/models/V1PodDisruptionBudgetList.ts b/src/gen/models/V1PodDisruptionBudgetList.ts index 06d7ea7dd27..5331b70254f 100644 --- a/src/gen/models/V1PodDisruptionBudgetList.ts +++ b/src/gen/models/V1PodDisruptionBudgetList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1PodDisruptionBudget } from '../models/V1PodDisruptionBudget.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1PodDisruptionBudget } from '../models/V1PodDisruptionBudget'; +import { HttpFile } from '../http/http'; /** * PodDisruptionBudgetList is a collection of PodDisruptionBudgets. diff --git a/src/gen/models/V1PodDisruptionBudgetSpec.ts b/src/gen/models/V1PodDisruptionBudgetSpec.ts index 263bcfcfa49..6447e0b0716 100644 --- a/src/gen/models/V1PodDisruptionBudgetSpec.ts +++ b/src/gen/models/V1PodDisruptionBudgetSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { IntOrString } from '../../types.js'; -import { V1LabelSelector } from '../models/V1LabelSelector.js'; -import { HttpFile } from '../http/http.js'; +import { IntOrString } from '../../types'; +import { V1LabelSelector } from '../models/V1LabelSelector'; +import { HttpFile } from '../http/http'; /** * PodDisruptionBudgetSpec is a description of a PodDisruptionBudget. diff --git a/src/gen/models/V1PodDisruptionBudgetStatus.ts b/src/gen/models/V1PodDisruptionBudgetStatus.ts index 183a53400d9..a5dd9020874 100644 --- a/src/gen/models/V1PodDisruptionBudgetStatus.ts +++ b/src/gen/models/V1PodDisruptionBudgetStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1Condition } from '../models/V1Condition.js'; -import { HttpFile } from '../http/http.js'; +import { V1Condition } from '../models/V1Condition'; +import { HttpFile } from '../http/http'; /** * PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system. diff --git a/src/gen/models/V1PodFailurePolicy.ts b/src/gen/models/V1PodFailurePolicy.ts index 8779281a526..ceb8c2f99bd 100644 --- a/src/gen/models/V1PodFailurePolicy.ts +++ b/src/gen/models/V1PodFailurePolicy.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1PodFailurePolicyRule } from '../models/V1PodFailurePolicyRule.js'; -import { HttpFile } from '../http/http.js'; +import { V1PodFailurePolicyRule } from '../models/V1PodFailurePolicyRule'; +import { HttpFile } from '../http/http'; /** * PodFailurePolicy describes how failed pods influence the backoffLimit. diff --git a/src/gen/models/V1PodFailurePolicyOnExitCodesRequirement.ts b/src/gen/models/V1PodFailurePolicyOnExitCodesRequirement.ts index 8c50efc0645..92f765aab2b 100644 --- a/src/gen/models/V1PodFailurePolicyOnExitCodesRequirement.ts +++ b/src/gen/models/V1PodFailurePolicyOnExitCodesRequirement.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check. diff --git a/src/gen/models/V1PodFailurePolicyOnPodConditionsPattern.ts b/src/gen/models/V1PodFailurePolicyOnPodConditionsPattern.ts index 2d34d988bff..1af5476c768 100644 --- a/src/gen/models/V1PodFailurePolicyOnPodConditionsPattern.ts +++ b/src/gen/models/V1PodFailurePolicyOnPodConditionsPattern.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type. diff --git a/src/gen/models/V1PodFailurePolicyRule.ts b/src/gen/models/V1PodFailurePolicyRule.ts index 046607d111d..dad65839002 100644 --- a/src/gen/models/V1PodFailurePolicyRule.ts +++ b/src/gen/models/V1PodFailurePolicyRule.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1PodFailurePolicyOnExitCodesRequirement } from '../models/V1PodFailurePolicyOnExitCodesRequirement.js'; -import { V1PodFailurePolicyOnPodConditionsPattern } from '../models/V1PodFailurePolicyOnPodConditionsPattern.js'; -import { HttpFile } from '../http/http.js'; +import { V1PodFailurePolicyOnExitCodesRequirement } from '../models/V1PodFailurePolicyOnExitCodesRequirement'; +import { V1PodFailurePolicyOnPodConditionsPattern } from '../models/V1PodFailurePolicyOnPodConditionsPattern'; +import { HttpFile } from '../http/http'; /** * PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule. diff --git a/src/gen/models/V1PodIP.ts b/src/gen/models/V1PodIP.ts index c3e629997fa..a1429add3c3 100644 --- a/src/gen/models/V1PodIP.ts +++ b/src/gen/models/V1PodIP.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * PodIP represents a single IP address allocated to the pod. @@ -19,7 +19,7 @@ export class V1PodIP { /** * IP is the IP address assigned to the pod */ - 'ip'?: string; + 'ip': string; static readonly discriminator: string | undefined = undefined; diff --git a/src/gen/models/V1PodList.ts b/src/gen/models/V1PodList.ts index 97b81e99cd7..180f1076304 100644 --- a/src/gen/models/V1PodList.ts +++ b/src/gen/models/V1PodList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1Pod } from '../models/V1Pod.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1Pod } from '../models/V1Pod'; +import { HttpFile } from '../http/http'; /** * PodList is a list of Pods. diff --git a/src/gen/models/V1PodOS.ts b/src/gen/models/V1PodOS.ts index 2258044c960..1253ea48d9e 100644 --- a/src/gen/models/V1PodOS.ts +++ b/src/gen/models/V1PodOS.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * PodOS defines the OS parameters of a pod. diff --git a/src/gen/models/V1PodReadinessGate.ts b/src/gen/models/V1PodReadinessGate.ts index e7a179cd1b6..5a1c5b49f3d 100644 --- a/src/gen/models/V1PodReadinessGate.ts +++ b/src/gen/models/V1PodReadinessGate.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * PodReadinessGate contains the reference to a pod condition diff --git a/src/gen/models/V1PodResourceClaim.ts b/src/gen/models/V1PodResourceClaim.ts index 3946a9a79c8..06195af5906 100644 --- a/src/gen/models/V1PodResourceClaim.ts +++ b/src/gen/models/V1PodResourceClaim.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,18 +10,24 @@ * Do not edit the class manually. */ -import { V1ClaimSource } from '../models/V1ClaimSource.js'; -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** -* PodResourceClaim references exactly one ResourceClaim through a ClaimSource. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name. +* PodResourceClaim references exactly one ResourceClaim, either directly or by naming a ResourceClaimTemplate which is then turned into a ResourceClaim for the pod. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name. */ export class V1PodResourceClaim { /** * Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL. */ 'name': string; - 'source'?: V1ClaimSource; + /** + * ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod. Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set. + */ + 'resourceClaimName'?: string; + /** + * ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod. The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses. This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim. Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set. + */ + 'resourceClaimTemplateName'?: string; static readonly discriminator: string | undefined = undefined; @@ -35,9 +41,15 @@ export class V1PodResourceClaim { "format": "" }, { - "name": "source", - "baseName": "source", - "type": "V1ClaimSource", + "name": "resourceClaimName", + "baseName": "resourceClaimName", + "type": "string", + "format": "" + }, + { + "name": "resourceClaimTemplateName", + "baseName": "resourceClaimTemplateName", + "type": "string", "format": "" } ]; diff --git a/src/gen/models/V1PodResourceClaimStatus.ts b/src/gen/models/V1PodResourceClaimStatus.ts index cddc397c29e..8bae798a66e 100644 --- a/src/gen/models/V1PodResourceClaimStatus.ts +++ b/src/gen/models/V1PodResourceClaimStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * PodResourceClaimStatus is stored in the PodStatus for each PodResourceClaim which references a ResourceClaimTemplate. It stores the generated name for the corresponding ResourceClaim. @@ -21,7 +21,7 @@ export class V1PodResourceClaimStatus { */ 'name': string; /** - * ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. It this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case. + * ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. If this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case. */ 'resourceClaimName'?: string; diff --git a/src/gen/models/V1PodSchedulingGate.ts b/src/gen/models/V1PodSchedulingGate.ts index b8c73e54b9c..47dba3d73d2 100644 --- a/src/gen/models/V1PodSchedulingGate.ts +++ b/src/gen/models/V1PodSchedulingGate.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * PodSchedulingGate is associated to a Pod to guard its scheduling. diff --git a/src/gen/models/V1PodSecurityContext.ts b/src/gen/models/V1PodSecurityContext.ts index 5b7fd707c21..f271a45fafa 100644 --- a/src/gen/models/V1PodSecurityContext.ts +++ b/src/gen/models/V1PodSecurityContext.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,12 +10,12 @@ * Do not edit the class manually. */ -import { V1AppArmorProfile } from '../models/V1AppArmorProfile.js'; -import { V1SELinuxOptions } from '../models/V1SELinuxOptions.js'; -import { V1SeccompProfile } from '../models/V1SeccompProfile.js'; -import { V1Sysctl } from '../models/V1Sysctl.js'; -import { V1WindowsSecurityContextOptions } from '../models/V1WindowsSecurityContextOptions.js'; -import { HttpFile } from '../http/http.js'; +import { V1AppArmorProfile } from '../models/V1AppArmorProfile'; +import { V1SELinuxOptions } from '../models/V1SELinuxOptions'; +import { V1SeccompProfile } from '../models/V1SeccompProfile'; +import { V1Sysctl } from '../models/V1Sysctl'; +import { V1WindowsSecurityContextOptions } from '../models/V1WindowsSecurityContextOptions'; +import { HttpFile } from '../http/http'; /** * PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext. @@ -42,13 +42,21 @@ export class V1PodSecurityContext { * The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows. */ 'runAsUser'?: number; + /** + * seLinuxChangePolicy defines how the container\'s SELinux label is applied to all volumes used by the Pod. It has no effect on nodes that do not support SELinux or to volumes does not support SELinux. Valid values are \"MountOption\" and \"Recursive\". \"Recursive\" means relabeling of all files on all Pod volumes by the container runtime. This may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node. \"MountOption\" mounts all eligible Pod volumes with `-o context` mount option. This requires all Pods that share the same volume to use the same SELinux label. It is not possible to share the same volume among privileged and unprivileged Pods. Eligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes whose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their CSIDriver instance. Other volumes are always re-labelled recursively. \"MountOption\" value is allowed only when SELinuxMount feature gate is enabled. If not specified and SELinuxMount feature gate is enabled, \"MountOption\" is used. If not specified and SELinuxMount feature gate is disabled, \"MountOption\" is used for ReadWriteOncePod volumes and \"Recursive\" for all other volumes. This field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers. All Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state. Note that this field cannot be set when spec.os.name is windows. + */ + 'seLinuxChangePolicy'?: string; 'seLinuxOptions'?: V1SELinuxOptions; 'seccompProfile'?: V1SeccompProfile; /** - * A list of groups applied to the first process run in each container, in addition to the container\'s primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. If unspecified, no additional groups are added to any container. Note that group memberships defined in the container image for the uid of the container process are still effective, even if they are not included in this list. Note that this field cannot be set when spec.os.name is windows. + * A list of groups applied to the first process run in each container, in addition to the container\'s primary GID and fsGroup (if specified). If the SupplementalGroupsPolicy feature is enabled, the supplementalGroupsPolicy field determines whether these are in addition to or instead of any group memberships defined in the container image. If unspecified, no additional groups are added, though group memberships defined in the container image may still be used, depending on the supplementalGroupsPolicy field. Note that this field cannot be set when spec.os.name is windows. */ 'supplementalGroups'?: Array; /** + * Defines how supplemental groups of the first container processes are calculated. Valid values are \"Merge\" and \"Strict\". If not specified, \"Merge\" is used. (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled and the container runtime must implement support for this feature. Note that this field cannot be set when spec.os.name is windows. + */ + 'supplementalGroupsPolicy'?: string; + /** * Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows. */ 'sysctls'?: Array; @@ -95,6 +103,12 @@ export class V1PodSecurityContext { "type": "number", "format": "int64" }, + { + "name": "seLinuxChangePolicy", + "baseName": "seLinuxChangePolicy", + "type": "string", + "format": "" + }, { "name": "seLinuxOptions", "baseName": "seLinuxOptions", @@ -113,6 +127,12 @@ export class V1PodSecurityContext { "type": "Array", "format": "int64" }, + { + "name": "supplementalGroupsPolicy", + "baseName": "supplementalGroupsPolicy", + "type": "string", + "format": "" + }, { "name": "sysctls", "baseName": "sysctls", diff --git a/src/gen/models/V1PodSpec.ts b/src/gen/models/V1PodSpec.ts index e5f97f5ff2f..5bb34830099 100644 --- a/src/gen/models/V1PodSpec.ts +++ b/src/gen/models/V1PodSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,21 +10,22 @@ * Do not edit the class manually. */ -import { V1Affinity } from '../models/V1Affinity.js'; -import { V1Container } from '../models/V1Container.js'; -import { V1EphemeralContainer } from '../models/V1EphemeralContainer.js'; -import { V1HostAlias } from '../models/V1HostAlias.js'; -import { V1LocalObjectReference } from '../models/V1LocalObjectReference.js'; -import { V1PodDNSConfig } from '../models/V1PodDNSConfig.js'; -import { V1PodOS } from '../models/V1PodOS.js'; -import { V1PodReadinessGate } from '../models/V1PodReadinessGate.js'; -import { V1PodResourceClaim } from '../models/V1PodResourceClaim.js'; -import { V1PodSchedulingGate } from '../models/V1PodSchedulingGate.js'; -import { V1PodSecurityContext } from '../models/V1PodSecurityContext.js'; -import { V1Toleration } from '../models/V1Toleration.js'; -import { V1TopologySpreadConstraint } from '../models/V1TopologySpreadConstraint.js'; -import { V1Volume } from '../models/V1Volume.js'; -import { HttpFile } from '../http/http.js'; +import { V1Affinity } from '../models/V1Affinity'; +import { V1Container } from '../models/V1Container'; +import { V1EphemeralContainer } from '../models/V1EphemeralContainer'; +import { V1HostAlias } from '../models/V1HostAlias'; +import { V1LocalObjectReference } from '../models/V1LocalObjectReference'; +import { V1PodDNSConfig } from '../models/V1PodDNSConfig'; +import { V1PodOS } from '../models/V1PodOS'; +import { V1PodReadinessGate } from '../models/V1PodReadinessGate'; +import { V1PodResourceClaim } from '../models/V1PodResourceClaim'; +import { V1PodSchedulingGate } from '../models/V1PodSchedulingGate'; +import { V1PodSecurityContext } from '../models/V1PodSecurityContext'; +import { V1ResourceRequirements } from '../models/V1ResourceRequirements'; +import { V1Toleration } from '../models/V1Toleration'; +import { V1TopologySpreadConstraint } from '../models/V1TopologySpreadConstraint'; +import { V1Volume } from '../models/V1Volume'; +import { HttpFile } from '../http/http'; /** * PodSpec is a description of a pod. @@ -89,7 +90,7 @@ export class V1PodSpec { */ 'initContainers'?: Array; /** - * NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements. + * NodeName indicates in which node this pod is scheduled. If empty, this pod is a candidate for scheduling by the scheduler defined in schedulerName. Once this field is set, the kubelet for this node becomes responsible for the lifecycle of this pod. This field should not be used to express a desire for the pod to be scheduled on a specific node. https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodename */ 'nodeName'?: string; /** @@ -121,6 +122,7 @@ export class V1PodSpec { * ResourceClaims defines which ResourceClaims must be allocated and reserved before the Pod is allowed to start. The resources will be made available to those containers which consume them by name. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable. */ 'resourceClaims'?: Array; + 'resources'?: V1ResourceRequirements; /** * Restart policy for all containers within the pod. One of Always, OnFailure, Never. In some contexts, only a subset of those values may be permitted. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy */ @@ -147,7 +149,7 @@ export class V1PodSpec { */ 'serviceAccountName'?: string; /** - * If true the pod\'s hostname will be configured as the pod\'s FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false. + * If true the pod\'s hostname will be configured as the pod\'s FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\\\SYSTEM\\\\CurrentControlSet\\\\Services\\\\Tcpip\\\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false. */ 'setHostnameAsFQDN'?: boolean; /** @@ -330,6 +332,12 @@ export class V1PodSpec { "type": "Array", "format": "" }, + { + "name": "resources", + "baseName": "resources", + "type": "V1ResourceRequirements", + "format": "" + }, { "name": "restartPolicy", "baseName": "restartPolicy", diff --git a/src/gen/models/V1PodStatus.ts b/src/gen/models/V1PodStatus.ts index 3198b55eb28..83b4f48cb1f 100644 --- a/src/gen/models/V1PodStatus.ts +++ b/src/gen/models/V1PodStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,12 +10,12 @@ * Do not edit the class manually. */ -import { V1ContainerStatus } from '../models/V1ContainerStatus.js'; -import { V1HostIP } from '../models/V1HostIP.js'; -import { V1PodCondition } from '../models/V1PodCondition.js'; -import { V1PodIP } from '../models/V1PodIP.js'; -import { V1PodResourceClaimStatus } from '../models/V1PodResourceClaimStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1ContainerStatus } from '../models/V1ContainerStatus'; +import { V1HostIP } from '../models/V1HostIP'; +import { V1PodCondition } from '../models/V1PodCondition'; +import { V1PodIP } from '../models/V1PodIP'; +import { V1PodResourceClaimStatus } from '../models/V1PodResourceClaimStatus'; +import { HttpFile } from '../http/http'; /** * PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane. @@ -26,11 +26,11 @@ export class V1PodStatus { */ 'conditions'?: Array; /** - * The list has one entry per container in the manifest. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status + * Statuses of containers in this pod. Each container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status */ 'containerStatuses'?: Array; /** - * Status for any ephemeral containers that have run in this pod. + * Statuses for any ephemeral containers that have run in this pod. Each ephemeral container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status */ 'ephemeralContainerStatuses'?: Array; /** @@ -42,7 +42,7 @@ export class V1PodStatus { */ 'hostIPs'?: Array; /** - * The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status + * Statuses of init containers in this pod. The most recent successful non-restartable init container will have ready = true, the most recently started container will have startTime set. Each init container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-and-container-status */ 'initContainerStatuses'?: Array; /** diff --git a/src/gen/models/V1PodTemplate.ts b/src/gen/models/V1PodTemplate.ts index e7f52f723fd..9cda2985dda 100644 --- a/src/gen/models/V1PodTemplate.ts +++ b/src/gen/models/V1PodTemplate.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1PodTemplateSpec } from '../models/V1PodTemplateSpec.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1PodTemplateSpec } from '../models/V1PodTemplateSpec'; +import { HttpFile } from '../http/http'; /** * PodTemplate describes a template for creating copies of a predefined pod. diff --git a/src/gen/models/V1PodTemplateList.ts b/src/gen/models/V1PodTemplateList.ts index 7fe3ddbb933..590c2cfe6ec 100644 --- a/src/gen/models/V1PodTemplateList.ts +++ b/src/gen/models/V1PodTemplateList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1PodTemplate } from '../models/V1PodTemplate.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1PodTemplate } from '../models/V1PodTemplate'; +import { HttpFile } from '../http/http'; /** * PodTemplateList is a list of PodTemplates. diff --git a/src/gen/models/V1PodTemplateSpec.ts b/src/gen/models/V1PodTemplateSpec.ts index dfd36a77067..1ae1a10afa4 100644 --- a/src/gen/models/V1PodTemplateSpec.ts +++ b/src/gen/models/V1PodTemplateSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1PodSpec } from '../models/V1PodSpec.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1PodSpec } from '../models/V1PodSpec'; +import { HttpFile } from '../http/http'; /** * PodTemplateSpec describes the data a pod should have when created from a template diff --git a/src/gen/models/V1PolicyRule.ts b/src/gen/models/V1PolicyRule.ts index e5cab4dcc6f..0f631c40a75 100644 --- a/src/gen/models/V1PolicyRule.ts +++ b/src/gen/models/V1PolicyRule.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to. diff --git a/src/gen/models/V1PolicyRulesWithSubjects.ts b/src/gen/models/V1PolicyRulesWithSubjects.ts index 405bc126e89..f7ffe0b3d1f 100644 --- a/src/gen/models/V1PolicyRulesWithSubjects.ts +++ b/src/gen/models/V1PolicyRulesWithSubjects.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { FlowcontrolV1Subject } from '../models/FlowcontrolV1Subject.js'; -import { V1NonResourcePolicyRule } from '../models/V1NonResourcePolicyRule.js'; -import { V1ResourcePolicyRule } from '../models/V1ResourcePolicyRule.js'; -import { HttpFile } from '../http/http.js'; +import { FlowcontrolV1Subject } from '../models/FlowcontrolV1Subject'; +import { V1NonResourcePolicyRule } from '../models/V1NonResourcePolicyRule'; +import { V1ResourcePolicyRule } from '../models/V1ResourcePolicyRule'; +import { HttpFile } from '../http/http'; /** * PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request. diff --git a/src/gen/models/V1PortStatus.ts b/src/gen/models/V1PortStatus.ts index 4cde2c048d9..c1a17862a16 100644 --- a/src/gen/models/V1PortStatus.ts +++ b/src/gen/models/V1PortStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,11 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; +/** +* PortStatus represents the error condition of a service port +*/ export class V1PortStatus { /** * Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names - cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase. diff --git a/src/gen/models/V1PortworxVolumeSource.ts b/src/gen/models/V1PortworxVolumeSource.ts index 53c1c68a7d1..0244b417c3c 100644 --- a/src/gen/models/V1PortworxVolumeSource.ts +++ b/src/gen/models/V1PortworxVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * PortworxVolumeSource represents a Portworx volume resource. diff --git a/src/gen/models/V1Preconditions.ts b/src/gen/models/V1Preconditions.ts index 3e340037c26..270c6465c21 100644 --- a/src/gen/models/V1Preconditions.ts +++ b/src/gen/models/V1Preconditions.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out. diff --git a/src/gen/models/V1PreferredSchedulingTerm.ts b/src/gen/models/V1PreferredSchedulingTerm.ts index c23006dec39..74558ab5621 100644 --- a/src/gen/models/V1PreferredSchedulingTerm.ts +++ b/src/gen/models/V1PreferredSchedulingTerm.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1NodeSelectorTerm } from '../models/V1NodeSelectorTerm.js'; -import { HttpFile } from '../http/http.js'; +import { V1NodeSelectorTerm } from '../models/V1NodeSelectorTerm'; +import { HttpFile } from '../http/http'; /** * An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it\'s a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). diff --git a/src/gen/models/V1PriorityClass.ts b/src/gen/models/V1PriorityClass.ts index 6fe382fbb3a..28ab6e9988a 100644 --- a/src/gen/models/V1PriorityClass.ts +++ b/src/gen/models/V1PriorityClass.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer. diff --git a/src/gen/models/V1PriorityClassList.ts b/src/gen/models/V1PriorityClassList.ts index 6673d088785..4af6d48b947 100644 --- a/src/gen/models/V1PriorityClassList.ts +++ b/src/gen/models/V1PriorityClassList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1PriorityClass } from '../models/V1PriorityClass.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1PriorityClass } from '../models/V1PriorityClass'; +import { HttpFile } from '../http/http'; /** * PriorityClassList is a collection of priority classes. diff --git a/src/gen/models/V1PriorityLevelConfiguration.ts b/src/gen/models/V1PriorityLevelConfiguration.ts index 1fd730d2334..7147edc6fba 100644 --- a/src/gen/models/V1PriorityLevelConfiguration.ts +++ b/src/gen/models/V1PriorityLevelConfiguration.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1PriorityLevelConfigurationSpec } from '../models/V1PriorityLevelConfigurationSpec.js'; -import { V1PriorityLevelConfigurationStatus } from '../models/V1PriorityLevelConfigurationStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1PriorityLevelConfigurationSpec } from '../models/V1PriorityLevelConfigurationSpec'; +import { V1PriorityLevelConfigurationStatus } from '../models/V1PriorityLevelConfigurationStatus'; +import { HttpFile } from '../http/http'; /** * PriorityLevelConfiguration represents the configuration of a priority level. diff --git a/src/gen/models/V1PriorityLevelConfigurationCondition.ts b/src/gen/models/V1PriorityLevelConfigurationCondition.ts index 8e1f8552f12..ac227569688 100644 --- a/src/gen/models/V1PriorityLevelConfigurationCondition.ts +++ b/src/gen/models/V1PriorityLevelConfigurationCondition.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * PriorityLevelConfigurationCondition defines the condition of priority level. diff --git a/src/gen/models/V1PriorityLevelConfigurationList.ts b/src/gen/models/V1PriorityLevelConfigurationList.ts index a6cdd3d7666..41ff0dc69b6 100644 --- a/src/gen/models/V1PriorityLevelConfigurationList.ts +++ b/src/gen/models/V1PriorityLevelConfigurationList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1PriorityLevelConfiguration } from '../models/V1PriorityLevelConfiguration.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1PriorityLevelConfiguration } from '../models/V1PriorityLevelConfiguration'; +import { HttpFile } from '../http/http'; /** * PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects. diff --git a/src/gen/models/V1PriorityLevelConfigurationReference.ts b/src/gen/models/V1PriorityLevelConfigurationReference.ts index 586fda15b0c..f72de2125da 100644 --- a/src/gen/models/V1PriorityLevelConfigurationReference.ts +++ b/src/gen/models/V1PriorityLevelConfigurationReference.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used. diff --git a/src/gen/models/V1PriorityLevelConfigurationSpec.ts b/src/gen/models/V1PriorityLevelConfigurationSpec.ts index 268548b6cab..95b9a3aac19 100644 --- a/src/gen/models/V1PriorityLevelConfigurationSpec.ts +++ b/src/gen/models/V1PriorityLevelConfigurationSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ExemptPriorityLevelConfiguration } from '../models/V1ExemptPriorityLevelConfiguration.js'; -import { V1LimitedPriorityLevelConfiguration } from '../models/V1LimitedPriorityLevelConfiguration.js'; -import { HttpFile } from '../http/http.js'; +import { V1ExemptPriorityLevelConfiguration } from '../models/V1ExemptPriorityLevelConfiguration'; +import { V1LimitedPriorityLevelConfiguration } from '../models/V1LimitedPriorityLevelConfiguration'; +import { HttpFile } from '../http/http'; /** * PriorityLevelConfigurationSpec specifies the configuration of a priority level. diff --git a/src/gen/models/V1PriorityLevelConfigurationStatus.ts b/src/gen/models/V1PriorityLevelConfigurationStatus.ts index c9f32805cc5..0e7b0927afb 100644 --- a/src/gen/models/V1PriorityLevelConfigurationStatus.ts +++ b/src/gen/models/V1PriorityLevelConfigurationStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1PriorityLevelConfigurationCondition } from '../models/V1PriorityLevelConfigurationCondition.js'; -import { HttpFile } from '../http/http.js'; +import { V1PriorityLevelConfigurationCondition } from '../models/V1PriorityLevelConfigurationCondition'; +import { HttpFile } from '../http/http'; /** * PriorityLevelConfigurationStatus represents the current state of a \"request-priority\". diff --git a/src/gen/models/V1Probe.ts b/src/gen/models/V1Probe.ts index 7c243267885..c58c7cb588f 100644 --- a/src/gen/models/V1Probe.ts +++ b/src/gen/models/V1Probe.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,11 +10,11 @@ * Do not edit the class manually. */ -import { V1ExecAction } from '../models/V1ExecAction.js'; -import { V1GRPCAction } from '../models/V1GRPCAction.js'; -import { V1HTTPGetAction } from '../models/V1HTTPGetAction.js'; -import { V1TCPSocketAction } from '../models/V1TCPSocketAction.js'; -import { HttpFile } from '../http/http.js'; +import { V1ExecAction } from '../models/V1ExecAction'; +import { V1GRPCAction } from '../models/V1GRPCAction'; +import { V1HTTPGetAction } from '../models/V1HTTPGetAction'; +import { V1TCPSocketAction } from '../models/V1TCPSocketAction'; +import { HttpFile } from '../http/http'; /** * Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic. diff --git a/src/gen/models/V1ProjectedVolumeSource.ts b/src/gen/models/V1ProjectedVolumeSource.ts index 691ef3b3dc3..ce8c1d1888d 100644 --- a/src/gen/models/V1ProjectedVolumeSource.ts +++ b/src/gen/models/V1ProjectedVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1VolumeProjection } from '../models/V1VolumeProjection.js'; -import { HttpFile } from '../http/http.js'; +import { V1VolumeProjection } from '../models/V1VolumeProjection'; +import { HttpFile } from '../http/http'; /** * Represents a projected volume source @@ -22,7 +22,7 @@ export class V1ProjectedVolumeSource { */ 'defaultMode'?: number; /** - * sources is the list of volume projections + * sources is the list of volume projections. Each entry in this list handles one source. */ 'sources'?: Array; diff --git a/src/gen/models/V1QueuingConfiguration.ts b/src/gen/models/V1QueuingConfiguration.ts index 91f8a0b473b..f132ee36f62 100644 --- a/src/gen/models/V1QueuingConfiguration.ts +++ b/src/gen/models/V1QueuingConfiguration.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * QueuingConfiguration holds the configuration parameters for queuing diff --git a/src/gen/models/V1QuobyteVolumeSource.ts b/src/gen/models/V1QuobyteVolumeSource.ts index d932a1efc0e..4d57ecc46ea 100644 --- a/src/gen/models/V1QuobyteVolumeSource.ts +++ b/src/gen/models/V1QuobyteVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling. diff --git a/src/gen/models/V1RBDPersistentVolumeSource.ts b/src/gen/models/V1RBDPersistentVolumeSource.ts index b49a651c1f9..ed844871c1b 100644 --- a/src/gen/models/V1RBDPersistentVolumeSource.ts +++ b/src/gen/models/V1RBDPersistentVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1SecretReference } from '../models/V1SecretReference.js'; -import { HttpFile } from '../http/http.js'; +import { V1SecretReference } from '../models/V1SecretReference'; +import { HttpFile } from '../http/http'; /** * Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling. diff --git a/src/gen/models/V1RBDVolumeSource.ts b/src/gen/models/V1RBDVolumeSource.ts index adcf0fa6116..15bee6a7620 100644 --- a/src/gen/models/V1RBDVolumeSource.ts +++ b/src/gen/models/V1RBDVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1LocalObjectReference } from '../models/V1LocalObjectReference.js'; -import { HttpFile } from '../http/http.js'; +import { V1LocalObjectReference } from '../models/V1LocalObjectReference'; +import { HttpFile } from '../http/http'; /** * Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling. diff --git a/src/gen/models/V1ReplicaSet.ts b/src/gen/models/V1ReplicaSet.ts index fc3bd9ab74c..e6771f1045b 100644 --- a/src/gen/models/V1ReplicaSet.ts +++ b/src/gen/models/V1ReplicaSet.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1ReplicaSetSpec } from '../models/V1ReplicaSetSpec.js'; -import { V1ReplicaSetStatus } from '../models/V1ReplicaSetStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1ReplicaSetSpec } from '../models/V1ReplicaSetSpec'; +import { V1ReplicaSetStatus } from '../models/V1ReplicaSetStatus'; +import { HttpFile } from '../http/http'; /** * ReplicaSet ensures that a specified number of pod replicas are running at any given time. diff --git a/src/gen/models/V1ReplicaSetCondition.ts b/src/gen/models/V1ReplicaSetCondition.ts index daf78eae7a4..b1f0101a525 100644 --- a/src/gen/models/V1ReplicaSetCondition.ts +++ b/src/gen/models/V1ReplicaSetCondition.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ReplicaSetCondition describes the state of a replica set at a certain point. diff --git a/src/gen/models/V1ReplicaSetList.ts b/src/gen/models/V1ReplicaSetList.ts index 7f53d1899a4..b8cde455cca 100644 --- a/src/gen/models/V1ReplicaSetList.ts +++ b/src/gen/models/V1ReplicaSetList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1ReplicaSet } from '../models/V1ReplicaSet.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1ReplicaSet } from '../models/V1ReplicaSet'; +import { HttpFile } from '../http/http'; /** * ReplicaSetList is a collection of ReplicaSets. diff --git a/src/gen/models/V1ReplicaSetSpec.ts b/src/gen/models/V1ReplicaSetSpec.ts index d7f8d9ed706..8dac7317940 100644 --- a/src/gen/models/V1ReplicaSetSpec.ts +++ b/src/gen/models/V1ReplicaSetSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1LabelSelector } from '../models/V1LabelSelector.js'; -import { V1PodTemplateSpec } from '../models/V1PodTemplateSpec.js'; -import { HttpFile } from '../http/http.js'; +import { V1LabelSelector } from '../models/V1LabelSelector'; +import { V1PodTemplateSpec } from '../models/V1PodTemplateSpec'; +import { HttpFile } from '../http/http'; /** * ReplicaSetSpec is the specification of a ReplicaSet. diff --git a/src/gen/models/V1ReplicaSetStatus.ts b/src/gen/models/V1ReplicaSetStatus.ts index 0b491a075c4..a43dee4c7ef 100644 --- a/src/gen/models/V1ReplicaSetStatus.ts +++ b/src/gen/models/V1ReplicaSetStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1ReplicaSetCondition } from '../models/V1ReplicaSetCondition.js'; -import { HttpFile } from '../http/http.js'; +import { V1ReplicaSetCondition } from '../models/V1ReplicaSetCondition'; +import { HttpFile } from '../http/http'; /** * ReplicaSetStatus represents the current status of a ReplicaSet. diff --git a/src/gen/models/V1ReplicationController.ts b/src/gen/models/V1ReplicationController.ts index e1383f24979..4596172a7fd 100644 --- a/src/gen/models/V1ReplicationController.ts +++ b/src/gen/models/V1ReplicationController.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1ReplicationControllerSpec } from '../models/V1ReplicationControllerSpec.js'; -import { V1ReplicationControllerStatus } from '../models/V1ReplicationControllerStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1ReplicationControllerSpec } from '../models/V1ReplicationControllerSpec'; +import { V1ReplicationControllerStatus } from '../models/V1ReplicationControllerStatus'; +import { HttpFile } from '../http/http'; /** * ReplicationController represents the configuration of a replication controller. diff --git a/src/gen/models/V1ReplicationControllerCondition.ts b/src/gen/models/V1ReplicationControllerCondition.ts index 2cdfbd4dd62..505b8fceee6 100644 --- a/src/gen/models/V1ReplicationControllerCondition.ts +++ b/src/gen/models/V1ReplicationControllerCondition.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ReplicationControllerCondition describes the state of a replication controller at a certain point. diff --git a/src/gen/models/V1ReplicationControllerList.ts b/src/gen/models/V1ReplicationControllerList.ts index 1729c743f07..2266fdd9dc8 100644 --- a/src/gen/models/V1ReplicationControllerList.ts +++ b/src/gen/models/V1ReplicationControllerList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1ReplicationController } from '../models/V1ReplicationController.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1ReplicationController } from '../models/V1ReplicationController'; +import { HttpFile } from '../http/http'; /** * ReplicationControllerList is a collection of replication controllers. diff --git a/src/gen/models/V1ReplicationControllerSpec.ts b/src/gen/models/V1ReplicationControllerSpec.ts index 042c25ef977..6110f050a16 100644 --- a/src/gen/models/V1ReplicationControllerSpec.ts +++ b/src/gen/models/V1ReplicationControllerSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1PodTemplateSpec } from '../models/V1PodTemplateSpec.js'; -import { HttpFile } from '../http/http.js'; +import { V1PodTemplateSpec } from '../models/V1PodTemplateSpec'; +import { HttpFile } from '../http/http'; /** * ReplicationControllerSpec is the specification of a replication controller. diff --git a/src/gen/models/V1ReplicationControllerStatus.ts b/src/gen/models/V1ReplicationControllerStatus.ts index 5f42522e8ef..fd6736c5053 100644 --- a/src/gen/models/V1ReplicationControllerStatus.ts +++ b/src/gen/models/V1ReplicationControllerStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1ReplicationControllerCondition } from '../models/V1ReplicationControllerCondition.js'; -import { HttpFile } from '../http/http.js'; +import { V1ReplicationControllerCondition } from '../models/V1ReplicationControllerCondition'; +import { HttpFile } from '../http/http'; /** * ReplicationControllerStatus represents the current status of a replication controller. diff --git a/src/gen/models/V1ResourceAttributes.ts b/src/gen/models/V1ResourceAttributes.ts index 5f46eaffbae..9d6371c4795 100644 --- a/src/gen/models/V1ResourceAttributes.ts +++ b/src/gen/models/V1ResourceAttributes.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,16 +10,20 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { V1FieldSelectorAttributes } from '../models/V1FieldSelectorAttributes'; +import { V1LabelSelectorAttributes } from '../models/V1LabelSelectorAttributes'; +import { HttpFile } from '../http/http'; /** * ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface */ export class V1ResourceAttributes { + 'fieldSelector'?: V1FieldSelectorAttributes; /** * Group is the API Group of the Resource. \"*\" means all. */ 'group'?: string; + 'labelSelector'?: V1LabelSelectorAttributes; /** * Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all. */ @@ -50,12 +54,24 @@ export class V1ResourceAttributes { static readonly mapping: {[index: string]: string} | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "fieldSelector", + "baseName": "fieldSelector", + "type": "V1FieldSelectorAttributes", + "format": "" + }, { "name": "group", "baseName": "group", "type": "string", "format": "" }, + { + "name": "labelSelector", + "baseName": "labelSelector", + "type": "V1LabelSelectorAttributes", + "format": "" + }, { "name": "name", "baseName": "name", diff --git a/src/gen/models/V1ResourceClaim.ts b/src/gen/models/V1ResourceClaim.ts index 5f66e22c4b1..5384f8de944 100644 --- a/src/gen/models/V1ResourceClaim.ts +++ b/src/gen/models/V1ResourceClaim.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ResourceClaim references one entry in PodSpec.ResourceClaims. @@ -20,6 +20,10 @@ export class V1ResourceClaim { * Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. */ 'name': string; + /** + * Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request. + */ + 'request'?: string; static readonly discriminator: string | undefined = undefined; @@ -31,6 +35,12 @@ export class V1ResourceClaim { "baseName": "name", "type": "string", "format": "" + }, + { + "name": "request", + "baseName": "request", + "type": "string", + "format": "" } ]; static getAttributeTypeMap() { diff --git a/src/gen/models/V1ResourceFieldSelector.ts b/src/gen/models/V1ResourceFieldSelector.ts index 0fd2cb9832d..c976d35dec5 100644 --- a/src/gen/models/V1ResourceFieldSelector.ts +++ b/src/gen/models/V1ResourceFieldSelector.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ResourceFieldSelector represents container resources (cpu, memory) and their output format diff --git a/src/gen/models/V1ResourceHealth.ts b/src/gen/models/V1ResourceHealth.ts new file mode 100644 index 00000000000..c8d68768161 --- /dev/null +++ b/src/gen/models/V1ResourceHealth.ts @@ -0,0 +1,52 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ResourceHealth represents the health of a resource. It has the latest device health information. This is a part of KEP https://kep.k8s.io/4680. +*/ +export class V1ResourceHealth { + /** + * Health of the resource. can be one of: - Healthy: operates as normal - Unhealthy: reported unhealthy. We consider this a temporary health issue since we do not have a mechanism today to distinguish temporary and permanent issues. - Unknown: The status cannot be determined. For example, Device Plugin got unregistered and hasn\'t been re-registered since. In future we may want to introduce the PermanentlyUnhealthy Status. + */ + 'health'?: string; + /** + * ResourceID is the unique identifier of the resource. See the ResourceID type for more information. + */ + 'resourceID': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "health", + "baseName": "health", + "type": "string", + "format": "" + }, + { + "name": "resourceID", + "baseName": "resourceID", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1ResourceHealth.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1ResourcePolicyRule.ts b/src/gen/models/V1ResourcePolicyRule.ts index e6d8e4accc6..85df4f06d72 100644 --- a/src/gen/models/V1ResourcePolicyRule.ts +++ b/src/gen/models/V1ResourcePolicyRule.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ResourcePolicyRule is a predicate that matches some resource requests, testing the request\'s verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) either (d1) the request does not specify a namespace (i.e., `Namespace==\"\"`) and clusterScope is true or (d2) the request specifies a namespace and least one member of namespaces matches the request\'s namespace. diff --git a/src/gen/models/V1ResourceQuota.ts b/src/gen/models/V1ResourceQuota.ts index cb08a71a5e0..b8da68bf990 100644 --- a/src/gen/models/V1ResourceQuota.ts +++ b/src/gen/models/V1ResourceQuota.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1ResourceQuotaSpec } from '../models/V1ResourceQuotaSpec.js'; -import { V1ResourceQuotaStatus } from '../models/V1ResourceQuotaStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1ResourceQuotaSpec } from '../models/V1ResourceQuotaSpec'; +import { V1ResourceQuotaStatus } from '../models/V1ResourceQuotaStatus'; +import { HttpFile } from '../http/http'; /** * ResourceQuota sets aggregate quota restrictions enforced per namespace diff --git a/src/gen/models/V1ResourceQuotaList.ts b/src/gen/models/V1ResourceQuotaList.ts index 44037aa1b04..112d0bcf72f 100644 --- a/src/gen/models/V1ResourceQuotaList.ts +++ b/src/gen/models/V1ResourceQuotaList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1ResourceQuota } from '../models/V1ResourceQuota.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1ResourceQuota } from '../models/V1ResourceQuota'; +import { HttpFile } from '../http/http'; /** * ResourceQuotaList is a list of ResourceQuota items. diff --git a/src/gen/models/V1ResourceQuotaSpec.ts b/src/gen/models/V1ResourceQuotaSpec.ts index cce0e9e0d8d..7bc01dd36a6 100644 --- a/src/gen/models/V1ResourceQuotaSpec.ts +++ b/src/gen/models/V1ResourceQuotaSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1ScopeSelector } from '../models/V1ScopeSelector.js'; -import { HttpFile } from '../http/http.js'; +import { V1ScopeSelector } from '../models/V1ScopeSelector'; +import { HttpFile } from '../http/http'; /** * ResourceQuotaSpec defines the desired hard limits to enforce for Quota. diff --git a/src/gen/models/V1ResourceQuotaStatus.ts b/src/gen/models/V1ResourceQuotaStatus.ts index f9ecbd123b3..b67776a0965 100644 --- a/src/gen/models/V1ResourceQuotaStatus.ts +++ b/src/gen/models/V1ResourceQuotaStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ResourceQuotaStatus defines the enforced hard limits and observed use. diff --git a/src/gen/models/V1ResourceRequirements.ts b/src/gen/models/V1ResourceRequirements.ts index ff7995b45f9..f4f896609ba 100644 --- a/src/gen/models/V1ResourceRequirements.ts +++ b/src/gen/models/V1ResourceRequirements.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1ResourceClaim } from '../models/V1ResourceClaim.js'; -import { HttpFile } from '../http/http.js'; +import { V1ResourceClaim } from '../models/V1ResourceClaim'; +import { HttpFile } from '../http/http'; /** * ResourceRequirements describes the compute resource requirements. diff --git a/src/gen/models/V1ResourceRule.ts b/src/gen/models/V1ResourceRule.ts index 88da5af0edf..571f58244f9 100644 --- a/src/gen/models/V1ResourceRule.ts +++ b/src/gen/models/V1ResourceRule.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn\'t significant, may contain duplicates, and possibly be incomplete. diff --git a/src/gen/models/V1ResourceStatus.ts b/src/gen/models/V1ResourceStatus.ts new file mode 100644 index 00000000000..d744dedda70 --- /dev/null +++ b/src/gen/models/V1ResourceStatus.ts @@ -0,0 +1,53 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ResourceHealth } from '../models/V1ResourceHealth'; +import { HttpFile } from '../http/http'; + +/** +* ResourceStatus represents the status of a single resource allocated to a Pod. +*/ +export class V1ResourceStatus { + /** + * Name of the resource. Must be unique within the pod and in case of non-DRA resource, match one of the resources from the pod spec. For DRA resources, the value must be \"claim:/\". When this status is reported about a container, the \"claim_name\" and \"request\" must match one of the claims of this container. + */ + 'name': string; + /** + * List of unique resources health. Each element in the list contains an unique resource ID and its health. At a minimum, for the lifetime of a Pod, resource ID must uniquely identify the resource allocated to the Pod on the Node. If other Pod on the same Node reports the status with the same resource ID, it must be the same resource they share. See ResourceID type definition for a specific format it has in various use cases. + */ + 'resources'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "resources", + "baseName": "resources", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1ResourceStatus.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1Role.ts b/src/gen/models/V1Role.ts index 65daf7d8345..1d1ee2b2beb 100644 --- a/src/gen/models/V1Role.ts +++ b/src/gen/models/V1Role.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1PolicyRule } from '../models/V1PolicyRule.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1PolicyRule } from '../models/V1PolicyRule'; +import { HttpFile } from '../http/http'; /** * Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. diff --git a/src/gen/models/V1RoleBinding.ts b/src/gen/models/V1RoleBinding.ts index 768bd9f4a61..0d647ae411e 100644 --- a/src/gen/models/V1RoleBinding.ts +++ b/src/gen/models/V1RoleBinding.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { RbacV1Subject } from '../models/RbacV1Subject.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1RoleRef } from '../models/V1RoleRef.js'; -import { HttpFile } from '../http/http.js'; +import { RbacV1Subject } from '../models/RbacV1Subject'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1RoleRef } from '../models/V1RoleRef'; +import { HttpFile } from '../http/http'; /** * RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace. diff --git a/src/gen/models/V1RoleBindingList.ts b/src/gen/models/V1RoleBindingList.ts index 177779d3013..d7c7bfc8636 100644 --- a/src/gen/models/V1RoleBindingList.ts +++ b/src/gen/models/V1RoleBindingList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1RoleBinding } from '../models/V1RoleBinding.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1RoleBinding } from '../models/V1RoleBinding'; +import { HttpFile } from '../http/http'; /** * RoleBindingList is a collection of RoleBindings diff --git a/src/gen/models/V1RoleList.ts b/src/gen/models/V1RoleList.ts index e50a4401550..4490990060f 100644 --- a/src/gen/models/V1RoleList.ts +++ b/src/gen/models/V1RoleList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1Role } from '../models/V1Role.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1Role } from '../models/V1Role'; +import { HttpFile } from '../http/http'; /** * RoleList is a collection of Roles diff --git a/src/gen/models/V1RoleRef.ts b/src/gen/models/V1RoleRef.ts index f20883d43eb..0268d523ee1 100644 --- a/src/gen/models/V1RoleRef.ts +++ b/src/gen/models/V1RoleRef.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * RoleRef contains information that points to the role being used diff --git a/src/gen/models/V1RollingUpdateDaemonSet.ts b/src/gen/models/V1RollingUpdateDaemonSet.ts index b59baa243f0..f2d05b79653 100644 --- a/src/gen/models/V1RollingUpdateDaemonSet.ts +++ b/src/gen/models/V1RollingUpdateDaemonSet.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { IntOrString } from '../../types.js'; -import { HttpFile } from '../http/http.js'; +import { IntOrString } from '../../types'; +import { HttpFile } from '../http/http'; /** * Spec to control the desired behavior of daemon set rolling update. diff --git a/src/gen/models/V1RollingUpdateDeployment.ts b/src/gen/models/V1RollingUpdateDeployment.ts index 32cc8146b35..c51147b52e3 100644 --- a/src/gen/models/V1RollingUpdateDeployment.ts +++ b/src/gen/models/V1RollingUpdateDeployment.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { IntOrString } from '../../types.js'; -import { HttpFile } from '../http/http.js'; +import { IntOrString } from '../../types'; +import { HttpFile } from '../http/http'; /** * Spec to control the desired behavior of rolling update. diff --git a/src/gen/models/V1RollingUpdateStatefulSetStrategy.ts b/src/gen/models/V1RollingUpdateStatefulSetStrategy.ts index dc02812ac04..f388224fd8d 100644 --- a/src/gen/models/V1RollingUpdateStatefulSetStrategy.ts +++ b/src/gen/models/V1RollingUpdateStatefulSetStrategy.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { IntOrString } from '../../types.js'; -import { HttpFile } from '../http/http.js'; +import { IntOrString } from '../../types'; +import { HttpFile } from '../http/http'; /** * RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType. diff --git a/src/gen/models/V1RuleWithOperations.ts b/src/gen/models/V1RuleWithOperations.ts index 7f11607d3d1..e62fc96eef0 100644 --- a/src/gen/models/V1RuleWithOperations.ts +++ b/src/gen/models/V1RuleWithOperations.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid. diff --git a/src/gen/models/V1RuntimeClass.ts b/src/gen/models/V1RuntimeClass.ts index 53403fa63c1..28869627248 100644 --- a/src/gen/models/V1RuntimeClass.ts +++ b/src/gen/models/V1RuntimeClass.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1Overhead } from '../models/V1Overhead.js'; -import { V1Scheduling } from '../models/V1Scheduling.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1Overhead } from '../models/V1Overhead'; +import { V1Scheduling } from '../models/V1Scheduling'; +import { HttpFile } from '../http/http'; /** * RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/ diff --git a/src/gen/models/V1RuntimeClassList.ts b/src/gen/models/V1RuntimeClassList.ts index 9c3ccd1fa49..0291e6f8409 100644 --- a/src/gen/models/V1RuntimeClassList.ts +++ b/src/gen/models/V1RuntimeClassList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1RuntimeClass } from '../models/V1RuntimeClass.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1RuntimeClass } from '../models/V1RuntimeClass'; +import { HttpFile } from '../http/http'; /** * RuntimeClassList is a list of RuntimeClass objects. diff --git a/src/gen/models/V1SELinuxOptions.ts b/src/gen/models/V1SELinuxOptions.ts index fbf884a9ff5..3a654805f31 100644 --- a/src/gen/models/V1SELinuxOptions.ts +++ b/src/gen/models/V1SELinuxOptions.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * SELinuxOptions are the labels to be applied to the container diff --git a/src/gen/models/V1Scale.ts b/src/gen/models/V1Scale.ts index 98feb871541..bda23dd33e8 100644 --- a/src/gen/models/V1Scale.ts +++ b/src/gen/models/V1Scale.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1ScaleSpec } from '../models/V1ScaleSpec.js'; -import { V1ScaleStatus } from '../models/V1ScaleStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1ScaleSpec } from '../models/V1ScaleSpec'; +import { V1ScaleStatus } from '../models/V1ScaleStatus'; +import { HttpFile } from '../http/http'; /** * Scale represents a scaling request for a resource. diff --git a/src/gen/models/V1ScaleIOPersistentVolumeSource.ts b/src/gen/models/V1ScaleIOPersistentVolumeSource.ts index 3419711458e..02407e290a3 100644 --- a/src/gen/models/V1ScaleIOPersistentVolumeSource.ts +++ b/src/gen/models/V1ScaleIOPersistentVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1SecretReference } from '../models/V1SecretReference.js'; -import { HttpFile } from '../http/http.js'; +import { V1SecretReference } from '../models/V1SecretReference'; +import { HttpFile } from '../http/http'; /** * ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume diff --git a/src/gen/models/V1ScaleIOVolumeSource.ts b/src/gen/models/V1ScaleIOVolumeSource.ts index 14007877bfc..34642285990 100644 --- a/src/gen/models/V1ScaleIOVolumeSource.ts +++ b/src/gen/models/V1ScaleIOVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1LocalObjectReference } from '../models/V1LocalObjectReference.js'; -import { HttpFile } from '../http/http.js'; +import { V1LocalObjectReference } from '../models/V1LocalObjectReference'; +import { HttpFile } from '../http/http'; /** * ScaleIOVolumeSource represents a persistent ScaleIO volume diff --git a/src/gen/models/V1ScaleSpec.ts b/src/gen/models/V1ScaleSpec.ts index 306f8967378..635fd7a8ad0 100644 --- a/src/gen/models/V1ScaleSpec.ts +++ b/src/gen/models/V1ScaleSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ScaleSpec describes the attributes of a scale subresource. diff --git a/src/gen/models/V1ScaleStatus.ts b/src/gen/models/V1ScaleStatus.ts index 8a104c88f82..9167babb4c8 100644 --- a/src/gen/models/V1ScaleStatus.ts +++ b/src/gen/models/V1ScaleStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ScaleStatus represents the current status of a scale subresource. diff --git a/src/gen/models/V1Scheduling.ts b/src/gen/models/V1Scheduling.ts index 2e3dbbf6473..f4e35f809a7 100644 --- a/src/gen/models/V1Scheduling.ts +++ b/src/gen/models/V1Scheduling.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1Toleration } from '../models/V1Toleration.js'; -import { HttpFile } from '../http/http.js'; +import { V1Toleration } from '../models/V1Toleration'; +import { HttpFile } from '../http/http'; /** * Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass. diff --git a/src/gen/models/V1ScopeSelector.ts b/src/gen/models/V1ScopeSelector.ts index 72a7103fbd9..e3e6c31cf7d 100644 --- a/src/gen/models/V1ScopeSelector.ts +++ b/src/gen/models/V1ScopeSelector.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1ScopedResourceSelectorRequirement } from '../models/V1ScopedResourceSelectorRequirement.js'; -import { HttpFile } from '../http/http.js'; +import { V1ScopedResourceSelectorRequirement } from '../models/V1ScopedResourceSelectorRequirement'; +import { HttpFile } from '../http/http'; /** * A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements. diff --git a/src/gen/models/V1ScopedResourceSelectorRequirement.ts b/src/gen/models/V1ScopedResourceSelectorRequirement.ts index a4d67a04ecd..7e8cb726b6f 100644 --- a/src/gen/models/V1ScopedResourceSelectorRequirement.ts +++ b/src/gen/models/V1ScopedResourceSelectorRequirement.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values. diff --git a/src/gen/models/V1SeccompProfile.ts b/src/gen/models/V1SeccompProfile.ts index 06db3bd8ba1..f07e52981cb 100644 --- a/src/gen/models/V1SeccompProfile.ts +++ b/src/gen/models/V1SeccompProfile.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * SeccompProfile defines a pod/container\'s seccomp profile settings. Only one profile source may be set. diff --git a/src/gen/models/V1Secret.ts b/src/gen/models/V1Secret.ts index adcbdcbde51..8af4a63cead 100644 --- a/src/gen/models/V1Secret.ts +++ b/src/gen/models/V1Secret.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes. diff --git a/src/gen/models/V1SecretEnvSource.ts b/src/gen/models/V1SecretEnvSource.ts index b0107e4b600..1143d77b7d6 100644 --- a/src/gen/models/V1SecretEnvSource.ts +++ b/src/gen/models/V1SecretEnvSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * SecretEnvSource selects a Secret to populate the environment variables with. The contents of the target Secret\'s Data field will represent the key-value pairs as environment variables. diff --git a/src/gen/models/V1SecretKeySelector.ts b/src/gen/models/V1SecretKeySelector.ts index 6bdf71dc2e6..939168fddf9 100644 --- a/src/gen/models/V1SecretKeySelector.ts +++ b/src/gen/models/V1SecretKeySelector.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * SecretKeySelector selects a key of a Secret. diff --git a/src/gen/models/V1SecretList.ts b/src/gen/models/V1SecretList.ts index 3d2ae5e59e9..876f7e98bd8 100644 --- a/src/gen/models/V1SecretList.ts +++ b/src/gen/models/V1SecretList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1Secret } from '../models/V1Secret.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1Secret } from '../models/V1Secret'; +import { HttpFile } from '../http/http'; /** * SecretList is a list of Secret. diff --git a/src/gen/models/V1SecretProjection.ts b/src/gen/models/V1SecretProjection.ts index 77ca553731f..fa14a7190a5 100644 --- a/src/gen/models/V1SecretProjection.ts +++ b/src/gen/models/V1SecretProjection.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1KeyToPath } from '../models/V1KeyToPath.js'; -import { HttpFile } from '../http/http.js'; +import { V1KeyToPath } from '../models/V1KeyToPath'; +import { HttpFile } from '../http/http'; /** * Adapts a secret into a projected volume. The contents of the target Secret\'s Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode. diff --git a/src/gen/models/V1SecretReference.ts b/src/gen/models/V1SecretReference.ts index 686a4c8236a..22ed129e940 100644 --- a/src/gen/models/V1SecretReference.ts +++ b/src/gen/models/V1SecretReference.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace diff --git a/src/gen/models/V1SecretVolumeSource.ts b/src/gen/models/V1SecretVolumeSource.ts index c42c85b848d..4aa4450d9ab 100644 --- a/src/gen/models/V1SecretVolumeSource.ts +++ b/src/gen/models/V1SecretVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1KeyToPath } from '../models/V1KeyToPath.js'; -import { HttpFile } from '../http/http.js'; +import { V1KeyToPath } from '../models/V1KeyToPath'; +import { HttpFile } from '../http/http'; /** * Adapts a Secret into a volume. The contents of the target Secret\'s Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling. diff --git a/src/gen/models/V1SecurityContext.ts b/src/gen/models/V1SecurityContext.ts index f81e1d5039a..634396afc76 100644 --- a/src/gen/models/V1SecurityContext.ts +++ b/src/gen/models/V1SecurityContext.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,12 +10,12 @@ * Do not edit the class manually. */ -import { V1AppArmorProfile } from '../models/V1AppArmorProfile.js'; -import { V1Capabilities } from '../models/V1Capabilities.js'; -import { V1SELinuxOptions } from '../models/V1SELinuxOptions.js'; -import { V1SeccompProfile } from '../models/V1SeccompProfile.js'; -import { V1WindowsSecurityContextOptions } from '../models/V1WindowsSecurityContextOptions.js'; -import { HttpFile } from '../http/http.js'; +import { V1AppArmorProfile } from '../models/V1AppArmorProfile'; +import { V1Capabilities } from '../models/V1Capabilities'; +import { V1SELinuxOptions } from '../models/V1SELinuxOptions'; +import { V1SeccompProfile } from '../models/V1SeccompProfile'; +import { V1WindowsSecurityContextOptions } from '../models/V1WindowsSecurityContextOptions'; +import { HttpFile } from '../http/http'; /** * SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence. @@ -32,7 +32,7 @@ export class V1SecurityContext { */ 'privileged'?: boolean; /** - * procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows. + * procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows. */ 'procMount'?: string; /** diff --git a/src/gen/models/V1SelectableField.ts b/src/gen/models/V1SelectableField.ts index 4f1529d2c7e..c7e19a10cc7 100644 --- a/src/gen/models/V1SelectableField.ts +++ b/src/gen/models/V1SelectableField.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * SelectableField specifies the JSON path of a field that may be used with field selectors. diff --git a/src/gen/models/V1SelfSubjectAccessReview.ts b/src/gen/models/V1SelfSubjectAccessReview.ts index 93ffa2fc4fd..66afa7b3d77 100644 --- a/src/gen/models/V1SelfSubjectAccessReview.ts +++ b/src/gen/models/V1SelfSubjectAccessReview.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1SelfSubjectAccessReviewSpec } from '../models/V1SelfSubjectAccessReviewSpec.js'; -import { V1SubjectAccessReviewStatus } from '../models/V1SubjectAccessReviewStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1SelfSubjectAccessReviewSpec } from '../models/V1SelfSubjectAccessReviewSpec'; +import { V1SubjectAccessReviewStatus } from '../models/V1SubjectAccessReviewStatus'; +import { HttpFile } from '../http/http'; /** * SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means \"in all namespaces\". Self is a special case, because users should always be able to check whether they can perform an action diff --git a/src/gen/models/V1SelfSubjectAccessReviewSpec.ts b/src/gen/models/V1SelfSubjectAccessReviewSpec.ts index 8c742d284b2..44d3e2f765a 100644 --- a/src/gen/models/V1SelfSubjectAccessReviewSpec.ts +++ b/src/gen/models/V1SelfSubjectAccessReviewSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1NonResourceAttributes } from '../models/V1NonResourceAttributes.js'; -import { V1ResourceAttributes } from '../models/V1ResourceAttributes.js'; -import { HttpFile } from '../http/http.js'; +import { V1NonResourceAttributes } from '../models/V1NonResourceAttributes'; +import { V1ResourceAttributes } from '../models/V1ResourceAttributes'; +import { HttpFile } from '../http/http'; /** * SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set diff --git a/src/gen/models/V1SelfSubjectReview.ts b/src/gen/models/V1SelfSubjectReview.ts index 21f264f26ae..fcd7d0514bd 100644 --- a/src/gen/models/V1SelfSubjectReview.ts +++ b/src/gen/models/V1SelfSubjectReview.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1SelfSubjectReviewStatus } from '../models/V1SelfSubjectReviewStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1SelfSubjectReviewStatus } from '../models/V1SelfSubjectReviewStatus'; +import { HttpFile } from '../http/http'; /** * SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase. diff --git a/src/gen/models/V1SelfSubjectReviewStatus.ts b/src/gen/models/V1SelfSubjectReviewStatus.ts index 1275f043179..02927f00563 100644 --- a/src/gen/models/V1SelfSubjectReviewStatus.ts +++ b/src/gen/models/V1SelfSubjectReviewStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1UserInfo } from '../models/V1UserInfo.js'; -import { HttpFile } from '../http/http.js'; +import { V1UserInfo } from '../models/V1UserInfo'; +import { HttpFile } from '../http/http'; /** * SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user. diff --git a/src/gen/models/V1SelfSubjectRulesReview.ts b/src/gen/models/V1SelfSubjectRulesReview.ts index d93f945067d..445f0d6b751 100644 --- a/src/gen/models/V1SelfSubjectRulesReview.ts +++ b/src/gen/models/V1SelfSubjectRulesReview.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1SelfSubjectRulesReviewSpec } from '../models/V1SelfSubjectRulesReviewSpec.js'; -import { V1SubjectRulesReviewStatus } from '../models/V1SubjectRulesReviewStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1SelfSubjectRulesReviewSpec } from '../models/V1SelfSubjectRulesReviewSpec'; +import { V1SubjectRulesReviewStatus } from '../models/V1SubjectRulesReviewStatus'; +import { HttpFile } from '../http/http'; /** * SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server\'s authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server. diff --git a/src/gen/models/V1SelfSubjectRulesReviewSpec.ts b/src/gen/models/V1SelfSubjectRulesReviewSpec.ts index bcf08bb4020..383b66475a5 100644 --- a/src/gen/models/V1SelfSubjectRulesReviewSpec.ts +++ b/src/gen/models/V1SelfSubjectRulesReviewSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * SelfSubjectRulesReviewSpec defines the specification for SelfSubjectRulesReview. diff --git a/src/gen/models/V1ServerAddressByClientCIDR.ts b/src/gen/models/V1ServerAddressByClientCIDR.ts index a422bdf6b9a..f843c7d95ad 100644 --- a/src/gen/models/V1ServerAddressByClientCIDR.ts +++ b/src/gen/models/V1ServerAddressByClientCIDR.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match. diff --git a/src/gen/models/V1Service.ts b/src/gen/models/V1Service.ts index 5bdf2959ad2..68ae4d293cd 100644 --- a/src/gen/models/V1Service.ts +++ b/src/gen/models/V1Service.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1ServiceSpec } from '../models/V1ServiceSpec.js'; -import { V1ServiceStatus } from '../models/V1ServiceStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1ServiceSpec } from '../models/V1ServiceSpec'; +import { V1ServiceStatus } from '../models/V1ServiceStatus'; +import { HttpFile } from '../http/http'; /** * Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy. diff --git a/src/gen/models/V1ServiceAccount.ts b/src/gen/models/V1ServiceAccount.ts index ee14cfd7949..58346e1965c 100644 --- a/src/gen/models/V1ServiceAccount.ts +++ b/src/gen/models/V1ServiceAccount.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1LocalObjectReference } from '../models/V1LocalObjectReference.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1ObjectReference } from '../models/V1ObjectReference.js'; -import { HttpFile } from '../http/http.js'; +import { V1LocalObjectReference } from '../models/V1LocalObjectReference'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1ObjectReference } from '../models/V1ObjectReference'; +import { HttpFile } from '../http/http'; /** * ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets @@ -37,7 +37,7 @@ export class V1ServiceAccount { 'kind'?: string; 'metadata'?: V1ObjectMeta; /** - * Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a \"kubernetes.io/enforce-mountable-secrets\" annotation set to \"true\". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret + * Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a \"kubernetes.io/enforce-mountable-secrets\" annotation set to \"true\". The \"kubernetes.io/enforce-mountable-secrets\" annotation is deprecated since v1.32. Prefer separate namespaces to isolate access to mounted secrets. This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret */ 'secrets'?: Array; diff --git a/src/gen/models/V1ServiceAccountList.ts b/src/gen/models/V1ServiceAccountList.ts index e8fc5330e21..7a728277542 100644 --- a/src/gen/models/V1ServiceAccountList.ts +++ b/src/gen/models/V1ServiceAccountList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1ServiceAccount } from '../models/V1ServiceAccount.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1ServiceAccount } from '../models/V1ServiceAccount'; +import { HttpFile } from '../http/http'; /** * ServiceAccountList is a list of ServiceAccount objects diff --git a/src/gen/models/V1ServiceAccountSubject.ts b/src/gen/models/V1ServiceAccountSubject.ts index 9f69b6e0402..b089c008ced 100644 --- a/src/gen/models/V1ServiceAccountSubject.ts +++ b/src/gen/models/V1ServiceAccountSubject.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ServiceAccountSubject holds detailed information for service-account-kind subject. diff --git a/src/gen/models/V1ServiceAccountTokenProjection.ts b/src/gen/models/V1ServiceAccountTokenProjection.ts index 2f05ecf816a..72a8784a4a3 100644 --- a/src/gen/models/V1ServiceAccountTokenProjection.ts +++ b/src/gen/models/V1ServiceAccountTokenProjection.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise). diff --git a/src/gen/models/V1ServiceBackendPort.ts b/src/gen/models/V1ServiceBackendPort.ts index f083655988c..1e937e4674d 100644 --- a/src/gen/models/V1ServiceBackendPort.ts +++ b/src/gen/models/V1ServiceBackendPort.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ServiceBackendPort is the service port being referenced. diff --git a/src/gen/models/V1ServiceList.ts b/src/gen/models/V1ServiceList.ts index 0b586b54ab5..b4ddeb82587 100644 --- a/src/gen/models/V1ServiceList.ts +++ b/src/gen/models/V1ServiceList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1Service } from '../models/V1Service.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1Service } from '../models/V1Service'; +import { HttpFile } from '../http/http'; /** * ServiceList holds a list of services. diff --git a/src/gen/models/V1ServicePort.ts b/src/gen/models/V1ServicePort.ts index c79898cda2a..a366a3edc70 100644 --- a/src/gen/models/V1ServicePort.ts +++ b/src/gen/models/V1ServicePort.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { IntOrString } from '../../types.js'; -import { HttpFile } from '../http/http.js'; +import { IntOrString } from '../../types'; +import { HttpFile } from '../http/http'; /** * ServicePort contains information on service\'s port. diff --git a/src/gen/models/V1ServiceSpec.ts b/src/gen/models/V1ServiceSpec.ts index 801e626b3f1..789aaea1832 100644 --- a/src/gen/models/V1ServiceSpec.ts +++ b/src/gen/models/V1ServiceSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ServicePort } from '../models/V1ServicePort.js'; -import { V1SessionAffinityConfig } from '../models/V1SessionAffinityConfig.js'; -import { HttpFile } from '../http/http.js'; +import { V1ServicePort } from '../models/V1ServicePort'; +import { V1SessionAffinityConfig } from '../models/V1SessionAffinityConfig'; +import { HttpFile } from '../http/http'; /** * ServiceSpec describes the attributes that a user creates on a service. @@ -88,7 +88,7 @@ export class V1ServiceSpec { 'sessionAffinity'?: string; 'sessionAffinityConfig'?: V1SessionAffinityConfig; /** - * 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. + * 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 a beta field and requires enabling ServiceTrafficDistribution feature. */ 'trafficDistribution'?: string; /** diff --git a/src/gen/models/V1ServiceStatus.ts b/src/gen/models/V1ServiceStatus.ts index b70a377f5b3..c8f812eacff 100644 --- a/src/gen/models/V1ServiceStatus.ts +++ b/src/gen/models/V1ServiceStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1Condition } from '../models/V1Condition.js'; -import { V1LoadBalancerStatus } from '../models/V1LoadBalancerStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1Condition } from '../models/V1Condition'; +import { V1LoadBalancerStatus } from '../models/V1LoadBalancerStatus'; +import { HttpFile } from '../http/http'; /** * ServiceStatus represents the current status of a service. diff --git a/src/gen/models/V1SessionAffinityConfig.ts b/src/gen/models/V1SessionAffinityConfig.ts index deb97d6a31b..59d4a9b3712 100644 --- a/src/gen/models/V1SessionAffinityConfig.ts +++ b/src/gen/models/V1SessionAffinityConfig.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1ClientIPConfig } from '../models/V1ClientIPConfig.js'; -import { HttpFile } from '../http/http.js'; +import { V1ClientIPConfig } from '../models/V1ClientIPConfig'; +import { HttpFile } from '../http/http'; /** * SessionAffinityConfig represents the configurations of session affinity. diff --git a/src/gen/models/V1SleepAction.ts b/src/gen/models/V1SleepAction.ts index ba1977ecb09..06d5a30d01b 100644 --- a/src/gen/models/V1SleepAction.ts +++ b/src/gen/models/V1SleepAction.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * SleepAction describes a \"sleep\" action. diff --git a/src/gen/models/V1StatefulSet.ts b/src/gen/models/V1StatefulSet.ts index 31f312dd148..9af52275954 100644 --- a/src/gen/models/V1StatefulSet.ts +++ b/src/gen/models/V1StatefulSet.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1StatefulSetSpec } from '../models/V1StatefulSetSpec.js'; -import { V1StatefulSetStatus } from '../models/V1StatefulSetStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1StatefulSetSpec } from '../models/V1StatefulSetSpec'; +import { V1StatefulSetStatus } from '../models/V1StatefulSetStatus'; +import { HttpFile } from '../http/http'; /** * StatefulSet represents a set of pods with consistent identities. Identities are defined as: - Network: A single stable DNS and hostname. - Storage: As many VolumeClaims as requested. The StatefulSet guarantees that a given network identity will always map to the same storage identity. diff --git a/src/gen/models/V1StatefulSetCondition.ts b/src/gen/models/V1StatefulSetCondition.ts index 1ce473b679f..a75302b1250 100644 --- a/src/gen/models/V1StatefulSetCondition.ts +++ b/src/gen/models/V1StatefulSetCondition.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * StatefulSetCondition describes the state of a statefulset at a certain point. diff --git a/src/gen/models/V1StatefulSetList.ts b/src/gen/models/V1StatefulSetList.ts index 62c0b66300f..08de17aa4a4 100644 --- a/src/gen/models/V1StatefulSetList.ts +++ b/src/gen/models/V1StatefulSetList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1StatefulSet } from '../models/V1StatefulSet.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1StatefulSet } from '../models/V1StatefulSet'; +import { HttpFile } from '../http/http'; /** * StatefulSetList is a collection of StatefulSets. diff --git a/src/gen/models/V1StatefulSetOrdinals.ts b/src/gen/models/V1StatefulSetOrdinals.ts index 874589ef3dc..641c69392f5 100644 --- a/src/gen/models/V1StatefulSetOrdinals.ts +++ b/src/gen/models/V1StatefulSetOrdinals.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet. diff --git a/src/gen/models/V1StatefulSetPersistentVolumeClaimRetentionPolicy.ts b/src/gen/models/V1StatefulSetPersistentVolumeClaimRetentionPolicy.ts index 145b9ab6d47..fdd54c9b075 100644 --- a/src/gen/models/V1StatefulSetPersistentVolumeClaimRetentionPolicy.ts +++ b/src/gen/models/V1StatefulSetPersistentVolumeClaimRetentionPolicy.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates. diff --git a/src/gen/models/V1StatefulSetSpec.ts b/src/gen/models/V1StatefulSetSpec.ts index 0b37db8a25c..ca46bbaf2aa 100644 --- a/src/gen/models/V1StatefulSetSpec.ts +++ b/src/gen/models/V1StatefulSetSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,13 +10,13 @@ * Do not edit the class manually. */ -import { V1LabelSelector } from '../models/V1LabelSelector.js'; -import { V1PersistentVolumeClaim } from '../models/V1PersistentVolumeClaim.js'; -import { V1PodTemplateSpec } from '../models/V1PodTemplateSpec.js'; -import { V1StatefulSetOrdinals } from '../models/V1StatefulSetOrdinals.js'; -import { V1StatefulSetPersistentVolumeClaimRetentionPolicy } from '../models/V1StatefulSetPersistentVolumeClaimRetentionPolicy.js'; -import { V1StatefulSetUpdateStrategy } from '../models/V1StatefulSetUpdateStrategy.js'; -import { HttpFile } from '../http/http.js'; +import { V1LabelSelector } from '../models/V1LabelSelector'; +import { V1PersistentVolumeClaim } from '../models/V1PersistentVolumeClaim'; +import { V1PodTemplateSpec } from '../models/V1PodTemplateSpec'; +import { V1StatefulSetOrdinals } from '../models/V1StatefulSetOrdinals'; +import { V1StatefulSetPersistentVolumeClaimRetentionPolicy } from '../models/V1StatefulSetPersistentVolumeClaimRetentionPolicy'; +import { V1StatefulSetUpdateStrategy } from '../models/V1StatefulSetUpdateStrategy'; +import { HttpFile } from '../http/http'; /** * A StatefulSetSpec is the specification of a StatefulSet. diff --git a/src/gen/models/V1StatefulSetStatus.ts b/src/gen/models/V1StatefulSetStatus.ts index 4c8fe0c4852..822f13c43da 100644 --- a/src/gen/models/V1StatefulSetStatus.ts +++ b/src/gen/models/V1StatefulSetStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1StatefulSetCondition } from '../models/V1StatefulSetCondition.js'; -import { HttpFile } from '../http/http.js'; +import { V1StatefulSetCondition } from '../models/V1StatefulSetCondition'; +import { HttpFile } from '../http/http'; /** * StatefulSetStatus represents the current state of a StatefulSet. diff --git a/src/gen/models/V1StatefulSetUpdateStrategy.ts b/src/gen/models/V1StatefulSetUpdateStrategy.ts index 3afbe52d29a..422d2f11c44 100644 --- a/src/gen/models/V1StatefulSetUpdateStrategy.ts +++ b/src/gen/models/V1StatefulSetUpdateStrategy.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1RollingUpdateStatefulSetStrategy } from '../models/V1RollingUpdateStatefulSetStrategy.js'; -import { HttpFile } from '../http/http.js'; +import { V1RollingUpdateStatefulSetStrategy } from '../models/V1RollingUpdateStatefulSetStrategy'; +import { HttpFile } from '../http/http'; /** * StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy. diff --git a/src/gen/models/V1Status.ts b/src/gen/models/V1Status.ts index 8d821f84559..95e173d7992 100644 --- a/src/gen/models/V1Status.ts +++ b/src/gen/models/V1Status.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1StatusDetails } from '../models/V1StatusDetails.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1StatusDetails } from '../models/V1StatusDetails'; +import { HttpFile } from '../http/http'; /** * Status is a return value for calls that don\'t return other objects. diff --git a/src/gen/models/V1StatusCause.ts b/src/gen/models/V1StatusCause.ts index 4a519a53bba..3782d574997 100644 --- a/src/gen/models/V1StatusCause.ts +++ b/src/gen/models/V1StatusCause.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered. diff --git a/src/gen/models/V1StatusDetails.ts b/src/gen/models/V1StatusDetails.ts index 541df8a8b94..87480051c83 100644 --- a/src/gen/models/V1StatusDetails.ts +++ b/src/gen/models/V1StatusDetails.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1StatusCause } from '../models/V1StatusCause.js'; -import { HttpFile } from '../http/http.js'; +import { V1StatusCause } from '../models/V1StatusCause'; +import { HttpFile } from '../http/http'; /** * StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined. diff --git a/src/gen/models/V1StorageClass.ts b/src/gen/models/V1StorageClass.ts index bf684a7b086..7b10e031150 100644 --- a/src/gen/models/V1StorageClass.ts +++ b/src/gen/models/V1StorageClass.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1TopologySelectorTerm } from '../models/V1TopologySelectorTerm.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1TopologySelectorTerm } from '../models/V1TopologySelectorTerm'; +import { HttpFile } from '../http/http'; /** * StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name. diff --git a/src/gen/models/V1StorageClassList.ts b/src/gen/models/V1StorageClassList.ts index 7fbad99e04a..48f2b3a15f7 100644 --- a/src/gen/models/V1StorageClassList.ts +++ b/src/gen/models/V1StorageClassList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1StorageClass } from '../models/V1StorageClass.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1StorageClass } from '../models/V1StorageClass'; +import { HttpFile } from '../http/http'; /** * StorageClassList is a collection of storage classes. diff --git a/src/gen/models/V1StorageOSPersistentVolumeSource.ts b/src/gen/models/V1StorageOSPersistentVolumeSource.ts index bcef3e95860..881f8ad5816 100644 --- a/src/gen/models/V1StorageOSPersistentVolumeSource.ts +++ b/src/gen/models/V1StorageOSPersistentVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1ObjectReference } from '../models/V1ObjectReference.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectReference } from '../models/V1ObjectReference'; +import { HttpFile } from '../http/http'; /** * Represents a StorageOS persistent volume resource. diff --git a/src/gen/models/V1StorageOSVolumeSource.ts b/src/gen/models/V1StorageOSVolumeSource.ts index c4a2f0b6f21..b76c56a559f 100644 --- a/src/gen/models/V1StorageOSVolumeSource.ts +++ b/src/gen/models/V1StorageOSVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1LocalObjectReference } from '../models/V1LocalObjectReference.js'; -import { HttpFile } from '../http/http.js'; +import { V1LocalObjectReference } from '../models/V1LocalObjectReference'; +import { HttpFile } from '../http/http'; /** * Represents a StorageOS persistent volume resource. diff --git a/src/gen/models/V1SubjectAccessReview.ts b/src/gen/models/V1SubjectAccessReview.ts index 8efb43aea4c..e38d61ddd9c 100644 --- a/src/gen/models/V1SubjectAccessReview.ts +++ b/src/gen/models/V1SubjectAccessReview.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1SubjectAccessReviewSpec } from '../models/V1SubjectAccessReviewSpec.js'; -import { V1SubjectAccessReviewStatus } from '../models/V1SubjectAccessReviewStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1SubjectAccessReviewSpec } from '../models/V1SubjectAccessReviewSpec'; +import { V1SubjectAccessReviewStatus } from '../models/V1SubjectAccessReviewStatus'; +import { HttpFile } from '../http/http'; /** * SubjectAccessReview checks whether or not a user or group can perform an action. diff --git a/src/gen/models/V1SubjectAccessReviewSpec.ts b/src/gen/models/V1SubjectAccessReviewSpec.ts index 280dc1feb40..f0676c856a3 100644 --- a/src/gen/models/V1SubjectAccessReviewSpec.ts +++ b/src/gen/models/V1SubjectAccessReviewSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1NonResourceAttributes } from '../models/V1NonResourceAttributes.js'; -import { V1ResourceAttributes } from '../models/V1ResourceAttributes.js'; -import { HttpFile } from '../http/http.js'; +import { V1NonResourceAttributes } from '../models/V1NonResourceAttributes'; +import { V1ResourceAttributes } from '../models/V1ResourceAttributes'; +import { HttpFile } from '../http/http'; /** * SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set diff --git a/src/gen/models/V1SubjectAccessReviewStatus.ts b/src/gen/models/V1SubjectAccessReviewStatus.ts index 728043cddda..a3fabc42a41 100644 --- a/src/gen/models/V1SubjectAccessReviewStatus.ts +++ b/src/gen/models/V1SubjectAccessReviewStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * SubjectAccessReviewStatus diff --git a/src/gen/models/V1SubjectRulesReviewStatus.ts b/src/gen/models/V1SubjectRulesReviewStatus.ts index 184cdb24fff..4e220a5caf7 100644 --- a/src/gen/models/V1SubjectRulesReviewStatus.ts +++ b/src/gen/models/V1SubjectRulesReviewStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1NonResourceRule } from '../models/V1NonResourceRule.js'; -import { V1ResourceRule } from '../models/V1ResourceRule.js'; -import { HttpFile } from '../http/http.js'; +import { V1NonResourceRule } from '../models/V1NonResourceRule'; +import { V1ResourceRule } from '../models/V1ResourceRule'; +import { HttpFile } from '../http/http'; /** * SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it\'s safe to assume the subject has that permission, even if that list is incomplete. diff --git a/src/gen/models/V1SuccessPolicy.ts b/src/gen/models/V1SuccessPolicy.ts index d771805f94e..eac7453c779 100644 --- a/src/gen/models/V1SuccessPolicy.ts +++ b/src/gen/models/V1SuccessPolicy.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1SuccessPolicyRule } from '../models/V1SuccessPolicyRule.js'; -import { HttpFile } from '../http/http.js'; +import { V1SuccessPolicyRule } from '../models/V1SuccessPolicyRule'; +import { HttpFile } from '../http/http'; /** * SuccessPolicy describes when a Job can be declared as succeeded based on the success of some indexes. diff --git a/src/gen/models/V1SuccessPolicyRule.ts b/src/gen/models/V1SuccessPolicyRule.ts index 5f8bc5a62fd..2e593ccd0ca 100644 --- a/src/gen/models/V1SuccessPolicyRule.ts +++ b/src/gen/models/V1SuccessPolicyRule.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the \"succeededIndexes\" or \"succeededCount\" specified. diff --git a/src/gen/models/V1Sysctl.ts b/src/gen/models/V1Sysctl.ts index 2414d99b0a1..7b8c454ae04 100644 --- a/src/gen/models/V1Sysctl.ts +++ b/src/gen/models/V1Sysctl.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Sysctl defines a kernel parameter to be set diff --git a/src/gen/models/V1TCPSocketAction.ts b/src/gen/models/V1TCPSocketAction.ts index 2f244f53831..46bba307a32 100644 --- a/src/gen/models/V1TCPSocketAction.ts +++ b/src/gen/models/V1TCPSocketAction.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { IntOrString } from '../../types.js'; -import { HttpFile } from '../http/http.js'; +import { IntOrString } from '../../types'; +import { HttpFile } from '../http/http'; /** * TCPSocketAction describes an action based on opening a socket diff --git a/src/gen/models/V1Taint.ts b/src/gen/models/V1Taint.ts index 5bd5a121908..9cfc6dcbcd2 100644 --- a/src/gen/models/V1Taint.ts +++ b/src/gen/models/V1Taint.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint. diff --git a/src/gen/models/V1TokenRequestSpec.ts b/src/gen/models/V1TokenRequestSpec.ts index 73a1ae9c565..ab167cb92ab 100644 --- a/src/gen/models/V1TokenRequestSpec.ts +++ b/src/gen/models/V1TokenRequestSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1BoundObjectReference } from '../models/V1BoundObjectReference.js'; -import { HttpFile } from '../http/http.js'; +import { V1BoundObjectReference } from '../models/V1BoundObjectReference'; +import { HttpFile } from '../http/http'; /** * TokenRequestSpec contains client provided parameters of a token request. diff --git a/src/gen/models/V1TokenRequestStatus.ts b/src/gen/models/V1TokenRequestStatus.ts index 6bf5a402c69..2826d4f5936 100644 --- a/src/gen/models/V1TokenRequestStatus.ts +++ b/src/gen/models/V1TokenRequestStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * TokenRequestStatus is the result of a token request. diff --git a/src/gen/models/V1TokenReview.ts b/src/gen/models/V1TokenReview.ts index a467d79432a..88fe94cabb2 100644 --- a/src/gen/models/V1TokenReview.ts +++ b/src/gen/models/V1TokenReview.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1TokenReviewSpec } from '../models/V1TokenReviewSpec.js'; -import { V1TokenReviewStatus } from '../models/V1TokenReviewStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1TokenReviewSpec } from '../models/V1TokenReviewSpec'; +import { V1TokenReviewStatus } from '../models/V1TokenReviewStatus'; +import { HttpFile } from '../http/http'; /** * TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver. diff --git a/src/gen/models/V1TokenReviewSpec.ts b/src/gen/models/V1TokenReviewSpec.ts index 844e31304a2..e4c3f3045a1 100644 --- a/src/gen/models/V1TokenReviewSpec.ts +++ b/src/gen/models/V1TokenReviewSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * TokenReviewSpec is a description of the token authentication request. diff --git a/src/gen/models/V1TokenReviewStatus.ts b/src/gen/models/V1TokenReviewStatus.ts index 89eeb2c5c36..84ebff04455 100644 --- a/src/gen/models/V1TokenReviewStatus.ts +++ b/src/gen/models/V1TokenReviewStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1UserInfo } from '../models/V1UserInfo.js'; -import { HttpFile } from '../http/http.js'; +import { V1UserInfo } from '../models/V1UserInfo'; +import { HttpFile } from '../http/http'; /** * TokenReviewStatus is the result of the token authentication request. diff --git a/src/gen/models/V1Toleration.ts b/src/gen/models/V1Toleration.ts index 76b50d77b12..145d7b01a6f 100644 --- a/src/gen/models/V1Toleration.ts +++ b/src/gen/models/V1Toleration.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator . diff --git a/src/gen/models/V1TopologySelectorLabelRequirement.ts b/src/gen/models/V1TopologySelectorLabelRequirement.ts index a72df485e3b..7ca4c4d4a9f 100644 --- a/src/gen/models/V1TopologySelectorLabelRequirement.ts +++ b/src/gen/models/V1TopologySelectorLabelRequirement.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future. diff --git a/src/gen/models/V1TopologySelectorTerm.ts b/src/gen/models/V1TopologySelectorTerm.ts index a66ea360c74..b4624f589fd 100644 --- a/src/gen/models/V1TopologySelectorTerm.ts +++ b/src/gen/models/V1TopologySelectorTerm.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1TopologySelectorLabelRequirement } from '../models/V1TopologySelectorLabelRequirement.js'; -import { HttpFile } from '../http/http.js'; +import { V1TopologySelectorLabelRequirement } from '../models/V1TopologySelectorLabelRequirement'; +import { HttpFile } from '../http/http'; /** * A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future. diff --git a/src/gen/models/V1TopologySpreadConstraint.ts b/src/gen/models/V1TopologySpreadConstraint.ts index 02c0c69bbc2..bb6e76573b7 100644 --- a/src/gen/models/V1TopologySpreadConstraint.ts +++ b/src/gen/models/V1TopologySpreadConstraint.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1LabelSelector } from '../models/V1LabelSelector.js'; -import { HttpFile } from '../http/http.js'; +import { V1LabelSelector } from '../models/V1LabelSelector'; +import { HttpFile } from '../http/http'; /** * TopologySpreadConstraint specifies how to spread matching pods among the given topology. diff --git a/src/gen/models/V1TypeChecking.ts b/src/gen/models/V1TypeChecking.ts index 43a1069a888..d17da403b5d 100644 --- a/src/gen/models/V1TypeChecking.ts +++ b/src/gen/models/V1TypeChecking.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1ExpressionWarning } from '../models/V1ExpressionWarning.js'; -import { HttpFile } from '../http/http.js'; +import { V1ExpressionWarning } from '../models/V1ExpressionWarning'; +import { HttpFile } from '../http/http'; /** * TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy diff --git a/src/gen/models/V1TypedLocalObjectReference.ts b/src/gen/models/V1TypedLocalObjectReference.ts index 2819f09480d..a75d741a743 100644 --- a/src/gen/models/V1TypedLocalObjectReference.ts +++ b/src/gen/models/V1TypedLocalObjectReference.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace. diff --git a/src/gen/models/V1TypedObjectReference.ts b/src/gen/models/V1TypedObjectReference.ts index 53c5de8a557..5b11a027853 100644 --- a/src/gen/models/V1TypedObjectReference.ts +++ b/src/gen/models/V1TypedObjectReference.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,11 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; +/** +* TypedObjectReference contains enough information to let you locate the typed referenced object +*/ export class V1TypedObjectReference { /** * APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. diff --git a/src/gen/models/V1UncountedTerminatedPods.ts b/src/gen/models/V1UncountedTerminatedPods.ts index aa7157cb668..0fa4399fa5b 100644 --- a/src/gen/models/V1UncountedTerminatedPods.ts +++ b/src/gen/models/V1UncountedTerminatedPods.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * UncountedTerminatedPods holds UIDs of Pods that have terminated but haven\'t been accounted in Job status counters. diff --git a/src/gen/models/V1UserInfo.ts b/src/gen/models/V1UserInfo.ts index 221094a15dc..138d66cb004 100644 --- a/src/gen/models/V1UserInfo.ts +++ b/src/gen/models/V1UserInfo.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * UserInfo holds the information about the user needed to implement the user.Info interface. diff --git a/src/gen/models/V1UserSubject.ts b/src/gen/models/V1UserSubject.ts index 61f79e77693..007bda8f7e3 100644 --- a/src/gen/models/V1UserSubject.ts +++ b/src/gen/models/V1UserSubject.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * UserSubject holds detailed information for user-kind subject. diff --git a/src/gen/models/V1ValidatingAdmissionPolicy.ts b/src/gen/models/V1ValidatingAdmissionPolicy.ts index 91195c2c98b..0ee016792d1 100644 --- a/src/gen/models/V1ValidatingAdmissionPolicy.ts +++ b/src/gen/models/V1ValidatingAdmissionPolicy.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1ValidatingAdmissionPolicySpec } from '../models/V1ValidatingAdmissionPolicySpec.js'; -import { V1ValidatingAdmissionPolicyStatus } from '../models/V1ValidatingAdmissionPolicyStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1ValidatingAdmissionPolicySpec } from '../models/V1ValidatingAdmissionPolicySpec'; +import { V1ValidatingAdmissionPolicyStatus } from '../models/V1ValidatingAdmissionPolicyStatus'; +import { HttpFile } from '../http/http'; /** * ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it. diff --git a/src/gen/models/V1ValidatingAdmissionPolicyBinding.ts b/src/gen/models/V1ValidatingAdmissionPolicyBinding.ts index e6ce00e681d..971ee064a07 100644 --- a/src/gen/models/V1ValidatingAdmissionPolicyBinding.ts +++ b/src/gen/models/V1ValidatingAdmissionPolicyBinding.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1ValidatingAdmissionPolicyBindingSpec } from '../models/V1ValidatingAdmissionPolicyBindingSpec.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1ValidatingAdmissionPolicyBindingSpec } from '../models/V1ValidatingAdmissionPolicyBindingSpec'; +import { HttpFile } from '../http/http'; /** * ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters. For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don\'t use params, otherwise N is the number of parameters selected by the binding. The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget. diff --git a/src/gen/models/V1ValidatingAdmissionPolicyBindingList.ts b/src/gen/models/V1ValidatingAdmissionPolicyBindingList.ts index 6918c1a56e4..2a1a55d3f90 100644 --- a/src/gen/models/V1ValidatingAdmissionPolicyBindingList.ts +++ b/src/gen/models/V1ValidatingAdmissionPolicyBindingList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1ValidatingAdmissionPolicyBinding } from '../models/V1ValidatingAdmissionPolicyBinding.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1ValidatingAdmissionPolicyBinding } from '../models/V1ValidatingAdmissionPolicyBinding'; +import { HttpFile } from '../http/http'; /** * ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding. @@ -25,7 +25,7 @@ export class V1ValidatingAdmissionPolicyBindingList { /** * List of PolicyBinding. */ - 'items'?: Array; + 'items': Array; /** * 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 */ diff --git a/src/gen/models/V1ValidatingAdmissionPolicyBindingSpec.ts b/src/gen/models/V1ValidatingAdmissionPolicyBindingSpec.ts index bcef068960f..34674cfd395 100644 --- a/src/gen/models/V1ValidatingAdmissionPolicyBindingSpec.ts +++ b/src/gen/models/V1ValidatingAdmissionPolicyBindingSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1MatchResources } from '../models/V1MatchResources.js'; -import { V1ParamRef } from '../models/V1ParamRef.js'; -import { HttpFile } from '../http/http.js'; +import { V1MatchResources } from '../models/V1MatchResources'; +import { V1ParamRef } from '../models/V1ParamRef'; +import { HttpFile } from '../http/http'; /** * ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding. @@ -25,7 +25,7 @@ export class V1ValidatingAdmissionPolicyBindingSpec { */ 'policyName'?: string; /** - * validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions. Failures defined by the ValidatingAdmissionPolicy\'s FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy. validationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action. The supported actions values are: \"Deny\" specifies that a validation failure results in a denied request. \"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses. \"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\"message\": \"Invalid value\", {\"policy\": \"policy.example.com\", {\"binding\": \"policybinding.example.com\", {\"expressionIndex\": \"1\", {\"validationActions\": [\"Audit\"]}]\"` Clients should expect to handle additional values by ignoring any values not recognized. \"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers. Required. + * validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions. Failures defined by the ValidatingAdmissionPolicy\'s FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy. validationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action. The supported actions values are: \"Deny\" specifies that a validation failure results in a denied request. \"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses. \"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\\\"message\\\": \\\"Invalid value\\\", {\\\"policy\\\": \\\"policy.example.com\\\", {\\\"binding\\\": \\\"policybinding.example.com\\\", {\\\"expressionIndex\\\": \\\"1\\\", {\\\"validationActions\\\": [\\\"Audit\\\"]}]\"` Clients should expect to handle additional values by ignoring any values not recognized. \"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers. Required. */ 'validationActions'?: Array; diff --git a/src/gen/models/V1ValidatingAdmissionPolicyList.ts b/src/gen/models/V1ValidatingAdmissionPolicyList.ts index 00b08aa7197..4fba39d3fc4 100644 --- a/src/gen/models/V1ValidatingAdmissionPolicyList.ts +++ b/src/gen/models/V1ValidatingAdmissionPolicyList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1ValidatingAdmissionPolicy } from '../models/V1ValidatingAdmissionPolicy.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1ValidatingAdmissionPolicy } from '../models/V1ValidatingAdmissionPolicy'; +import { HttpFile } from '../http/http'; /** * ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy. @@ -25,7 +25,7 @@ export class V1ValidatingAdmissionPolicyList { /** * List of ValidatingAdmissionPolicy. */ - 'items'?: Array; + 'items': Array; /** * 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 */ diff --git a/src/gen/models/V1ValidatingAdmissionPolicySpec.ts b/src/gen/models/V1ValidatingAdmissionPolicySpec.ts index 96de5c1892e..8331717d326 100644 --- a/src/gen/models/V1ValidatingAdmissionPolicySpec.ts +++ b/src/gen/models/V1ValidatingAdmissionPolicySpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,13 +10,13 @@ * Do not edit the class manually. */ -import { V1AuditAnnotation } from '../models/V1AuditAnnotation.js'; -import { V1MatchCondition } from '../models/V1MatchCondition.js'; -import { V1MatchResources } from '../models/V1MatchResources.js'; -import { V1ParamKind } from '../models/V1ParamKind.js'; -import { V1Validation } from '../models/V1Validation.js'; -import { V1Variable } from '../models/V1Variable.js'; -import { HttpFile } from '../http/http.js'; +import { V1AuditAnnotation } from '../models/V1AuditAnnotation'; +import { V1MatchCondition } from '../models/V1MatchCondition'; +import { V1MatchResources } from '../models/V1MatchResources'; +import { V1ParamKind } from '../models/V1ParamKind'; +import { V1Validation } from '../models/V1Validation'; +import { V1Variable } from '../models/V1Variable'; +import { HttpFile } from '../http/http'; /** * ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy. diff --git a/src/gen/models/V1ValidatingAdmissionPolicyStatus.ts b/src/gen/models/V1ValidatingAdmissionPolicyStatus.ts index 619aae49753..ead4f1b092c 100644 --- a/src/gen/models/V1ValidatingAdmissionPolicyStatus.ts +++ b/src/gen/models/V1ValidatingAdmissionPolicyStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1Condition } from '../models/V1Condition.js'; -import { V1TypeChecking } from '../models/V1TypeChecking.js'; -import { HttpFile } from '../http/http.js'; +import { V1Condition } from '../models/V1Condition'; +import { V1TypeChecking } from '../models/V1TypeChecking'; +import { HttpFile } from '../http/http'; /** * ValidatingAdmissionPolicyStatus represents the status of an admission validation policy. diff --git a/src/gen/models/V1ValidatingWebhook.ts b/src/gen/models/V1ValidatingWebhook.ts index a27f6535312..a88f5a5f119 100644 --- a/src/gen/models/V1ValidatingWebhook.ts +++ b/src/gen/models/V1ValidatingWebhook.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,11 +10,11 @@ * Do not edit the class manually. */ -import { AdmissionregistrationV1WebhookClientConfig } from '../models/AdmissionregistrationV1WebhookClientConfig.js'; -import { V1LabelSelector } from '../models/V1LabelSelector.js'; -import { V1MatchCondition } from '../models/V1MatchCondition.js'; -import { V1RuleWithOperations } from '../models/V1RuleWithOperations.js'; -import { HttpFile } from '../http/http.js'; +import { AdmissionregistrationV1WebhookClientConfig } from '../models/AdmissionregistrationV1WebhookClientConfig'; +import { V1LabelSelector } from '../models/V1LabelSelector'; +import { V1MatchCondition } from '../models/V1MatchCondition'; +import { V1RuleWithOperations } from '../models/V1RuleWithOperations'; +import { HttpFile } from '../http/http'; /** * ValidatingWebhook describes an admission webhook and the resources and operations it applies to. diff --git a/src/gen/models/V1ValidatingWebhookConfiguration.ts b/src/gen/models/V1ValidatingWebhookConfiguration.ts index 601861f81c3..e4dcb009857 100644 --- a/src/gen/models/V1ValidatingWebhookConfiguration.ts +++ b/src/gen/models/V1ValidatingWebhookConfiguration.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1ValidatingWebhook } from '../models/V1ValidatingWebhook.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1ValidatingWebhook } from '../models/V1ValidatingWebhook'; +import { HttpFile } from '../http/http'; /** * ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. diff --git a/src/gen/models/V1ValidatingWebhookConfigurationList.ts b/src/gen/models/V1ValidatingWebhookConfigurationList.ts index f90c9b75714..c03bd1ec44f 100644 --- a/src/gen/models/V1ValidatingWebhookConfigurationList.ts +++ b/src/gen/models/V1ValidatingWebhookConfigurationList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1ValidatingWebhookConfiguration } from '../models/V1ValidatingWebhookConfiguration.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1ValidatingWebhookConfiguration } from '../models/V1ValidatingWebhookConfiguration'; +import { HttpFile } from '../http/http'; /** * ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration. diff --git a/src/gen/models/V1Validation.ts b/src/gen/models/V1Validation.ts index 410dc8c76c5..2482cd9b9cc 100644 --- a/src/gen/models/V1Validation.ts +++ b/src/gen/models/V1Validation.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Validation specifies the CEL expression which is used to apply the validation. diff --git a/src/gen/models/V1ValidationRule.ts b/src/gen/models/V1ValidationRule.ts index ba443062ec1..5e33c0612c0 100644 --- a/src/gen/models/V1ValidationRule.ts +++ b/src/gen/models/V1ValidationRule.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ValidationRule describes a validation rule written in the CEL expression language. diff --git a/src/gen/models/V1Variable.ts b/src/gen/models/V1Variable.ts index 7c3eab2dc95..4aa81758506 100644 --- a/src/gen/models/V1Variable.ts +++ b/src/gen/models/V1Variable.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Variable is the definition of a variable that is used for composition. A variable is defined as a named expression. diff --git a/src/gen/models/V1Volume.ts b/src/gen/models/V1Volume.ts index 96338790b4f..537079014a8 100644 --- a/src/gen/models/V1Volume.ts +++ b/src/gen/models/V1Volume.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,36 +10,37 @@ * Do not edit the class manually. */ -import { V1AWSElasticBlockStoreVolumeSource } from '../models/V1AWSElasticBlockStoreVolumeSource.js'; -import { V1AzureDiskVolumeSource } from '../models/V1AzureDiskVolumeSource.js'; -import { V1AzureFileVolumeSource } from '../models/V1AzureFileVolumeSource.js'; -import { V1CSIVolumeSource } from '../models/V1CSIVolumeSource.js'; -import { V1CephFSVolumeSource } from '../models/V1CephFSVolumeSource.js'; -import { V1CinderVolumeSource } from '../models/V1CinderVolumeSource.js'; -import { V1ConfigMapVolumeSource } from '../models/V1ConfigMapVolumeSource.js'; -import { V1DownwardAPIVolumeSource } from '../models/V1DownwardAPIVolumeSource.js'; -import { V1EmptyDirVolumeSource } from '../models/V1EmptyDirVolumeSource.js'; -import { V1EphemeralVolumeSource } from '../models/V1EphemeralVolumeSource.js'; -import { V1FCVolumeSource } from '../models/V1FCVolumeSource.js'; -import { V1FlexVolumeSource } from '../models/V1FlexVolumeSource.js'; -import { V1FlockerVolumeSource } from '../models/V1FlockerVolumeSource.js'; -import { V1GCEPersistentDiskVolumeSource } from '../models/V1GCEPersistentDiskVolumeSource.js'; -import { V1GitRepoVolumeSource } from '../models/V1GitRepoVolumeSource.js'; -import { V1GlusterfsVolumeSource } from '../models/V1GlusterfsVolumeSource.js'; -import { V1HostPathVolumeSource } from '../models/V1HostPathVolumeSource.js'; -import { V1ISCSIVolumeSource } from '../models/V1ISCSIVolumeSource.js'; -import { V1NFSVolumeSource } from '../models/V1NFSVolumeSource.js'; -import { V1PersistentVolumeClaimVolumeSource } from '../models/V1PersistentVolumeClaimVolumeSource.js'; -import { V1PhotonPersistentDiskVolumeSource } from '../models/V1PhotonPersistentDiskVolumeSource.js'; -import { V1PortworxVolumeSource } from '../models/V1PortworxVolumeSource.js'; -import { V1ProjectedVolumeSource } from '../models/V1ProjectedVolumeSource.js'; -import { V1QuobyteVolumeSource } from '../models/V1QuobyteVolumeSource.js'; -import { V1RBDVolumeSource } from '../models/V1RBDVolumeSource.js'; -import { V1ScaleIOVolumeSource } from '../models/V1ScaleIOVolumeSource.js'; -import { V1SecretVolumeSource } from '../models/V1SecretVolumeSource.js'; -import { V1StorageOSVolumeSource } from '../models/V1StorageOSVolumeSource.js'; -import { V1VsphereVirtualDiskVolumeSource } from '../models/V1VsphereVirtualDiskVolumeSource.js'; -import { HttpFile } from '../http/http.js'; +import { V1AWSElasticBlockStoreVolumeSource } from '../models/V1AWSElasticBlockStoreVolumeSource'; +import { V1AzureDiskVolumeSource } from '../models/V1AzureDiskVolumeSource'; +import { V1AzureFileVolumeSource } from '../models/V1AzureFileVolumeSource'; +import { V1CSIVolumeSource } from '../models/V1CSIVolumeSource'; +import { V1CephFSVolumeSource } from '../models/V1CephFSVolumeSource'; +import { V1CinderVolumeSource } from '../models/V1CinderVolumeSource'; +import { V1ConfigMapVolumeSource } from '../models/V1ConfigMapVolumeSource'; +import { V1DownwardAPIVolumeSource } from '../models/V1DownwardAPIVolumeSource'; +import { V1EmptyDirVolumeSource } from '../models/V1EmptyDirVolumeSource'; +import { V1EphemeralVolumeSource } from '../models/V1EphemeralVolumeSource'; +import { V1FCVolumeSource } from '../models/V1FCVolumeSource'; +import { V1FlexVolumeSource } from '../models/V1FlexVolumeSource'; +import { V1FlockerVolumeSource } from '../models/V1FlockerVolumeSource'; +import { V1GCEPersistentDiskVolumeSource } from '../models/V1GCEPersistentDiskVolumeSource'; +import { V1GitRepoVolumeSource } from '../models/V1GitRepoVolumeSource'; +import { V1GlusterfsVolumeSource } from '../models/V1GlusterfsVolumeSource'; +import { V1HostPathVolumeSource } from '../models/V1HostPathVolumeSource'; +import { V1ISCSIVolumeSource } from '../models/V1ISCSIVolumeSource'; +import { V1ImageVolumeSource } from '../models/V1ImageVolumeSource'; +import { V1NFSVolumeSource } from '../models/V1NFSVolumeSource'; +import { V1PersistentVolumeClaimVolumeSource } from '../models/V1PersistentVolumeClaimVolumeSource'; +import { V1PhotonPersistentDiskVolumeSource } from '../models/V1PhotonPersistentDiskVolumeSource'; +import { V1PortworxVolumeSource } from '../models/V1PortworxVolumeSource'; +import { V1ProjectedVolumeSource } from '../models/V1ProjectedVolumeSource'; +import { V1QuobyteVolumeSource } from '../models/V1QuobyteVolumeSource'; +import { V1RBDVolumeSource } from '../models/V1RBDVolumeSource'; +import { V1ScaleIOVolumeSource } from '../models/V1ScaleIOVolumeSource'; +import { V1SecretVolumeSource } from '../models/V1SecretVolumeSource'; +import { V1StorageOSVolumeSource } from '../models/V1StorageOSVolumeSource'; +import { V1VsphereVirtualDiskVolumeSource } from '../models/V1VsphereVirtualDiskVolumeSource'; +import { HttpFile } from '../http/http'; /** * Volume represents a named volume in a pod that may be accessed by any container in the pod. @@ -62,6 +63,7 @@ export class V1Volume { 'gitRepo'?: V1GitRepoVolumeSource; 'glusterfs'?: V1GlusterfsVolumeSource; 'hostPath'?: V1HostPathVolumeSource; + 'image'?: V1ImageVolumeSource; 'iscsi'?: V1ISCSIVolumeSource; /** * name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names @@ -186,6 +188,12 @@ export class V1Volume { "type": "V1HostPathVolumeSource", "format": "" }, + { + "name": "image", + "baseName": "image", + "type": "V1ImageVolumeSource", + "format": "" + }, { "name": "iscsi", "baseName": "iscsi", diff --git a/src/gen/models/V1VolumeAttachment.ts b/src/gen/models/V1VolumeAttachment.ts index 867122c6e40..98abb801fe3 100644 --- a/src/gen/models/V1VolumeAttachment.ts +++ b/src/gen/models/V1VolumeAttachment.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1VolumeAttachmentSpec } from '../models/V1VolumeAttachmentSpec.js'; -import { V1VolumeAttachmentStatus } from '../models/V1VolumeAttachmentStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1VolumeAttachmentSpec } from '../models/V1VolumeAttachmentSpec'; +import { V1VolumeAttachmentStatus } from '../models/V1VolumeAttachmentStatus'; +import { HttpFile } from '../http/http'; /** * VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. VolumeAttachment objects are non-namespaced. diff --git a/src/gen/models/V1VolumeAttachmentList.ts b/src/gen/models/V1VolumeAttachmentList.ts index f98e5428046..56748099876 100644 --- a/src/gen/models/V1VolumeAttachmentList.ts +++ b/src/gen/models/V1VolumeAttachmentList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1VolumeAttachment } from '../models/V1VolumeAttachment.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1VolumeAttachment } from '../models/V1VolumeAttachment'; +import { HttpFile } from '../http/http'; /** * VolumeAttachmentList is a collection of VolumeAttachment objects. diff --git a/src/gen/models/V1VolumeAttachmentSource.ts b/src/gen/models/V1VolumeAttachmentSource.ts index 1d9628264ae..b7fb13b48c0 100644 --- a/src/gen/models/V1VolumeAttachmentSource.ts +++ b/src/gen/models/V1VolumeAttachmentSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,11 +10,11 @@ * Do not edit the class manually. */ -import { V1PersistentVolumeSpec } from '../models/V1PersistentVolumeSpec.js'; -import { HttpFile } from '../http/http.js'; +import { V1PersistentVolumeSpec } from '../models/V1PersistentVolumeSpec'; +import { HttpFile } from '../http/http'; /** -* VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set. +* VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set. */ export class V1VolumeAttachmentSource { 'inlineVolumeSpec'?: V1PersistentVolumeSpec; diff --git a/src/gen/models/V1VolumeAttachmentSpec.ts b/src/gen/models/V1VolumeAttachmentSpec.ts index 62abb7b26ff..900c9e5f626 100644 --- a/src/gen/models/V1VolumeAttachmentSpec.ts +++ b/src/gen/models/V1VolumeAttachmentSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1VolumeAttachmentSource } from '../models/V1VolumeAttachmentSource.js'; -import { HttpFile } from '../http/http.js'; +import { V1VolumeAttachmentSource } from '../models/V1VolumeAttachmentSource'; +import { HttpFile } from '../http/http'; /** * VolumeAttachmentSpec is the specification of a VolumeAttachment request. diff --git a/src/gen/models/V1VolumeAttachmentStatus.ts b/src/gen/models/V1VolumeAttachmentStatus.ts index b1359cc7dcd..40ec898f1c2 100644 --- a/src/gen/models/V1VolumeAttachmentStatus.ts +++ b/src/gen/models/V1VolumeAttachmentStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1VolumeError } from '../models/V1VolumeError.js'; -import { HttpFile } from '../http/http.js'; +import { V1VolumeError } from '../models/V1VolumeError'; +import { HttpFile } from '../http/http'; /** * VolumeAttachmentStatus is the status of a VolumeAttachment request. diff --git a/src/gen/models/V1VolumeDevice.ts b/src/gen/models/V1VolumeDevice.ts index c9b1814e51a..a222e0bd78e 100644 --- a/src/gen/models/V1VolumeDevice.ts +++ b/src/gen/models/V1VolumeDevice.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * volumeDevice describes a mapping of a raw block device within a container. diff --git a/src/gen/models/V1VolumeError.ts b/src/gen/models/V1VolumeError.ts index 54ff65a9c3f..db9f01160f1 100644 --- a/src/gen/models/V1VolumeError.ts +++ b/src/gen/models/V1VolumeError.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * VolumeError captures an error encountered during a volume operation. diff --git a/src/gen/models/V1VolumeMount.ts b/src/gen/models/V1VolumeMount.ts index 2557db10d18..fa8f1f4e6d2 100644 --- a/src/gen/models/V1VolumeMount.ts +++ b/src/gen/models/V1VolumeMount.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * VolumeMount describes a mounting of a Volume within a container. diff --git a/src/gen/models/V1VolumeMountStatus.ts b/src/gen/models/V1VolumeMountStatus.ts index 27726d8279a..e93ec7ca2ad 100644 --- a/src/gen/models/V1VolumeMountStatus.ts +++ b/src/gen/models/V1VolumeMountStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * VolumeMountStatus shows status of volume mounts. diff --git a/src/gen/models/V1VolumeNodeAffinity.ts b/src/gen/models/V1VolumeNodeAffinity.ts index f958da0a742..c72c4fb603a 100644 --- a/src/gen/models/V1VolumeNodeAffinity.ts +++ b/src/gen/models/V1VolumeNodeAffinity.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1NodeSelector } from '../models/V1NodeSelector.js'; -import { HttpFile } from '../http/http.js'; +import { V1NodeSelector } from '../models/V1NodeSelector'; +import { HttpFile } from '../http/http'; /** * VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from. diff --git a/src/gen/models/V1VolumeNodeResources.ts b/src/gen/models/V1VolumeNodeResources.ts index 859fc37f1bc..0beacd9dc20 100644 --- a/src/gen/models/V1VolumeNodeResources.ts +++ b/src/gen/models/V1VolumeNodeResources.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * VolumeNodeResources is a set of resource limits for scheduling of volumes. diff --git a/src/gen/models/V1VolumeProjection.ts b/src/gen/models/V1VolumeProjection.ts index e605addcc38..7949a69d252 100644 --- a/src/gen/models/V1VolumeProjection.ts +++ b/src/gen/models/V1VolumeProjection.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,15 +10,15 @@ * Do not edit the class manually. */ -import { V1ClusterTrustBundleProjection } from '../models/V1ClusterTrustBundleProjection.js'; -import { V1ConfigMapProjection } from '../models/V1ConfigMapProjection.js'; -import { V1DownwardAPIProjection } from '../models/V1DownwardAPIProjection.js'; -import { V1SecretProjection } from '../models/V1SecretProjection.js'; -import { V1ServiceAccountTokenProjection } from '../models/V1ServiceAccountTokenProjection.js'; -import { HttpFile } from '../http/http.js'; +import { V1ClusterTrustBundleProjection } from '../models/V1ClusterTrustBundleProjection'; +import { V1ConfigMapProjection } from '../models/V1ConfigMapProjection'; +import { V1DownwardAPIProjection } from '../models/V1DownwardAPIProjection'; +import { V1SecretProjection } from '../models/V1SecretProjection'; +import { V1ServiceAccountTokenProjection } from '../models/V1ServiceAccountTokenProjection'; +import { HttpFile } from '../http/http'; /** -* Projection that may be projected along with other supported volume types +* Projection that may be projected along with other supported volume types. Exactly one of these fields must be set. */ export class V1VolumeProjection { 'clusterTrustBundle'?: V1ClusterTrustBundleProjection; diff --git a/src/gen/models/V1VolumeResourceRequirements.ts b/src/gen/models/V1VolumeResourceRequirements.ts index dc82ffa8774..d6525b56ace 100644 --- a/src/gen/models/V1VolumeResourceRequirements.ts +++ b/src/gen/models/V1VolumeResourceRequirements.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * VolumeResourceRequirements describes the storage resource requirements for a volume. diff --git a/src/gen/models/V1VsphereVirtualDiskVolumeSource.ts b/src/gen/models/V1VsphereVirtualDiskVolumeSource.ts index d3c0e5943a6..6e14e49c5cd 100644 --- a/src/gen/models/V1VsphereVirtualDiskVolumeSource.ts +++ b/src/gen/models/V1VsphereVirtualDiskVolumeSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Represents a vSphere volume resource. diff --git a/src/gen/models/V1WatchEvent.ts b/src/gen/models/V1WatchEvent.ts index ecc2c2a6d83..2cf3fa5b601 100644 --- a/src/gen/models/V1WatchEvent.ts +++ b/src/gen/models/V1WatchEvent.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Event represents a single event to a watched resource. diff --git a/src/gen/models/V1WebhookConversion.ts b/src/gen/models/V1WebhookConversion.ts index bbedab8f75c..434ebaaba4a 100644 --- a/src/gen/models/V1WebhookConversion.ts +++ b/src/gen/models/V1WebhookConversion.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { ApiextensionsV1WebhookClientConfig } from '../models/ApiextensionsV1WebhookClientConfig.js'; -import { HttpFile } from '../http/http.js'; +import { ApiextensionsV1WebhookClientConfig } from '../models/ApiextensionsV1WebhookClientConfig'; +import { HttpFile } from '../http/http'; /** * WebhookConversion describes how to call a conversion webhook diff --git a/src/gen/models/V1WeightedPodAffinityTerm.ts b/src/gen/models/V1WeightedPodAffinityTerm.ts index 44b2b145638..133aa3646cb 100644 --- a/src/gen/models/V1WeightedPodAffinityTerm.ts +++ b/src/gen/models/V1WeightedPodAffinityTerm.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1PodAffinityTerm } from '../models/V1PodAffinityTerm.js'; -import { HttpFile } from '../http/http.js'; +import { V1PodAffinityTerm } from '../models/V1PodAffinityTerm'; +import { HttpFile } from '../http/http'; /** * The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) diff --git a/src/gen/models/V1WindowsSecurityContextOptions.ts b/src/gen/models/V1WindowsSecurityContextOptions.ts index 3d6b974ce26..fc0a8fce78e 100644 --- a/src/gen/models/V1WindowsSecurityContextOptions.ts +++ b/src/gen/models/V1WindowsSecurityContextOptions.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * WindowsSecurityContextOptions contain Windows-specific options and credentials. diff --git a/src/gen/models/V1alpha1ApplyConfiguration.ts b/src/gen/models/V1alpha1ApplyConfiguration.ts new file mode 100644 index 00000000000..c98c5e54273 --- /dev/null +++ b/src/gen/models/V1alpha1ApplyConfiguration.ts @@ -0,0 +1,42 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ApplyConfiguration defines the desired configuration values of an object. +*/ +export class V1alpha1ApplyConfiguration { + /** + * expression will be evaluated by CEL to create an apply configuration. ref: https://github.com/google/cel-spec Apply configurations are declared in CEL using object initialization. For example, this CEL expression returns an apply configuration to set a single field: Object{ spec: Object.spec{ serviceAccountName: \"example\" } } Apply configurations may not modify atomic structs, maps or arrays due to the risk of accidental deletion of values not included in the apply configuration. CEL expressions have access to the object types needed to create apply configurations: - \'Object\' - CEL type of the resource object. - \'Object.\' - CEL type of object field (such as \'Object.spec\') - \'Object.....` - CEL type of nested field (such as \'Object.spec.containers\') CEL expressions have access to the contents of the API request, organized into CEL variables as well as some other useful variables: - \'object\' - The object from the incoming request. The value is null for DELETE requests. - \'oldObject\' - The existing object. The value is null for CREATE requests. - \'request\' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - \'params\' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - \'namespaceObject\' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - \'variables\' - Map of composited variables, from its name to its lazily evaluated value. For example, a variable named \'foo\' can be accessed as \'variables.foo\'. - \'authorizer\' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request. See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz - \'authorizer.requestResource\' - A CEL ResourceCheck constructed from the \'authorizer\' and configured with the request resource. The `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible. Only property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Required. + */ + 'expression'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "expression", + "baseName": "expression", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha1ApplyConfiguration.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha1ClusterTrustBundle.ts b/src/gen/models/V1alpha1ClusterTrustBundle.ts index 6587703e873..5bac153d816 100644 --- a/src/gen/models/V1alpha1ClusterTrustBundle.ts +++ b/src/gen/models/V1alpha1ClusterTrustBundle.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1alpha1ClusterTrustBundleSpec } from '../models/V1alpha1ClusterTrustBundleSpec.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1alpha1ClusterTrustBundleSpec } from '../models/V1alpha1ClusterTrustBundleSpec'; +import { HttpFile } from '../http/http'; /** * ClusterTrustBundle is a cluster-scoped container for X.509 trust anchors (root certificates). ClusterTrustBundle objects are considered to be readable by any authenticated user in the cluster, because they can be mounted by pods using the `clusterTrustBundle` projection. All service accounts have read access to ClusterTrustBundles by default. Users who only have namespace-level access to a cluster can read ClusterTrustBundles by impersonating a serviceaccount that they have access to. It can be optionally associated with a particular assigner, in which case it contains one valid set of trust anchors for that signer. Signers may have multiple associated ClusterTrustBundles; each is an independent set of trust anchors for that signer. Admission control is used to enforce that only users with permissions on the signer can create or modify the corresponding bundle. diff --git a/src/gen/models/V1alpha1ClusterTrustBundleList.ts b/src/gen/models/V1alpha1ClusterTrustBundleList.ts index 941aaabddd8..3fe84261c79 100644 --- a/src/gen/models/V1alpha1ClusterTrustBundleList.ts +++ b/src/gen/models/V1alpha1ClusterTrustBundleList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1alpha1ClusterTrustBundle } from '../models/V1alpha1ClusterTrustBundle.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1alpha1ClusterTrustBundle } from '../models/V1alpha1ClusterTrustBundle'; +import { HttpFile } from '../http/http'; /** * ClusterTrustBundleList is a collection of ClusterTrustBundle objects diff --git a/src/gen/models/V1alpha1ClusterTrustBundleSpec.ts b/src/gen/models/V1alpha1ClusterTrustBundleSpec.ts index 5352ebcd958..3d0cce33f6f 100644 --- a/src/gen/models/V1alpha1ClusterTrustBundleSpec.ts +++ b/src/gen/models/V1alpha1ClusterTrustBundleSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ClusterTrustBundleSpec contains the signer and trust anchors. diff --git a/src/gen/models/V1alpha1GroupVersionResource.ts b/src/gen/models/V1alpha1GroupVersionResource.ts index 8d022a9659b..736da2373f7 100644 --- a/src/gen/models/V1alpha1GroupVersionResource.ts +++ b/src/gen/models/V1alpha1GroupVersionResource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * The names of the group, the version, and the resource. diff --git a/src/gen/models/V1alpha1JSONPatch.ts b/src/gen/models/V1alpha1JSONPatch.ts new file mode 100644 index 00000000000..039080ad9c5 --- /dev/null +++ b/src/gen/models/V1alpha1JSONPatch.ts @@ -0,0 +1,42 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* JSONPatch defines a JSON Patch. +*/ +export class V1alpha1JSONPatch { + /** + * expression will be evaluated by CEL to create a [JSON patch](https://jsonpatch.com/). ref: https://github.com/google/cel-spec expression must return an array of JSONPatch values. For example, this CEL expression returns a JSON patch to conditionally modify a value: [ JSONPatch{op: \"test\", path: \"/spec/example\", value: \"Red\"}, JSONPatch{op: \"replace\", path: \"/spec/example\", value: \"Green\"} ] To define an object for the patch value, use Object types. For example: [ JSONPatch{ op: \"add\", path: \"/spec/selector\", value: Object.spec.selector{matchLabels: {\"environment\": \"test\"}} } ] To use strings containing \'/\' and \'~\' as JSONPatch path keys, use \"jsonpatch.escapeKey\". For example: [ JSONPatch{ op: \"add\", path: \"/metadata/labels/\" + jsonpatch.escapeKey(\"example.com/environment\"), value: \"test\" }, ] CEL expressions have access to the types needed to create JSON patches and objects: - \'JSONPatch\' - CEL type of JSON Patch operations. JSONPatch has the fields \'op\', \'from\', \'path\' and \'value\'. See [JSON patch](https://jsonpatch.com/) for more details. The \'value\' field may be set to any of: string, integer, array, map or object. If set, the \'path\' and \'from\' fields must be set to a [JSON pointer](https://datatracker.ietf.org/doc/html/rfc6901/) string, where the \'jsonpatch.escapeKey()\' CEL function may be used to escape path keys containing \'/\' and \'~\'. - \'Object\' - CEL type of the resource object. - \'Object.\' - CEL type of object field (such as \'Object.spec\') - \'Object.....` - CEL type of nested field (such as \'Object.spec.containers\') CEL expressions have access to the contents of the API request, organized into CEL variables as well as some other useful variables: - \'object\' - The object from the incoming request. The value is null for DELETE requests. - \'oldObject\' - The existing object. The value is null for CREATE requests. - \'request\' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - \'params\' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - \'namespaceObject\' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - \'variables\' - Map of composited variables, from its name to its lazily evaluated value. For example, a variable named \'foo\' can be accessed as \'variables.foo\'. - \'authorizer\' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request. See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz - \'authorizer.requestResource\' - A CEL ResourceCheck constructed from the \'authorizer\' and configured with the request resource. CEL expressions have access to [Kubernetes CEL function libraries](https://kubernetes.io/docs/reference/using-api/cel/#cel-options-language-features-and-libraries) as well as: - \'jsonpatch.escapeKey\' - Performs JSONPatch key escaping. \'~\' and \'/\' are escaped as \'~0\' and `~1\' respectively). Only property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Required. + */ + 'expression'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "expression", + "baseName": "expression", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha1JSONPatch.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha1MatchCondition.ts b/src/gen/models/V1alpha1MatchCondition.ts index 6f6d81f73bd..15131471c16 100644 --- a/src/gen/models/V1alpha1MatchCondition.ts +++ b/src/gen/models/V1alpha1MatchCondition.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; export class V1alpha1MatchCondition { /** diff --git a/src/gen/models/V1alpha1MatchResources.ts b/src/gen/models/V1alpha1MatchResources.ts index f2684e0d45d..756064ba352 100644 --- a/src/gen/models/V1alpha1MatchResources.ts +++ b/src/gen/models/V1alpha1MatchResources.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1LabelSelector } from '../models/V1LabelSelector.js'; -import { V1alpha1NamedRuleWithOperations } from '../models/V1alpha1NamedRuleWithOperations.js'; -import { HttpFile } from '../http/http.js'; +import { V1LabelSelector } from '../models/V1LabelSelector'; +import { V1alpha1NamedRuleWithOperations } from '../models/V1alpha1NamedRuleWithOperations'; +import { HttpFile } from '../http/http'; /** * MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded) diff --git a/src/gen/models/V1alpha1MigrationCondition.ts b/src/gen/models/V1alpha1MigrationCondition.ts index ebb02feb891..27ad8e3b0e1 100644 --- a/src/gen/models/V1alpha1MigrationCondition.ts +++ b/src/gen/models/V1alpha1MigrationCondition.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Describes the state of a migration at a certain point. diff --git a/src/gen/models/V1alpha1MutatingAdmissionPolicy.ts b/src/gen/models/V1alpha1MutatingAdmissionPolicy.ts new file mode 100644 index 00000000000..fa1a6f05a3b --- /dev/null +++ b/src/gen/models/V1alpha1MutatingAdmissionPolicy.ts @@ -0,0 +1,68 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1alpha1MutatingAdmissionPolicySpec } from '../models/V1alpha1MutatingAdmissionPolicySpec'; +import { HttpFile } from '../http/http'; + +/** +* MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain. +*/ +export class V1alpha1MutatingAdmissionPolicy { + /** + * 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 + */ + 'apiVersion'?: 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 + */ + 'kind'?: string; + 'metadata'?: V1ObjectMeta; + 'spec'?: V1alpha1MutatingAdmissionPolicySpec; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "V1alpha1MutatingAdmissionPolicySpec", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha1MutatingAdmissionPolicy.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha1MutatingAdmissionPolicyBinding.ts b/src/gen/models/V1alpha1MutatingAdmissionPolicyBinding.ts new file mode 100644 index 00000000000..2e2d70f047e --- /dev/null +++ b/src/gen/models/V1alpha1MutatingAdmissionPolicyBinding.ts @@ -0,0 +1,68 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1alpha1MutatingAdmissionPolicyBindingSpec } from '../models/V1alpha1MutatingAdmissionPolicyBindingSpec'; +import { HttpFile } from '../http/http'; + +/** +* MutatingAdmissionPolicyBinding binds the MutatingAdmissionPolicy with parametrized resources. MutatingAdmissionPolicyBinding and the optional parameter resource together define how cluster administrators configure policies for clusters. For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don\'t use params, otherwise N is the number of parameters selected by the binding. Each evaluation is constrained by a [runtime cost budget](https://kubernetes.io/docs/reference/using-api/cel/#runtime-cost-budget). Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget. +*/ +export class V1alpha1MutatingAdmissionPolicyBinding { + /** + * 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 + */ + 'apiVersion'?: 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 + */ + 'kind'?: string; + 'metadata'?: V1ObjectMeta; + 'spec'?: V1alpha1MutatingAdmissionPolicyBindingSpec; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "V1alpha1MutatingAdmissionPolicyBindingSpec", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha1MutatingAdmissionPolicyBinding.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha1MutatingAdmissionPolicyBindingList.ts b/src/gen/models/V1alpha1MutatingAdmissionPolicyBindingList.ts new file mode 100644 index 00000000000..1d14fd8d672 --- /dev/null +++ b/src/gen/models/V1alpha1MutatingAdmissionPolicyBindingList.ts @@ -0,0 +1,71 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1alpha1MutatingAdmissionPolicyBinding } from '../models/V1alpha1MutatingAdmissionPolicyBinding'; +import { HttpFile } from '../http/http'; + +/** +* MutatingAdmissionPolicyBindingList is a list of MutatingAdmissionPolicyBinding. +*/ +export class V1alpha1MutatingAdmissionPolicyBindingList { + /** + * 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 + */ + 'apiVersion'?: string; + /** + * List of PolicyBinding. + */ + 'items': Array; + /** + * 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 + */ + 'kind'?: string; + 'metadata'?: V1ListMeta; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ListMeta", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha1MutatingAdmissionPolicyBindingList.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha1MutatingAdmissionPolicyBindingSpec.ts b/src/gen/models/V1alpha1MutatingAdmissionPolicyBindingSpec.ts new file mode 100644 index 00000000000..ebd20391781 --- /dev/null +++ b/src/gen/models/V1alpha1MutatingAdmissionPolicyBindingSpec.ts @@ -0,0 +1,58 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1alpha1MatchResources } from '../models/V1alpha1MatchResources'; +import { V1alpha1ParamRef } from '../models/V1alpha1ParamRef'; +import { HttpFile } from '../http/http'; + +/** +* MutatingAdmissionPolicyBindingSpec is the specification of the MutatingAdmissionPolicyBinding. +*/ +export class V1alpha1MutatingAdmissionPolicyBindingSpec { + 'matchResources'?: V1alpha1MatchResources; + 'paramRef'?: V1alpha1ParamRef; + /** + * policyName references a MutatingAdmissionPolicy name which the MutatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required. + */ + 'policyName'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "matchResources", + "baseName": "matchResources", + "type": "V1alpha1MatchResources", + "format": "" + }, + { + "name": "paramRef", + "baseName": "paramRef", + "type": "V1alpha1ParamRef", + "format": "" + }, + { + "name": "policyName", + "baseName": "policyName", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha1MutatingAdmissionPolicyBindingSpec.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha1MutatingAdmissionPolicyList.ts b/src/gen/models/V1alpha1MutatingAdmissionPolicyList.ts new file mode 100644 index 00000000000..824026a4626 --- /dev/null +++ b/src/gen/models/V1alpha1MutatingAdmissionPolicyList.ts @@ -0,0 +1,71 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1alpha1MutatingAdmissionPolicy } from '../models/V1alpha1MutatingAdmissionPolicy'; +import { HttpFile } from '../http/http'; + +/** +* MutatingAdmissionPolicyList is a list of MutatingAdmissionPolicy. +*/ +export class V1alpha1MutatingAdmissionPolicyList { + /** + * 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 + */ + 'apiVersion'?: string; + /** + * List of ValidatingAdmissionPolicy. + */ + 'items': Array; + /** + * 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 + */ + 'kind'?: string; + 'metadata'?: V1ListMeta; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ListMeta", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha1MutatingAdmissionPolicyList.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha1MutatingAdmissionPolicySpec.ts b/src/gen/models/V1alpha1MutatingAdmissionPolicySpec.ts new file mode 100644 index 00000000000..5b8bf745286 --- /dev/null +++ b/src/gen/models/V1alpha1MutatingAdmissionPolicySpec.ts @@ -0,0 +1,101 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1alpha1MatchCondition } from '../models/V1alpha1MatchCondition'; +import { V1alpha1MatchResources } from '../models/V1alpha1MatchResources'; +import { V1alpha1Mutation } from '../models/V1alpha1Mutation'; +import { V1alpha1ParamKind } from '../models/V1alpha1ParamKind'; +import { V1alpha1Variable } from '../models/V1alpha1Variable'; +import { HttpFile } from '../http/http'; + +/** +* MutatingAdmissionPolicySpec is the specification of the desired behavior of the admission policy. +*/ +export class V1alpha1MutatingAdmissionPolicySpec { + /** + * failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings. A policy is invalid if paramKind refers to a non-existent Kind. A binding is invalid if paramRef.name refers to a non-existent resource. failurePolicy does not define how validations that evaluate to false are handled. Allowed values are Ignore or Fail. Defaults to Fail. + */ + 'failurePolicy'?: string; + /** + * matchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the matchConstraints. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed. If a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions. The exact matching logic is (in order): 1. If ANY matchCondition evaluates to FALSE, the policy is skipped. 2. If ALL matchConditions evaluate to TRUE, the policy is evaluated. 3. If any matchCondition evaluates to an error (but none are FALSE): - If failurePolicy=Fail, reject the request - If failurePolicy=Ignore, the policy is skipped + */ + 'matchConditions'?: Array; + 'matchConstraints'?: V1alpha1MatchResources; + /** + * mutations contain operations to perform on matching objects. mutations may not be empty; a minimum of one mutation is required. mutations are evaluated in order, and are reinvoked according to the reinvocationPolicy. The mutations of a policy are invoked for each binding of this policy and reinvocation of mutations occurs on a per binding basis. + */ + 'mutations'?: Array; + 'paramKind'?: V1alpha1ParamKind; + /** + * reinvocationPolicy indicates whether mutations may be called multiple times per MutatingAdmissionPolicyBinding as part of a single admission evaluation. Allowed values are \"Never\" and \"IfNeeded\". Never: These mutations will not be called more than once per binding in a single admission evaluation. IfNeeded: These mutations may be invoked more than once per binding for a single admission request and there is no guarantee of order with respect to other admission plugins, admission webhooks, bindings of this policy and admission policies. Mutations are only reinvoked when mutations change the object after this mutation is invoked. Required. + */ + 'reinvocationPolicy'?: string; + /** + * variables contain definitions of variables that can be used in composition of other expressions. Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except matchConditions because matchConditions are evaluated before the rest of the policy. The expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, variables must be sorted by the order of first appearance and acyclic. + */ + 'variables'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "failurePolicy", + "baseName": "failurePolicy", + "type": "string", + "format": "" + }, + { + "name": "matchConditions", + "baseName": "matchConditions", + "type": "Array", + "format": "" + }, + { + "name": "matchConstraints", + "baseName": "matchConstraints", + "type": "V1alpha1MatchResources", + "format": "" + }, + { + "name": "mutations", + "baseName": "mutations", + "type": "Array", + "format": "" + }, + { + "name": "paramKind", + "baseName": "paramKind", + "type": "V1alpha1ParamKind", + "format": "" + }, + { + "name": "reinvocationPolicy", + "baseName": "reinvocationPolicy", + "type": "string", + "format": "" + }, + { + "name": "variables", + "baseName": "variables", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha1MutatingAdmissionPolicySpec.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha1Mutation.ts b/src/gen/models/V1alpha1Mutation.ts new file mode 100644 index 00000000000..9bb1dc708fa --- /dev/null +++ b/src/gen/models/V1alpha1Mutation.ts @@ -0,0 +1,58 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1alpha1ApplyConfiguration } from '../models/V1alpha1ApplyConfiguration'; +import { V1alpha1JSONPatch } from '../models/V1alpha1JSONPatch'; +import { HttpFile } from '../http/http'; + +/** +* Mutation specifies the CEL expression which is used to apply the Mutation. +*/ +export class V1alpha1Mutation { + 'applyConfiguration'?: V1alpha1ApplyConfiguration; + 'jsonPatch'?: V1alpha1JSONPatch; + /** + * patchType indicates the patch strategy used. Allowed values are \"ApplyConfiguration\" and \"JSONPatch\". Required. + */ + 'patchType': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "applyConfiguration", + "baseName": "applyConfiguration", + "type": "V1alpha1ApplyConfiguration", + "format": "" + }, + { + "name": "jsonPatch", + "baseName": "jsonPatch", + "type": "V1alpha1JSONPatch", + "format": "" + }, + { + "name": "patchType", + "baseName": "patchType", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha1Mutation.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha1NamedRuleWithOperations.ts b/src/gen/models/V1alpha1NamedRuleWithOperations.ts index 2914f27ad68..5a8cd4e6d33 100644 --- a/src/gen/models/V1alpha1NamedRuleWithOperations.ts +++ b/src/gen/models/V1alpha1NamedRuleWithOperations.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames. diff --git a/src/gen/models/V1alpha1ParamKind.ts b/src/gen/models/V1alpha1ParamKind.ts index ad08a5521f4..fbedc493f60 100644 --- a/src/gen/models/V1alpha1ParamKind.ts +++ b/src/gen/models/V1alpha1ParamKind.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ParamKind is a tuple of Group Kind and Version. diff --git a/src/gen/models/V1alpha1ParamRef.ts b/src/gen/models/V1alpha1ParamRef.ts index 53c9462950d..9fe43c20026 100644 --- a/src/gen/models/V1alpha1ParamRef.ts +++ b/src/gen/models/V1alpha1ParamRef.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1LabelSelector } from '../models/V1LabelSelector.js'; -import { HttpFile } from '../http/http.js'; +import { V1LabelSelector } from '../models/V1LabelSelector'; +import { HttpFile } from '../http/http'; /** * ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding. diff --git a/src/gen/models/V1alpha1ServerStorageVersion.ts b/src/gen/models/V1alpha1ServerStorageVersion.ts index 16e6f3e41f9..de073db6116 100644 --- a/src/gen/models/V1alpha1ServerStorageVersion.ts +++ b/src/gen/models/V1alpha1ServerStorageVersion.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * An API server instance reports the version it can decode and the version it encodes objects to when persisting objects in the backend. diff --git a/src/gen/models/V1alpha1StorageVersion.ts b/src/gen/models/V1alpha1StorageVersion.ts index 02e08085c87..ad07e02a5df 100644 --- a/src/gen/models/V1alpha1StorageVersion.ts +++ b/src/gen/models/V1alpha1StorageVersion.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1alpha1StorageVersionStatus } from '../models/V1alpha1StorageVersionStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1alpha1StorageVersionStatus } from '../models/V1alpha1StorageVersionStatus'; +import { HttpFile } from '../http/http'; /** * Storage version of a specific resource. diff --git a/src/gen/models/V1alpha1StorageVersionCondition.ts b/src/gen/models/V1alpha1StorageVersionCondition.ts index 8bbe0ae9bff..de337744cd4 100644 --- a/src/gen/models/V1alpha1StorageVersionCondition.ts +++ b/src/gen/models/V1alpha1StorageVersionCondition.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Describes the state of the storageVersion at a certain point. diff --git a/src/gen/models/V1alpha1StorageVersionList.ts b/src/gen/models/V1alpha1StorageVersionList.ts index 8abc7503418..3061cf65f9b 100644 --- a/src/gen/models/V1alpha1StorageVersionList.ts +++ b/src/gen/models/V1alpha1StorageVersionList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1alpha1StorageVersion } from '../models/V1alpha1StorageVersion.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1alpha1StorageVersion } from '../models/V1alpha1StorageVersion'; +import { HttpFile } from '../http/http'; /** * A list of StorageVersions. diff --git a/src/gen/models/V1alpha1StorageVersionMigration.ts b/src/gen/models/V1alpha1StorageVersionMigration.ts index 7f2fc4baa78..b943720edbd 100644 --- a/src/gen/models/V1alpha1StorageVersionMigration.ts +++ b/src/gen/models/V1alpha1StorageVersionMigration.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1alpha1StorageVersionMigrationSpec } from '../models/V1alpha1StorageVersionMigrationSpec.js'; -import { V1alpha1StorageVersionMigrationStatus } from '../models/V1alpha1StorageVersionMigrationStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1alpha1StorageVersionMigrationSpec } from '../models/V1alpha1StorageVersionMigrationSpec'; +import { V1alpha1StorageVersionMigrationStatus } from '../models/V1alpha1StorageVersionMigrationStatus'; +import { HttpFile } from '../http/http'; /** * StorageVersionMigration represents a migration of stored data to the latest storage version. diff --git a/src/gen/models/V1alpha1StorageVersionMigrationList.ts b/src/gen/models/V1alpha1StorageVersionMigrationList.ts index bfc1a7449da..0d77553c493 100644 --- a/src/gen/models/V1alpha1StorageVersionMigrationList.ts +++ b/src/gen/models/V1alpha1StorageVersionMigrationList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1alpha1StorageVersionMigration } from '../models/V1alpha1StorageVersionMigration.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1alpha1StorageVersionMigration } from '../models/V1alpha1StorageVersionMigration'; +import { HttpFile } from '../http/http'; /** * StorageVersionMigrationList is a collection of storage version migrations. diff --git a/src/gen/models/V1alpha1StorageVersionMigrationSpec.ts b/src/gen/models/V1alpha1StorageVersionMigrationSpec.ts index 316be6af029..516e13fcc41 100644 --- a/src/gen/models/V1alpha1StorageVersionMigrationSpec.ts +++ b/src/gen/models/V1alpha1StorageVersionMigrationSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1alpha1GroupVersionResource } from '../models/V1alpha1GroupVersionResource.js'; -import { HttpFile } from '../http/http.js'; +import { V1alpha1GroupVersionResource } from '../models/V1alpha1GroupVersionResource'; +import { HttpFile } from '../http/http'; /** * Spec of the storage version migration. diff --git a/src/gen/models/V1alpha1StorageVersionMigrationStatus.ts b/src/gen/models/V1alpha1StorageVersionMigrationStatus.ts index 3b5df116307..9a56fe55fce 100644 --- a/src/gen/models/V1alpha1StorageVersionMigrationStatus.ts +++ b/src/gen/models/V1alpha1StorageVersionMigrationStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1alpha1MigrationCondition } from '../models/V1alpha1MigrationCondition.js'; -import { HttpFile } from '../http/http.js'; +import { V1alpha1MigrationCondition } from '../models/V1alpha1MigrationCondition'; +import { HttpFile } from '../http/http'; /** * Status of the storage version migration. diff --git a/src/gen/models/V1alpha1StorageVersionStatus.ts b/src/gen/models/V1alpha1StorageVersionStatus.ts index c37b65c26c3..6ab98a85604 100644 --- a/src/gen/models/V1alpha1StorageVersionStatus.ts +++ b/src/gen/models/V1alpha1StorageVersionStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1alpha1ServerStorageVersion } from '../models/V1alpha1ServerStorageVersion.js'; -import { V1alpha1StorageVersionCondition } from '../models/V1alpha1StorageVersionCondition.js'; -import { HttpFile } from '../http/http.js'; +import { V1alpha1ServerStorageVersion } from '../models/V1alpha1ServerStorageVersion'; +import { V1alpha1StorageVersionCondition } from '../models/V1alpha1StorageVersionCondition'; +import { HttpFile } from '../http/http'; /** * API server instances report the versions they can decode and the version they encode objects to when persisting objects in the backend. diff --git a/src/gen/models/V1alpha1Variable.ts b/src/gen/models/V1alpha1Variable.ts index c0c7c880926..b81955149b4 100644 --- a/src/gen/models/V1alpha1Variable.ts +++ b/src/gen/models/V1alpha1Variable.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Variable is the definition of a variable that is used for composition. diff --git a/src/gen/models/V1alpha1VolumeAttributesClass.ts b/src/gen/models/V1alpha1VolumeAttributesClass.ts index b9a9c26c484..b60e6120f6c 100644 --- a/src/gen/models/V1alpha1VolumeAttributesClass.ts +++ b/src/gen/models/V1alpha1VolumeAttributesClass.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; /** * VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning. diff --git a/src/gen/models/V1alpha1VolumeAttributesClassList.ts b/src/gen/models/V1alpha1VolumeAttributesClassList.ts index dbfdbceb0ef..108c55eb85c 100644 --- a/src/gen/models/V1alpha1VolumeAttributesClassList.ts +++ b/src/gen/models/V1alpha1VolumeAttributesClassList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1alpha1VolumeAttributesClass } from '../models/V1alpha1VolumeAttributesClass.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1alpha1VolumeAttributesClass } from '../models/V1alpha1VolumeAttributesClass'; +import { HttpFile } from '../http/http'; /** * VolumeAttributesClassList is a collection of VolumeAttributesClass objects. diff --git a/src/gen/models/V1alpha2LeaseCandidate.ts b/src/gen/models/V1alpha2LeaseCandidate.ts new file mode 100644 index 00000000000..4452f574c55 --- /dev/null +++ b/src/gen/models/V1alpha2LeaseCandidate.ts @@ -0,0 +1,68 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1alpha2LeaseCandidateSpec } from '../models/V1alpha2LeaseCandidateSpec'; +import { HttpFile } from '../http/http'; + +/** +* LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates. +*/ +export class V1alpha2LeaseCandidate { + /** + * 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 + */ + 'apiVersion'?: 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 + */ + 'kind'?: string; + 'metadata'?: V1ObjectMeta; + 'spec'?: V1alpha2LeaseCandidateSpec; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "V1alpha2LeaseCandidateSpec", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha2LeaseCandidate.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha2LeaseCandidateList.ts b/src/gen/models/V1alpha2LeaseCandidateList.ts new file mode 100644 index 00000000000..f0108b9148a --- /dev/null +++ b/src/gen/models/V1alpha2LeaseCandidateList.ts @@ -0,0 +1,71 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1alpha2LeaseCandidate } from '../models/V1alpha2LeaseCandidate'; +import { HttpFile } from '../http/http'; + +/** +* LeaseCandidateList is a list of Lease objects. +*/ +export class V1alpha2LeaseCandidateList { + /** + * 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 + */ + 'apiVersion'?: string; + /** + * items is a list of schema objects. + */ + 'items': Array; + /** + * 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 + */ + 'kind'?: string; + 'metadata'?: V1ListMeta; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ListMeta", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha2LeaseCandidateList.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha2LeaseCandidateSpec.ts b/src/gen/models/V1alpha2LeaseCandidateSpec.ts new file mode 100644 index 00000000000..fc6d69673ee --- /dev/null +++ b/src/gen/models/V1alpha2LeaseCandidateSpec.ts @@ -0,0 +1,93 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1MicroTime } from '../../types'; +import { HttpFile } from '../http/http'; + +/** +* LeaseCandidateSpec is a specification of a Lease. +*/ +export class V1alpha2LeaseCandidateSpec { + /** + * BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required. + */ + 'binaryVersion': string; + /** + * EmulationVersion is the emulation version. It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is \"OldestEmulationVersion\" + */ + 'emulationVersion'?: string; + /** + * LeaseName is the name of the lease for which this candidate is contending. This field is immutable. + */ + 'leaseName': string; + /** + * MicroTime is version of Time with microsecond level precision. + */ + 'pingTime'?: V1MicroTime; + /** + * MicroTime is version of Time with microsecond level precision. + */ + 'renewTime'?: V1MicroTime; + /** + * Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled. + */ + 'strategy': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "binaryVersion", + "baseName": "binaryVersion", + "type": "string", + "format": "" + }, + { + "name": "emulationVersion", + "baseName": "emulationVersion", + "type": "string", + "format": "" + }, + { + "name": "leaseName", + "baseName": "leaseName", + "type": "string", + "format": "" + }, + { + "name": "pingTime", + "baseName": "pingTime", + "type": "V1MicroTime", + "format": "date-time-micro" + }, + { + "name": "renewTime", + "baseName": "renewTime", + "type": "V1MicroTime", + "format": "date-time-micro" + }, + { + "name": "strategy", + "baseName": "strategy", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha2LeaseCandidateSpec.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3AllocatedDeviceStatus.ts b/src/gen/models/V1alpha3AllocatedDeviceStatus.ts new file mode 100644 index 00000000000..129cc60b456 --- /dev/null +++ b/src/gen/models/V1alpha3AllocatedDeviceStatus.ts @@ -0,0 +1,91 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1Condition } from '../models/V1Condition'; +import { V1alpha3NetworkDeviceData } from '../models/V1alpha3NetworkDeviceData'; +import { HttpFile } from '../http/http'; + +/** +* AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information. +*/ +export class V1alpha3AllocatedDeviceStatus { + /** + * Conditions contains the latest observation of the device\'s state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True. + */ + 'conditions'?: Array; + /** + * Data contains arbitrary driver-specific data. The length of the raw data must be smaller or equal to 10 Ki. + */ + 'data'?: any; + /** + * Device references one device instance via its name in the driver\'s resource pool. It must be a DNS label. + */ + 'device': string; + /** + * Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. + */ + 'driver': string; + 'networkData'?: V1alpha3NetworkDeviceData; + /** + * This name together with the driver name and the device name field identify which device was allocated (`//`). Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes. + */ + 'pool': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "conditions", + "baseName": "conditions", + "type": "Array", + "format": "" + }, + { + "name": "data", + "baseName": "data", + "type": "any", + "format": "" + }, + { + "name": "device", + "baseName": "device", + "type": "string", + "format": "" + }, + { + "name": "driver", + "baseName": "driver", + "type": "string", + "format": "" + }, + { + "name": "networkData", + "baseName": "networkData", + "type": "V1alpha3NetworkDeviceData", + "format": "" + }, + { + "name": "pool", + "baseName": "pool", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3AllocatedDeviceStatus.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3AllocationResult.ts b/src/gen/models/V1alpha3AllocationResult.ts new file mode 100644 index 00000000000..4fd6baf440c --- /dev/null +++ b/src/gen/models/V1alpha3AllocationResult.ts @@ -0,0 +1,48 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1NodeSelector } from '../models/V1NodeSelector'; +import { V1alpha3DeviceAllocationResult } from '../models/V1alpha3DeviceAllocationResult'; +import { HttpFile } from '../http/http'; + +/** +* AllocationResult contains attributes of an allocated resource. +*/ +export class V1alpha3AllocationResult { + 'devices'?: V1alpha3DeviceAllocationResult; + 'nodeSelector'?: V1NodeSelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "devices", + "baseName": "devices", + "type": "V1alpha3DeviceAllocationResult", + "format": "" + }, + { + "name": "nodeSelector", + "baseName": "nodeSelector", + "type": "V1NodeSelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3AllocationResult.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3BasicDevice.ts b/src/gen/models/V1alpha3BasicDevice.ts new file mode 100644 index 00000000000..6b4f39a2b92 --- /dev/null +++ b/src/gen/models/V1alpha3BasicDevice.ts @@ -0,0 +1,53 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1alpha3DeviceAttribute } from '../models/V1alpha3DeviceAttribute'; +import { HttpFile } from '../http/http'; + +/** +* BasicDevice defines one device instance. +*/ +export class V1alpha3BasicDevice { + /** + * Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set. The maximum number of attributes and capacities combined is 32. + */ + 'attributes'?: { [key: string]: V1alpha3DeviceAttribute; }; + /** + * Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set. The maximum number of attributes and capacities combined is 32. + */ + 'capacity'?: { [key: string]: string; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "attributes", + "baseName": "attributes", + "type": "{ [key: string]: V1alpha3DeviceAttribute; }", + "format": "" + }, + { + "name": "capacity", + "baseName": "capacity", + "type": "{ [key: string]: string; }", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3BasicDevice.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3CELDeviceSelector.ts b/src/gen/models/V1alpha3CELDeviceSelector.ts new file mode 100644 index 00000000000..cf38185beb2 --- /dev/null +++ b/src/gen/models/V1alpha3CELDeviceSelector.ts @@ -0,0 +1,42 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* CELDeviceSelector contains a CEL expression for selecting a device. +*/ +export class V1alpha3CELDeviceSelector { + /** + * Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. The expression\'s input is an object named \"device\", which carries the following properties: - driver (string): the name of the driver which defines this device. - attributes (map[string]object): the device\'s attributes, grouped by prefix (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all of the attributes which were prefixed by \"dra.example.com\". - capacity (map[string]object): the device\'s capacities, grouped by prefix. Example: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields: device.driver device.attributes[\"dra.example.com\"].model device.attributes[\"ext.example.com\"].family device.capacity[\"dra.example.com\"].modules The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers. The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity. If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort. A robust expression should check for the existence of attributes before referencing them. For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example: cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool) The length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps. + */ + 'expression': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "expression", + "baseName": "expression", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3CELDeviceSelector.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3Device.ts b/src/gen/models/V1alpha3Device.ts new file mode 100644 index 00000000000..67aef42907e --- /dev/null +++ b/src/gen/models/V1alpha3Device.ts @@ -0,0 +1,50 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1alpha3BasicDevice } from '../models/V1alpha3BasicDevice'; +import { HttpFile } from '../http/http'; + +/** +* Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set. +*/ +export class V1alpha3Device { + 'basic'?: V1alpha3BasicDevice; + /** + * Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label. + */ + 'name': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "basic", + "baseName": "basic", + "type": "V1alpha3BasicDevice", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3Device.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3DeviceAllocationConfiguration.ts b/src/gen/models/V1alpha3DeviceAllocationConfiguration.ts new file mode 100644 index 00000000000..2296491884e --- /dev/null +++ b/src/gen/models/V1alpha3DeviceAllocationConfiguration.ts @@ -0,0 +1,60 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1alpha3OpaqueDeviceConfiguration } from '../models/V1alpha3OpaqueDeviceConfiguration'; +import { HttpFile } from '../http/http'; + +/** +* DeviceAllocationConfiguration gets embedded in an AllocationResult. +*/ +export class V1alpha3DeviceAllocationConfiguration { + 'opaque'?: V1alpha3OpaqueDeviceConfiguration; + /** + * Requests lists the names of requests where the configuration applies. If empty, its applies to all requests. + */ + 'requests'?: Array; + /** + * Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim. + */ + 'source': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "opaque", + "baseName": "opaque", + "type": "V1alpha3OpaqueDeviceConfiguration", + "format": "" + }, + { + "name": "requests", + "baseName": "requests", + "type": "Array", + "format": "" + }, + { + "name": "source", + "baseName": "source", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3DeviceAllocationConfiguration.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3DeviceAllocationResult.ts b/src/gen/models/V1alpha3DeviceAllocationResult.ts new file mode 100644 index 00000000000..4457839a75b --- /dev/null +++ b/src/gen/models/V1alpha3DeviceAllocationResult.ts @@ -0,0 +1,54 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1alpha3DeviceAllocationConfiguration } from '../models/V1alpha3DeviceAllocationConfiguration'; +import { V1alpha3DeviceRequestAllocationResult } from '../models/V1alpha3DeviceRequestAllocationResult'; +import { HttpFile } from '../http/http'; + +/** +* DeviceAllocationResult is the result of allocating devices. +*/ +export class V1alpha3DeviceAllocationResult { + /** + * This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag. This includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters. + */ + 'config'?: Array; + /** + * Results lists all allocated devices. + */ + 'results'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "config", + "baseName": "config", + "type": "Array", + "format": "" + }, + { + "name": "results", + "baseName": "results", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3DeviceAllocationResult.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3DeviceAttribute.ts b/src/gen/models/V1alpha3DeviceAttribute.ts new file mode 100644 index 00000000000..6c391cdcb70 --- /dev/null +++ b/src/gen/models/V1alpha3DeviceAttribute.ts @@ -0,0 +1,72 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* DeviceAttribute must have exactly one field set. +*/ +export class V1alpha3DeviceAttribute { + /** + * BoolValue is a true/false value. + */ + 'bool'?: boolean; + /** + * IntValue is a number. + */ + '_int'?: number; + /** + * StringValue is a string. Must not be longer than 64 characters. + */ + 'string'?: string; + /** + * VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters. + */ + 'version'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "bool", + "baseName": "bool", + "type": "boolean", + "format": "" + }, + { + "name": "_int", + "baseName": "int", + "type": "number", + "format": "int64" + }, + { + "name": "string", + "baseName": "string", + "type": "string", + "format": "" + }, + { + "name": "version", + "baseName": "version", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3DeviceAttribute.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3DeviceClaim.ts b/src/gen/models/V1alpha3DeviceClaim.ts new file mode 100644 index 00000000000..7f1a996e878 --- /dev/null +++ b/src/gen/models/V1alpha3DeviceClaim.ts @@ -0,0 +1,65 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1alpha3DeviceClaimConfiguration } from '../models/V1alpha3DeviceClaimConfiguration'; +import { V1alpha3DeviceConstraint } from '../models/V1alpha3DeviceConstraint'; +import { V1alpha3DeviceRequest } from '../models/V1alpha3DeviceRequest'; +import { HttpFile } from '../http/http'; + +/** +* DeviceClaim defines how to request devices with a ResourceClaim. +*/ +export class V1alpha3DeviceClaim { + /** + * This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim. + */ + 'config'?: Array; + /** + * These constraints must be satisfied by the set of devices that get allocated for the claim. + */ + 'constraints'?: Array; + /** + * Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated. + */ + 'requests'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "config", + "baseName": "config", + "type": "Array", + "format": "" + }, + { + "name": "constraints", + "baseName": "constraints", + "type": "Array", + "format": "" + }, + { + "name": "requests", + "baseName": "requests", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3DeviceClaim.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3DeviceClaimConfiguration.ts b/src/gen/models/V1alpha3DeviceClaimConfiguration.ts new file mode 100644 index 00000000000..fb5081ccb08 --- /dev/null +++ b/src/gen/models/V1alpha3DeviceClaimConfiguration.ts @@ -0,0 +1,50 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1alpha3OpaqueDeviceConfiguration } from '../models/V1alpha3OpaqueDeviceConfiguration'; +import { HttpFile } from '../http/http'; + +/** +* DeviceClaimConfiguration is used for configuration parameters in DeviceClaim. +*/ +export class V1alpha3DeviceClaimConfiguration { + 'opaque'?: V1alpha3OpaqueDeviceConfiguration; + /** + * Requests lists the names of requests where the configuration applies. If empty, it applies to all requests. + */ + 'requests'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "opaque", + "baseName": "opaque", + "type": "V1alpha3OpaqueDeviceConfiguration", + "format": "" + }, + { + "name": "requests", + "baseName": "requests", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3DeviceClaimConfiguration.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3DeviceClass.ts b/src/gen/models/V1alpha3DeviceClass.ts new file mode 100644 index 00000000000..6b2a59a5f85 --- /dev/null +++ b/src/gen/models/V1alpha3DeviceClass.ts @@ -0,0 +1,68 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1alpha3DeviceClassSpec } from '../models/V1alpha3DeviceClassSpec'; +import { HttpFile } from '../http/http'; + +/** +* DeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors. It can be referenced in the device requests of a claim to apply these presets. Cluster scoped. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate. +*/ +export class V1alpha3DeviceClass { + /** + * 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 + */ + 'apiVersion'?: 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 + */ + 'kind'?: string; + 'metadata'?: V1ObjectMeta; + 'spec': V1alpha3DeviceClassSpec; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "V1alpha3DeviceClassSpec", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3DeviceClass.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3DeviceClassConfiguration.ts b/src/gen/models/V1alpha3DeviceClassConfiguration.ts new file mode 100644 index 00000000000..d06e7493afc --- /dev/null +++ b/src/gen/models/V1alpha3DeviceClassConfiguration.ts @@ -0,0 +1,40 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1alpha3OpaqueDeviceConfiguration } from '../models/V1alpha3OpaqueDeviceConfiguration'; +import { HttpFile } from '../http/http'; + +/** +* DeviceClassConfiguration is used in DeviceClass. +*/ +export class V1alpha3DeviceClassConfiguration { + 'opaque'?: V1alpha3OpaqueDeviceConfiguration; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "opaque", + "baseName": "opaque", + "type": "V1alpha3OpaqueDeviceConfiguration", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3DeviceClassConfiguration.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3DeviceClassList.ts b/src/gen/models/V1alpha3DeviceClassList.ts new file mode 100644 index 00000000000..b6487d8bf10 --- /dev/null +++ b/src/gen/models/V1alpha3DeviceClassList.ts @@ -0,0 +1,71 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1alpha3DeviceClass } from '../models/V1alpha3DeviceClass'; +import { HttpFile } from '../http/http'; + +/** +* DeviceClassList is a collection of classes. +*/ +export class V1alpha3DeviceClassList { + /** + * 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 + */ + 'apiVersion'?: string; + /** + * Items is the list of resource classes. + */ + 'items': Array; + /** + * 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 + */ + 'kind'?: string; + 'metadata'?: V1ListMeta; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ListMeta", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3DeviceClassList.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3DeviceClassSpec.ts b/src/gen/models/V1alpha3DeviceClassSpec.ts new file mode 100644 index 00000000000..025ef09117e --- /dev/null +++ b/src/gen/models/V1alpha3DeviceClassSpec.ts @@ -0,0 +1,54 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1alpha3DeviceClassConfiguration } from '../models/V1alpha3DeviceClassConfiguration'; +import { V1alpha3DeviceSelector } from '../models/V1alpha3DeviceSelector'; +import { HttpFile } from '../http/http'; + +/** +* DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it. +*/ +export class V1alpha3DeviceClassSpec { + /** + * Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver. They are passed to the driver, but are not considered while allocating the claim. + */ + 'config'?: Array; + /** + * Each selector must be satisfied by a device which is claimed via this class. + */ + 'selectors'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "config", + "baseName": "config", + "type": "Array", + "format": "" + }, + { + "name": "selectors", + "baseName": "selectors", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3DeviceClassSpec.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3DeviceConstraint.ts b/src/gen/models/V1alpha3DeviceConstraint.ts new file mode 100644 index 00000000000..0a272e4bbbe --- /dev/null +++ b/src/gen/models/V1alpha3DeviceConstraint.ts @@ -0,0 +1,52 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* DeviceConstraint must have exactly one field set besides Requests. +*/ +export class V1alpha3DeviceConstraint { + /** + * MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices. For example, if you specified \"dra.example.com/numa\" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn\'t, then it also will not be chosen. Must include the domain qualifier. + */ + 'matchAttribute'?: string; + /** + * Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim. + */ + 'requests'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "matchAttribute", + "baseName": "matchAttribute", + "type": "string", + "format": "" + }, + { + "name": "requests", + "baseName": "requests", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3DeviceConstraint.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3DeviceRequest.ts b/src/gen/models/V1alpha3DeviceRequest.ts new file mode 100644 index 00000000000..62bc51a74ba --- /dev/null +++ b/src/gen/models/V1alpha3DeviceRequest.ts @@ -0,0 +1,93 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1alpha3DeviceSelector } from '../models/V1alpha3DeviceSelector'; +import { HttpFile } from '../http/http'; + +/** +* DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices. A DeviceClassName is currently required. Clients must check that it is indeed set. It\'s absence indicates that something changed in a way that is not supported by the client yet, in which case it must refuse to handle the request. +*/ +export class V1alpha3DeviceRequest { + /** + * AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations. This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled. + */ + 'adminAccess'?: boolean; + /** + * AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are: - ExactCount: This request is for a specific number of devices. This is the default. The exact number is provided in the count field. - All: This request is for all of the matching devices in a pool. Allocation will fail if some devices are already allocated, unless adminAccess is requested. If AlloctionMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field. More modes may get added in the future. Clients must refuse to handle requests with unknown modes. + */ + 'allocationMode'?: string; + /** + * Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one. + */ + 'count'?: number; + /** + * DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request. A class is required. Which classes are available depends on the cluster. Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference. + */ + 'deviceClassName': string; + /** + * Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim. Must be a DNS label. + */ + 'name': string; + /** + * Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered. + */ + 'selectors'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "adminAccess", + "baseName": "adminAccess", + "type": "boolean", + "format": "" + }, + { + "name": "allocationMode", + "baseName": "allocationMode", + "type": "string", + "format": "" + }, + { + "name": "count", + "baseName": "count", + "type": "number", + "format": "int64" + }, + { + "name": "deviceClassName", + "baseName": "deviceClassName", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "selectors", + "baseName": "selectors", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3DeviceRequest.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3DeviceRequestAllocationResult.ts b/src/gen/models/V1alpha3DeviceRequestAllocationResult.ts new file mode 100644 index 00000000000..0264e59f52f --- /dev/null +++ b/src/gen/models/V1alpha3DeviceRequestAllocationResult.ts @@ -0,0 +1,82 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* DeviceRequestAllocationResult contains the allocation result for one request. +*/ +export class V1alpha3DeviceRequestAllocationResult { + /** + * AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode. This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled. + */ + 'adminAccess'?: boolean; + /** + * Device references one device instance via its name in the driver\'s resource pool. It must be a DNS label. + */ + 'device': string; + /** + * Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. + */ + 'driver': string; + /** + * This name together with the driver name and the device name field identify which device was allocated (`//`). Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes. + */ + 'pool': string; + /** + * Request is the name of the request in the claim which caused this device to be allocated. Multiple devices may have been allocated per request. + */ + 'request': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "adminAccess", + "baseName": "adminAccess", + "type": "boolean", + "format": "" + }, + { + "name": "device", + "baseName": "device", + "type": "string", + "format": "" + }, + { + "name": "driver", + "baseName": "driver", + "type": "string", + "format": "" + }, + { + "name": "pool", + "baseName": "pool", + "type": "string", + "format": "" + }, + { + "name": "request", + "baseName": "request", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3DeviceRequestAllocationResult.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3DeviceSelector.ts b/src/gen/models/V1alpha3DeviceSelector.ts new file mode 100644 index 00000000000..b388f7f0672 --- /dev/null +++ b/src/gen/models/V1alpha3DeviceSelector.ts @@ -0,0 +1,40 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1alpha3CELDeviceSelector } from '../models/V1alpha3CELDeviceSelector'; +import { HttpFile } from '../http/http'; + +/** +* DeviceSelector must have exactly one field set. +*/ +export class V1alpha3DeviceSelector { + 'cel'?: V1alpha3CELDeviceSelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "cel", + "baseName": "cel", + "type": "V1alpha3CELDeviceSelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3DeviceSelector.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3NetworkDeviceData.ts b/src/gen/models/V1alpha3NetworkDeviceData.ts new file mode 100644 index 00000000000..0f30af6ac6a --- /dev/null +++ b/src/gen/models/V1alpha3NetworkDeviceData.ts @@ -0,0 +1,62 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context. +*/ +export class V1alpha3NetworkDeviceData { + /** + * HardwareAddress represents the hardware address (e.g. MAC Address) of the device\'s network interface. Must not be longer than 128 characters. + */ + 'hardwareAddress'?: string; + /** + * InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod. Must not be longer than 256 characters. + */ + 'interfaceName'?: string; + /** + * IPs lists the network addresses assigned to the device\'s network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: \"192.0.2.5/24\" for IPv4 and \"2001:db8::5/64\" for IPv6. + */ + 'ips'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "hardwareAddress", + "baseName": "hardwareAddress", + "type": "string", + "format": "" + }, + { + "name": "interfaceName", + "baseName": "interfaceName", + "type": "string", + "format": "" + }, + { + "name": "ips", + "baseName": "ips", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3NetworkDeviceData.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3OpaqueDeviceConfiguration.ts b/src/gen/models/V1alpha3OpaqueDeviceConfiguration.ts new file mode 100644 index 00000000000..17142d77abd --- /dev/null +++ b/src/gen/models/V1alpha3OpaqueDeviceConfiguration.ts @@ -0,0 +1,52 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor. +*/ +export class V1alpha3OpaqueDeviceConfiguration { + /** + * Driver is used to determine which kubelet plugin needs to be passed these configuration parameters. An admission policy provided by the driver developer could use this to decide whether it needs to validate them. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. + */ + 'driver': string; + /** + * Parameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version (\"kind\" + \"apiVersion\" for Kubernetes types), with conversion between different versions. The length of the raw data must be smaller or equal to 10 Ki. + */ + 'parameters': any; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "driver", + "baseName": "driver", + "type": "string", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "any", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3OpaqueDeviceConfiguration.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3ResourceClaim.ts b/src/gen/models/V1alpha3ResourceClaim.ts new file mode 100644 index 00000000000..4a75ae2b95f --- /dev/null +++ b/src/gen/models/V1alpha3ResourceClaim.ts @@ -0,0 +1,76 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1alpha3ResourceClaimSpec } from '../models/V1alpha3ResourceClaimSpec'; +import { V1alpha3ResourceClaimStatus } from '../models/V1alpha3ResourceClaimStatus'; +import { HttpFile } from '../http/http'; + +/** +* ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate. +*/ +export class V1alpha3ResourceClaim { + /** + * 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 + */ + 'apiVersion'?: 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 + */ + 'kind'?: string; + 'metadata'?: V1ObjectMeta; + 'spec': V1alpha3ResourceClaimSpec; + 'status'?: V1alpha3ResourceClaimStatus; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "V1alpha3ResourceClaimSpec", + "format": "" + }, + { + "name": "status", + "baseName": "status", + "type": "V1alpha3ResourceClaimStatus", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3ResourceClaim.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3ResourceClaimConsumerReference.ts b/src/gen/models/V1alpha3ResourceClaimConsumerReference.ts new file mode 100644 index 00000000000..cc8e797a769 --- /dev/null +++ b/src/gen/models/V1alpha3ResourceClaimConsumerReference.ts @@ -0,0 +1,72 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim. +*/ +export class V1alpha3ResourceClaimConsumerReference { + /** + * APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources. + */ + 'apiGroup'?: string; + /** + * Name is the name of resource being referenced. + */ + 'name': string; + /** + * Resource is the type of resource being referenced, for example \"pods\". + */ + 'resource': string; + /** + * UID identifies exactly one incarnation of the resource. + */ + 'uid': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiGroup", + "baseName": "apiGroup", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "resource", + "baseName": "resource", + "type": "string", + "format": "" + }, + { + "name": "uid", + "baseName": "uid", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3ResourceClaimConsumerReference.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3ResourceClaimList.ts b/src/gen/models/V1alpha3ResourceClaimList.ts new file mode 100644 index 00000000000..6416827fae2 --- /dev/null +++ b/src/gen/models/V1alpha3ResourceClaimList.ts @@ -0,0 +1,71 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1alpha3ResourceClaim } from '../models/V1alpha3ResourceClaim'; +import { HttpFile } from '../http/http'; + +/** +* ResourceClaimList is a collection of claims. +*/ +export class V1alpha3ResourceClaimList { + /** + * 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 + */ + 'apiVersion'?: string; + /** + * Items is the list of resource claims. + */ + 'items': Array; + /** + * 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 + */ + 'kind'?: string; + 'metadata'?: V1ListMeta; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ListMeta", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3ResourceClaimList.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3ResourceClaimSpec.ts b/src/gen/models/V1alpha3ResourceClaimSpec.ts new file mode 100644 index 00000000000..91ef35ed290 --- /dev/null +++ b/src/gen/models/V1alpha3ResourceClaimSpec.ts @@ -0,0 +1,40 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1alpha3DeviceClaim } from '../models/V1alpha3DeviceClaim'; +import { HttpFile } from '../http/http'; + +/** +* ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it. +*/ +export class V1alpha3ResourceClaimSpec { + 'devices'?: V1alpha3DeviceClaim; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "devices", + "baseName": "devices", + "type": "V1alpha3DeviceClaim", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3ResourceClaimSpec.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3ResourceClaimStatus.ts b/src/gen/models/V1alpha3ResourceClaimStatus.ts new file mode 100644 index 00000000000..66d6d75c21e --- /dev/null +++ b/src/gen/models/V1alpha3ResourceClaimStatus.ts @@ -0,0 +1,62 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1alpha3AllocatedDeviceStatus } from '../models/V1alpha3AllocatedDeviceStatus'; +import { V1alpha3AllocationResult } from '../models/V1alpha3AllocationResult'; +import { V1alpha3ResourceClaimConsumerReference } from '../models/V1alpha3ResourceClaimConsumerReference'; +import { HttpFile } from '../http/http'; + +/** +* ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was. +*/ +export class V1alpha3ResourceClaimStatus { + 'allocation'?: V1alpha3AllocationResult; + /** + * Devices contains the status of each device allocated for this claim, as reported by the driver. This can include driver-specific information. Entries are owned by their respective drivers. + */ + 'devices'?: Array; + /** + * ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated. In a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled. Both schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again. There can be at most 32 such reservations. This may get increased in the future, but not reduced. + */ + 'reservedFor'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "allocation", + "baseName": "allocation", + "type": "V1alpha3AllocationResult", + "format": "" + }, + { + "name": "devices", + "baseName": "devices", + "type": "Array", + "format": "" + }, + { + "name": "reservedFor", + "baseName": "reservedFor", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3ResourceClaimStatus.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3ResourceClaimTemplate.ts b/src/gen/models/V1alpha3ResourceClaimTemplate.ts new file mode 100644 index 00000000000..95667270a7e --- /dev/null +++ b/src/gen/models/V1alpha3ResourceClaimTemplate.ts @@ -0,0 +1,68 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1alpha3ResourceClaimTemplateSpec } from '../models/V1alpha3ResourceClaimTemplateSpec'; +import { HttpFile } from '../http/http'; + +/** +* ResourceClaimTemplate is used to produce ResourceClaim objects. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate. +*/ +export class V1alpha3ResourceClaimTemplate { + /** + * 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 + */ + 'apiVersion'?: 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 + */ + 'kind'?: string; + 'metadata'?: V1ObjectMeta; + 'spec': V1alpha3ResourceClaimTemplateSpec; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "V1alpha3ResourceClaimTemplateSpec", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3ResourceClaimTemplate.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3ResourceClaimTemplateList.ts b/src/gen/models/V1alpha3ResourceClaimTemplateList.ts new file mode 100644 index 00000000000..59d0c7df340 --- /dev/null +++ b/src/gen/models/V1alpha3ResourceClaimTemplateList.ts @@ -0,0 +1,71 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1alpha3ResourceClaimTemplate } from '../models/V1alpha3ResourceClaimTemplate'; +import { HttpFile } from '../http/http'; + +/** +* ResourceClaimTemplateList is a collection of claim templates. +*/ +export class V1alpha3ResourceClaimTemplateList { + /** + * 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 + */ + 'apiVersion'?: string; + /** + * Items is the list of resource claim templates. + */ + 'items': Array; + /** + * 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 + */ + 'kind'?: string; + 'metadata'?: V1ListMeta; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ListMeta", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3ResourceClaimTemplateList.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3ResourceClaimTemplateSpec.ts b/src/gen/models/V1alpha3ResourceClaimTemplateSpec.ts new file mode 100644 index 00000000000..a9b7647ba77 --- /dev/null +++ b/src/gen/models/V1alpha3ResourceClaimTemplateSpec.ts @@ -0,0 +1,48 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1alpha3ResourceClaimSpec } from '../models/V1alpha3ResourceClaimSpec'; +import { HttpFile } from '../http/http'; + +/** +* ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim. +*/ +export class V1alpha3ResourceClaimTemplateSpec { + 'metadata'?: V1ObjectMeta; + 'spec': V1alpha3ResourceClaimSpec; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "V1alpha3ResourceClaimSpec", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3ResourceClaimTemplateSpec.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3ResourcePool.ts b/src/gen/models/V1alpha3ResourcePool.ts new file mode 100644 index 00000000000..06e2ae35dc2 --- /dev/null +++ b/src/gen/models/V1alpha3ResourcePool.ts @@ -0,0 +1,62 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ResourcePool describes the pool that ResourceSlices belong to. +*/ +export class V1alpha3ResourcePool { + /** + * Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted. Combined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state. + */ + 'generation': number; + /** + * Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required. It must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable. + */ + 'name': string; + /** + * ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero. Consumers can use this to check whether they have seen all ResourceSlices belonging to the same pool. + */ + 'resourceSliceCount': number; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "generation", + "baseName": "generation", + "type": "number", + "format": "int64" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "resourceSliceCount", + "baseName": "resourceSliceCount", + "type": "number", + "format": "int64" + } ]; + + static getAttributeTypeMap() { + return V1alpha3ResourcePool.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3ResourceSlice.ts b/src/gen/models/V1alpha3ResourceSlice.ts new file mode 100644 index 00000000000..16f8d017433 --- /dev/null +++ b/src/gen/models/V1alpha3ResourceSlice.ts @@ -0,0 +1,68 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1alpha3ResourceSliceSpec } from '../models/V1alpha3ResourceSliceSpec'; +import { HttpFile } from '../http/http'; + +/** +* ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver. At the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple , , . Whenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others. When allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool. For resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate. +*/ +export class V1alpha3ResourceSlice { + /** + * 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 + */ + 'apiVersion'?: 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 + */ + 'kind'?: string; + 'metadata'?: V1ObjectMeta; + 'spec': V1alpha3ResourceSliceSpec; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "V1alpha3ResourceSliceSpec", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3ResourceSlice.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3ResourceSliceList.ts b/src/gen/models/V1alpha3ResourceSliceList.ts new file mode 100644 index 00000000000..34ae30024d9 --- /dev/null +++ b/src/gen/models/V1alpha3ResourceSliceList.ts @@ -0,0 +1,71 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1alpha3ResourceSlice } from '../models/V1alpha3ResourceSlice'; +import { HttpFile } from '../http/http'; + +/** +* ResourceSliceList is a collection of ResourceSlices. +*/ +export class V1alpha3ResourceSliceList { + /** + * 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 + */ + 'apiVersion'?: string; + /** + * Items is the list of resource ResourceSlices. + */ + 'items': Array; + /** + * 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 + */ + 'kind'?: string; + 'metadata'?: V1ListMeta; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ListMeta", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3ResourceSliceList.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1alpha3ResourceSliceSpec.ts b/src/gen/models/V1alpha3ResourceSliceSpec.ts new file mode 100644 index 00000000000..199d4da351e --- /dev/null +++ b/src/gen/models/V1alpha3ResourceSliceSpec.ts @@ -0,0 +1,89 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1NodeSelector } from '../models/V1NodeSelector'; +import { V1alpha3Device } from '../models/V1alpha3Device'; +import { V1alpha3ResourcePool } from '../models/V1alpha3ResourcePool'; +import { HttpFile } from '../http/http'; + +/** +* ResourceSliceSpec contains the information published by the driver in one ResourceSlice. +*/ +export class V1alpha3ResourceSliceSpec { + /** + * AllNodes indicates that all nodes have access to the resources in the pool. Exactly one of NodeName, NodeSelector and AllNodes must be set. + */ + 'allNodes'?: boolean; + /** + * Devices lists some or all of the devices in this pool. Must not have more than 128 entries. + */ + 'devices'?: Array; + /** + * Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable. + */ + 'driver': string; + /** + * NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node. This field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available. Exactly one of NodeName, NodeSelector and AllNodes must be set. This field is immutable. + */ + 'nodeName'?: string; + 'nodeSelector'?: V1NodeSelector; + 'pool': V1alpha3ResourcePool; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "allNodes", + "baseName": "allNodes", + "type": "boolean", + "format": "" + }, + { + "name": "devices", + "baseName": "devices", + "type": "Array", + "format": "" + }, + { + "name": "driver", + "baseName": "driver", + "type": "string", + "format": "" + }, + { + "name": "nodeName", + "baseName": "nodeName", + "type": "string", + "format": "" + }, + { + "name": "nodeSelector", + "baseName": "nodeSelector", + "type": "V1NodeSelector", + "format": "" + }, + { + "name": "pool", + "baseName": "pool", + "type": "V1alpha3ResourcePool", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1alpha3ResourceSliceSpec.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1AllocatedDeviceStatus.ts b/src/gen/models/V1beta1AllocatedDeviceStatus.ts new file mode 100644 index 00000000000..dde8d4d3069 --- /dev/null +++ b/src/gen/models/V1beta1AllocatedDeviceStatus.ts @@ -0,0 +1,91 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1Condition } from '../models/V1Condition'; +import { V1beta1NetworkDeviceData } from '../models/V1beta1NetworkDeviceData'; +import { HttpFile } from '../http/http'; + +/** +* AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information. +*/ +export class V1beta1AllocatedDeviceStatus { + /** + * Conditions contains the latest observation of the device\'s state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True. + */ + 'conditions'?: Array; + /** + * Data contains arbitrary driver-specific data. The length of the raw data must be smaller or equal to 10 Ki. + */ + 'data'?: any; + /** + * Device references one device instance via its name in the driver\'s resource pool. It must be a DNS label. + */ + 'device': string; + /** + * Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. + */ + 'driver': string; + 'networkData'?: V1beta1NetworkDeviceData; + /** + * This name together with the driver name and the device name field identify which device was allocated (`//`). Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes. + */ + 'pool': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "conditions", + "baseName": "conditions", + "type": "Array", + "format": "" + }, + { + "name": "data", + "baseName": "data", + "type": "any", + "format": "" + }, + { + "name": "device", + "baseName": "device", + "type": "string", + "format": "" + }, + { + "name": "driver", + "baseName": "driver", + "type": "string", + "format": "" + }, + { + "name": "networkData", + "baseName": "networkData", + "type": "V1beta1NetworkDeviceData", + "format": "" + }, + { + "name": "pool", + "baseName": "pool", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1AllocatedDeviceStatus.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1AllocationResult.ts b/src/gen/models/V1beta1AllocationResult.ts new file mode 100644 index 00000000000..28c3edad00d --- /dev/null +++ b/src/gen/models/V1beta1AllocationResult.ts @@ -0,0 +1,48 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1NodeSelector } from '../models/V1NodeSelector'; +import { V1beta1DeviceAllocationResult } from '../models/V1beta1DeviceAllocationResult'; +import { HttpFile } from '../http/http'; + +/** +* AllocationResult contains attributes of an allocated resource. +*/ +export class V1beta1AllocationResult { + 'devices'?: V1beta1DeviceAllocationResult; + 'nodeSelector'?: V1NodeSelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "devices", + "baseName": "devices", + "type": "V1beta1DeviceAllocationResult", + "format": "" + }, + { + "name": "nodeSelector", + "baseName": "nodeSelector", + "type": "V1NodeSelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1AllocationResult.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1AuditAnnotation.ts b/src/gen/models/V1beta1AuditAnnotation.ts index 410902a6b82..c52572b9bf6 100644 --- a/src/gen/models/V1beta1AuditAnnotation.ts +++ b/src/gen/models/V1beta1AuditAnnotation.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * AuditAnnotation describes how to produce an audit annotation for an API request. diff --git a/src/gen/models/V1beta1BasicDevice.ts b/src/gen/models/V1beta1BasicDevice.ts new file mode 100644 index 00000000000..e0b5182845a --- /dev/null +++ b/src/gen/models/V1beta1BasicDevice.ts @@ -0,0 +1,54 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1beta1DeviceAttribute } from '../models/V1beta1DeviceAttribute'; +import { V1beta1DeviceCapacity } from '../models/V1beta1DeviceCapacity'; +import { HttpFile } from '../http/http'; + +/** +* BasicDevice defines one device instance. +*/ +export class V1beta1BasicDevice { + /** + * Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set. The maximum number of attributes and capacities combined is 32. + */ + 'attributes'?: { [key: string]: V1beta1DeviceAttribute; }; + /** + * Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set. The maximum number of attributes and capacities combined is 32. + */ + 'capacity'?: { [key: string]: V1beta1DeviceCapacity; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "attributes", + "baseName": "attributes", + "type": "{ [key: string]: V1beta1DeviceAttribute; }", + "format": "" + }, + { + "name": "capacity", + "baseName": "capacity", + "type": "{ [key: string]: V1beta1DeviceCapacity; }", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1BasicDevice.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1CELDeviceSelector.ts b/src/gen/models/V1beta1CELDeviceSelector.ts new file mode 100644 index 00000000000..b45c0eadd4a --- /dev/null +++ b/src/gen/models/V1beta1CELDeviceSelector.ts @@ -0,0 +1,42 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* CELDeviceSelector contains a CEL expression for selecting a device. +*/ +export class V1beta1CELDeviceSelector { + /** + * Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. The expression\'s input is an object named \"device\", which carries the following properties: - driver (string): the name of the driver which defines this device. - attributes (map[string]object): the device\'s attributes, grouped by prefix (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all of the attributes which were prefixed by \"dra.example.com\". - capacity (map[string]object): the device\'s capacities, grouped by prefix. Example: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields: device.driver device.attributes[\"dra.example.com\"].model device.attributes[\"ext.example.com\"].family device.capacity[\"dra.example.com\"].modules The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers. The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity. If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort. A robust expression should check for the existence of attributes before referencing them. For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example: cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool) The length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps. + */ + 'expression': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "expression", + "baseName": "expression", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1CELDeviceSelector.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1Device.ts b/src/gen/models/V1beta1Device.ts new file mode 100644 index 00000000000..100f6900e65 --- /dev/null +++ b/src/gen/models/V1beta1Device.ts @@ -0,0 +1,50 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1beta1BasicDevice } from '../models/V1beta1BasicDevice'; +import { HttpFile } from '../http/http'; + +/** +* Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set. +*/ +export class V1beta1Device { + 'basic'?: V1beta1BasicDevice; + /** + * Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label. + */ + 'name': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "basic", + "baseName": "basic", + "type": "V1beta1BasicDevice", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1Device.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1DeviceAllocationConfiguration.ts b/src/gen/models/V1beta1DeviceAllocationConfiguration.ts new file mode 100644 index 00000000000..4fc53e5ae43 --- /dev/null +++ b/src/gen/models/V1beta1DeviceAllocationConfiguration.ts @@ -0,0 +1,60 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1beta1OpaqueDeviceConfiguration } from '../models/V1beta1OpaqueDeviceConfiguration'; +import { HttpFile } from '../http/http'; + +/** +* DeviceAllocationConfiguration gets embedded in an AllocationResult. +*/ +export class V1beta1DeviceAllocationConfiguration { + 'opaque'?: V1beta1OpaqueDeviceConfiguration; + /** + * Requests lists the names of requests where the configuration applies. If empty, its applies to all requests. + */ + 'requests'?: Array; + /** + * Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim. + */ + 'source': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "opaque", + "baseName": "opaque", + "type": "V1beta1OpaqueDeviceConfiguration", + "format": "" + }, + { + "name": "requests", + "baseName": "requests", + "type": "Array", + "format": "" + }, + { + "name": "source", + "baseName": "source", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1DeviceAllocationConfiguration.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1DeviceAllocationResult.ts b/src/gen/models/V1beta1DeviceAllocationResult.ts new file mode 100644 index 00000000000..42b36bd52a4 --- /dev/null +++ b/src/gen/models/V1beta1DeviceAllocationResult.ts @@ -0,0 +1,54 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1beta1DeviceAllocationConfiguration } from '../models/V1beta1DeviceAllocationConfiguration'; +import { V1beta1DeviceRequestAllocationResult } from '../models/V1beta1DeviceRequestAllocationResult'; +import { HttpFile } from '../http/http'; + +/** +* DeviceAllocationResult is the result of allocating devices. +*/ +export class V1beta1DeviceAllocationResult { + /** + * This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag. This includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters. + */ + 'config'?: Array; + /** + * Results lists all allocated devices. + */ + 'results'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "config", + "baseName": "config", + "type": "Array", + "format": "" + }, + { + "name": "results", + "baseName": "results", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1DeviceAllocationResult.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1DeviceAttribute.ts b/src/gen/models/V1beta1DeviceAttribute.ts new file mode 100644 index 00000000000..d3e10ba4545 --- /dev/null +++ b/src/gen/models/V1beta1DeviceAttribute.ts @@ -0,0 +1,72 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* DeviceAttribute must have exactly one field set. +*/ +export class V1beta1DeviceAttribute { + /** + * BoolValue is a true/false value. + */ + 'bool'?: boolean; + /** + * IntValue is a number. + */ + '_int'?: number; + /** + * StringValue is a string. Must not be longer than 64 characters. + */ + 'string'?: string; + /** + * VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters. + */ + 'version'?: string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "bool", + "baseName": "bool", + "type": "boolean", + "format": "" + }, + { + "name": "_int", + "baseName": "int", + "type": "number", + "format": "int64" + }, + { + "name": "string", + "baseName": "string", + "type": "string", + "format": "" + }, + { + "name": "version", + "baseName": "version", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1DeviceAttribute.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1DeviceCapacity.ts b/src/gen/models/V1beta1DeviceCapacity.ts new file mode 100644 index 00000000000..4e004c877ac --- /dev/null +++ b/src/gen/models/V1beta1DeviceCapacity.ts @@ -0,0 +1,42 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* DeviceCapacity describes a quantity associated with a device. +*/ +export class V1beta1DeviceCapacity { + /** + * Value defines how much of a certain device capacity is available. + */ + 'value': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "value", + "baseName": "value", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1DeviceCapacity.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1DeviceClaim.ts b/src/gen/models/V1beta1DeviceClaim.ts new file mode 100644 index 00000000000..a8125a97911 --- /dev/null +++ b/src/gen/models/V1beta1DeviceClaim.ts @@ -0,0 +1,65 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1beta1DeviceClaimConfiguration } from '../models/V1beta1DeviceClaimConfiguration'; +import { V1beta1DeviceConstraint } from '../models/V1beta1DeviceConstraint'; +import { V1beta1DeviceRequest } from '../models/V1beta1DeviceRequest'; +import { HttpFile } from '../http/http'; + +/** +* DeviceClaim defines how to request devices with a ResourceClaim. +*/ +export class V1beta1DeviceClaim { + /** + * This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim. + */ + 'config'?: Array; + /** + * These constraints must be satisfied by the set of devices that get allocated for the claim. + */ + 'constraints'?: Array; + /** + * Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated. + */ + 'requests'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "config", + "baseName": "config", + "type": "Array", + "format": "" + }, + { + "name": "constraints", + "baseName": "constraints", + "type": "Array", + "format": "" + }, + { + "name": "requests", + "baseName": "requests", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1DeviceClaim.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1DeviceClaimConfiguration.ts b/src/gen/models/V1beta1DeviceClaimConfiguration.ts new file mode 100644 index 00000000000..bf15faba12d --- /dev/null +++ b/src/gen/models/V1beta1DeviceClaimConfiguration.ts @@ -0,0 +1,50 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1beta1OpaqueDeviceConfiguration } from '../models/V1beta1OpaqueDeviceConfiguration'; +import { HttpFile } from '../http/http'; + +/** +* DeviceClaimConfiguration is used for configuration parameters in DeviceClaim. +*/ +export class V1beta1DeviceClaimConfiguration { + 'opaque'?: V1beta1OpaqueDeviceConfiguration; + /** + * Requests lists the names of requests where the configuration applies. If empty, it applies to all requests. + */ + 'requests'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "opaque", + "baseName": "opaque", + "type": "V1beta1OpaqueDeviceConfiguration", + "format": "" + }, + { + "name": "requests", + "baseName": "requests", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1DeviceClaimConfiguration.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1DeviceClass.ts b/src/gen/models/V1beta1DeviceClass.ts new file mode 100644 index 00000000000..43189f913e2 --- /dev/null +++ b/src/gen/models/V1beta1DeviceClass.ts @@ -0,0 +1,68 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1beta1DeviceClassSpec } from '../models/V1beta1DeviceClassSpec'; +import { HttpFile } from '../http/http'; + +/** +* DeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors. It can be referenced in the device requests of a claim to apply these presets. Cluster scoped. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate. +*/ +export class V1beta1DeviceClass { + /** + * 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 + */ + 'apiVersion'?: 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 + */ + 'kind'?: string; + 'metadata'?: V1ObjectMeta; + 'spec': V1beta1DeviceClassSpec; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "V1beta1DeviceClassSpec", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1DeviceClass.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1DeviceClassConfiguration.ts b/src/gen/models/V1beta1DeviceClassConfiguration.ts new file mode 100644 index 00000000000..1aedebaed0f --- /dev/null +++ b/src/gen/models/V1beta1DeviceClassConfiguration.ts @@ -0,0 +1,40 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1beta1OpaqueDeviceConfiguration } from '../models/V1beta1OpaqueDeviceConfiguration'; +import { HttpFile } from '../http/http'; + +/** +* DeviceClassConfiguration is used in DeviceClass. +*/ +export class V1beta1DeviceClassConfiguration { + 'opaque'?: V1beta1OpaqueDeviceConfiguration; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "opaque", + "baseName": "opaque", + "type": "V1beta1OpaqueDeviceConfiguration", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1DeviceClassConfiguration.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1DeviceClassList.ts b/src/gen/models/V1beta1DeviceClassList.ts new file mode 100644 index 00000000000..a36b43d46a9 --- /dev/null +++ b/src/gen/models/V1beta1DeviceClassList.ts @@ -0,0 +1,71 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1beta1DeviceClass } from '../models/V1beta1DeviceClass'; +import { HttpFile } from '../http/http'; + +/** +* DeviceClassList is a collection of classes. +*/ +export class V1beta1DeviceClassList { + /** + * 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 + */ + 'apiVersion'?: string; + /** + * Items is the list of resource classes. + */ + 'items': Array; + /** + * 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 + */ + 'kind'?: string; + 'metadata'?: V1ListMeta; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ListMeta", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1DeviceClassList.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1DeviceClassSpec.ts b/src/gen/models/V1beta1DeviceClassSpec.ts new file mode 100644 index 00000000000..d2af813b77b --- /dev/null +++ b/src/gen/models/V1beta1DeviceClassSpec.ts @@ -0,0 +1,54 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1beta1DeviceClassConfiguration } from '../models/V1beta1DeviceClassConfiguration'; +import { V1beta1DeviceSelector } from '../models/V1beta1DeviceSelector'; +import { HttpFile } from '../http/http'; + +/** +* DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it. +*/ +export class V1beta1DeviceClassSpec { + /** + * Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver. They are passed to the driver, but are not considered while allocating the claim. + */ + 'config'?: Array; + /** + * Each selector must be satisfied by a device which is claimed via this class. + */ + 'selectors'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "config", + "baseName": "config", + "type": "Array", + "format": "" + }, + { + "name": "selectors", + "baseName": "selectors", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1DeviceClassSpec.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1DeviceConstraint.ts b/src/gen/models/V1beta1DeviceConstraint.ts new file mode 100644 index 00000000000..ac9d6325c0c --- /dev/null +++ b/src/gen/models/V1beta1DeviceConstraint.ts @@ -0,0 +1,52 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* DeviceConstraint must have exactly one field set besides Requests. +*/ +export class V1beta1DeviceConstraint { + /** + * MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices. For example, if you specified \"dra.example.com/numa\" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn\'t, then it also will not be chosen. Must include the domain qualifier. + */ + 'matchAttribute'?: string; + /** + * Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim. + */ + 'requests'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "matchAttribute", + "baseName": "matchAttribute", + "type": "string", + "format": "" + }, + { + "name": "requests", + "baseName": "requests", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1DeviceConstraint.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1DeviceRequest.ts b/src/gen/models/V1beta1DeviceRequest.ts new file mode 100644 index 00000000000..821c3c1e4f9 --- /dev/null +++ b/src/gen/models/V1beta1DeviceRequest.ts @@ -0,0 +1,93 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1beta1DeviceSelector } from '../models/V1beta1DeviceSelector'; +import { HttpFile } from '../http/http'; + +/** +* DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices. A DeviceClassName is currently required. Clients must check that it is indeed set. It\'s absence indicates that something changed in a way that is not supported by the client yet, in which case it must refuse to handle the request. +*/ +export class V1beta1DeviceRequest { + /** + * AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations. This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled. + */ + 'adminAccess'?: boolean; + /** + * AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are: - ExactCount: This request is for a specific number of devices. This is the default. The exact number is provided in the count field. - All: This request is for all of the matching devices in a pool. Allocation will fail if some devices are already allocated, unless adminAccess is requested. If AlloctionMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field. More modes may get added in the future. Clients must refuse to handle requests with unknown modes. + */ + 'allocationMode'?: string; + /** + * Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one. + */ + 'count'?: number; + /** + * DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request. A class is required. Which classes are available depends on the cluster. Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference. + */ + 'deviceClassName': string; + /** + * Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim. Must be a DNS label. + */ + 'name': string; + /** + * Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered. + */ + 'selectors'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "adminAccess", + "baseName": "adminAccess", + "type": "boolean", + "format": "" + }, + { + "name": "allocationMode", + "baseName": "allocationMode", + "type": "string", + "format": "" + }, + { + "name": "count", + "baseName": "count", + "type": "number", + "format": "int64" + }, + { + "name": "deviceClassName", + "baseName": "deviceClassName", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "selectors", + "baseName": "selectors", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1DeviceRequest.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1DeviceRequestAllocationResult.ts b/src/gen/models/V1beta1DeviceRequestAllocationResult.ts new file mode 100644 index 00000000000..70269f45456 --- /dev/null +++ b/src/gen/models/V1beta1DeviceRequestAllocationResult.ts @@ -0,0 +1,82 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* DeviceRequestAllocationResult contains the allocation result for one request. +*/ +export class V1beta1DeviceRequestAllocationResult { + /** + * AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode. This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled. + */ + 'adminAccess'?: boolean; + /** + * Device references one device instance via its name in the driver\'s resource pool. It must be a DNS label. + */ + 'device': string; + /** + * Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. + */ + 'driver': string; + /** + * This name together with the driver name and the device name field identify which device was allocated (`//`). Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes. + */ + 'pool': string; + /** + * Request is the name of the request in the claim which caused this device to be allocated. Multiple devices may have been allocated per request. + */ + 'request': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "adminAccess", + "baseName": "adminAccess", + "type": "boolean", + "format": "" + }, + { + "name": "device", + "baseName": "device", + "type": "string", + "format": "" + }, + { + "name": "driver", + "baseName": "driver", + "type": "string", + "format": "" + }, + { + "name": "pool", + "baseName": "pool", + "type": "string", + "format": "" + }, + { + "name": "request", + "baseName": "request", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1DeviceRequestAllocationResult.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1DeviceSelector.ts b/src/gen/models/V1beta1DeviceSelector.ts new file mode 100644 index 00000000000..ec912beaa06 --- /dev/null +++ b/src/gen/models/V1beta1DeviceSelector.ts @@ -0,0 +1,40 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1beta1CELDeviceSelector } from '../models/V1beta1CELDeviceSelector'; +import { HttpFile } from '../http/http'; + +/** +* DeviceSelector must have exactly one field set. +*/ +export class V1beta1DeviceSelector { + 'cel'?: V1beta1CELDeviceSelector; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "cel", + "baseName": "cel", + "type": "V1beta1CELDeviceSelector", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1DeviceSelector.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1ExpressionWarning.ts b/src/gen/models/V1beta1ExpressionWarning.ts index d9bc39712ec..6f695778951 100644 --- a/src/gen/models/V1beta1ExpressionWarning.ts +++ b/src/gen/models/V1beta1ExpressionWarning.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ExpressionWarning is a warning information that targets a specific expression. diff --git a/src/gen/models/V1beta1IPAddress.ts b/src/gen/models/V1beta1IPAddress.ts new file mode 100644 index 00000000000..3cc3ad4d7ca --- /dev/null +++ b/src/gen/models/V1beta1IPAddress.ts @@ -0,0 +1,68 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1beta1IPAddressSpec } from '../models/V1beta1IPAddressSpec'; +import { HttpFile } from '../http/http'; + +/** +* IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1 +*/ +export class V1beta1IPAddress { + /** + * 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 + */ + 'apiVersion'?: 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 + */ + 'kind'?: string; + 'metadata'?: V1ObjectMeta; + 'spec'?: V1beta1IPAddressSpec; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "V1beta1IPAddressSpec", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1IPAddress.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1IPAddressList.ts b/src/gen/models/V1beta1IPAddressList.ts new file mode 100644 index 00000000000..7f970127ecf --- /dev/null +++ b/src/gen/models/V1beta1IPAddressList.ts @@ -0,0 +1,71 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1beta1IPAddress } from '../models/V1beta1IPAddress'; +import { HttpFile } from '../http/http'; + +/** +* IPAddressList contains a list of IPAddress. +*/ +export class V1beta1IPAddressList { + /** + * 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 + */ + 'apiVersion'?: string; + /** + * items is the list of IPAddresses. + */ + 'items': Array; + /** + * 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 + */ + 'kind'?: string; + 'metadata'?: V1ListMeta; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ListMeta", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1IPAddressList.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1IPAddressSpec.ts b/src/gen/models/V1beta1IPAddressSpec.ts new file mode 100644 index 00000000000..9b21a32d423 --- /dev/null +++ b/src/gen/models/V1beta1IPAddressSpec.ts @@ -0,0 +1,40 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1beta1ParentReference } from '../models/V1beta1ParentReference'; +import { HttpFile } from '../http/http'; + +/** +* IPAddressSpec describe the attributes in an IP Address. +*/ +export class V1beta1IPAddressSpec { + 'parentRef': V1beta1ParentReference; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "parentRef", + "baseName": "parentRef", + "type": "V1beta1ParentReference", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1IPAddressSpec.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1MatchCondition.ts b/src/gen/models/V1beta1MatchCondition.ts index 1617f5b5625..ab38bc1c401 100644 --- a/src/gen/models/V1beta1MatchCondition.ts +++ b/src/gen/models/V1beta1MatchCondition.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * MatchCondition represents a condition which must be fulfilled for a request to be sent to a webhook. diff --git a/src/gen/models/V1beta1MatchResources.ts b/src/gen/models/V1beta1MatchResources.ts index 857379df5ff..8a0eaf6417a 100644 --- a/src/gen/models/V1beta1MatchResources.ts +++ b/src/gen/models/V1beta1MatchResources.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1LabelSelector } from '../models/V1LabelSelector.js'; -import { V1beta1NamedRuleWithOperations } from '../models/V1beta1NamedRuleWithOperations.js'; -import { HttpFile } from '../http/http.js'; +import { V1LabelSelector } from '../models/V1LabelSelector'; +import { V1beta1NamedRuleWithOperations } from '../models/V1beta1NamedRuleWithOperations'; +import { HttpFile } from '../http/http'; /** * MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded) diff --git a/src/gen/models/V1beta1NamedRuleWithOperations.ts b/src/gen/models/V1beta1NamedRuleWithOperations.ts index 4b24ed4eb7d..b280b853525 100644 --- a/src/gen/models/V1beta1NamedRuleWithOperations.ts +++ b/src/gen/models/V1beta1NamedRuleWithOperations.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames. diff --git a/src/gen/models/V1beta1NetworkDeviceData.ts b/src/gen/models/V1beta1NetworkDeviceData.ts new file mode 100644 index 00000000000..1d39c356d67 --- /dev/null +++ b/src/gen/models/V1beta1NetworkDeviceData.ts @@ -0,0 +1,62 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context. +*/ +export class V1beta1NetworkDeviceData { + /** + * HardwareAddress represents the hardware address (e.g. MAC Address) of the device\'s network interface. Must not be longer than 128 characters. + */ + 'hardwareAddress'?: string; + /** + * InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod. Must not be longer than 256 characters. + */ + 'interfaceName'?: string; + /** + * IPs lists the network addresses assigned to the device\'s network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: \"192.0.2.5/24\" for IPv4 and \"2001:db8::5/64\" for IPv6. + */ + 'ips'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "hardwareAddress", + "baseName": "hardwareAddress", + "type": "string", + "format": "" + }, + { + "name": "interfaceName", + "baseName": "interfaceName", + "type": "string", + "format": "" + }, + { + "name": "ips", + "baseName": "ips", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1NetworkDeviceData.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1OpaqueDeviceConfiguration.ts b/src/gen/models/V1beta1OpaqueDeviceConfiguration.ts new file mode 100644 index 00000000000..9fa4d75999f --- /dev/null +++ b/src/gen/models/V1beta1OpaqueDeviceConfiguration.ts @@ -0,0 +1,52 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor. +*/ +export class V1beta1OpaqueDeviceConfiguration { + /** + * Driver is used to determine which kubelet plugin needs to be passed these configuration parameters. An admission policy provided by the driver developer could use this to decide whether it needs to validate them. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. + */ + 'driver': string; + /** + * Parameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version (\"kind\" + \"apiVersion\" for Kubernetes types), with conversion between different versions. The length of the raw data must be smaller or equal to 10 Ki. + */ + 'parameters': any; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "driver", + "baseName": "driver", + "type": "string", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "any", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1OpaqueDeviceConfiguration.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1ParamKind.ts b/src/gen/models/V1beta1ParamKind.ts index e68b2bef7bb..e94e5d78515 100644 --- a/src/gen/models/V1beta1ParamKind.ts +++ b/src/gen/models/V1beta1ParamKind.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * ParamKind is a tuple of Group Kind and Version. diff --git a/src/gen/models/V1beta1ParamRef.ts b/src/gen/models/V1beta1ParamRef.ts index efd9f7acdc4..9090b4c5336 100644 --- a/src/gen/models/V1beta1ParamRef.ts +++ b/src/gen/models/V1beta1ParamRef.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1LabelSelector } from '../models/V1LabelSelector.js'; -import { HttpFile } from '../http/http.js'; +import { V1LabelSelector } from '../models/V1LabelSelector'; +import { HttpFile } from '../http/http'; /** * ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding. diff --git a/src/gen/models/V1beta1ParentReference.ts b/src/gen/models/V1beta1ParentReference.ts new file mode 100644 index 00000000000..e1e3d714766 --- /dev/null +++ b/src/gen/models/V1beta1ParentReference.ts @@ -0,0 +1,72 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ParentReference describes a reference to a parent object. +*/ +export class V1beta1ParentReference { + /** + * Group is the group of the object being referenced. + */ + 'group'?: string; + /** + * Name is the name of the object being referenced. + */ + 'name': string; + /** + * Namespace is the namespace of the object being referenced. + */ + 'namespace'?: string; + /** + * Resource is the resource of the object being referenced. + */ + 'resource': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "group", + "baseName": "group", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "namespace", + "baseName": "namespace", + "type": "string", + "format": "" + }, + { + "name": "resource", + "baseName": "resource", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1ParentReference.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1ResourceClaim.ts b/src/gen/models/V1beta1ResourceClaim.ts new file mode 100644 index 00000000000..8d096c25f19 --- /dev/null +++ b/src/gen/models/V1beta1ResourceClaim.ts @@ -0,0 +1,76 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1beta1ResourceClaimSpec } from '../models/V1beta1ResourceClaimSpec'; +import { V1beta1ResourceClaimStatus } from '../models/V1beta1ResourceClaimStatus'; +import { HttpFile } from '../http/http'; + +/** +* ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate. +*/ +export class V1beta1ResourceClaim { + /** + * 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 + */ + 'apiVersion'?: 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 + */ + 'kind'?: string; + 'metadata'?: V1ObjectMeta; + 'spec': V1beta1ResourceClaimSpec; + 'status'?: V1beta1ResourceClaimStatus; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "V1beta1ResourceClaimSpec", + "format": "" + }, + { + "name": "status", + "baseName": "status", + "type": "V1beta1ResourceClaimStatus", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1ResourceClaim.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1ResourceClaimConsumerReference.ts b/src/gen/models/V1beta1ResourceClaimConsumerReference.ts new file mode 100644 index 00000000000..590597f346d --- /dev/null +++ b/src/gen/models/V1beta1ResourceClaimConsumerReference.ts @@ -0,0 +1,72 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim. +*/ +export class V1beta1ResourceClaimConsumerReference { + /** + * APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources. + */ + 'apiGroup'?: string; + /** + * Name is the name of resource being referenced. + */ + 'name': string; + /** + * Resource is the type of resource being referenced, for example \"pods\". + */ + 'resource': string; + /** + * UID identifies exactly one incarnation of the resource. + */ + 'uid': string; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiGroup", + "baseName": "apiGroup", + "type": "string", + "format": "" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "resource", + "baseName": "resource", + "type": "string", + "format": "" + }, + { + "name": "uid", + "baseName": "uid", + "type": "string", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1ResourceClaimConsumerReference.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1ResourceClaimList.ts b/src/gen/models/V1beta1ResourceClaimList.ts new file mode 100644 index 00000000000..c973cf11fc9 --- /dev/null +++ b/src/gen/models/V1beta1ResourceClaimList.ts @@ -0,0 +1,71 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1beta1ResourceClaim } from '../models/V1beta1ResourceClaim'; +import { HttpFile } from '../http/http'; + +/** +* ResourceClaimList is a collection of claims. +*/ +export class V1beta1ResourceClaimList { + /** + * 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 + */ + 'apiVersion'?: string; + /** + * Items is the list of resource claims. + */ + 'items': Array; + /** + * 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 + */ + 'kind'?: string; + 'metadata'?: V1ListMeta; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ListMeta", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1ResourceClaimList.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1ResourceClaimSpec.ts b/src/gen/models/V1beta1ResourceClaimSpec.ts new file mode 100644 index 00000000000..cebdaeb420f --- /dev/null +++ b/src/gen/models/V1beta1ResourceClaimSpec.ts @@ -0,0 +1,40 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1beta1DeviceClaim } from '../models/V1beta1DeviceClaim'; +import { HttpFile } from '../http/http'; + +/** +* ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it. +*/ +export class V1beta1ResourceClaimSpec { + 'devices'?: V1beta1DeviceClaim; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "devices", + "baseName": "devices", + "type": "V1beta1DeviceClaim", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1ResourceClaimSpec.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1ResourceClaimStatus.ts b/src/gen/models/V1beta1ResourceClaimStatus.ts new file mode 100644 index 00000000000..77bb5659780 --- /dev/null +++ b/src/gen/models/V1beta1ResourceClaimStatus.ts @@ -0,0 +1,62 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1beta1AllocatedDeviceStatus } from '../models/V1beta1AllocatedDeviceStatus'; +import { V1beta1AllocationResult } from '../models/V1beta1AllocationResult'; +import { V1beta1ResourceClaimConsumerReference } from '../models/V1beta1ResourceClaimConsumerReference'; +import { HttpFile } from '../http/http'; + +/** +* ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was. +*/ +export class V1beta1ResourceClaimStatus { + 'allocation'?: V1beta1AllocationResult; + /** + * Devices contains the status of each device allocated for this claim, as reported by the driver. This can include driver-specific information. Entries are owned by their respective drivers. + */ + 'devices'?: Array; + /** + * ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated. In a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled. Both schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again. There can be at most 32 such reservations. This may get increased in the future, but not reduced. + */ + 'reservedFor'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "allocation", + "baseName": "allocation", + "type": "V1beta1AllocationResult", + "format": "" + }, + { + "name": "devices", + "baseName": "devices", + "type": "Array", + "format": "" + }, + { + "name": "reservedFor", + "baseName": "reservedFor", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1ResourceClaimStatus.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1ResourceClaimTemplate.ts b/src/gen/models/V1beta1ResourceClaimTemplate.ts new file mode 100644 index 00000000000..5656c86f5b2 --- /dev/null +++ b/src/gen/models/V1beta1ResourceClaimTemplate.ts @@ -0,0 +1,68 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1beta1ResourceClaimTemplateSpec } from '../models/V1beta1ResourceClaimTemplateSpec'; +import { HttpFile } from '../http/http'; + +/** +* ResourceClaimTemplate is used to produce ResourceClaim objects. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate. +*/ +export class V1beta1ResourceClaimTemplate { + /** + * 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 + */ + 'apiVersion'?: 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 + */ + 'kind'?: string; + 'metadata'?: V1ObjectMeta; + 'spec': V1beta1ResourceClaimTemplateSpec; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "V1beta1ResourceClaimTemplateSpec", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1ResourceClaimTemplate.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1ResourceClaimTemplateList.ts b/src/gen/models/V1beta1ResourceClaimTemplateList.ts new file mode 100644 index 00000000000..ac14bd1e1c2 --- /dev/null +++ b/src/gen/models/V1beta1ResourceClaimTemplateList.ts @@ -0,0 +1,71 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1beta1ResourceClaimTemplate } from '../models/V1beta1ResourceClaimTemplate'; +import { HttpFile } from '../http/http'; + +/** +* ResourceClaimTemplateList is a collection of claim templates. +*/ +export class V1beta1ResourceClaimTemplateList { + /** + * 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 + */ + 'apiVersion'?: string; + /** + * Items is the list of resource claim templates. + */ + 'items': Array; + /** + * 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 + */ + 'kind'?: string; + 'metadata'?: V1ListMeta; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ListMeta", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1ResourceClaimTemplateList.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1ResourceClaimTemplateSpec.ts b/src/gen/models/V1beta1ResourceClaimTemplateSpec.ts new file mode 100644 index 00000000000..2b681564f1d --- /dev/null +++ b/src/gen/models/V1beta1ResourceClaimTemplateSpec.ts @@ -0,0 +1,48 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1beta1ResourceClaimSpec } from '../models/V1beta1ResourceClaimSpec'; +import { HttpFile } from '../http/http'; + +/** +* ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim. +*/ +export class V1beta1ResourceClaimTemplateSpec { + 'metadata'?: V1ObjectMeta; + 'spec': V1beta1ResourceClaimSpec; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "V1beta1ResourceClaimSpec", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1ResourceClaimTemplateSpec.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1ResourcePool.ts b/src/gen/models/V1beta1ResourcePool.ts new file mode 100644 index 00000000000..3df6acee55d --- /dev/null +++ b/src/gen/models/V1beta1ResourcePool.ts @@ -0,0 +1,62 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ResourcePool describes the pool that ResourceSlices belong to. +*/ +export class V1beta1ResourcePool { + /** + * Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted. Combined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state. + */ + 'generation': number; + /** + * Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required. It must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable. + */ + 'name': string; + /** + * ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero. Consumers can use this to check whether they have seen all ResourceSlices belonging to the same pool. + */ + 'resourceSliceCount': number; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "generation", + "baseName": "generation", + "type": "number", + "format": "int64" + }, + { + "name": "name", + "baseName": "name", + "type": "string", + "format": "" + }, + { + "name": "resourceSliceCount", + "baseName": "resourceSliceCount", + "type": "number", + "format": "int64" + } ]; + + static getAttributeTypeMap() { + return V1beta1ResourcePool.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1ResourceSlice.ts b/src/gen/models/V1beta1ResourceSlice.ts new file mode 100644 index 00000000000..317d20439e6 --- /dev/null +++ b/src/gen/models/V1beta1ResourceSlice.ts @@ -0,0 +1,68 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1beta1ResourceSliceSpec } from '../models/V1beta1ResourceSliceSpec'; +import { HttpFile } from '../http/http'; + +/** +* ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver. At the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple , , . Whenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others. When allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool. For resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available. This is an alpha type and requires enabling the DynamicResourceAllocation feature gate. +*/ +export class V1beta1ResourceSlice { + /** + * 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 + */ + 'apiVersion'?: 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 + */ + 'kind'?: string; + 'metadata'?: V1ObjectMeta; + 'spec': V1beta1ResourceSliceSpec; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "V1beta1ResourceSliceSpec", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1ResourceSlice.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1ResourceSliceList.ts b/src/gen/models/V1beta1ResourceSliceList.ts new file mode 100644 index 00000000000..e1b6dd0662d --- /dev/null +++ b/src/gen/models/V1beta1ResourceSliceList.ts @@ -0,0 +1,71 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1beta1ResourceSlice } from '../models/V1beta1ResourceSlice'; +import { HttpFile } from '../http/http'; + +/** +* ResourceSliceList is a collection of ResourceSlices. +*/ +export class V1beta1ResourceSliceList { + /** + * 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 + */ + 'apiVersion'?: string; + /** + * Items is the list of resource ResourceSlices. + */ + 'items': Array; + /** + * 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 + */ + 'kind'?: string; + 'metadata'?: V1ListMeta; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ListMeta", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1ResourceSliceList.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1ResourceSliceSpec.ts b/src/gen/models/V1beta1ResourceSliceSpec.ts new file mode 100644 index 00000000000..6fb65ccca95 --- /dev/null +++ b/src/gen/models/V1beta1ResourceSliceSpec.ts @@ -0,0 +1,89 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1NodeSelector } from '../models/V1NodeSelector'; +import { V1beta1Device } from '../models/V1beta1Device'; +import { V1beta1ResourcePool } from '../models/V1beta1ResourcePool'; +import { HttpFile } from '../http/http'; + +/** +* ResourceSliceSpec contains the information published by the driver in one ResourceSlice. +*/ +export class V1beta1ResourceSliceSpec { + /** + * AllNodes indicates that all nodes have access to the resources in the pool. Exactly one of NodeName, NodeSelector and AllNodes must be set. + */ + 'allNodes'?: boolean; + /** + * Devices lists some or all of the devices in this pool. Must not have more than 128 entries. + */ + 'devices'?: Array; + /** + * Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable. + */ + 'driver': string; + /** + * NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node. This field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available. Exactly one of NodeName, NodeSelector and AllNodes must be set. This field is immutable. + */ + 'nodeName'?: string; + 'nodeSelector'?: V1NodeSelector; + 'pool': V1beta1ResourcePool; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "allNodes", + "baseName": "allNodes", + "type": "boolean", + "format": "" + }, + { + "name": "devices", + "baseName": "devices", + "type": "Array", + "format": "" + }, + { + "name": "driver", + "baseName": "driver", + "type": "string", + "format": "" + }, + { + "name": "nodeName", + "baseName": "nodeName", + "type": "string", + "format": "" + }, + { + "name": "nodeSelector", + "baseName": "nodeSelector", + "type": "V1NodeSelector", + "format": "" + }, + { + "name": "pool", + "baseName": "pool", + "type": "V1beta1ResourcePool", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1ResourceSliceSpec.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1SelfSubjectReview.ts b/src/gen/models/V1beta1SelfSubjectReview.ts index 8a402140485..c84d39ba7ea 100644 --- a/src/gen/models/V1beta1SelfSubjectReview.ts +++ b/src/gen/models/V1beta1SelfSubjectReview.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1beta1SelfSubjectReviewStatus } from '../models/V1beta1SelfSubjectReviewStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1beta1SelfSubjectReviewStatus } from '../models/V1beta1SelfSubjectReviewStatus'; +import { HttpFile } from '../http/http'; /** * SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase. diff --git a/src/gen/models/V1beta1SelfSubjectReviewStatus.ts b/src/gen/models/V1beta1SelfSubjectReviewStatus.ts index b5c62855fc0..4d36f36fa53 100644 --- a/src/gen/models/V1beta1SelfSubjectReviewStatus.ts +++ b/src/gen/models/V1beta1SelfSubjectReviewStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1UserInfo } from '../models/V1UserInfo.js'; -import { HttpFile } from '../http/http.js'; +import { V1UserInfo } from '../models/V1UserInfo'; +import { HttpFile } from '../http/http'; /** * SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user. diff --git a/src/gen/models/V1beta1ServiceCIDR.ts b/src/gen/models/V1beta1ServiceCIDR.ts new file mode 100644 index 00000000000..66e33c85e37 --- /dev/null +++ b/src/gen/models/V1beta1ServiceCIDR.ts @@ -0,0 +1,76 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1beta1ServiceCIDRSpec } from '../models/V1beta1ServiceCIDRSpec'; +import { V1beta1ServiceCIDRStatus } from '../models/V1beta1ServiceCIDRStatus'; +import { HttpFile } from '../http/http'; + +/** +* ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects. +*/ +export class V1beta1ServiceCIDR { + /** + * 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 + */ + 'apiVersion'?: 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 + */ + 'kind'?: string; + 'metadata'?: V1ObjectMeta; + 'spec'?: V1beta1ServiceCIDRSpec; + 'status'?: V1beta1ServiceCIDRStatus; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ObjectMeta", + "format": "" + }, + { + "name": "spec", + "baseName": "spec", + "type": "V1beta1ServiceCIDRSpec", + "format": "" + }, + { + "name": "status", + "baseName": "status", + "type": "V1beta1ServiceCIDRStatus", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1ServiceCIDR.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1ServiceCIDRList.ts b/src/gen/models/V1beta1ServiceCIDRList.ts new file mode 100644 index 00000000000..350dc466b47 --- /dev/null +++ b/src/gen/models/V1beta1ServiceCIDRList.ts @@ -0,0 +1,71 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1beta1ServiceCIDR } from '../models/V1beta1ServiceCIDR'; +import { HttpFile } from '../http/http'; + +/** +* ServiceCIDRList contains a list of ServiceCIDR objects. +*/ +export class V1beta1ServiceCIDRList { + /** + * 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 + */ + 'apiVersion'?: string; + /** + * items is the list of ServiceCIDRs. + */ + 'items': Array; + /** + * 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 + */ + 'kind'?: string; + 'metadata'?: V1ListMeta; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ListMeta", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1ServiceCIDRList.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1ServiceCIDRSpec.ts b/src/gen/models/V1beta1ServiceCIDRSpec.ts new file mode 100644 index 00000000000..5190472c46b --- /dev/null +++ b/src/gen/models/V1beta1ServiceCIDRSpec.ts @@ -0,0 +1,42 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { HttpFile } from '../http/http'; + +/** +* ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services. +*/ +export class V1beta1ServiceCIDRSpec { + /** + * CIDRs defines the IP blocks in CIDR notation (e.g. \"192.168.0.0/24\" or \"2001:db8::/64\") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable. + */ + 'cidrs'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "cidrs", + "baseName": "cidrs", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1ServiceCIDRSpec.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1ServiceCIDRStatus.ts b/src/gen/models/V1beta1ServiceCIDRStatus.ts new file mode 100644 index 00000000000..df4650ff13a --- /dev/null +++ b/src/gen/models/V1beta1ServiceCIDRStatus.ts @@ -0,0 +1,43 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1Condition } from '../models/V1Condition'; +import { HttpFile } from '../http/http'; + +/** +* ServiceCIDRStatus describes the current state of the ServiceCIDR. +*/ +export class V1beta1ServiceCIDRStatus { + /** + * conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state + */ + 'conditions'?: Array; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "conditions", + "baseName": "conditions", + "type": "Array", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1ServiceCIDRStatus.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1TypeChecking.ts b/src/gen/models/V1beta1TypeChecking.ts index 2f06942a0b4..fd87759066e 100644 --- a/src/gen/models/V1beta1TypeChecking.ts +++ b/src/gen/models/V1beta1TypeChecking.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1beta1ExpressionWarning } from '../models/V1beta1ExpressionWarning.js'; -import { HttpFile } from '../http/http.js'; +import { V1beta1ExpressionWarning } from '../models/V1beta1ExpressionWarning'; +import { HttpFile } from '../http/http'; /** * TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy diff --git a/src/gen/models/V1beta1ValidatingAdmissionPolicy.ts b/src/gen/models/V1beta1ValidatingAdmissionPolicy.ts index e5140bfcb15..dd114f700f3 100644 --- a/src/gen/models/V1beta1ValidatingAdmissionPolicy.ts +++ b/src/gen/models/V1beta1ValidatingAdmissionPolicy.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1beta1ValidatingAdmissionPolicySpec } from '../models/V1beta1ValidatingAdmissionPolicySpec.js'; -import { V1beta1ValidatingAdmissionPolicyStatus } from '../models/V1beta1ValidatingAdmissionPolicyStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1beta1ValidatingAdmissionPolicySpec } from '../models/V1beta1ValidatingAdmissionPolicySpec'; +import { V1beta1ValidatingAdmissionPolicyStatus } from '../models/V1beta1ValidatingAdmissionPolicyStatus'; +import { HttpFile } from '../http/http'; /** * ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it. diff --git a/src/gen/models/V1beta1ValidatingAdmissionPolicyBinding.ts b/src/gen/models/V1beta1ValidatingAdmissionPolicyBinding.ts index 99ec22df60d..7c9e52e898b 100644 --- a/src/gen/models/V1beta1ValidatingAdmissionPolicyBinding.ts +++ b/src/gen/models/V1beta1ValidatingAdmissionPolicyBinding.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1beta1ValidatingAdmissionPolicyBindingSpec } from '../models/V1beta1ValidatingAdmissionPolicyBindingSpec.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1beta1ValidatingAdmissionPolicyBindingSpec } from '../models/V1beta1ValidatingAdmissionPolicyBindingSpec'; +import { HttpFile } from '../http/http'; /** * ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters. For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don\'t use params, otherwise N is the number of parameters selected by the binding. The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget. diff --git a/src/gen/models/V1beta1ValidatingAdmissionPolicyBindingList.ts b/src/gen/models/V1beta1ValidatingAdmissionPolicyBindingList.ts index 37166cf68be..318f34c274c 100644 --- a/src/gen/models/V1beta1ValidatingAdmissionPolicyBindingList.ts +++ b/src/gen/models/V1beta1ValidatingAdmissionPolicyBindingList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1beta1ValidatingAdmissionPolicyBinding } from '../models/V1beta1ValidatingAdmissionPolicyBinding.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1beta1ValidatingAdmissionPolicyBinding } from '../models/V1beta1ValidatingAdmissionPolicyBinding'; +import { HttpFile } from '../http/http'; /** * ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding. @@ -25,7 +25,7 @@ export class V1beta1ValidatingAdmissionPolicyBindingList { /** * List of PolicyBinding. */ - 'items'?: Array; + 'items': Array; /** * 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 */ diff --git a/src/gen/models/V1beta1ValidatingAdmissionPolicyBindingSpec.ts b/src/gen/models/V1beta1ValidatingAdmissionPolicyBindingSpec.ts index 892e47ea6bc..3217faa7aef 100644 --- a/src/gen/models/V1beta1ValidatingAdmissionPolicyBindingSpec.ts +++ b/src/gen/models/V1beta1ValidatingAdmissionPolicyBindingSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1beta1MatchResources } from '../models/V1beta1MatchResources.js'; -import { V1beta1ParamRef } from '../models/V1beta1ParamRef.js'; -import { HttpFile } from '../http/http.js'; +import { V1beta1MatchResources } from '../models/V1beta1MatchResources'; +import { V1beta1ParamRef } from '../models/V1beta1ParamRef'; +import { HttpFile } from '../http/http'; /** * ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding. @@ -25,7 +25,7 @@ export class V1beta1ValidatingAdmissionPolicyBindingSpec { */ 'policyName'?: string; /** - * validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions. Failures defined by the ValidatingAdmissionPolicy\'s FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy. validationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action. The supported actions values are: \"Deny\" specifies that a validation failure results in a denied request. \"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses. \"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\"message\": \"Invalid value\", {\"policy\": \"policy.example.com\", {\"binding\": \"policybinding.example.com\", {\"expressionIndex\": \"1\", {\"validationActions\": [\"Audit\"]}]\"` Clients should expect to handle additional values by ignoring any values not recognized. \"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers. Required. + * validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions. Failures defined by the ValidatingAdmissionPolicy\'s FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy. validationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action. The supported actions values are: \"Deny\" specifies that a validation failure results in a denied request. \"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses. \"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\\\"message\\\": \\\"Invalid value\\\", {\\\"policy\\\": \\\"policy.example.com\\\", {\\\"binding\\\": \\\"policybinding.example.com\\\", {\\\"expressionIndex\\\": \\\"1\\\", {\\\"validationActions\\\": [\\\"Audit\\\"]}]\"` Clients should expect to handle additional values by ignoring any values not recognized. \"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers. Required. */ 'validationActions'?: Array; diff --git a/src/gen/models/V1beta1ValidatingAdmissionPolicyList.ts b/src/gen/models/V1beta1ValidatingAdmissionPolicyList.ts index a1ca53ce3c2..57fa110aee6 100644 --- a/src/gen/models/V1beta1ValidatingAdmissionPolicyList.ts +++ b/src/gen/models/V1beta1ValidatingAdmissionPolicyList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1beta1ValidatingAdmissionPolicy } from '../models/V1beta1ValidatingAdmissionPolicy.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1beta1ValidatingAdmissionPolicy } from '../models/V1beta1ValidatingAdmissionPolicy'; +import { HttpFile } from '../http/http'; /** * ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy. @@ -25,7 +25,7 @@ export class V1beta1ValidatingAdmissionPolicyList { /** * List of ValidatingAdmissionPolicy. */ - 'items'?: Array; + 'items': Array; /** * 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 */ diff --git a/src/gen/models/V1beta1ValidatingAdmissionPolicySpec.ts b/src/gen/models/V1beta1ValidatingAdmissionPolicySpec.ts index 8cbadef1544..c37cdc81fd1 100644 --- a/src/gen/models/V1beta1ValidatingAdmissionPolicySpec.ts +++ b/src/gen/models/V1beta1ValidatingAdmissionPolicySpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,13 +10,13 @@ * Do not edit the class manually. */ -import { V1beta1AuditAnnotation } from '../models/V1beta1AuditAnnotation.js'; -import { V1beta1MatchCondition } from '../models/V1beta1MatchCondition.js'; -import { V1beta1MatchResources } from '../models/V1beta1MatchResources.js'; -import { V1beta1ParamKind } from '../models/V1beta1ParamKind.js'; -import { V1beta1Validation } from '../models/V1beta1Validation.js'; -import { V1beta1Variable } from '../models/V1beta1Variable.js'; -import { HttpFile } from '../http/http.js'; +import { V1beta1AuditAnnotation } from '../models/V1beta1AuditAnnotation'; +import { V1beta1MatchCondition } from '../models/V1beta1MatchCondition'; +import { V1beta1MatchResources } from '../models/V1beta1MatchResources'; +import { V1beta1ParamKind } from '../models/V1beta1ParamKind'; +import { V1beta1Validation } from '../models/V1beta1Validation'; +import { V1beta1Variable } from '../models/V1beta1Variable'; +import { HttpFile } from '../http/http'; /** * ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy. diff --git a/src/gen/models/V1beta1ValidatingAdmissionPolicyStatus.ts b/src/gen/models/V1beta1ValidatingAdmissionPolicyStatus.ts index 39146220ab9..78150f0313b 100644 --- a/src/gen/models/V1beta1ValidatingAdmissionPolicyStatus.ts +++ b/src/gen/models/V1beta1ValidatingAdmissionPolicyStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1Condition } from '../models/V1Condition.js'; -import { V1beta1TypeChecking } from '../models/V1beta1TypeChecking.js'; -import { HttpFile } from '../http/http.js'; +import { V1Condition } from '../models/V1Condition'; +import { V1beta1TypeChecking } from '../models/V1beta1TypeChecking'; +import { HttpFile } from '../http/http'; /** * ValidatingAdmissionPolicyStatus represents the status of an admission validation policy. diff --git a/src/gen/models/V1beta1Validation.ts b/src/gen/models/V1beta1Validation.ts index 9281107ce5b..b27a8935f7b 100644 --- a/src/gen/models/V1beta1Validation.ts +++ b/src/gen/models/V1beta1Validation.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Validation specifies the CEL expression which is used to apply the validation. diff --git a/src/gen/models/V1beta1Variable.ts b/src/gen/models/V1beta1Variable.ts index ed6e46909b7..d3c896bc59b 100644 --- a/src/gen/models/V1beta1Variable.ts +++ b/src/gen/models/V1beta1Variable.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Variable is the definition of a variable that is used for composition. A variable is defined as a named expression. diff --git a/src/gen/models/V1beta1VolumeAttributesClass.ts b/src/gen/models/V1beta1VolumeAttributesClass.ts new file mode 100644 index 00000000000..05010b3e75d --- /dev/null +++ b/src/gen/models/V1beta1VolumeAttributesClass.ts @@ -0,0 +1,80 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { HttpFile } from '../http/http'; + +/** +* VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning. +*/ +export class V1beta1VolumeAttributesClass { + /** + * 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 + */ + 'apiVersion'?: string; + /** + * Name of the CSI driver This field is immutable. + */ + 'driverName': 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 + */ + 'kind'?: string; + 'metadata'?: V1ObjectMeta; + /** + * parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass. This field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field. + */ + 'parameters'?: { [key: string]: string; }; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "driverName", + "baseName": "driverName", + "type": "string", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ObjectMeta", + "format": "" + }, + { + "name": "parameters", + "baseName": "parameters", + "type": "{ [key: string]: string; }", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1VolumeAttributesClass.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V1beta1VolumeAttributesClassList.ts b/src/gen/models/V1beta1VolumeAttributesClassList.ts new file mode 100644 index 00000000000..b41f45bd70a --- /dev/null +++ b/src/gen/models/V1beta1VolumeAttributesClassList.ts @@ -0,0 +1,71 @@ +/** + * Kubernetes + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * OpenAPI spec version: v1.32.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1beta1VolumeAttributesClass } from '../models/V1beta1VolumeAttributesClass'; +import { HttpFile } from '../http/http'; + +/** +* VolumeAttributesClassList is a collection of VolumeAttributesClass objects. +*/ +export class V1beta1VolumeAttributesClassList { + /** + * 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 + */ + 'apiVersion'?: string; + /** + * items is the list of VolumeAttributesClass objects. + */ + 'items': Array; + /** + * 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 + */ + 'kind'?: string; + 'metadata'?: V1ListMeta; + + static readonly discriminator: string | undefined = undefined; + + static readonly mapping: {[index: string]: string} | undefined = undefined; + + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ + { + "name": "apiVersion", + "baseName": "apiVersion", + "type": "string", + "format": "" + }, + { + "name": "items", + "baseName": "items", + "type": "Array", + "format": "" + }, + { + "name": "kind", + "baseName": "kind", + "type": "string", + "format": "" + }, + { + "name": "metadata", + "baseName": "metadata", + "type": "V1ListMeta", + "format": "" + } ]; + + static getAttributeTypeMap() { + return V1beta1VolumeAttributesClassList.attributeTypeMap; + } + + public constructor() { + } +} diff --git a/src/gen/models/V2ContainerResourceMetricSource.ts b/src/gen/models/V2ContainerResourceMetricSource.ts index 924859f2f93..16dfb60461e 100644 --- a/src/gen/models/V2ContainerResourceMetricSource.ts +++ b/src/gen/models/V2ContainerResourceMetricSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V2MetricTarget } from '../models/V2MetricTarget.js'; -import { HttpFile } from '../http/http.js'; +import { V2MetricTarget } from '../models/V2MetricTarget'; +import { HttpFile } from '../http/http'; /** * ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set. diff --git a/src/gen/models/V2ContainerResourceMetricStatus.ts b/src/gen/models/V2ContainerResourceMetricStatus.ts index 5b8947b89e3..8296f2e7bce 100644 --- a/src/gen/models/V2ContainerResourceMetricStatus.ts +++ b/src/gen/models/V2ContainerResourceMetricStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V2MetricValueStatus } from '../models/V2MetricValueStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V2MetricValueStatus } from '../models/V2MetricValueStatus'; +import { HttpFile } from '../http/http'; /** * ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. diff --git a/src/gen/models/V2CrossVersionObjectReference.ts b/src/gen/models/V2CrossVersionObjectReference.ts index e0530a3768d..6b8bc224374 100644 --- a/src/gen/models/V2CrossVersionObjectReference.ts +++ b/src/gen/models/V2CrossVersionObjectReference.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * CrossVersionObjectReference contains enough information to let you identify the referred resource. diff --git a/src/gen/models/V2ExternalMetricSource.ts b/src/gen/models/V2ExternalMetricSource.ts index 1652492ead4..f9a46c75db2 100644 --- a/src/gen/models/V2ExternalMetricSource.ts +++ b/src/gen/models/V2ExternalMetricSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V2MetricIdentifier } from '../models/V2MetricIdentifier.js'; -import { V2MetricTarget } from '../models/V2MetricTarget.js'; -import { HttpFile } from '../http/http.js'; +import { V2MetricIdentifier } from '../models/V2MetricIdentifier'; +import { V2MetricTarget } from '../models/V2MetricTarget'; +import { HttpFile } from '../http/http'; /** * ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). diff --git a/src/gen/models/V2ExternalMetricStatus.ts b/src/gen/models/V2ExternalMetricStatus.ts index 1a0b73c2595..07b44e17db7 100644 --- a/src/gen/models/V2ExternalMetricStatus.ts +++ b/src/gen/models/V2ExternalMetricStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V2MetricIdentifier } from '../models/V2MetricIdentifier.js'; -import { V2MetricValueStatus } from '../models/V2MetricValueStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V2MetricIdentifier } from '../models/V2MetricIdentifier'; +import { V2MetricValueStatus } from '../models/V2MetricValueStatus'; +import { HttpFile } from '../http/http'; /** * ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object. diff --git a/src/gen/models/V2HPAScalingPolicy.ts b/src/gen/models/V2HPAScalingPolicy.ts index 5736fac7664..1681da42d28 100644 --- a/src/gen/models/V2HPAScalingPolicy.ts +++ b/src/gen/models/V2HPAScalingPolicy.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * HPAScalingPolicy is a single policy which must hold true for a specified past interval. diff --git a/src/gen/models/V2HPAScalingRules.ts b/src/gen/models/V2HPAScalingRules.ts index 396d7783dcf..a79c19f2140 100644 --- a/src/gen/models/V2HPAScalingRules.ts +++ b/src/gen/models/V2HPAScalingRules.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V2HPAScalingPolicy } from '../models/V2HPAScalingPolicy.js'; -import { HttpFile } from '../http/http.js'; +import { V2HPAScalingPolicy } from '../models/V2HPAScalingPolicy'; +import { HttpFile } from '../http/http'; /** * HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen. diff --git a/src/gen/models/V2HorizontalPodAutoscaler.ts b/src/gen/models/V2HorizontalPodAutoscaler.ts index a435d70424a..f0c780aeaa1 100644 --- a/src/gen/models/V2HorizontalPodAutoscaler.ts +++ b/src/gen/models/V2HorizontalPodAutoscaler.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V2HorizontalPodAutoscalerSpec } from '../models/V2HorizontalPodAutoscalerSpec.js'; -import { V2HorizontalPodAutoscalerStatus } from '../models/V2HorizontalPodAutoscalerStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V2HorizontalPodAutoscalerSpec } from '../models/V2HorizontalPodAutoscalerSpec'; +import { V2HorizontalPodAutoscalerStatus } from '../models/V2HorizontalPodAutoscalerStatus'; +import { HttpFile } from '../http/http'; /** * HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified. diff --git a/src/gen/models/V2HorizontalPodAutoscalerBehavior.ts b/src/gen/models/V2HorizontalPodAutoscalerBehavior.ts index 65afe9e9501..c2defbdce2d 100644 --- a/src/gen/models/V2HorizontalPodAutoscalerBehavior.ts +++ b/src/gen/models/V2HorizontalPodAutoscalerBehavior.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V2HPAScalingRules } from '../models/V2HPAScalingRules.js'; -import { HttpFile } from '../http/http.js'; +import { V2HPAScalingRules } from '../models/V2HPAScalingRules'; +import { HttpFile } from '../http/http'; /** * HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). diff --git a/src/gen/models/V2HorizontalPodAutoscalerCondition.ts b/src/gen/models/V2HorizontalPodAutoscalerCondition.ts index e04e6e9ece7..7330dcbeacf 100644 --- a/src/gen/models/V2HorizontalPodAutoscalerCondition.ts +++ b/src/gen/models/V2HorizontalPodAutoscalerCondition.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point. diff --git a/src/gen/models/V2HorizontalPodAutoscalerList.ts b/src/gen/models/V2HorizontalPodAutoscalerList.ts index 53778446895..597e44aaec3 100644 --- a/src/gen/models/V2HorizontalPodAutoscalerList.ts +++ b/src/gen/models/V2HorizontalPodAutoscalerList.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V2HorizontalPodAutoscaler } from '../models/V2HorizontalPodAutoscaler.js'; -import { HttpFile } from '../http/http.js'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V2HorizontalPodAutoscaler } from '../models/V2HorizontalPodAutoscaler'; +import { HttpFile } from '../http/http'; /** * HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects. diff --git a/src/gen/models/V2HorizontalPodAutoscalerSpec.ts b/src/gen/models/V2HorizontalPodAutoscalerSpec.ts index 987c28e647d..fc13aa1f65b 100644 --- a/src/gen/models/V2HorizontalPodAutoscalerSpec.ts +++ b/src/gen/models/V2HorizontalPodAutoscalerSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V2CrossVersionObjectReference } from '../models/V2CrossVersionObjectReference.js'; -import { V2HorizontalPodAutoscalerBehavior } from '../models/V2HorizontalPodAutoscalerBehavior.js'; -import { V2MetricSpec } from '../models/V2MetricSpec.js'; -import { HttpFile } from '../http/http.js'; +import { V2CrossVersionObjectReference } from '../models/V2CrossVersionObjectReference'; +import { V2HorizontalPodAutoscalerBehavior } from '../models/V2HorizontalPodAutoscalerBehavior'; +import { V2MetricSpec } from '../models/V2MetricSpec'; +import { HttpFile } from '../http/http'; /** * HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler. diff --git a/src/gen/models/V2HorizontalPodAutoscalerStatus.ts b/src/gen/models/V2HorizontalPodAutoscalerStatus.ts index 9bc14d54304..d231bb663ad 100644 --- a/src/gen/models/V2HorizontalPodAutoscalerStatus.ts +++ b/src/gen/models/V2HorizontalPodAutoscalerStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V2HorizontalPodAutoscalerCondition } from '../models/V2HorizontalPodAutoscalerCondition.js'; -import { V2MetricStatus } from '../models/V2MetricStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V2HorizontalPodAutoscalerCondition } from '../models/V2HorizontalPodAutoscalerCondition'; +import { V2MetricStatus } from '../models/V2MetricStatus'; +import { HttpFile } from '../http/http'; /** * HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler. diff --git a/src/gen/models/V2MetricIdentifier.ts b/src/gen/models/V2MetricIdentifier.ts index dcb11e2f826..2deccbe1b03 100644 --- a/src/gen/models/V2MetricIdentifier.ts +++ b/src/gen/models/V2MetricIdentifier.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V1LabelSelector } from '../models/V1LabelSelector.js'; -import { HttpFile } from '../http/http.js'; +import { V1LabelSelector } from '../models/V1LabelSelector'; +import { HttpFile } from '../http/http'; /** * MetricIdentifier defines the name and optionally selector for a metric diff --git a/src/gen/models/V2MetricSpec.ts b/src/gen/models/V2MetricSpec.ts index 95859e41576..96f0ccee519 100644 --- a/src/gen/models/V2MetricSpec.ts +++ b/src/gen/models/V2MetricSpec.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,12 +10,12 @@ * Do not edit the class manually. */ -import { V2ContainerResourceMetricSource } from '../models/V2ContainerResourceMetricSource.js'; -import { V2ExternalMetricSource } from '../models/V2ExternalMetricSource.js'; -import { V2ObjectMetricSource } from '../models/V2ObjectMetricSource.js'; -import { V2PodsMetricSource } from '../models/V2PodsMetricSource.js'; -import { V2ResourceMetricSource } from '../models/V2ResourceMetricSource.js'; -import { HttpFile } from '../http/http.js'; +import { V2ContainerResourceMetricSource } from '../models/V2ContainerResourceMetricSource'; +import { V2ExternalMetricSource } from '../models/V2ExternalMetricSource'; +import { V2ObjectMetricSource } from '../models/V2ObjectMetricSource'; +import { V2PodsMetricSource } from '../models/V2PodsMetricSource'; +import { V2ResourceMetricSource } from '../models/V2ResourceMetricSource'; +import { HttpFile } from '../http/http'; /** * MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once). @@ -27,7 +27,7 @@ export class V2MetricSpec { 'pods'?: V2PodsMetricSource; 'resource'?: V2ResourceMetricSource; /** - * type is the type of metric source. It should be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object. Note: \"ContainerResource\" type is available on when the feature-gate HPAContainerMetrics is enabled + * type is the type of metric source. It should be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object. */ 'type': string; diff --git a/src/gen/models/V2MetricStatus.ts b/src/gen/models/V2MetricStatus.ts index 852dc6c8a4f..0995ad2352d 100644 --- a/src/gen/models/V2MetricStatus.ts +++ b/src/gen/models/V2MetricStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,12 +10,12 @@ * Do not edit the class manually. */ -import { V2ContainerResourceMetricStatus } from '../models/V2ContainerResourceMetricStatus.js'; -import { V2ExternalMetricStatus } from '../models/V2ExternalMetricStatus.js'; -import { V2ObjectMetricStatus } from '../models/V2ObjectMetricStatus.js'; -import { V2PodsMetricStatus } from '../models/V2PodsMetricStatus.js'; -import { V2ResourceMetricStatus } from '../models/V2ResourceMetricStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V2ContainerResourceMetricStatus } from '../models/V2ContainerResourceMetricStatus'; +import { V2ExternalMetricStatus } from '../models/V2ExternalMetricStatus'; +import { V2ObjectMetricStatus } from '../models/V2ObjectMetricStatus'; +import { V2PodsMetricStatus } from '../models/V2PodsMetricStatus'; +import { V2ResourceMetricStatus } from '../models/V2ResourceMetricStatus'; +import { HttpFile } from '../http/http'; /** * MetricStatus describes the last-read state of a single metric. @@ -27,7 +27,7 @@ export class V2MetricStatus { 'pods'?: V2PodsMetricStatus; 'resource'?: V2ResourceMetricStatus; /** - * type is the type of metric source. It will be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object. Note: \"ContainerResource\" type is available on when the feature-gate HPAContainerMetrics is enabled + * type is the type of metric source. It will be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object. */ 'type': string; diff --git a/src/gen/models/V2MetricTarget.ts b/src/gen/models/V2MetricTarget.ts index 4f38b70f5a0..95ec1727e71 100644 --- a/src/gen/models/V2MetricTarget.ts +++ b/src/gen/models/V2MetricTarget.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * MetricTarget defines the target value, average value, or average utilization of a specific metric diff --git a/src/gen/models/V2MetricValueStatus.ts b/src/gen/models/V2MetricValueStatus.ts index 0b63e67569c..e11df3c4a0b 100644 --- a/src/gen/models/V2MetricValueStatus.ts +++ b/src/gen/models/V2MetricValueStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * MetricValueStatus holds the current value for a metric diff --git a/src/gen/models/V2ObjectMetricSource.ts b/src/gen/models/V2ObjectMetricSource.ts index 6e303aaae70..7c0e0e36716 100644 --- a/src/gen/models/V2ObjectMetricSource.ts +++ b/src/gen/models/V2ObjectMetricSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V2CrossVersionObjectReference } from '../models/V2CrossVersionObjectReference.js'; -import { V2MetricIdentifier } from '../models/V2MetricIdentifier.js'; -import { V2MetricTarget } from '../models/V2MetricTarget.js'; -import { HttpFile } from '../http/http.js'; +import { V2CrossVersionObjectReference } from '../models/V2CrossVersionObjectReference'; +import { V2MetricIdentifier } from '../models/V2MetricIdentifier'; +import { V2MetricTarget } from '../models/V2MetricTarget'; +import { HttpFile } from '../http/http'; /** * ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object). diff --git a/src/gen/models/V2ObjectMetricStatus.ts b/src/gen/models/V2ObjectMetricStatus.ts index 5b9767aed03..a0b856a63e5 100644 --- a/src/gen/models/V2ObjectMetricStatus.ts +++ b/src/gen/models/V2ObjectMetricStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,10 +10,10 @@ * Do not edit the class manually. */ -import { V2CrossVersionObjectReference } from '../models/V2CrossVersionObjectReference.js'; -import { V2MetricIdentifier } from '../models/V2MetricIdentifier.js'; -import { V2MetricValueStatus } from '../models/V2MetricValueStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V2CrossVersionObjectReference } from '../models/V2CrossVersionObjectReference'; +import { V2MetricIdentifier } from '../models/V2MetricIdentifier'; +import { V2MetricValueStatus } from '../models/V2MetricValueStatus'; +import { HttpFile } from '../http/http'; /** * ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object). diff --git a/src/gen/models/V2PodsMetricSource.ts b/src/gen/models/V2PodsMetricSource.ts index 4d03fc6f41f..d7b66185a82 100644 --- a/src/gen/models/V2PodsMetricSource.ts +++ b/src/gen/models/V2PodsMetricSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V2MetricIdentifier } from '../models/V2MetricIdentifier.js'; -import { V2MetricTarget } from '../models/V2MetricTarget.js'; -import { HttpFile } from '../http/http.js'; +import { V2MetricIdentifier } from '../models/V2MetricIdentifier'; +import { V2MetricTarget } from '../models/V2MetricTarget'; +import { HttpFile } from '../http/http'; /** * PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. diff --git a/src/gen/models/V2PodsMetricStatus.ts b/src/gen/models/V2PodsMetricStatus.ts index 6e24eb268d1..6c0df7604c2 100644 --- a/src/gen/models/V2PodsMetricStatus.ts +++ b/src/gen/models/V2PodsMetricStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,9 +10,9 @@ * Do not edit the class manually. */ -import { V2MetricIdentifier } from '../models/V2MetricIdentifier.js'; -import { V2MetricValueStatus } from '../models/V2MetricValueStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V2MetricIdentifier } from '../models/V2MetricIdentifier'; +import { V2MetricValueStatus } from '../models/V2MetricValueStatus'; +import { HttpFile } from '../http/http'; /** * PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second). diff --git a/src/gen/models/V2ResourceMetricSource.ts b/src/gen/models/V2ResourceMetricSource.ts index 30799318db2..6b5471fc7f0 100644 --- a/src/gen/models/V2ResourceMetricSource.ts +++ b/src/gen/models/V2ResourceMetricSource.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V2MetricTarget } from '../models/V2MetricTarget.js'; -import { HttpFile } from '../http/http.js'; +import { V2MetricTarget } from '../models/V2MetricTarget'; +import { HttpFile } from '../http/http'; /** * ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set. diff --git a/src/gen/models/V2ResourceMetricStatus.ts b/src/gen/models/V2ResourceMetricStatus.ts index 908e74b6acf..7726319bf86 100644 --- a/src/gen/models/V2ResourceMetricStatus.ts +++ b/src/gen/models/V2ResourceMetricStatus.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,8 +10,8 @@ * Do not edit the class manually. */ -import { V2MetricValueStatus } from '../models/V2MetricValueStatus.js'; -import { HttpFile } from '../http/http.js'; +import { V2MetricValueStatus } from '../models/V2MetricValueStatus'; +import { HttpFile } from '../http/http'; /** * ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. diff --git a/src/gen/models/VersionInfo.ts b/src/gen/models/VersionInfo.ts index 085d3a8c661..542f327a253 100644 --- a/src/gen/models/VersionInfo.ts +++ b/src/gen/models/VersionInfo.ts @@ -2,7 +2,7 @@ * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * OpenAPI spec version: v1.30.1 + * OpenAPI spec version: v1.32.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +10,7 @@ * Do not edit the class manually. */ -import { HttpFile } from '../http/http.js'; +import { HttpFile } from '../http/http'; /** * Info contains versioning information. how we\'ll want to distribute that information. diff --git a/src/gen/models/all.ts b/src/gen/models/all.ts index 5a4a9f2830b..a67bef7bd65 100644 --- a/src/gen/models/all.ts +++ b/src/gen/models/all.ts @@ -1,613 +1,625 @@ -export * from '../models/AdmissionregistrationV1ServiceReference.js' -export * from '../models/AdmissionregistrationV1WebhookClientConfig.js' -export * from '../models/ApiextensionsV1ServiceReference.js' -export * from '../models/ApiextensionsV1WebhookClientConfig.js' -export * from '../models/ApiregistrationV1ServiceReference.js' -export * from '../models/AuthenticationV1TokenRequest.js' -export * from '../models/CoreV1EndpointPort.js' -export * from '../models/CoreV1Event.js' -export * from '../models/CoreV1EventList.js' -export * from '../models/CoreV1EventSeries.js' -export * from '../models/DiscoveryV1EndpointPort.js' -export * from '../models/EventsV1Event.js' -export * from '../models/EventsV1EventList.js' -export * from '../models/EventsV1EventSeries.js' -export * from '../models/FlowcontrolV1Subject.js' -export * from '../models/RbacV1Subject.js' -export * from '../models/StorageV1TokenRequest.js' -export * from '../models/V1APIGroup.js' -export * from '../models/V1APIGroupList.js' -export * from '../models/V1APIResource.js' -export * from '../models/V1APIResourceList.js' -export * from '../models/V1APIService.js' -export * from '../models/V1APIServiceCondition.js' -export * from '../models/V1APIServiceList.js' -export * from '../models/V1APIServiceSpec.js' -export * from '../models/V1APIServiceStatus.js' -export * from '../models/V1APIVersions.js' -export * from '../models/V1AWSElasticBlockStoreVolumeSource.js' -export * from '../models/V1Affinity.js' -export * from '../models/V1AggregationRule.js' -export * from '../models/V1AppArmorProfile.js' -export * from '../models/V1AttachedVolume.js' -export * from '../models/V1AuditAnnotation.js' -export * from '../models/V1AzureDiskVolumeSource.js' -export * from '../models/V1AzureFilePersistentVolumeSource.js' -export * from '../models/V1AzureFileVolumeSource.js' -export * from '../models/V1Binding.js' -export * from '../models/V1BoundObjectReference.js' -export * from '../models/V1CSIDriver.js' -export * from '../models/V1CSIDriverList.js' -export * from '../models/V1CSIDriverSpec.js' -export * from '../models/V1CSINode.js' -export * from '../models/V1CSINodeDriver.js' -export * from '../models/V1CSINodeList.js' -export * from '../models/V1CSINodeSpec.js' -export * from '../models/V1CSIPersistentVolumeSource.js' -export * from '../models/V1CSIStorageCapacity.js' -export * from '../models/V1CSIStorageCapacityList.js' -export * from '../models/V1CSIVolumeSource.js' -export * from '../models/V1Capabilities.js' -export * from '../models/V1CephFSPersistentVolumeSource.js' -export * from '../models/V1CephFSVolumeSource.js' -export * from '../models/V1CertificateSigningRequest.js' -export * from '../models/V1CertificateSigningRequestCondition.js' -export * from '../models/V1CertificateSigningRequestList.js' -export * from '../models/V1CertificateSigningRequestSpec.js' -export * from '../models/V1CertificateSigningRequestStatus.js' -export * from '../models/V1CinderPersistentVolumeSource.js' -export * from '../models/V1CinderVolumeSource.js' -export * from '../models/V1ClaimSource.js' -export * from '../models/V1ClientIPConfig.js' -export * from '../models/V1ClusterRole.js' -export * from '../models/V1ClusterRoleBinding.js' -export * from '../models/V1ClusterRoleBindingList.js' -export * from '../models/V1ClusterRoleList.js' -export * from '../models/V1ClusterTrustBundleProjection.js' -export * from '../models/V1ComponentCondition.js' -export * from '../models/V1ComponentStatus.js' -export * from '../models/V1ComponentStatusList.js' -export * from '../models/V1Condition.js' -export * from '../models/V1ConfigMap.js' -export * from '../models/V1ConfigMapEnvSource.js' -export * from '../models/V1ConfigMapKeySelector.js' -export * from '../models/V1ConfigMapList.js' -export * from '../models/V1ConfigMapNodeConfigSource.js' -export * from '../models/V1ConfigMapProjection.js' -export * from '../models/V1ConfigMapVolumeSource.js' -export * from '../models/V1Container.js' -export * from '../models/V1ContainerImage.js' -export * from '../models/V1ContainerPort.js' -export * from '../models/V1ContainerResizePolicy.js' -export * from '../models/V1ContainerState.js' -export * from '../models/V1ContainerStateRunning.js' -export * from '../models/V1ContainerStateTerminated.js' -export * from '../models/V1ContainerStateWaiting.js' -export * from '../models/V1ContainerStatus.js' -export * from '../models/V1ControllerRevision.js' -export * from '../models/V1ControllerRevisionList.js' -export * from '../models/V1CronJob.js' -export * from '../models/V1CronJobList.js' -export * from '../models/V1CronJobSpec.js' -export * from '../models/V1CronJobStatus.js' -export * from '../models/V1CrossVersionObjectReference.js' -export * from '../models/V1CustomResourceColumnDefinition.js' -export * from '../models/V1CustomResourceConversion.js' -export * from '../models/V1CustomResourceDefinition.js' -export * from '../models/V1CustomResourceDefinitionCondition.js' -export * from '../models/V1CustomResourceDefinitionList.js' -export * from '../models/V1CustomResourceDefinitionNames.js' -export * from '../models/V1CustomResourceDefinitionSpec.js' -export * from '../models/V1CustomResourceDefinitionStatus.js' -export * from '../models/V1CustomResourceDefinitionVersion.js' -export * from '../models/V1CustomResourceSubresourceScale.js' -export * from '../models/V1CustomResourceSubresources.js' -export * from '../models/V1CustomResourceValidation.js' -export * from '../models/V1DaemonEndpoint.js' -export * from '../models/V1DaemonSet.js' -export * from '../models/V1DaemonSetCondition.js' -export * from '../models/V1DaemonSetList.js' -export * from '../models/V1DaemonSetSpec.js' -export * from '../models/V1DaemonSetStatus.js' -export * from '../models/V1DaemonSetUpdateStrategy.js' -export * from '../models/V1DeleteOptions.js' -export * from '../models/V1Deployment.js' -export * from '../models/V1DeploymentCondition.js' -export * from '../models/V1DeploymentList.js' -export * from '../models/V1DeploymentSpec.js' -export * from '../models/V1DeploymentStatus.js' -export * from '../models/V1DeploymentStrategy.js' -export * from '../models/V1DownwardAPIProjection.js' -export * from '../models/V1DownwardAPIVolumeFile.js' -export * from '../models/V1DownwardAPIVolumeSource.js' -export * from '../models/V1EmptyDirVolumeSource.js' -export * from '../models/V1Endpoint.js' -export * from '../models/V1EndpointAddress.js' -export * from '../models/V1EndpointConditions.js' -export * from '../models/V1EndpointHints.js' -export * from '../models/V1EndpointSlice.js' -export * from '../models/V1EndpointSliceList.js' -export * from '../models/V1EndpointSubset.js' -export * from '../models/V1Endpoints.js' -export * from '../models/V1EndpointsList.js' -export * from '../models/V1EnvFromSource.js' -export * from '../models/V1EnvVar.js' -export * from '../models/V1EnvVarSource.js' -export * from '../models/V1EphemeralContainer.js' -export * from '../models/V1EphemeralVolumeSource.js' -export * from '../models/V1EventSource.js' -export * from '../models/V1Eviction.js' -export * from '../models/V1ExecAction.js' -export * from '../models/V1ExemptPriorityLevelConfiguration.js' -export * from '../models/V1ExpressionWarning.js' -export * from '../models/V1ExternalDocumentation.js' -export * from '../models/V1FCVolumeSource.js' -export * from '../models/V1FlexPersistentVolumeSource.js' -export * from '../models/V1FlexVolumeSource.js' -export * from '../models/V1FlockerVolumeSource.js' -export * from '../models/V1FlowDistinguisherMethod.js' -export * from '../models/V1FlowSchema.js' -export * from '../models/V1FlowSchemaCondition.js' -export * from '../models/V1FlowSchemaList.js' -export * from '../models/V1FlowSchemaSpec.js' -export * from '../models/V1FlowSchemaStatus.js' -export * from '../models/V1ForZone.js' -export * from '../models/V1GCEPersistentDiskVolumeSource.js' -export * from '../models/V1GRPCAction.js' -export * from '../models/V1GitRepoVolumeSource.js' -export * from '../models/V1GlusterfsPersistentVolumeSource.js' -export * from '../models/V1GlusterfsVolumeSource.js' -export * from '../models/V1GroupSubject.js' -export * from '../models/V1GroupVersionForDiscovery.js' -export * from '../models/V1HTTPGetAction.js' -export * from '../models/V1HTTPHeader.js' -export * from '../models/V1HTTPIngressPath.js' -export * from '../models/V1HTTPIngressRuleValue.js' -export * from '../models/V1HorizontalPodAutoscaler.js' -export * from '../models/V1HorizontalPodAutoscalerList.js' -export * from '../models/V1HorizontalPodAutoscalerSpec.js' -export * from '../models/V1HorizontalPodAutoscalerStatus.js' -export * from '../models/V1HostAlias.js' -export * from '../models/V1HostIP.js' -export * from '../models/V1HostPathVolumeSource.js' -export * from '../models/V1IPBlock.js' -export * from '../models/V1ISCSIPersistentVolumeSource.js' -export * from '../models/V1ISCSIVolumeSource.js' -export * from '../models/V1Ingress.js' -export * from '../models/V1IngressBackend.js' -export * from '../models/V1IngressClass.js' -export * from '../models/V1IngressClassList.js' -export * from '../models/V1IngressClassParametersReference.js' -export * from '../models/V1IngressClassSpec.js' -export * from '../models/V1IngressList.js' -export * from '../models/V1IngressLoadBalancerIngress.js' -export * from '../models/V1IngressLoadBalancerStatus.js' -export * from '../models/V1IngressPortStatus.js' -export * from '../models/V1IngressRule.js' -export * from '../models/V1IngressServiceBackend.js' -export * from '../models/V1IngressSpec.js' -export * from '../models/V1IngressStatus.js' -export * from '../models/V1IngressTLS.js' -export * from '../models/V1JSONSchemaProps.js' -export * from '../models/V1Job.js' -export * from '../models/V1JobCondition.js' -export * from '../models/V1JobList.js' -export * from '../models/V1JobSpec.js' -export * from '../models/V1JobStatus.js' -export * from '../models/V1JobTemplateSpec.js' -export * from '../models/V1KeyToPath.js' -export * from '../models/V1LabelSelector.js' -export * from '../models/V1LabelSelectorRequirement.js' -export * from '../models/V1Lease.js' -export * from '../models/V1LeaseList.js' -export * from '../models/V1LeaseSpec.js' -export * from '../models/V1Lifecycle.js' -export * from '../models/V1LifecycleHandler.js' -export * from '../models/V1LimitRange.js' -export * from '../models/V1LimitRangeItem.js' -export * from '../models/V1LimitRangeList.js' -export * from '../models/V1LimitRangeSpec.js' -export * from '../models/V1LimitResponse.js' -export * from '../models/V1LimitedPriorityLevelConfiguration.js' -export * from '../models/V1ListMeta.js' -export * from '../models/V1LoadBalancerIngress.js' -export * from '../models/V1LoadBalancerStatus.js' -export * from '../models/V1LocalObjectReference.js' -export * from '../models/V1LocalSubjectAccessReview.js' -export * from '../models/V1LocalVolumeSource.js' -export * from '../models/V1ManagedFieldsEntry.js' -export * from '../models/V1MatchCondition.js' -export * from '../models/V1MatchResources.js' -export * from '../models/V1ModifyVolumeStatus.js' -export * from '../models/V1MutatingWebhook.js' -export * from '../models/V1MutatingWebhookConfiguration.js' -export * from '../models/V1MutatingWebhookConfigurationList.js' -export * from '../models/V1NFSVolumeSource.js' -export * from '../models/V1NamedRuleWithOperations.js' -export * from '../models/V1Namespace.js' -export * from '../models/V1NamespaceCondition.js' -export * from '../models/V1NamespaceList.js' -export * from '../models/V1NamespaceSpec.js' -export * from '../models/V1NamespaceStatus.js' -export * from '../models/V1NetworkPolicy.js' -export * from '../models/V1NetworkPolicyEgressRule.js' -export * from '../models/V1NetworkPolicyIngressRule.js' -export * from '../models/V1NetworkPolicyList.js' -export * from '../models/V1NetworkPolicyPeer.js' -export * from '../models/V1NetworkPolicyPort.js' -export * from '../models/V1NetworkPolicySpec.js' -export * from '../models/V1Node.js' -export * from '../models/V1NodeAddress.js' -export * from '../models/V1NodeAffinity.js' -export * from '../models/V1NodeCondition.js' -export * from '../models/V1NodeConfigSource.js' -export * from '../models/V1NodeConfigStatus.js' -export * from '../models/V1NodeDaemonEndpoints.js' -export * from '../models/V1NodeList.js' -export * from '../models/V1NodeRuntimeHandler.js' -export * from '../models/V1NodeRuntimeHandlerFeatures.js' -export * from '../models/V1NodeSelector.js' -export * from '../models/V1NodeSelectorRequirement.js' -export * from '../models/V1NodeSelectorTerm.js' -export * from '../models/V1NodeSpec.js' -export * from '../models/V1NodeStatus.js' -export * from '../models/V1NodeSystemInfo.js' -export * from '../models/V1NonResourceAttributes.js' -export * from '../models/V1NonResourcePolicyRule.js' -export * from '../models/V1NonResourceRule.js' -export * from '../models/V1ObjectFieldSelector.js' -export * from '../models/V1ObjectMeta.js' -export * from '../models/V1ObjectReference.js' -export * from '../models/V1Overhead.js' -export * from '../models/V1OwnerReference.js' -export * from '../models/V1ParamKind.js' -export * from '../models/V1ParamRef.js' -export * from '../models/V1PersistentVolume.js' -export * from '../models/V1PersistentVolumeClaim.js' -export * from '../models/V1PersistentVolumeClaimCondition.js' -export * from '../models/V1PersistentVolumeClaimList.js' -export * from '../models/V1PersistentVolumeClaimSpec.js' -export * from '../models/V1PersistentVolumeClaimStatus.js' -export * from '../models/V1PersistentVolumeClaimTemplate.js' -export * from '../models/V1PersistentVolumeClaimVolumeSource.js' -export * from '../models/V1PersistentVolumeList.js' -export * from '../models/V1PersistentVolumeSpec.js' -export * from '../models/V1PersistentVolumeStatus.js' -export * from '../models/V1PhotonPersistentDiskVolumeSource.js' -export * from '../models/V1Pod.js' -export * from '../models/V1PodAffinity.js' -export * from '../models/V1PodAffinityTerm.js' -export * from '../models/V1PodAntiAffinity.js' -export * from '../models/V1PodCondition.js' -export * from '../models/V1PodDNSConfig.js' -export * from '../models/V1PodDNSConfigOption.js' -export * from '../models/V1PodDisruptionBudget.js' -export * from '../models/V1PodDisruptionBudgetList.js' -export * from '../models/V1PodDisruptionBudgetSpec.js' -export * from '../models/V1PodDisruptionBudgetStatus.js' -export * from '../models/V1PodFailurePolicy.js' -export * from '../models/V1PodFailurePolicyOnExitCodesRequirement.js' -export * from '../models/V1PodFailurePolicyOnPodConditionsPattern.js' -export * from '../models/V1PodFailurePolicyRule.js' -export * from '../models/V1PodIP.js' -export * from '../models/V1PodList.js' -export * from '../models/V1PodOS.js' -export * from '../models/V1PodReadinessGate.js' -export * from '../models/V1PodResourceClaim.js' -export * from '../models/V1PodResourceClaimStatus.js' -export * from '../models/V1PodSchedulingGate.js' -export * from '../models/V1PodSecurityContext.js' -export * from '../models/V1PodSpec.js' -export * from '../models/V1PodStatus.js' -export * from '../models/V1PodTemplate.js' -export * from '../models/V1PodTemplateList.js' -export * from '../models/V1PodTemplateSpec.js' -export * from '../models/V1PolicyRule.js' -export * from '../models/V1PolicyRulesWithSubjects.js' -export * from '../models/V1PortStatus.js' -export * from '../models/V1PortworxVolumeSource.js' -export * from '../models/V1Preconditions.js' -export * from '../models/V1PreferredSchedulingTerm.js' -export * from '../models/V1PriorityClass.js' -export * from '../models/V1PriorityClassList.js' -export * from '../models/V1PriorityLevelConfiguration.js' -export * from '../models/V1PriorityLevelConfigurationCondition.js' -export * from '../models/V1PriorityLevelConfigurationList.js' -export * from '../models/V1PriorityLevelConfigurationReference.js' -export * from '../models/V1PriorityLevelConfigurationSpec.js' -export * from '../models/V1PriorityLevelConfigurationStatus.js' -export * from '../models/V1Probe.js' -export * from '../models/V1ProjectedVolumeSource.js' -export * from '../models/V1QueuingConfiguration.js' -export * from '../models/V1QuobyteVolumeSource.js' -export * from '../models/V1RBDPersistentVolumeSource.js' -export * from '../models/V1RBDVolumeSource.js' -export * from '../models/V1ReplicaSet.js' -export * from '../models/V1ReplicaSetCondition.js' -export * from '../models/V1ReplicaSetList.js' -export * from '../models/V1ReplicaSetSpec.js' -export * from '../models/V1ReplicaSetStatus.js' -export * from '../models/V1ReplicationController.js' -export * from '../models/V1ReplicationControllerCondition.js' -export * from '../models/V1ReplicationControllerList.js' -export * from '../models/V1ReplicationControllerSpec.js' -export * from '../models/V1ReplicationControllerStatus.js' -export * from '../models/V1ResourceAttributes.js' -export * from '../models/V1ResourceClaim.js' -export * from '../models/V1ResourceFieldSelector.js' -export * from '../models/V1ResourcePolicyRule.js' -export * from '../models/V1ResourceQuota.js' -export * from '../models/V1ResourceQuotaList.js' -export * from '../models/V1ResourceQuotaSpec.js' -export * from '../models/V1ResourceQuotaStatus.js' -export * from '../models/V1ResourceRequirements.js' -export * from '../models/V1ResourceRule.js' -export * from '../models/V1Role.js' -export * from '../models/V1RoleBinding.js' -export * from '../models/V1RoleBindingList.js' -export * from '../models/V1RoleList.js' -export * from '../models/V1RoleRef.js' -export * from '../models/V1RollingUpdateDaemonSet.js' -export * from '../models/V1RollingUpdateDeployment.js' -export * from '../models/V1RollingUpdateStatefulSetStrategy.js' -export * from '../models/V1RuleWithOperations.js' -export * from '../models/V1RuntimeClass.js' -export * from '../models/V1RuntimeClassList.js' -export * from '../models/V1SELinuxOptions.js' -export * from '../models/V1Scale.js' -export * from '../models/V1ScaleIOPersistentVolumeSource.js' -export * from '../models/V1ScaleIOVolumeSource.js' -export * from '../models/V1ScaleSpec.js' -export * from '../models/V1ScaleStatus.js' -export * from '../models/V1Scheduling.js' -export * from '../models/V1ScopeSelector.js' -export * from '../models/V1ScopedResourceSelectorRequirement.js' -export * from '../models/V1SeccompProfile.js' -export * from '../models/V1Secret.js' -export * from '../models/V1SecretEnvSource.js' -export * from '../models/V1SecretKeySelector.js' -export * from '../models/V1SecretList.js' -export * from '../models/V1SecretProjection.js' -export * from '../models/V1SecretReference.js' -export * from '../models/V1SecretVolumeSource.js' -export * from '../models/V1SecurityContext.js' -export * from '../models/V1SelectableField.js' -export * from '../models/V1SelfSubjectAccessReview.js' -export * from '../models/V1SelfSubjectAccessReviewSpec.js' -export * from '../models/V1SelfSubjectReview.js' -export * from '../models/V1SelfSubjectReviewStatus.js' -export * from '../models/V1SelfSubjectRulesReview.js' -export * from '../models/V1SelfSubjectRulesReviewSpec.js' -export * from '../models/V1ServerAddressByClientCIDR.js' -export * from '../models/V1Service.js' -export * from '../models/V1ServiceAccount.js' -export * from '../models/V1ServiceAccountList.js' -export * from '../models/V1ServiceAccountSubject.js' -export * from '../models/V1ServiceAccountTokenProjection.js' -export * from '../models/V1ServiceBackendPort.js' -export * from '../models/V1ServiceList.js' -export * from '../models/V1ServicePort.js' -export * from '../models/V1ServiceSpec.js' -export * from '../models/V1ServiceStatus.js' -export * from '../models/V1SessionAffinityConfig.js' -export * from '../models/V1SleepAction.js' -export * from '../models/V1StatefulSet.js' -export * from '../models/V1StatefulSetCondition.js' -export * from '../models/V1StatefulSetList.js' -export * from '../models/V1StatefulSetOrdinals.js' -export * from '../models/V1StatefulSetPersistentVolumeClaimRetentionPolicy.js' -export * from '../models/V1StatefulSetSpec.js' -export * from '../models/V1StatefulSetStatus.js' -export * from '../models/V1StatefulSetUpdateStrategy.js' -export * from '../models/V1Status.js' -export * from '../models/V1StatusCause.js' -export * from '../models/V1StatusDetails.js' -export * from '../models/V1StorageClass.js' -export * from '../models/V1StorageClassList.js' -export * from '../models/V1StorageOSPersistentVolumeSource.js' -export * from '../models/V1StorageOSVolumeSource.js' -export * from '../models/V1SubjectAccessReview.js' -export * from '../models/V1SubjectAccessReviewSpec.js' -export * from '../models/V1SubjectAccessReviewStatus.js' -export * from '../models/V1SubjectRulesReviewStatus.js' -export * from '../models/V1SuccessPolicy.js' -export * from '../models/V1SuccessPolicyRule.js' -export * from '../models/V1Sysctl.js' -export * from '../models/V1TCPSocketAction.js' -export * from '../models/V1Taint.js' -export * from '../models/V1TokenRequestSpec.js' -export * from '../models/V1TokenRequestStatus.js' -export * from '../models/V1TokenReview.js' -export * from '../models/V1TokenReviewSpec.js' -export * from '../models/V1TokenReviewStatus.js' -export * from '../models/V1Toleration.js' -export * from '../models/V1TopologySelectorLabelRequirement.js' -export * from '../models/V1TopologySelectorTerm.js' -export * from '../models/V1TopologySpreadConstraint.js' -export * from '../models/V1TypeChecking.js' -export * from '../models/V1TypedLocalObjectReference.js' -export * from '../models/V1TypedObjectReference.js' -export * from '../models/V1UncountedTerminatedPods.js' -export * from '../models/V1UserInfo.js' -export * from '../models/V1UserSubject.js' -export * from '../models/V1ValidatingAdmissionPolicy.js' -export * from '../models/V1ValidatingAdmissionPolicyBinding.js' -export * from '../models/V1ValidatingAdmissionPolicyBindingList.js' -export * from '../models/V1ValidatingAdmissionPolicyBindingSpec.js' -export * from '../models/V1ValidatingAdmissionPolicyList.js' -export * from '../models/V1ValidatingAdmissionPolicySpec.js' -export * from '../models/V1ValidatingAdmissionPolicyStatus.js' -export * from '../models/V1ValidatingWebhook.js' -export * from '../models/V1ValidatingWebhookConfiguration.js' -export * from '../models/V1ValidatingWebhookConfigurationList.js' -export * from '../models/V1Validation.js' -export * from '../models/V1ValidationRule.js' -export * from '../models/V1Variable.js' -export * from '../models/V1Volume.js' -export * from '../models/V1VolumeAttachment.js' -export * from '../models/V1VolumeAttachmentList.js' -export * from '../models/V1VolumeAttachmentSource.js' -export * from '../models/V1VolumeAttachmentSpec.js' -export * from '../models/V1VolumeAttachmentStatus.js' -export * from '../models/V1VolumeDevice.js' -export * from '../models/V1VolumeError.js' -export * from '../models/V1VolumeMount.js' -export * from '../models/V1VolumeMountStatus.js' -export * from '../models/V1VolumeNodeAffinity.js' -export * from '../models/V1VolumeNodeResources.js' -export * from '../models/V1VolumeProjection.js' -export * from '../models/V1VolumeResourceRequirements.js' -export * from '../models/V1VsphereVirtualDiskVolumeSource.js' -export * from '../models/V1WatchEvent.js' -export * from '../models/V1WebhookConversion.js' -export * from '../models/V1WeightedPodAffinityTerm.js' -export * from '../models/V1WindowsSecurityContextOptions.js' -export * from '../models/V1alpha1AuditAnnotation.js' -export * from '../models/V1alpha1ClusterTrustBundle.js' -export * from '../models/V1alpha1ClusterTrustBundleList.js' -export * from '../models/V1alpha1ClusterTrustBundleSpec.js' -export * from '../models/V1alpha1ExpressionWarning.js' -export * from '../models/V1alpha1GroupVersionResource.js' -export * from '../models/V1alpha1IPAddress.js' -export * from '../models/V1alpha1IPAddressList.js' -export * from '../models/V1alpha1IPAddressSpec.js' -export * from '../models/V1alpha1MatchCondition.js' -export * from '../models/V1alpha1MatchResources.js' -export * from '../models/V1alpha1MigrationCondition.js' -export * from '../models/V1alpha1NamedRuleWithOperations.js' -export * from '../models/V1alpha1ParamKind.js' -export * from '../models/V1alpha1ParamRef.js' -export * from '../models/V1alpha1ParentReference.js' -export * from '../models/V1alpha1SelfSubjectReview.js' -export * from '../models/V1alpha1SelfSubjectReviewStatus.js' -export * from '../models/V1alpha1ServerStorageVersion.js' -export * from '../models/V1alpha1ServiceCIDR.js' -export * from '../models/V1alpha1ServiceCIDRList.js' -export * from '../models/V1alpha1ServiceCIDRSpec.js' -export * from '../models/V1alpha1ServiceCIDRStatus.js' -export * from '../models/V1alpha1StorageVersion.js' -export * from '../models/V1alpha1StorageVersionCondition.js' -export * from '../models/V1alpha1StorageVersionList.js' -export * from '../models/V1alpha1StorageVersionMigration.js' -export * from '../models/V1alpha1StorageVersionMigrationList.js' -export * from '../models/V1alpha1StorageVersionMigrationSpec.js' -export * from '../models/V1alpha1StorageVersionMigrationStatus.js' -export * from '../models/V1alpha1StorageVersionStatus.js' -export * from '../models/V1alpha1TypeChecking.js' -export * from '../models/V1alpha1ValidatingAdmissionPolicy.js' -export * from '../models/V1alpha1ValidatingAdmissionPolicyBinding.js' -export * from '../models/V1alpha1ValidatingAdmissionPolicyBindingList.js' -export * from '../models/V1alpha1ValidatingAdmissionPolicyBindingSpec.js' -export * from '../models/V1alpha1ValidatingAdmissionPolicyList.js' -export * from '../models/V1alpha1ValidatingAdmissionPolicySpec.js' -export * from '../models/V1alpha1ValidatingAdmissionPolicyStatus.js' -export * from '../models/V1alpha1Validation.js' -export * from '../models/V1alpha1Variable.js' -export * from '../models/V1alpha1VolumeAttributesClass.js' -export * from '../models/V1alpha1VolumeAttributesClassList.js' -export * from '../models/V1alpha2AllocationResult.js' -export * from '../models/V1alpha2DriverAllocationResult.js' -export * from '../models/V1alpha2DriverRequests.js' -export * from '../models/V1alpha2NamedResourcesAllocationResult.js' -export * from '../models/V1alpha2NamedResourcesAttribute.js' -export * from '../models/V1alpha2NamedResourcesFilter.js' -export * from '../models/V1alpha2NamedResourcesInstance.js' -export * from '../models/V1alpha2NamedResourcesIntSlice.js' -export * from '../models/V1alpha2NamedResourcesRequest.js' -export * from '../models/V1alpha2NamedResourcesResources.js' -export * from '../models/V1alpha2NamedResourcesStringSlice.js' -export * from '../models/V1alpha2PodSchedulingContext.js' -export * from '../models/V1alpha2PodSchedulingContextList.js' -export * from '../models/V1alpha2PodSchedulingContextSpec.js' -export * from '../models/V1alpha2PodSchedulingContextStatus.js' -export * from '../models/V1alpha2ResourceClaim.js' -export * from '../models/V1alpha2ResourceClaimConsumerReference.js' -export * from '../models/V1alpha2ResourceClaimList.js' -export * from '../models/V1alpha2ResourceClaimParameters.js' -export * from '../models/V1alpha2ResourceClaimParametersList.js' -export * from '../models/V1alpha2ResourceClaimParametersReference.js' -export * from '../models/V1alpha2ResourceClaimSchedulingStatus.js' -export * from '../models/V1alpha2ResourceClaimSpec.js' -export * from '../models/V1alpha2ResourceClaimStatus.js' -export * from '../models/V1alpha2ResourceClaimTemplate.js' -export * from '../models/V1alpha2ResourceClaimTemplateList.js' -export * from '../models/V1alpha2ResourceClaimTemplateSpec.js' -export * from '../models/V1alpha2ResourceClass.js' -export * from '../models/V1alpha2ResourceClassList.js' -export * from '../models/V1alpha2ResourceClassParameters.js' -export * from '../models/V1alpha2ResourceClassParametersList.js' -export * from '../models/V1alpha2ResourceClassParametersReference.js' -export * from '../models/V1alpha2ResourceFilter.js' -export * from '../models/V1alpha2ResourceHandle.js' -export * from '../models/V1alpha2ResourceRequest.js' -export * from '../models/V1alpha2ResourceSlice.js' -export * from '../models/V1alpha2ResourceSliceList.js' -export * from '../models/V1alpha2StructuredResourceHandle.js' -export * from '../models/V1alpha2VendorParameters.js' -export * from '../models/V1beta1AuditAnnotation.js' -export * from '../models/V1beta1ExpressionWarning.js' -export * from '../models/V1beta1MatchCondition.js' -export * from '../models/V1beta1MatchResources.js' -export * from '../models/V1beta1NamedRuleWithOperations.js' -export * from '../models/V1beta1ParamKind.js' -export * from '../models/V1beta1ParamRef.js' -export * from '../models/V1beta1SelfSubjectReview.js' -export * from '../models/V1beta1SelfSubjectReviewStatus.js' -export * from '../models/V1beta1TypeChecking.js' -export * from '../models/V1beta1ValidatingAdmissionPolicy.js' -export * from '../models/V1beta1ValidatingAdmissionPolicyBinding.js' -export * from '../models/V1beta1ValidatingAdmissionPolicyBindingList.js' -export * from '../models/V1beta1ValidatingAdmissionPolicyBindingSpec.js' -export * from '../models/V1beta1ValidatingAdmissionPolicyList.js' -export * from '../models/V1beta1ValidatingAdmissionPolicySpec.js' -export * from '../models/V1beta1ValidatingAdmissionPolicyStatus.js' -export * from '../models/V1beta1Validation.js' -export * from '../models/V1beta1Variable.js' -export * from '../models/V1beta3ExemptPriorityLevelConfiguration.js' -export * from '../models/V1beta3FlowDistinguisherMethod.js' -export * from '../models/V1beta3FlowSchema.js' -export * from '../models/V1beta3FlowSchemaCondition.js' -export * from '../models/V1beta3FlowSchemaList.js' -export * from '../models/V1beta3FlowSchemaSpec.js' -export * from '../models/V1beta3FlowSchemaStatus.js' -export * from '../models/V1beta3GroupSubject.js' -export * from '../models/V1beta3LimitResponse.js' -export * from '../models/V1beta3LimitedPriorityLevelConfiguration.js' -export * from '../models/V1beta3NonResourcePolicyRule.js' -export * from '../models/V1beta3PolicyRulesWithSubjects.js' -export * from '../models/V1beta3PriorityLevelConfiguration.js' -export * from '../models/V1beta3PriorityLevelConfigurationCondition.js' -export * from '../models/V1beta3PriorityLevelConfigurationList.js' -export * from '../models/V1beta3PriorityLevelConfigurationReference.js' -export * from '../models/V1beta3PriorityLevelConfigurationSpec.js' -export * from '../models/V1beta3PriorityLevelConfigurationStatus.js' -export * from '../models/V1beta3QueuingConfiguration.js' -export * from '../models/V1beta3ResourcePolicyRule.js' -export * from '../models/V1beta3ServiceAccountSubject.js' -export * from '../models/V1beta3Subject.js' -export * from '../models/V1beta3UserSubject.js' -export * from '../models/V2ContainerResourceMetricSource.js' -export * from '../models/V2ContainerResourceMetricStatus.js' -export * from '../models/V2CrossVersionObjectReference.js' -export * from '../models/V2ExternalMetricSource.js' -export * from '../models/V2ExternalMetricStatus.js' -export * from '../models/V2HPAScalingPolicy.js' -export * from '../models/V2HPAScalingRules.js' -export * from '../models/V2HorizontalPodAutoscaler.js' -export * from '../models/V2HorizontalPodAutoscalerBehavior.js' -export * from '../models/V2HorizontalPodAutoscalerCondition.js' -export * from '../models/V2HorizontalPodAutoscalerList.js' -export * from '../models/V2HorizontalPodAutoscalerSpec.js' -export * from '../models/V2HorizontalPodAutoscalerStatus.js' -export * from '../models/V2MetricIdentifier.js' -export * from '../models/V2MetricSpec.js' -export * from '../models/V2MetricStatus.js' -export * from '../models/V2MetricTarget.js' -export * from '../models/V2MetricValueStatus.js' -export * from '../models/V2ObjectMetricSource.js' -export * from '../models/V2ObjectMetricStatus.js' -export * from '../models/V2PodsMetricSource.js' -export * from '../models/V2PodsMetricStatus.js' -export * from '../models/V2ResourceMetricSource.js' -export * from '../models/V2ResourceMetricStatus.js' -export * from '../models/VersionInfo.js' +export * from '../models/AdmissionregistrationV1ServiceReference' +export * from '../models/AdmissionregistrationV1WebhookClientConfig' +export * from '../models/ApiextensionsV1ServiceReference' +export * from '../models/ApiextensionsV1WebhookClientConfig' +export * from '../models/ApiregistrationV1ServiceReference' +export * from '../models/AuthenticationV1TokenRequest' +export * from '../models/CoreV1EndpointPort' +export * from '../models/CoreV1Event' +export * from '../models/CoreV1EventList' +export * from '../models/CoreV1EventSeries' +export * from '../models/DiscoveryV1EndpointPort' +export * from '../models/EventsV1Event' +export * from '../models/EventsV1EventList' +export * from '../models/EventsV1EventSeries' +export * from '../models/FlowcontrolV1Subject' +export * from '../models/RbacV1Subject' +export * from '../models/StorageV1TokenRequest' +export * from '../models/V1APIGroup' +export * from '../models/V1APIGroupList' +export * from '../models/V1APIResource' +export * from '../models/V1APIResourceList' +export * from '../models/V1APIService' +export * from '../models/V1APIServiceCondition' +export * from '../models/V1APIServiceList' +export * from '../models/V1APIServiceSpec' +export * from '../models/V1APIServiceStatus' +export * from '../models/V1APIVersions' +export * from '../models/V1AWSElasticBlockStoreVolumeSource' +export * from '../models/V1Affinity' +export * from '../models/V1AggregationRule' +export * from '../models/V1AppArmorProfile' +export * from '../models/V1AttachedVolume' +export * from '../models/V1AuditAnnotation' +export * from '../models/V1AzureDiskVolumeSource' +export * from '../models/V1AzureFilePersistentVolumeSource' +export * from '../models/V1AzureFileVolumeSource' +export * from '../models/V1Binding' +export * from '../models/V1BoundObjectReference' +export * from '../models/V1CSIDriver' +export * from '../models/V1CSIDriverList' +export * from '../models/V1CSIDriverSpec' +export * from '../models/V1CSINode' +export * from '../models/V1CSINodeDriver' +export * from '../models/V1CSINodeList' +export * from '../models/V1CSINodeSpec' +export * from '../models/V1CSIPersistentVolumeSource' +export * from '../models/V1CSIStorageCapacity' +export * from '../models/V1CSIStorageCapacityList' +export * from '../models/V1CSIVolumeSource' +export * from '../models/V1Capabilities' +export * from '../models/V1CephFSPersistentVolumeSource' +export * from '../models/V1CephFSVolumeSource' +export * from '../models/V1CertificateSigningRequest' +export * from '../models/V1CertificateSigningRequestCondition' +export * from '../models/V1CertificateSigningRequestList' +export * from '../models/V1CertificateSigningRequestSpec' +export * from '../models/V1CertificateSigningRequestStatus' +export * from '../models/V1CinderPersistentVolumeSource' +export * from '../models/V1CinderVolumeSource' +export * from '../models/V1ClientIPConfig' +export * from '../models/V1ClusterRole' +export * from '../models/V1ClusterRoleBinding' +export * from '../models/V1ClusterRoleBindingList' +export * from '../models/V1ClusterRoleList' +export * from '../models/V1ClusterTrustBundleProjection' +export * from '../models/V1ComponentCondition' +export * from '../models/V1ComponentStatus' +export * from '../models/V1ComponentStatusList' +export * from '../models/V1Condition' +export * from '../models/V1ConfigMap' +export * from '../models/V1ConfigMapEnvSource' +export * from '../models/V1ConfigMapKeySelector' +export * from '../models/V1ConfigMapList' +export * from '../models/V1ConfigMapNodeConfigSource' +export * from '../models/V1ConfigMapProjection' +export * from '../models/V1ConfigMapVolumeSource' +export * from '../models/V1Container' +export * from '../models/V1ContainerImage' +export * from '../models/V1ContainerPort' +export * from '../models/V1ContainerResizePolicy' +export * from '../models/V1ContainerState' +export * from '../models/V1ContainerStateRunning' +export * from '../models/V1ContainerStateTerminated' +export * from '../models/V1ContainerStateWaiting' +export * from '../models/V1ContainerStatus' +export * from '../models/V1ContainerUser' +export * from '../models/V1ControllerRevision' +export * from '../models/V1ControllerRevisionList' +export * from '../models/V1CronJob' +export * from '../models/V1CronJobList' +export * from '../models/V1CronJobSpec' +export * from '../models/V1CronJobStatus' +export * from '../models/V1CrossVersionObjectReference' +export * from '../models/V1CustomResourceColumnDefinition' +export * from '../models/V1CustomResourceConversion' +export * from '../models/V1CustomResourceDefinition' +export * from '../models/V1CustomResourceDefinitionCondition' +export * from '../models/V1CustomResourceDefinitionList' +export * from '../models/V1CustomResourceDefinitionNames' +export * from '../models/V1CustomResourceDefinitionSpec' +export * from '../models/V1CustomResourceDefinitionStatus' +export * from '../models/V1CustomResourceDefinitionVersion' +export * from '../models/V1CustomResourceSubresourceScale' +export * from '../models/V1CustomResourceSubresources' +export * from '../models/V1CustomResourceValidation' +export * from '../models/V1DaemonEndpoint' +export * from '../models/V1DaemonSet' +export * from '../models/V1DaemonSetCondition' +export * from '../models/V1DaemonSetList' +export * from '../models/V1DaemonSetSpec' +export * from '../models/V1DaemonSetStatus' +export * from '../models/V1DaemonSetUpdateStrategy' +export * from '../models/V1DeleteOptions' +export * from '../models/V1Deployment' +export * from '../models/V1DeploymentCondition' +export * from '../models/V1DeploymentList' +export * from '../models/V1DeploymentSpec' +export * from '../models/V1DeploymentStatus' +export * from '../models/V1DeploymentStrategy' +export * from '../models/V1DownwardAPIProjection' +export * from '../models/V1DownwardAPIVolumeFile' +export * from '../models/V1DownwardAPIVolumeSource' +export * from '../models/V1EmptyDirVolumeSource' +export * from '../models/V1Endpoint' +export * from '../models/V1EndpointAddress' +export * from '../models/V1EndpointConditions' +export * from '../models/V1EndpointHints' +export * from '../models/V1EndpointSlice' +export * from '../models/V1EndpointSliceList' +export * from '../models/V1EndpointSubset' +export * from '../models/V1Endpoints' +export * from '../models/V1EndpointsList' +export * from '../models/V1EnvFromSource' +export * from '../models/V1EnvVar' +export * from '../models/V1EnvVarSource' +export * from '../models/V1EphemeralContainer' +export * from '../models/V1EphemeralVolumeSource' +export * from '../models/V1EventSource' +export * from '../models/V1Eviction' +export * from '../models/V1ExecAction' +export * from '../models/V1ExemptPriorityLevelConfiguration' +export * from '../models/V1ExpressionWarning' +export * from '../models/V1ExternalDocumentation' +export * from '../models/V1FCVolumeSource' +export * from '../models/V1FieldSelectorAttributes' +export * from '../models/V1FieldSelectorRequirement' +export * from '../models/V1FlexPersistentVolumeSource' +export * from '../models/V1FlexVolumeSource' +export * from '../models/V1FlockerVolumeSource' +export * from '../models/V1FlowDistinguisherMethod' +export * from '../models/V1FlowSchema' +export * from '../models/V1FlowSchemaCondition' +export * from '../models/V1FlowSchemaList' +export * from '../models/V1FlowSchemaSpec' +export * from '../models/V1FlowSchemaStatus' +export * from '../models/V1ForZone' +export * from '../models/V1GCEPersistentDiskVolumeSource' +export * from '../models/V1GRPCAction' +export * from '../models/V1GitRepoVolumeSource' +export * from '../models/V1GlusterfsPersistentVolumeSource' +export * from '../models/V1GlusterfsVolumeSource' +export * from '../models/V1GroupSubject' +export * from '../models/V1GroupVersionForDiscovery' +export * from '../models/V1HTTPGetAction' +export * from '../models/V1HTTPHeader' +export * from '../models/V1HTTPIngressPath' +export * from '../models/V1HTTPIngressRuleValue' +export * from '../models/V1HorizontalPodAutoscaler' +export * from '../models/V1HorizontalPodAutoscalerList' +export * from '../models/V1HorizontalPodAutoscalerSpec' +export * from '../models/V1HorizontalPodAutoscalerStatus' +export * from '../models/V1HostAlias' +export * from '../models/V1HostIP' +export * from '../models/V1HostPathVolumeSource' +export * from '../models/V1IPBlock' +export * from '../models/V1ISCSIPersistentVolumeSource' +export * from '../models/V1ISCSIVolumeSource' +export * from '../models/V1ImageVolumeSource' +export * from '../models/V1Ingress' +export * from '../models/V1IngressBackend' +export * from '../models/V1IngressClass' +export * from '../models/V1IngressClassList' +export * from '../models/V1IngressClassParametersReference' +export * from '../models/V1IngressClassSpec' +export * from '../models/V1IngressList' +export * from '../models/V1IngressLoadBalancerIngress' +export * from '../models/V1IngressLoadBalancerStatus' +export * from '../models/V1IngressPortStatus' +export * from '../models/V1IngressRule' +export * from '../models/V1IngressServiceBackend' +export * from '../models/V1IngressSpec' +export * from '../models/V1IngressStatus' +export * from '../models/V1IngressTLS' +export * from '../models/V1JSONSchemaProps' +export * from '../models/V1Job' +export * from '../models/V1JobCondition' +export * from '../models/V1JobList' +export * from '../models/V1JobSpec' +export * from '../models/V1JobStatus' +export * from '../models/V1JobTemplateSpec' +export * from '../models/V1KeyToPath' +export * from '../models/V1LabelSelector' +export * from '../models/V1LabelSelectorAttributes' +export * from '../models/V1LabelSelectorRequirement' +export * from '../models/V1Lease' +export * from '../models/V1LeaseList' +export * from '../models/V1LeaseSpec' +export * from '../models/V1Lifecycle' +export * from '../models/V1LifecycleHandler' +export * from '../models/V1LimitRange' +export * from '../models/V1LimitRangeItem' +export * from '../models/V1LimitRangeList' +export * from '../models/V1LimitRangeSpec' +export * from '../models/V1LimitResponse' +export * from '../models/V1LimitedPriorityLevelConfiguration' +export * from '../models/V1LinuxContainerUser' +export * from '../models/V1ListMeta' +export * from '../models/V1LoadBalancerIngress' +export * from '../models/V1LoadBalancerStatus' +export * from '../models/V1LocalObjectReference' +export * from '../models/V1LocalSubjectAccessReview' +export * from '../models/V1LocalVolumeSource' +export * from '../models/V1ManagedFieldsEntry' +export * from '../models/V1MatchCondition' +export * from '../models/V1MatchResources' +export * from '../models/V1ModifyVolumeStatus' +export * from '../models/V1MutatingWebhook' +export * from '../models/V1MutatingWebhookConfiguration' +export * from '../models/V1MutatingWebhookConfigurationList' +export * from '../models/V1NFSVolumeSource' +export * from '../models/V1NamedRuleWithOperations' +export * from '../models/V1Namespace' +export * from '../models/V1NamespaceCondition' +export * from '../models/V1NamespaceList' +export * from '../models/V1NamespaceSpec' +export * from '../models/V1NamespaceStatus' +export * from '../models/V1NetworkPolicy' +export * from '../models/V1NetworkPolicyEgressRule' +export * from '../models/V1NetworkPolicyIngressRule' +export * from '../models/V1NetworkPolicyList' +export * from '../models/V1NetworkPolicyPeer' +export * from '../models/V1NetworkPolicyPort' +export * from '../models/V1NetworkPolicySpec' +export * from '../models/V1Node' +export * from '../models/V1NodeAddress' +export * from '../models/V1NodeAffinity' +export * from '../models/V1NodeCondition' +export * from '../models/V1NodeConfigSource' +export * from '../models/V1NodeConfigStatus' +export * from '../models/V1NodeDaemonEndpoints' +export * from '../models/V1NodeFeatures' +export * from '../models/V1NodeList' +export * from '../models/V1NodeRuntimeHandler' +export * from '../models/V1NodeRuntimeHandlerFeatures' +export * from '../models/V1NodeSelector' +export * from '../models/V1NodeSelectorRequirement' +export * from '../models/V1NodeSelectorTerm' +export * from '../models/V1NodeSpec' +export * from '../models/V1NodeStatus' +export * from '../models/V1NodeSystemInfo' +export * from '../models/V1NonResourceAttributes' +export * from '../models/V1NonResourcePolicyRule' +export * from '../models/V1NonResourceRule' +export * from '../models/V1ObjectFieldSelector' +export * from '../models/V1ObjectMeta' +export * from '../models/V1ObjectReference' +export * from '../models/V1Overhead' +export * from '../models/V1OwnerReference' +export * from '../models/V1ParamKind' +export * from '../models/V1ParamRef' +export * from '../models/V1PersistentVolume' +export * from '../models/V1PersistentVolumeClaim' +export * from '../models/V1PersistentVolumeClaimCondition' +export * from '../models/V1PersistentVolumeClaimList' +export * from '../models/V1PersistentVolumeClaimSpec' +export * from '../models/V1PersistentVolumeClaimStatus' +export * from '../models/V1PersistentVolumeClaimTemplate' +export * from '../models/V1PersistentVolumeClaimVolumeSource' +export * from '../models/V1PersistentVolumeList' +export * from '../models/V1PersistentVolumeSpec' +export * from '../models/V1PersistentVolumeStatus' +export * from '../models/V1PhotonPersistentDiskVolumeSource' +export * from '../models/V1Pod' +export * from '../models/V1PodAffinity' +export * from '../models/V1PodAffinityTerm' +export * from '../models/V1PodAntiAffinity' +export * from '../models/V1PodCondition' +export * from '../models/V1PodDNSConfig' +export * from '../models/V1PodDNSConfigOption' +export * from '../models/V1PodDisruptionBudget' +export * from '../models/V1PodDisruptionBudgetList' +export * from '../models/V1PodDisruptionBudgetSpec' +export * from '../models/V1PodDisruptionBudgetStatus' +export * from '../models/V1PodFailurePolicy' +export * from '../models/V1PodFailurePolicyOnExitCodesRequirement' +export * from '../models/V1PodFailurePolicyOnPodConditionsPattern' +export * from '../models/V1PodFailurePolicyRule' +export * from '../models/V1PodIP' +export * from '../models/V1PodList' +export * from '../models/V1PodOS' +export * from '../models/V1PodReadinessGate' +export * from '../models/V1PodResourceClaim' +export * from '../models/V1PodResourceClaimStatus' +export * from '../models/V1PodSchedulingGate' +export * from '../models/V1PodSecurityContext' +export * from '../models/V1PodSpec' +export * from '../models/V1PodStatus' +export * from '../models/V1PodTemplate' +export * from '../models/V1PodTemplateList' +export * from '../models/V1PodTemplateSpec' +export * from '../models/V1PolicyRule' +export * from '../models/V1PolicyRulesWithSubjects' +export * from '../models/V1PortStatus' +export * from '../models/V1PortworxVolumeSource' +export * from '../models/V1Preconditions' +export * from '../models/V1PreferredSchedulingTerm' +export * from '../models/V1PriorityClass' +export * from '../models/V1PriorityClassList' +export * from '../models/V1PriorityLevelConfiguration' +export * from '../models/V1PriorityLevelConfigurationCondition' +export * from '../models/V1PriorityLevelConfigurationList' +export * from '../models/V1PriorityLevelConfigurationReference' +export * from '../models/V1PriorityLevelConfigurationSpec' +export * from '../models/V1PriorityLevelConfigurationStatus' +export * from '../models/V1Probe' +export * from '../models/V1ProjectedVolumeSource' +export * from '../models/V1QueuingConfiguration' +export * from '../models/V1QuobyteVolumeSource' +export * from '../models/V1RBDPersistentVolumeSource' +export * from '../models/V1RBDVolumeSource' +export * from '../models/V1ReplicaSet' +export * from '../models/V1ReplicaSetCondition' +export * from '../models/V1ReplicaSetList' +export * from '../models/V1ReplicaSetSpec' +export * from '../models/V1ReplicaSetStatus' +export * from '../models/V1ReplicationController' +export * from '../models/V1ReplicationControllerCondition' +export * from '../models/V1ReplicationControllerList' +export * from '../models/V1ReplicationControllerSpec' +export * from '../models/V1ReplicationControllerStatus' +export * from '../models/V1ResourceAttributes' +export * from '../models/V1ResourceClaim' +export * from '../models/V1ResourceFieldSelector' +export * from '../models/V1ResourceHealth' +export * from '../models/V1ResourcePolicyRule' +export * from '../models/V1ResourceQuota' +export * from '../models/V1ResourceQuotaList' +export * from '../models/V1ResourceQuotaSpec' +export * from '../models/V1ResourceQuotaStatus' +export * from '../models/V1ResourceRequirements' +export * from '../models/V1ResourceRule' +export * from '../models/V1ResourceStatus' +export * from '../models/V1Role' +export * from '../models/V1RoleBinding' +export * from '../models/V1RoleBindingList' +export * from '../models/V1RoleList' +export * from '../models/V1RoleRef' +export * from '../models/V1RollingUpdateDaemonSet' +export * from '../models/V1RollingUpdateDeployment' +export * from '../models/V1RollingUpdateStatefulSetStrategy' +export * from '../models/V1RuleWithOperations' +export * from '../models/V1RuntimeClass' +export * from '../models/V1RuntimeClassList' +export * from '../models/V1SELinuxOptions' +export * from '../models/V1Scale' +export * from '../models/V1ScaleIOPersistentVolumeSource' +export * from '../models/V1ScaleIOVolumeSource' +export * from '../models/V1ScaleSpec' +export * from '../models/V1ScaleStatus' +export * from '../models/V1Scheduling' +export * from '../models/V1ScopeSelector' +export * from '../models/V1ScopedResourceSelectorRequirement' +export * from '../models/V1SeccompProfile' +export * from '../models/V1Secret' +export * from '../models/V1SecretEnvSource' +export * from '../models/V1SecretKeySelector' +export * from '../models/V1SecretList' +export * from '../models/V1SecretProjection' +export * from '../models/V1SecretReference' +export * from '../models/V1SecretVolumeSource' +export * from '../models/V1SecurityContext' +export * from '../models/V1SelectableField' +export * from '../models/V1SelfSubjectAccessReview' +export * from '../models/V1SelfSubjectAccessReviewSpec' +export * from '../models/V1SelfSubjectReview' +export * from '../models/V1SelfSubjectReviewStatus' +export * from '../models/V1SelfSubjectRulesReview' +export * from '../models/V1SelfSubjectRulesReviewSpec' +export * from '../models/V1ServerAddressByClientCIDR' +export * from '../models/V1Service' +export * from '../models/V1ServiceAccount' +export * from '../models/V1ServiceAccountList' +export * from '../models/V1ServiceAccountSubject' +export * from '../models/V1ServiceAccountTokenProjection' +export * from '../models/V1ServiceBackendPort' +export * from '../models/V1ServiceList' +export * from '../models/V1ServicePort' +export * from '../models/V1ServiceSpec' +export * from '../models/V1ServiceStatus' +export * from '../models/V1SessionAffinityConfig' +export * from '../models/V1SleepAction' +export * from '../models/V1StatefulSet' +export * from '../models/V1StatefulSetCondition' +export * from '../models/V1StatefulSetList' +export * from '../models/V1StatefulSetOrdinals' +export * from '../models/V1StatefulSetPersistentVolumeClaimRetentionPolicy' +export * from '../models/V1StatefulSetSpec' +export * from '../models/V1StatefulSetStatus' +export * from '../models/V1StatefulSetUpdateStrategy' +export * from '../models/V1Status' +export * from '../models/V1StatusCause' +export * from '../models/V1StatusDetails' +export * from '../models/V1StorageClass' +export * from '../models/V1StorageClassList' +export * from '../models/V1StorageOSPersistentVolumeSource' +export * from '../models/V1StorageOSVolumeSource' +export * from '../models/V1SubjectAccessReview' +export * from '../models/V1SubjectAccessReviewSpec' +export * from '../models/V1SubjectAccessReviewStatus' +export * from '../models/V1SubjectRulesReviewStatus' +export * from '../models/V1SuccessPolicy' +export * from '../models/V1SuccessPolicyRule' +export * from '../models/V1Sysctl' +export * from '../models/V1TCPSocketAction' +export * from '../models/V1Taint' +export * from '../models/V1TokenRequestSpec' +export * from '../models/V1TokenRequestStatus' +export * from '../models/V1TokenReview' +export * from '../models/V1TokenReviewSpec' +export * from '../models/V1TokenReviewStatus' +export * from '../models/V1Toleration' +export * from '../models/V1TopologySelectorLabelRequirement' +export * from '../models/V1TopologySelectorTerm' +export * from '../models/V1TopologySpreadConstraint' +export * from '../models/V1TypeChecking' +export * from '../models/V1TypedLocalObjectReference' +export * from '../models/V1TypedObjectReference' +export * from '../models/V1UncountedTerminatedPods' +export * from '../models/V1UserInfo' +export * from '../models/V1UserSubject' +export * from '../models/V1ValidatingAdmissionPolicy' +export * from '../models/V1ValidatingAdmissionPolicyBinding' +export * from '../models/V1ValidatingAdmissionPolicyBindingList' +export * from '../models/V1ValidatingAdmissionPolicyBindingSpec' +export * from '../models/V1ValidatingAdmissionPolicyList' +export * from '../models/V1ValidatingAdmissionPolicySpec' +export * from '../models/V1ValidatingAdmissionPolicyStatus' +export * from '../models/V1ValidatingWebhook' +export * from '../models/V1ValidatingWebhookConfiguration' +export * from '../models/V1ValidatingWebhookConfigurationList' +export * from '../models/V1Validation' +export * from '../models/V1ValidationRule' +export * from '../models/V1Variable' +export * from '../models/V1Volume' +export * from '../models/V1VolumeAttachment' +export * from '../models/V1VolumeAttachmentList' +export * from '../models/V1VolumeAttachmentSource' +export * from '../models/V1VolumeAttachmentSpec' +export * from '../models/V1VolumeAttachmentStatus' +export * from '../models/V1VolumeDevice' +export * from '../models/V1VolumeError' +export * from '../models/V1VolumeMount' +export * from '../models/V1VolumeMountStatus' +export * from '../models/V1VolumeNodeAffinity' +export * from '../models/V1VolumeNodeResources' +export * from '../models/V1VolumeProjection' +export * from '../models/V1VolumeResourceRequirements' +export * from '../models/V1VsphereVirtualDiskVolumeSource' +export * from '../models/V1WatchEvent' +export * from '../models/V1WebhookConversion' +export * from '../models/V1WeightedPodAffinityTerm' +export * from '../models/V1WindowsSecurityContextOptions' +export * from '../models/V1alpha1ApplyConfiguration' +export * from '../models/V1alpha1ClusterTrustBundle' +export * from '../models/V1alpha1ClusterTrustBundleList' +export * from '../models/V1alpha1ClusterTrustBundleSpec' +export * from '../models/V1alpha1GroupVersionResource' +export * from '../models/V1alpha1JSONPatch' +export * from '../models/V1alpha1MatchCondition' +export * from '../models/V1alpha1MatchResources' +export * from '../models/V1alpha1MigrationCondition' +export * from '../models/V1alpha1MutatingAdmissionPolicy' +export * from '../models/V1alpha1MutatingAdmissionPolicyBinding' +export * from '../models/V1alpha1MutatingAdmissionPolicyBindingList' +export * from '../models/V1alpha1MutatingAdmissionPolicyBindingSpec' +export * from '../models/V1alpha1MutatingAdmissionPolicyList' +export * from '../models/V1alpha1MutatingAdmissionPolicySpec' +export * from '../models/V1alpha1Mutation' +export * from '../models/V1alpha1NamedRuleWithOperations' +export * from '../models/V1alpha1ParamKind' +export * from '../models/V1alpha1ParamRef' +export * from '../models/V1alpha1ServerStorageVersion' +export * from '../models/V1alpha1StorageVersion' +export * from '../models/V1alpha1StorageVersionCondition' +export * from '../models/V1alpha1StorageVersionList' +export * from '../models/V1alpha1StorageVersionMigration' +export * from '../models/V1alpha1StorageVersionMigrationList' +export * from '../models/V1alpha1StorageVersionMigrationSpec' +export * from '../models/V1alpha1StorageVersionMigrationStatus' +export * from '../models/V1alpha1StorageVersionStatus' +export * from '../models/V1alpha1Variable' +export * from '../models/V1alpha1VolumeAttributesClass' +export * from '../models/V1alpha1VolumeAttributesClassList' +export * from '../models/V1alpha2LeaseCandidate' +export * from '../models/V1alpha2LeaseCandidateList' +export * from '../models/V1alpha2LeaseCandidateSpec' +export * from '../models/V1alpha3AllocatedDeviceStatus' +export * from '../models/V1alpha3AllocationResult' +export * from '../models/V1alpha3BasicDevice' +export * from '../models/V1alpha3CELDeviceSelector' +export * from '../models/V1alpha3Device' +export * from '../models/V1alpha3DeviceAllocationConfiguration' +export * from '../models/V1alpha3DeviceAllocationResult' +export * from '../models/V1alpha3DeviceAttribute' +export * from '../models/V1alpha3DeviceClaim' +export * from '../models/V1alpha3DeviceClaimConfiguration' +export * from '../models/V1alpha3DeviceClass' +export * from '../models/V1alpha3DeviceClassConfiguration' +export * from '../models/V1alpha3DeviceClassList' +export * from '../models/V1alpha3DeviceClassSpec' +export * from '../models/V1alpha3DeviceConstraint' +export * from '../models/V1alpha3DeviceRequest' +export * from '../models/V1alpha3DeviceRequestAllocationResult' +export * from '../models/V1alpha3DeviceSelector' +export * from '../models/V1alpha3NetworkDeviceData' +export * from '../models/V1alpha3OpaqueDeviceConfiguration' +export * from '../models/V1alpha3ResourceClaim' +export * from '../models/V1alpha3ResourceClaimConsumerReference' +export * from '../models/V1alpha3ResourceClaimList' +export * from '../models/V1alpha3ResourceClaimSpec' +export * from '../models/V1alpha3ResourceClaimStatus' +export * from '../models/V1alpha3ResourceClaimTemplate' +export * from '../models/V1alpha3ResourceClaimTemplateList' +export * from '../models/V1alpha3ResourceClaimTemplateSpec' +export * from '../models/V1alpha3ResourcePool' +export * from '../models/V1alpha3ResourceSlice' +export * from '../models/V1alpha3ResourceSliceList' +export * from '../models/V1alpha3ResourceSliceSpec' +export * from '../models/V1beta1AllocatedDeviceStatus' +export * from '../models/V1beta1AllocationResult' +export * from '../models/V1beta1AuditAnnotation' +export * from '../models/V1beta1BasicDevice' +export * from '../models/V1beta1CELDeviceSelector' +export * from '../models/V1beta1Device' +export * from '../models/V1beta1DeviceAllocationConfiguration' +export * from '../models/V1beta1DeviceAllocationResult' +export * from '../models/V1beta1DeviceAttribute' +export * from '../models/V1beta1DeviceCapacity' +export * from '../models/V1beta1DeviceClaim' +export * from '../models/V1beta1DeviceClaimConfiguration' +export * from '../models/V1beta1DeviceClass' +export * from '../models/V1beta1DeviceClassConfiguration' +export * from '../models/V1beta1DeviceClassList' +export * from '../models/V1beta1DeviceClassSpec' +export * from '../models/V1beta1DeviceConstraint' +export * from '../models/V1beta1DeviceRequest' +export * from '../models/V1beta1DeviceRequestAllocationResult' +export * from '../models/V1beta1DeviceSelector' +export * from '../models/V1beta1ExpressionWarning' +export * from '../models/V1beta1IPAddress' +export * from '../models/V1beta1IPAddressList' +export * from '../models/V1beta1IPAddressSpec' +export * from '../models/V1beta1MatchCondition' +export * from '../models/V1beta1MatchResources' +export * from '../models/V1beta1NamedRuleWithOperations' +export * from '../models/V1beta1NetworkDeviceData' +export * from '../models/V1beta1OpaqueDeviceConfiguration' +export * from '../models/V1beta1ParamKind' +export * from '../models/V1beta1ParamRef' +export * from '../models/V1beta1ParentReference' +export * from '../models/V1beta1ResourceClaim' +export * from '../models/V1beta1ResourceClaimConsumerReference' +export * from '../models/V1beta1ResourceClaimList' +export * from '../models/V1beta1ResourceClaimSpec' +export * from '../models/V1beta1ResourceClaimStatus' +export * from '../models/V1beta1ResourceClaimTemplate' +export * from '../models/V1beta1ResourceClaimTemplateList' +export * from '../models/V1beta1ResourceClaimTemplateSpec' +export * from '../models/V1beta1ResourcePool' +export * from '../models/V1beta1ResourceSlice' +export * from '../models/V1beta1ResourceSliceList' +export * from '../models/V1beta1ResourceSliceSpec' +export * from '../models/V1beta1SelfSubjectReview' +export * from '../models/V1beta1SelfSubjectReviewStatus' +export * from '../models/V1beta1ServiceCIDR' +export * from '../models/V1beta1ServiceCIDRList' +export * from '../models/V1beta1ServiceCIDRSpec' +export * from '../models/V1beta1ServiceCIDRStatus' +export * from '../models/V1beta1TypeChecking' +export * from '../models/V1beta1ValidatingAdmissionPolicy' +export * from '../models/V1beta1ValidatingAdmissionPolicyBinding' +export * from '../models/V1beta1ValidatingAdmissionPolicyBindingList' +export * from '../models/V1beta1ValidatingAdmissionPolicyBindingSpec' +export * from '../models/V1beta1ValidatingAdmissionPolicyList' +export * from '../models/V1beta1ValidatingAdmissionPolicySpec' +export * from '../models/V1beta1ValidatingAdmissionPolicyStatus' +export * from '../models/V1beta1Validation' +export * from '../models/V1beta1Variable' +export * from '../models/V1beta1VolumeAttributesClass' +export * from '../models/V1beta1VolumeAttributesClassList' +export * from '../models/V2ContainerResourceMetricSource' +export * from '../models/V2ContainerResourceMetricStatus' +export * from '../models/V2CrossVersionObjectReference' +export * from '../models/V2ExternalMetricSource' +export * from '../models/V2ExternalMetricStatus' +export * from '../models/V2HPAScalingPolicy' +export * from '../models/V2HPAScalingRules' +export * from '../models/V2HorizontalPodAutoscaler' +export * from '../models/V2HorizontalPodAutoscalerBehavior' +export * from '../models/V2HorizontalPodAutoscalerCondition' +export * from '../models/V2HorizontalPodAutoscalerList' +export * from '../models/V2HorizontalPodAutoscalerSpec' +export * from '../models/V2HorizontalPodAutoscalerStatus' +export * from '../models/V2MetricIdentifier' +export * from '../models/V2MetricSpec' +export * from '../models/V2MetricStatus' +export * from '../models/V2MetricTarget' +export * from '../models/V2MetricValueStatus' +export * from '../models/V2ObjectMetricSource' +export * from '../models/V2ObjectMetricStatus' +export * from '../models/V2PodsMetricSource' +export * from '../models/V2PodsMetricStatus' +export * from '../models/V2ResourceMetricSource' +export * from '../models/V2ResourceMetricStatus' +export * from '../models/VersionInfo' diff --git a/src/gen/servers.ts b/src/gen/servers.ts index f3de9def728..1d3438d4f7f 100644 --- a/src/gen/servers.ts +++ b/src/gen/servers.ts @@ -1,4 +1,4 @@ -import { RequestContext, HttpMethod } from "./http/http.js"; +import { RequestContext, HttpMethod } from "./http/http"; export interface BaseServerConfiguration { makeRequestContext(endpoint: string, httpMethod: HttpMethod): RequestContext; diff --git a/src/gen/swagger.json b/src/gen/swagger.json index 37249b72e5f..f1db5535c65 100644 --- a/src/gen/swagger.json +++ b/src/gen/swagger.json @@ -497,6 +497,9 @@ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { @@ -522,7 +525,7 @@ "type": "string" }, "validationActions": { - "description": "validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.\n\nFailures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.\n\nvalidationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.\n\nThe supported actions values are:\n\n\"Deny\" specifies that a validation failure results in a denied request.\n\n\"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.\n\n\"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\"message\": \"Invalid value\", {\"policy\": \"policy.example.com\", {\"binding\": \"policybinding.example.com\", {\"expressionIndex\": \"1\", {\"validationActions\": [\"Audit\"]}]\"`\n\nClients should expect to handle additional values by ignoring any values not recognized.\n\n\"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.\n\nRequired.", + "description": "validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.\n\nFailures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.\n\nvalidationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.\n\nThe supported actions values are:\n\n\"Deny\" specifies that a validation failure results in a denied request.\n\n\"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.\n\n\"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\\\"message\\\": \\\"Invalid value\\\", {\\\"policy\\\": \\\"policy.example.com\\\", {\\\"binding\\\": \\\"policybinding.example.com\\\", {\\\"expressionIndex\\\": \\\"1\\\", {\\\"validationActions\\\": [\\\"Audit\\\"]}]\"`\n\nClients should expect to handle additional values by ignoring any values not recognized.\n\n\"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.\n\nRequired.", "items": { "type": "string" }, @@ -555,6 +558,9 @@ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { @@ -860,40 +866,24 @@ }, "type": "object" }, - "v1alpha1.AuditAnnotation": { - "description": "AuditAnnotation describes how to produce an audit annotation for an API request.", + "v1alpha1.ApplyConfiguration": { + "description": "ApplyConfiguration defines the desired configuration values of an object.", "properties": { - "key": { - "description": "key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.\n\nThe key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: \"{ValidatingAdmissionPolicy name}/{key}\".\n\nIf an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded.\n\nRequired.", - "type": "string" - }, - "valueExpression": { - "description": "valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.\n\nIf multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list.\n\nRequired.", + "expression": { + "description": "expression will be evaluated by CEL to create an apply configuration. ref: https://github.com/google/cel-spec\n\nApply configurations are declared in CEL using object initialization. For example, this CEL expression returns an apply configuration to set a single field:\n\n\tObject{\n\t spec: Object.spec{\n\t serviceAccountName: \"example\"\n\t }\n\t}\n\nApply configurations may not modify atomic structs, maps or arrays due to the risk of accidental deletion of values not included in the apply configuration.\n\nCEL expressions have access to the object types needed to create apply configurations:\n\n- 'Object' - CEL type of the resource object. - 'Object.' - CEL type of object field (such as 'Object.spec') - 'Object.....` - CEL type of nested field (such as 'Object.spec.containers')\n\nCEL expressions have access to the contents of the API request, organized into CEL variables as well as some other useful variables:\n\n- 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.\n For example, a variable named 'foo' can be accessed as 'variables.foo'.\n- 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n- 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible.\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Required.", "type": "string" } }, - "required": [ - "key", - "valueExpression" - ], "type": "object" }, - "v1alpha1.ExpressionWarning": { - "description": "ExpressionWarning is a warning information that targets a specific expression.", + "v1alpha1.JSONPatch": { + "description": "JSONPatch defines a JSON Patch.", "properties": { - "fieldRef": { - "description": "The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is \"spec.validations[0].expression\"", - "type": "string" - }, - "warning": { - "description": "The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.", + "expression": { + "description": "expression will be evaluated by CEL to create a [JSON patch](https://jsonpatch.com/). ref: https://github.com/google/cel-spec\n\nexpression must return an array of JSONPatch values.\n\nFor example, this CEL expression returns a JSON patch to conditionally modify a value:\n\n\t [\n\t JSONPatch{op: \"test\", path: \"/spec/example\", value: \"Red\"},\n\t JSONPatch{op: \"replace\", path: \"/spec/example\", value: \"Green\"}\n\t ]\n\nTo define an object for the patch value, use Object types. For example:\n\n\t [\n\t JSONPatch{\n\t op: \"add\",\n\t path: \"/spec/selector\",\n\t value: Object.spec.selector{matchLabels: {\"environment\": \"test\"}}\n\t }\n\t ]\n\nTo use strings containing '/' and '~' as JSONPatch path keys, use \"jsonpatch.escapeKey\". For example:\n\n\t [\n\t JSONPatch{\n\t op: \"add\",\n\t path: \"/metadata/labels/\" + jsonpatch.escapeKey(\"example.com/environment\"),\n\t value: \"test\"\n\t },\n\t ]\n\nCEL expressions have access to the types needed to create JSON patches and objects:\n\n- 'JSONPatch' - CEL type of JSON Patch operations. JSONPatch has the fields 'op', 'from', 'path' and 'value'.\n See [JSON patch](https://jsonpatch.com/) for more details. The 'value' field may be set to any of: string,\n integer, array, map or object. If set, the 'path' and 'from' fields must be set to a\n [JSON pointer](https://datatracker.ietf.org/doc/html/rfc6901/) string, where the 'jsonpatch.escapeKey()' CEL\n function may be used to escape path keys containing '/' and '~'.\n- 'Object' - CEL type of the resource object. - 'Object.' - CEL type of object field (such as 'Object.spec') - 'Object.....` - CEL type of nested field (such as 'Object.spec.containers')\n\nCEL expressions have access to the contents of the API request, organized into CEL variables as well as some other useful variables:\n\n- 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.\n For example, a variable named 'foo' can be accessed as 'variables.foo'.\n- 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n- 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\n\nCEL expressions have access to [Kubernetes CEL function libraries](https://kubernetes.io/docs/reference/using-api/cel/#cel-options-language-features-and-libraries) as well as:\n\n- 'jsonpatch.escapeKey' - Performs JSONPatch key escaping. '~' and '/' are escaped as '~0' and `~1' respectively).\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Required.", "type": "string" } }, - "required": [ - "fieldRef", - "warning" - ], "type": "object" }, "v1alpha1.MatchCondition": { @@ -948,111 +938,8 @@ "type": "object", "x-kubernetes-map-type": "atomic" }, - "v1alpha1.NamedRuleWithOperations": { - "description": "NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.", - "properties": { - "apiGroups": { - "description": "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "apiVersions": { - "description": "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "operations": { - "description": "Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "resourceNames": { - "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "resources": { - "description": "Resources is a list of resources this rule applies to.\n\nFor example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not overlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed. Required.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "scope": { - "description": "scope specifies the scope of this rule. Valid values are \"Cluster\", \"Namespaced\", and \"*\" \"Cluster\" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. \"Namespaced\" means that only namespaced resources will match this rule. \"*\" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is \"*\".", - "type": "string" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "v1alpha1.ParamKind": { - "description": "ParamKind is a tuple of Group Kind and Version.", - "properties": { - "apiVersion": { - "description": "APIVersion is the API group version the resources belong to. In format of \"group/version\". Required.", - "type": "string" - }, - "kind": { - "description": "Kind is the API kind the resources belong to. Required.", - "type": "string" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "v1alpha1.ParamRef": { - "description": "ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.", - "properties": { - "name": { - "description": "`name` is the name of the resource being referenced.\n\n`name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.", - "type": "string" - }, - "namespace": { - "description": "namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.\n\nA per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.\n\n- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.\n\n- If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error.", - "type": "string" - }, - "parameterNotFoundAction": { - "description": "`parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.\n\nAllowed values are `Allow` or `Deny` Default to `Deny`", - "type": "string" - }, - "selector": { - "$ref": "#/definitions/v1.LabelSelector", - "description": "selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind.\n\nIf multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset." - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "v1alpha1.TypeChecking": { - "description": "TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy", - "properties": { - "expressionWarnings": { - "description": "The type checking warnings for each expression.", - "items": { - "$ref": "#/definitions/v1alpha1.ExpressionWarning" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "v1alpha1.ValidatingAdmissionPolicy": { - "description": "ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.", + "v1alpha1.MutatingAdmissionPolicy": { + "description": "MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -1067,25 +954,21 @@ "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicySpec", - "description": "Specification of the desired behavior of the ValidatingAdmissionPolicy." - }, - "status": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyStatus", - "description": "The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only." + "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicySpec", + "description": "Specification of the desired behavior of the MutatingAdmissionPolicy." } }, "type": "object", "x-kubernetes-group-version-kind": [ { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicy", + "kind": "MutatingAdmissionPolicy", "version": "v1alpha1" } ] }, - "v1alpha1.ValidatingAdmissionPolicyBinding": { - "description": "ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.\n\nFor a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.\n\nThe CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.", + "v1alpha1.MutatingAdmissionPolicyBinding": { + "description": "MutatingAdmissionPolicyBinding binds the MutatingAdmissionPolicy with parametrized resources. MutatingAdmissionPolicyBinding and the optional parameter resource together define how cluster administrators configure policies for clusters.\n\nFor a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding. Each evaluation is constrained by a [runtime cost budget](https://kubernetes.io/docs/reference/using-api/cel/#runtime-cost-budget).\n\nAdding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -1100,21 +983,21 @@ "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyBindingSpec", - "description": "Specification of the desired behavior of the ValidatingAdmissionPolicyBinding." + "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicyBindingSpec", + "description": "Specification of the desired behavior of the MutatingAdmissionPolicyBinding." } }, "type": "object", "x-kubernetes-group-version-kind": [ { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicyBinding", + "kind": "MutatingAdmissionPolicyBinding", "version": "v1alpha1" } ] }, - "v1alpha1.ValidatingAdmissionPolicyBindingList": { - "description": "ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding.", + "v1alpha1.MutatingAdmissionPolicyBindingList": { + "description": "MutatingAdmissionPolicyBindingList is a list of MutatingAdmissionPolicyBinding.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -1123,7 +1006,7 @@ "items": { "description": "List of PolicyBinding.", "items": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyBinding" + "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicyBinding" }, "type": "array" }, @@ -1136,43 +1019,38 @@ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicyBindingList", + "kind": "MutatingAdmissionPolicyBindingList", "version": "v1alpha1" } ] }, - "v1alpha1.ValidatingAdmissionPolicyBindingSpec": { - "description": "ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.", + "v1alpha1.MutatingAdmissionPolicyBindingSpec": { + "description": "MutatingAdmissionPolicyBindingSpec is the specification of the MutatingAdmissionPolicyBinding.", "properties": { "matchResources": { "$ref": "#/definitions/v1alpha1.MatchResources", - "description": "MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required." + "description": "matchResources limits what resources match this binding and may be mutated by it. Note that if matchResources matches a resource, the resource must also match a policy's matchConstraints and matchConditions before the resource may be mutated. When matchResources is unset, it does not constrain resource matching, and only the policy's matchConstraints and matchConditions must match for the resource to be mutated. Additionally, matchResources.resourceRules are optional and do not constraint matching when unset. Note that this is differs from MutatingAdmissionPolicy matchConstraints, where resourceRules are required. The CREATE, UPDATE and CONNECT operations are allowed. The DELETE operation may not be matched. '*' matches CREATE, UPDATE and CONNECT." }, "paramRef": { "$ref": "#/definitions/v1alpha1.ParamRef", - "description": "paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param." + "description": "paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in spec.ParamKind of the bound MutatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the MutatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param." }, "policyName": { - "description": "PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.", + "description": "policyName references a MutatingAdmissionPolicy name which the MutatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.", "type": "string" - }, - "validationActions": { - "description": "validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.\n\nFailures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.\n\nvalidationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.\n\nThe supported actions values are:\n\n\"Deny\" specifies that a validation failure results in a denied request.\n\n\"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.\n\n\"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\"message\": \"Invalid value\", {\"policy\": \"policy.example.com\", {\"binding\": \"policybinding.example.com\", {\"expressionIndex\": \"1\", {\"validationActions\": [\"Audit\"]}]\"`\n\nClients should expect to handle additional values by ignoring any values not recognized.\n\n\"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.\n\nRequired.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "set" } }, "type": "object" }, - "v1alpha1.ValidatingAdmissionPolicyList": { - "description": "ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy.", + "v1alpha1.MutatingAdmissionPolicyList": { + "description": "MutatingAdmissionPolicyList is a list of MutatingAdmissionPolicy.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -1181,7 +1059,7 @@ "items": { "description": "List of ValidatingAdmissionPolicy.", "items": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy" + "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicy" }, "type": "array" }, @@ -1194,32 +1072,27 @@ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicyList", + "kind": "MutatingAdmissionPolicyList", "version": "v1alpha1" } ] }, - "v1alpha1.ValidatingAdmissionPolicySpec": { - "description": "ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.", + "v1alpha1.MutatingAdmissionPolicySpec": { + "description": "MutatingAdmissionPolicySpec is the specification of the desired behavior of the admission policy.", "properties": { - "auditAnnotations": { - "description": "auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.", - "items": { - "$ref": "#/definitions/v1alpha1.AuditAnnotation" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, "failurePolicy": { - "description": "failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.\n\nA policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource.\n\nfailurePolicy does not define how validations that evaluate to false are handled.\n\nWhen failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions define how failures are enforced.\n\nAllowed values are Ignore or Fail. Defaults to Fail.", + "description": "failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.\n\nA policy is invalid if paramKind refers to a non-existent Kind. A binding is invalid if paramRef.name refers to a non-existent resource.\n\nfailurePolicy does not define how validations that evaluate to false are handled.\n\nAllowed values are Ignore or Fail. Defaults to Fail.", "type": "string" }, "matchConditions": { - "description": "MatchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nIf a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the policy is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the policy is evaluated.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the policy is skipped", + "description": "matchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the matchConstraints. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nIf a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the policy is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the policy is evaluated.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the policy is skipped", "items": { "$ref": "#/definitions/v1alpha1.MatchCondition" }, @@ -1233,86 +1106,144 @@ }, "matchConstraints": { "$ref": "#/definitions/v1alpha1.MatchResources", - "description": "MatchConstraints specifies what resources this policy is designed to validate. The AdmissionPolicy cares about a request if it matches _all_ Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API ValidatingAdmissionPolicy cannot match ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding. Required." - }, - "paramKind": { - "$ref": "#/definitions/v1alpha1.ParamKind", - "description": "ParamKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If ParamKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in ValidatingAdmissionPolicyBinding, the params variable will be null." + "description": "matchConstraints specifies what resources this policy is designed to validate. The MutatingAdmissionPolicy cares about a request if it matches _all_ Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API MutatingAdmissionPolicy cannot match MutatingAdmissionPolicy and MutatingAdmissionPolicyBinding. The CREATE, UPDATE and CONNECT operations are allowed. The DELETE operation may not be matched. '*' matches CREATE, UPDATE and CONNECT. Required." }, - "validations": { - "description": "Validations contain CEL expressions which is used to apply the validation. Validations and AuditAnnotations may not both be empty; a minimum of one Validations or AuditAnnotations is required.", + "mutations": { + "description": "mutations contain operations to perform on matching objects. mutations may not be empty; a minimum of one mutation is required. mutations are evaluated in order, and are reinvoked according to the reinvocationPolicy. The mutations of a policy are invoked for each binding of this policy and reinvocation of mutations occurs on a per binding basis.", "items": { - "$ref": "#/definitions/v1alpha1.Validation" + "$ref": "#/definitions/v1alpha1.Mutation" }, "type": "array", "x-kubernetes-list-type": "atomic" }, + "paramKind": { + "$ref": "#/definitions/v1alpha1.ParamKind", + "description": "paramKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If paramKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in MutatingAdmissionPolicyBinding, the params variable will be null." + }, + "reinvocationPolicy": { + "description": "reinvocationPolicy indicates whether mutations may be called multiple times per MutatingAdmissionPolicyBinding as part of a single admission evaluation. Allowed values are \"Never\" and \"IfNeeded\".\n\nNever: These mutations will not be called more than once per binding in a single admission evaluation.\n\nIfNeeded: These mutations may be invoked more than once per binding for a single admission request and there is no guarantee of order with respect to other admission plugins, admission webhooks, bindings of this policy and admission policies. Mutations are only reinvoked when mutations change the object after this mutation is invoked. Required.", + "type": "string" + }, "variables": { - "description": "Variables contain definitions of variables that can be used in composition of other expressions. Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except MatchConditions because MatchConditions are evaluated before the rest of the policy.\n\nThe expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, Variables must be sorted by the order of first appearance and acyclic.", + "description": "variables contain definitions of variables that can be used in composition of other expressions. Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except matchConditions because matchConditions are evaluated before the rest of the policy.\n\nThe expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, variables must be sorted by the order of first appearance and acyclic.", "items": { "$ref": "#/definitions/v1alpha1.Variable" }, "type": "array", - "x-kubernetes-list-map-keys": [ - "name" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" + "x-kubernetes-list-type": "atomic" } }, "type": "object" }, - "v1alpha1.ValidatingAdmissionPolicyStatus": { - "description": "ValidatingAdmissionPolicyStatus represents the status of a ValidatingAdmissionPolicy.", + "v1alpha1.Mutation": { + "description": "Mutation specifies the CEL expression which is used to apply the Mutation.", "properties": { - "conditions": { - "description": "The conditions represent the latest available observations of a policy's current state.", + "applyConfiguration": { + "$ref": "#/definitions/v1alpha1.ApplyConfiguration", + "description": "applyConfiguration defines the desired configuration values of an object. The configuration is applied to the admission object using [structured merge diff](https://github.com/kubernetes-sigs/structured-merge-diff). A CEL expression is used to create apply configuration." + }, + "jsonPatch": { + "$ref": "#/definitions/v1alpha1.JSONPatch", + "description": "jsonPatch defines a [JSON patch](https://jsonpatch.com/) operation to perform a mutation to the object. A CEL expression is used to create the JSON patch." + }, + "patchType": { + "description": "patchType indicates the patch strategy used. Allowed values are \"ApplyConfiguration\" and \"JSONPatch\". Required.", + "type": "string" + } + }, + "required": [ + "patchType" + ], + "type": "object" + }, + "v1alpha1.NamedRuleWithOperations": { + "description": "NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.", + "properties": { + "apiGroups": { + "description": "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.", "items": { - "$ref": "#/definitions/v1.Condition" + "type": "string" }, "type": "array", - "x-kubernetes-list-map-keys": [ - "type" - ], - "x-kubernetes-list-type": "map" + "x-kubernetes-list-type": "atomic" }, - "observedGeneration": { - "description": "The generation observed by the controller.", - "format": "int64", - "type": "integer" + "apiVersions": { + "description": "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "typeChecking": { - "$ref": "#/definitions/v1alpha1.TypeChecking", - "description": "The results of type checking for each expression. Presence of this field indicates the completion of the type checking." + "operations": { + "description": "Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "resourceNames": { + "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "description": "Resources is a list of resources this rule applies to.\n\nFor example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not overlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed. Required.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "scope": { + "description": "scope specifies the scope of this rule. Valid values are \"Cluster\", \"Namespaced\", and \"*\" \"Cluster\" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. \"Namespaced\" means that only namespaced resources will match this rule. \"*\" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is \"*\".", + "type": "string" } }, - "type": "object" + "type": "object", + "x-kubernetes-map-type": "atomic" }, - "v1alpha1.Validation": { - "description": "Validation specifies the CEL expression which is used to apply the validation.", + "v1alpha1.ParamKind": { + "description": "ParamKind is a tuple of Group Kind and Version.", "properties": { - "expression": { - "description": "Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:\n\n- 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.\n For example, a variable named 'foo' can be accessed as 'variables.foo'.\n- 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n- 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible.\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:\n\t \"true\", \"false\", \"null\", \"in\", \"as\", \"break\", \"const\", \"continue\", \"else\", \"for\", \"function\", \"if\",\n\t \"import\", \"let\", \"loop\", \"package\", \"namespace\", \"return\".\nExamples:\n - Expression accessing a property named \"namespace\": {\"Expression\": \"object.__namespace__ > 0\"}\n - Expression accessing a property named \"x-prop\": {\"Expression\": \"object.x__dash__prop > 0\"}\n - Expression accessing a property named \"redact__d\": {\"Expression\": \"object.redact__underscores__d > 0\"}\n\nEquality on arrays with list type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type:\n - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and\n non-intersecting elements in `Y` are appended, retaining their partial order.\n - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values\n are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with\n non-intersecting keys are appended, retaining their partial order.\nRequired.", + "apiVersion": { + "description": "APIVersion is the API group version the resources belong to. In format of \"group/version\". Required.", "type": "string" }, - "message": { - "description": "Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is \"failed rule: {Rule}\". e.g. \"must be a URL with the host matching spec.host\" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is \"failed Expression: {Expression}\".", + "kind": { + "description": "Kind is the API kind the resources belong to. Required.", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "v1alpha1.ParamRef": { + "description": "ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.", + "properties": { + "name": { + "description": "`name` is the name of the resource being referenced.\n\n`name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.", "type": "string" }, - "messageExpression": { - "description": "messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: \"object.x must be less than max (\"+string(params.max)+\")\"", + "namespace": { + "description": "namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.\n\nA per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.\n\n- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.\n\n- If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error.", "type": "string" }, - "reason": { - "description": "Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: \"Unauthorized\", \"Forbidden\", \"Invalid\", \"RequestEntityTooLarge\". If not set, StatusReasonInvalid is used in the response to the client.", + "parameterNotFoundAction": { + "description": "`parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.\n\nAllowed values are `Allow` or `Deny` Default to `Deny`", "type": "string" + }, + "selector": { + "$ref": "#/definitions/v1.LabelSelector", + "description": "selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind.\n\nIf multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset." } }, - "required": [ - "expression" - ], - "type": "object" + "type": "object", + "x-kubernetes-map-type": "atomic" }, "v1alpha1.Variable": { "description": "Variable is the definition of a variable that is used for composition.", @@ -1609,6 +1540,9 @@ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { @@ -1634,7 +1568,7 @@ "type": "string" }, "validationActions": { - "description": "validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.\n\nFailures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.\n\nvalidationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.\n\nThe supported actions values are:\n\n\"Deny\" specifies that a validation failure results in a denied request.\n\n\"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.\n\n\"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\"message\": \"Invalid value\", {\"policy\": \"policy.example.com\", {\"binding\": \"policybinding.example.com\", {\"expressionIndex\": \"1\", {\"validationActions\": [\"Audit\"]}]\"`\n\nClients should expect to handle additional values by ignoring any values not recognized.\n\n\"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.\n\nRequired.", + "description": "validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.\n\nFailures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.\n\nvalidationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.\n\nThe supported actions values are:\n\n\"Deny\" specifies that a validation failure results in a denied request.\n\n\"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.\n\n\"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\\\"message\\\": \\\"Invalid value\\\", {\\\"policy\\\": \\\"policy.example.com\\\", {\\\"binding\\\": \\\"policybinding.example.com\\\", {\\\"expressionIndex\\\": \\\"1\\\", {\\\"validationActions\\\": [\\\"Audit\\\"]}]\"`\n\nClients should expect to handle additional values by ignoring any values not recognized.\n\n\"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.\n\nRequired.", "items": { "type": "string" }, @@ -1667,6 +1601,9 @@ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { @@ -2834,11 +2771,11 @@ }, "ordinals": { "$ref": "#/definitions/v1.StatefulSetOrdinals", - "description": "ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a \"0\" index to the first replica and increments the index by one for each additional replica requested. Using the ordinals field requires the StatefulSetStartOrdinal feature gate to be enabled, which is beta." + "description": "ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a \"0\" index to the first replica and increments the index by one for each additional replica requested." }, "persistentVolumeClaimRetentionPolicy": { "$ref": "#/definitions/v1.StatefulSetPersistentVolumeClaimRetentionPolicy", - "description": "persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down. This requires the StatefulSetAutoDeletePVC feature gate to be enabled, which is alpha. +optional" + "description": "persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down." }, "podManagementPolicy": { "description": "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.", @@ -3219,7 +3156,7 @@ }, "type": "object" }, - "v1alpha1.SelfSubjectReview": { + "v1beta1.SelfSubjectReview": { "description": "SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.", "properties": { "apiVersion": { @@ -3235,7 +3172,7 @@ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "status": { - "$ref": "#/definitions/v1alpha1.SelfSubjectReviewStatus", + "$ref": "#/definitions/v1beta1.SelfSubjectReviewStatus", "description": "Status is filled in by the server with the user attributes." } }, @@ -3244,11 +3181,11 @@ { "group": "authentication.k8s.io", "kind": "SelfSubjectReview", - "version": "v1alpha1" + "version": "v1beta1" } ] }, - "v1alpha1.SelfSubjectReviewStatus": { + "v1beta1.SelfSubjectReviewStatus": { "description": "SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.", "properties": { "userInfo": { @@ -3258,41 +3195,38 @@ }, "type": "object" }, - "v1beta1.SelfSubjectReview": { - "description": "SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.", + "v1.FieldSelectorAttributes": { + "description": "FieldSelectorAttributes indicates a field limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "rawSelector": { + "description": "rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSelector. The kube-apiserver's *SubjectAccessReview will parse the rawSelector as long as the requirements are not present.", "type": "string" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "status": { - "$ref": "#/definitions/v1beta1.SelfSubjectReviewStatus", - "description": "Status is filled in by the server with the user attributes." + "requirements": { + "description": "requirements is the parsed interpretation of a field selector. All requirements must be met for a resource instance to match the selector. Webhook implementations should handle requirements, but how to handle them is up to the webhook. Since requirements can only limit the request, it is safe to authorize as unlimited request if the requirements are not understood.", + "items": { + "$ref": "#/definitions/v1.FieldSelectorRequirement" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "authentication.k8s.io", - "kind": "SelfSubjectReview", - "version": "v1beta1" - } - ] + "type": "object" }, - "v1beta1.SelfSubjectReviewStatus": { - "description": "SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.", + "v1.LabelSelectorAttributes": { + "description": "LabelSelectorAttributes indicates a label limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.", "properties": { - "userInfo": { - "$ref": "#/definitions/v1.UserInfo", - "description": "User attributes of the user making this request." + "rawSelector": { + "description": "rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSelector. The kube-apiserver's *SubjectAccessReview will parse the rawSelector as long as the requirements are not present.", + "type": "string" + }, + "requirements": { + "description": "requirements is the parsed interpretation of a label selector. All requirements must be met for a resource instance to match the selector. Webhook implementations should handle requirements, but how to handle them is up to the webhook. Since requirements can only limit the request, it is safe to authorize as unlimited request if the requirements are not understood.", + "items": { + "$ref": "#/definitions/v1.LabelSelectorRequirement" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "type": "object" @@ -3375,10 +3309,18 @@ "v1.ResourceAttributes": { "description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface", "properties": { + "fieldSelector": { + "$ref": "#/definitions/v1.FieldSelectorAttributes", + "description": "fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it.\n\nThis field is alpha-level. To use this field, you must enable the `AuthorizeWithSelectors` feature gate (disabled by default)." + }, "group": { "description": "Group is the API Group of the Resource. \"*\" means all.", "type": "string" }, + "labelSelector": { + "$ref": "#/definitions/v1.LabelSelectorAttributes", + "description": "labelSelector describes the limitation on access based on labels. It can only limit access, not broaden it.\n\nThis field is alpha-level. To use this field, you must enable the `AuthorizeWithSelectors` feature gate (disabled by default)." + }, "name": { "description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.", "type": "string" @@ -4269,7 +4211,7 @@ "properties": { "containerResource": { "$ref": "#/definitions/v2.ContainerResourceMetricSource", - "description": "containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag." + "description": "containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source." }, "external": { "$ref": "#/definitions/v2.ExternalMetricSource", @@ -4288,7 +4230,7 @@ "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source." }, "type": { - "description": "type is the type of metric source. It should be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object. Note: \"ContainerResource\" type is available on when the feature-gate HPAContainerMetrics is enabled", + "description": "type is the type of metric source. It should be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object.", "type": "string" } }, @@ -4321,7 +4263,7 @@ "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source." }, "type": { - "description": "type is the type of metric source. It will be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object. Note: \"ContainerResource\" type is available on when the feature-gate HPAContainerMetrics is enabled", + "description": "type is the type of metric source. It will be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object.", "type": "string" } }, @@ -4762,7 +4704,7 @@ "type": "integer" }, "managedBy": { - "description": "ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first \"/\" must be a valid subdomain as defined by RFC 1123. All characters trailing the first \"/\" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 64 characters.\n\nThis field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default).", + "description": "ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first \"/\" must be a valid subdomain as defined by RFC 1123. All characters trailing the first \"/\" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.\n\nThis field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).", "type": "string" }, "manualSelector": { @@ -4781,7 +4723,7 @@ }, "podFailurePolicy": { "$ref": "#/definitions/v1.PodFailurePolicy", - "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.\n\nThis field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default)." + "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure." }, "podReplacementPolicy": { "description": "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods\n when they are terminating (has a metadata.deletionTimestamp) or failed.\n- Failed means to wait until a previously created Pod is fully terminated (has phase\n Failed or Succeeded) before creating a replacement Pod.\n\nWhen using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.", @@ -4793,7 +4735,7 @@ }, "successPolicy": { "$ref": "#/definitions/v1.SuccessPolicy", - "description": "successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.\n\nThis field is alpha-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (disabled by default)." + "description": "successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.\n\nThis field is beta-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (enabled by default)." }, "suspend": { "description": "suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.", @@ -4851,7 +4793,7 @@ "type": "string" }, "ready": { - "description": "The number of pods which have a Ready condition.", + "description": "The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).", "format": "int32", "type": "integer" }, @@ -5375,11 +5317,11 @@ "description": "acquireTime is a time when the current lease was acquired." }, "holderIdentity": { - "description": "holderIdentity contains the identity of the holder of a current lease.", + "description": "holderIdentity contains the identity of the holder of a current lease. If Coordinated Leader Election is used, the holder identity must be equal to the elected LeaseCandidate.metadata.name field.", "type": "string" }, "leaseDurationSeconds": { - "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed renewTime.", + "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measured against the time of last observed renewTime.", "format": "int32", "type": "integer" }, @@ -5388,13 +5330,120 @@ "format": "int32", "type": "integer" }, + "preferredHolder": { + "description": "PreferredHolder signals to a lease holder that the lease has a more optimal holder and should be given up. This field can only be set if Strategy is also set.", + "type": "string" + }, "renewTime": { "$ref": "#/definitions/v1.MicroTime", "description": "renewTime is a time when the current holder of a lease has last updated the lease." + }, + "strategy": { + "description": "Strategy indicates the strategy for picking the leader for coordinated leader election. If the field is not specified, there is no active coordination for this lease. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.", + "type": "string" } }, "type": "object" }, + "v1alpha2.LeaseCandidate": { + "description": "LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "spec": { + "$ref": "#/definitions/v1alpha2.LeaseCandidateSpec", + "description": "spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + } + }, + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha2" + } + ] + }, + "v1alpha2.LeaseCandidateList": { + "description": "LeaseCandidateList is a list of Lease objects.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is a list of schema objects.", + "items": { + "$ref": "#/definitions/v1alpha2.LeaseCandidate" + }, + "type": "array" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "coordination.k8s.io", + "kind": "LeaseCandidateList", + "version": "v1alpha2" + } + ] + }, + "v1alpha2.LeaseCandidateSpec": { + "description": "LeaseCandidateSpec is a specification of a Lease.", + "properties": { + "binaryVersion": { + "description": "BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required.", + "type": "string" + }, + "emulationVersion": { + "description": "EmulationVersion is the emulation version. It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is \"OldestEmulationVersion\"", + "type": "string" + }, + "leaseName": { + "description": "LeaseName is the name of the lease for which this candidate is contending. This field is immutable.", + "type": "string" + }, + "pingTime": { + "$ref": "#/definitions/v1.MicroTime", + "description": "PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime." + }, + "renewTime": { + "$ref": "#/definitions/v1.MicroTime", + "description": "RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates." + }, + "strategy": { + "description": "Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.", + "type": "string" + } + }, + "required": [ + "leaseName", + "binaryVersion", + "strategy" + ], + "type": "object" + }, "v1.AWSElasticBlockStoreVolumeSource": { "description": "Represents a Persistent Disk resource in AWS.\n\nAn 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.", "properties": { @@ -5565,7 +5614,7 @@ "type": "object" }, "v1.Binding": { - "description": "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.", + "description": "Binding ties one object to another; for example, a pod is bound to a node by a scheduler.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -5597,7 +5646,7 @@ ] }, "v1.CSIPersistentVolumeSource": { - "description": "Represents storage that is managed by an external CSI volume driver (Beta feature)", + "description": "Represents storage that is managed by an external CSI volume driver", "properties": { "controllerExpandSecretRef": { "$ref": "#/definitions/v1.SecretReference", @@ -5827,20 +5876,6 @@ ], "type": "object" }, - "v1.ClaimSource": { - "description": "ClaimSource describes a reference to a ResourceClaim.\n\nExactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.", - "properties": { - "resourceClaimName": { - "description": "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.", - "type": "string" - }, - "resourceClaimTemplateName": { - "description": "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.\n\nThe template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.\n\nThis field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.", - "type": "string" - } - }, - "type": "object" - }, "v1.ClientIPConfig": { "description": "ClientIPConfig represents the configurations of Client IP based session affinity.", "properties": { @@ -6496,6 +6531,19 @@ "description": "AllocatedResources represents the compute resources allocated for this container by the node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission and after successfully admitting desired pod resize.", "type": "object" }, + "allocatedResourcesStatus": { + "description": "AllocatedResourcesStatus represents the status of various resources allocated for this Pod.", + "items": { + "$ref": "#/definitions/v1.ResourceStatus" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, "containerID": { "description": "ContainerID is the ID of the container in the format '://'. Where type is a container runtime identifier, returned from Version call of CRI API (for example \"containerd\").", "type": "string" @@ -6537,6 +6585,10 @@ "$ref": "#/definitions/v1.ContainerState", "description": "State holds details about the container's current condition." }, + "user": { + "$ref": "#/definitions/v1.ContainerUser", + "description": "User represents user identity information initially attached to the first process of the container" + }, "volumeMounts": { "description": "Status of volume mounts.", "items": { @@ -6560,6 +6612,16 @@ ], "type": "object" }, + "v1.ContainerUser": { + "description": "ContainerUser represents user identity information", + "properties": { + "linux": { + "$ref": "#/definitions/v1.LinuxContainerUser", + "description": "Linux holds user identity information initially attached to the first process of the containers in Linux. Note that the actual running identity can be changed if the process has enough privilege to do so." + } + }, + "type": "object" + }, "v1.DaemonEndpoint": { "description": "DaemonEndpoint contains information about a single Daemon endpoint.", "properties": { @@ -7337,6 +7399,7 @@ "type": "object" }, "v1.GRPCAction": { + "description": "GRPCAction specifies an action involving a GRPC service.", "properties": { "port": { "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", @@ -7502,6 +7565,9 @@ "type": "string" } }, + "required": [ + "ip" + ], "type": "object" }, "v1.HostPathVolumeSource": { @@ -7641,6 +7707,20 @@ ], "type": "object" }, + "v1.ImageVolumeSource": { + "description": "ImageVolumeSource represents a image volume resource.", + "properties": { + "pullPolicy": { + "description": "Policy for pulling OCI objects. Possible values are: Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.", + "type": "string" + }, + "reference": { + "description": "Required: Image or artifact reference to be used. Behaves in the same way as pod.spec.containers[*].image. Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.", + "type": "string" + } + }, + "type": "object" + }, "v1.KeyToPath": { "description": "Maps a string key to a path within a volume.", "properties": { @@ -7683,19 +7763,19 @@ "properties": { "exec": { "$ref": "#/definitions/v1.ExecAction", - "description": "Exec specifies the action to take." + "description": "Exec specifies a command to execute in the container." }, "httpGet": { "$ref": "#/definitions/v1.HTTPGetAction", - "description": "HTTPGet specifies the http request to perform." + "description": "HTTPGet specifies an HTTP GET request to perform." }, "sleep": { "$ref": "#/definitions/v1.SleepAction", - "description": "Sleep represents the duration that the container should sleep before being terminated." + "description": "Sleep represents a duration that the container should sleep." }, "tcpSocket": { "$ref": "#/definitions/v1.TCPSocketAction", - "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified." + "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for backward compatibility. There is no validation of this field and lifecycle hooks will fail at runtime when it is specified." } }, "type": "object" @@ -7834,6 +7914,35 @@ ], "type": "object" }, + "v1.LinuxContainerUser": { + "description": "LinuxContainerUser represents user identity information in Linux containers", + "properties": { + "gid": { + "description": "GID is the primary gid initially attached to the first process in the container", + "format": "int64", + "type": "integer" + }, + "supplementalGroups": { + "description": "SupplementalGroups are the supplemental groups initially attached to the first process in the container", + "items": { + "format": "int64", + "type": "integer" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "uid": { + "description": "UID is the primary uid initially attached to the first process in the container", + "format": "int64", + "type": "integer" + } + }, + "required": [ + "uid", + "gid" + ], + "type": "object" + }, "v1.LoadBalancerIngress": { "description": "LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.", "properties": { @@ -7886,7 +7995,7 @@ "x-kubernetes-map-type": "atomic" }, "v1.LocalVolumeSource": { - "description": "Local represents directly-attached storage with node affinity (Beta feature)", + "description": "Local represents directly-attached storage with node affinity", "properties": { "fsType": { "description": "fsType is the filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a filesystem if unspecified.", @@ -7978,14 +8087,16 @@ "description": "NamespaceCondition contains details about state of namespace.", "properties": { "lastTransitionTime": { - "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", + "description": "Last time the condition transitioned from one status to another.", "format": "date-time", "type": "string" }, "message": { + "description": "Human-readable message indicating details about last transition.", "type": "string" }, "reason": { + "description": "Unique, one-word, CamelCase reason for the condition's last transition.", "type": "string" }, "status": { @@ -8222,6 +8333,16 @@ }, "type": "object" }, + "v1.NodeFeatures": { + "description": "NodeFeatures describes the set of features implemented by the CRI implementation. The features contained in the NodeFeatures should depend only on the cri implementation independent of runtime handlers.", + "properties": { + "supplementalGroupsPolicy": { + "description": "SupplementalGroupsPolicy is set to true if the runtime supports SupplementalGroupsPolicy and ContainerUser.", + "type": "boolean" + } + }, + "type": "object" + }, "v1.NodeList": { "description": "NodeList is the whole list of all Nodes which have been registered with master.", "properties": { @@ -8272,11 +8393,15 @@ "type": "object" }, "v1.NodeRuntimeHandlerFeatures": { - "description": "NodeRuntimeHandlerFeatures is a set of runtime features.", + "description": "NodeRuntimeHandlerFeatures is a set of features implemented by the runtime handler.", "properties": { "recursiveReadOnlyMounts": { "description": "RecursiveReadOnlyMounts is set to true if the runtime handler supports RecursiveReadOnlyMounts.", "type": "boolean" + }, + "userNamespaces": { + "description": "UserNamespaces is set to true if the runtime handler supports UserNamespaces, including for volumes.", + "type": "boolean" } }, "type": "object" @@ -8395,7 +8520,7 @@ "description": "NodeStatus is information about the current status of a node.", "properties": { "addresses": { - "description": "List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node's address in its own status or consumers of the downward API (status.hostIP).", + "description": "List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/reference/node/node-status/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node's address in its own status or consumers of the downward API (status.hostIP).", "items": { "$ref": "#/definitions/v1.NodeAddress" }, @@ -8420,11 +8545,11 @@ "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" }, - "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", + "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacity", "type": "object" }, "conditions": { - "description": "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition", + "description": "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/reference/node/node-status/#condition", "items": { "$ref": "#/definitions/v1.NodeCondition" }, @@ -8444,6 +8569,10 @@ "$ref": "#/definitions/v1.NodeDaemonEndpoints", "description": "Endpoints of daemons running on the Node." }, + "features": { + "$ref": "#/definitions/v1.NodeFeatures", + "description": "Features describes the set of features implemented by the CRI implementation." + }, "images": { "description": "List of container images on this node", "items": { @@ -8454,7 +8583,7 @@ }, "nodeInfo": { "$ref": "#/definitions/v1.NodeSystemInfo", - "description": "Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info" + "description": "Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/reference/node/node-status/#info" }, "phase": { "description": "NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated.", @@ -8507,7 +8636,7 @@ "type": "string" }, "kubeProxyVersion": { - "description": "KubeProxy Version reported by the node.", + "description": "Deprecated: KubeProxy Version reported by the node.", "type": "string" }, "kubeletVersion": { @@ -8686,9 +8815,11 @@ "type": "string" }, "status": { + "description": "Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=state%20of%20pvc-,conditions.status,-(string)%2C%20required", "type": "string" }, "type": { + "description": "Type is the type of the condition. More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=set%20to%20%27ResizeStarted%27.-,PersistentVolumeClaimCondition,-contains%20details%20about", "type": "string" } }, @@ -8765,7 +8896,7 @@ "type": "string" }, "volumeAttributesClassName": { - "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.", + "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).", "type": "string" }, "volumeMode": { @@ -8828,12 +8959,12 @@ "x-kubernetes-patch-strategy": "merge" }, "currentVolumeAttributesClassName": { - "description": "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is an alpha field and requires enabling VolumeAttributesClass feature.", + "description": "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is a beta field and requires enabling VolumeAttributesClass feature (off by default).", "type": "string" }, "modifyVolumeStatus": { "$ref": "#/definitions/v1.ModifyVolumeStatus", - "description": "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is an alpha field and requires enabling VolumeAttributesClass feature." + "description": "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is a beta field and requires enabling VolumeAttributesClass feature (off by default)." }, "phase": { "description": "phase represents the current phase of PersistentVolumeClaim.", @@ -8924,15 +9055,15 @@ }, "awsElasticBlockStore": { "$ref": "#/definitions/v1.AWSElasticBlockStoreVolumeSource", - "description": "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + "description": "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" }, "azureDisk": { "$ref": "#/definitions/v1.AzureDiskVolumeSource", - "description": "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod." + "description": "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver." }, "azureFile": { "$ref": "#/definitions/v1.AzureFilePersistentVolumeSource", - "description": "azureFile represents an Azure File Service mount on the host and bind mount to the pod." + "description": "azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver." }, "capacity": { "additionalProperties": { @@ -8944,11 +9075,11 @@ }, "cephfs": { "$ref": "#/definitions/v1.CephFSPersistentVolumeSource", - "description": "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime" + "description": "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported." }, "cinder": { "$ref": "#/definitions/v1.CinderPersistentVolumeSource", - "description": "cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + "description": "cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" }, "claimRef": { "$ref": "#/definitions/v1.ObjectReference", @@ -8957,7 +9088,7 @@ }, "csi": { "$ref": "#/definitions/v1.CSIPersistentVolumeSource", - "description": "csi represents storage that is handled by an external CSI driver (Beta feature)." + "description": "csi represents storage that is handled by an external CSI driver." }, "fc": { "$ref": "#/definitions/v1.FCVolumeSource", @@ -8965,19 +9096,19 @@ }, "flexVolume": { "$ref": "#/definitions/v1.FlexPersistentVolumeSource", - "description": "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin." + "description": "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead." }, "flocker": { "$ref": "#/definitions/v1.FlockerVolumeSource", - "description": "flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running" + "description": "flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported." }, "gcePersistentDisk": { "$ref": "#/definitions/v1.GCEPersistentDiskVolumeSource", - "description": "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + "description": "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" }, "glusterfs": { "$ref": "#/definitions/v1.GlusterfsPersistentVolumeSource", - "description": "glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md" + "description": "glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md" }, "hostPath": { "$ref": "#/definitions/v1.HostPathVolumeSource", @@ -9013,23 +9144,23 @@ }, "photonPersistentDisk": { "$ref": "#/definitions/v1.PhotonPersistentDiskVolumeSource", - "description": "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine" + "description": "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported." }, "portworxVolume": { "$ref": "#/definitions/v1.PortworxVolumeSource", - "description": "portworxVolume represents a portworx volume attached and mounted on kubelets host machine" + "description": "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on." }, "quobyte": { "$ref": "#/definitions/v1.QuobyteVolumeSource", - "description": "quobyte represents a Quobyte mount on the host that shares a pod's lifetime" + "description": "quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported." }, "rbd": { "$ref": "#/definitions/v1.RBDPersistentVolumeSource", - "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md" + "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md" }, "scaleIO": { "$ref": "#/definitions/v1.ScaleIOPersistentVolumeSource", - "description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes." + "description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported." }, "storageClassName": { "description": "storageClassName is the name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.", @@ -9037,10 +9168,10 @@ }, "storageos": { "$ref": "#/definitions/v1.StorageOSPersistentVolumeSource", - "description": "storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md" + "description": "storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. More info: https://examples.k8s.io/volumes/storageos/README.md" }, "volumeAttributesClassName": { - "description": "Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is an alpha field and requires enabling VolumeAttributesClass feature.", + "description": "Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is a beta field and requires enabling VolumeAttributesClass feature (off by default).", "type": "string" }, "volumeMode": { @@ -9049,7 +9180,7 @@ }, "vsphereVolume": { "$ref": "#/definitions/v1.VsphereVirtualDiskVolumeSource", - "description": "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine" + "description": "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver." } }, "type": "object" @@ -9058,7 +9189,7 @@ "description": "PersistentVolumeStatus is the current status of a persistent volume.", "properties": { "lastPhaseTransitionTime": { - "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default).", + "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions.", "format": "date-time", "type": "string" }, @@ -9157,7 +9288,7 @@ "description": "A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods." }, "matchLabelKeys": { - "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.", + "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", "items": { "type": "string" }, @@ -9165,7 +9296,7 @@ "x-kubernetes-list-type": "atomic" }, "mismatchLabelKeys": { - "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.", + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", "items": { "type": "string" }, @@ -9286,10 +9417,11 @@ "description": "PodDNSConfigOption defines DNS resolver options of a pod.", "properties": { "name": { - "description": "Required.", + "description": "Name is this DNS resolver option's name. Required.", "type": "string" }, "value": { + "description": "Value is this DNS resolver option's value.", "type": "string" } }, @@ -9303,6 +9435,9 @@ "type": "string" } }, + "required": [ + "ip" + ], "type": "object" }, "v1.PodList": { @@ -9367,15 +9502,19 @@ "type": "object" }, "v1.PodResourceClaim": { - "description": "PodResourceClaim references exactly one ResourceClaim through a ClaimSource. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.", + "description": "PodResourceClaim references exactly one ResourceClaim, either directly or by naming a ResourceClaimTemplate which is then turned into a ResourceClaim for the pod.\n\nIt adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.", "properties": { "name": { "description": "Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL.", "type": "string" }, - "source": { - "$ref": "#/definitions/v1.ClaimSource", - "description": "Source describes where to find the ResourceClaim." + "resourceClaimName": { + "description": "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.\n\nExactly one of ResourceClaimName and ResourceClaimTemplateName must be set.", + "type": "string" + }, + "resourceClaimTemplateName": { + "description": "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.\n\nThe template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.\n\nThis field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.\n\nExactly one of ResourceClaimName and ResourceClaimTemplateName must be set.", + "type": "string" } }, "required": [ @@ -9391,7 +9530,7 @@ "type": "string" }, "resourceClaimName": { - "description": "ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. It this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case.", + "description": "ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. If this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case.", "type": "string" } }, @@ -9443,6 +9582,10 @@ "format": "int64", "type": "integer" }, + "seLinuxChangePolicy": { + "description": "seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod. It has no effect on nodes that do not support SELinux or to volumes does not support SELinux. Valid values are \"MountOption\" and \"Recursive\".\n\n\"Recursive\" means relabeling of all files on all Pod volumes by the container runtime. This may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node.\n\n\"MountOption\" mounts all eligible Pod volumes with `-o context` mount option. This requires all Pods that share the same volume to use the same SELinux label. It is not possible to share the same volume among privileged and unprivileged Pods. Eligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes whose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their CSIDriver instance. Other volumes are always re-labelled recursively. \"MountOption\" value is allowed only when SELinuxMount feature gate is enabled.\n\nIf not specified and SELinuxMount feature gate is enabled, \"MountOption\" is used. If not specified and SELinuxMount feature gate is disabled, \"MountOption\" is used for ReadWriteOncePod volumes and \"Recursive\" for all other volumes.\n\nThis field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers.\n\nAll Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state. Note that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, "seLinuxOptions": { "$ref": "#/definitions/v1.SELinuxOptions", "description": "The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows." @@ -9452,7 +9595,7 @@ "description": "The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows." }, "supplementalGroups": { - "description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. If unspecified, no additional groups are added to any container. Note that group memberships defined in the container image for the uid of the container process are still effective, even if they are not included in this list. Note that this field cannot be set when spec.os.name is windows.", + "description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID and fsGroup (if specified). If the SupplementalGroupsPolicy feature is enabled, the supplementalGroupsPolicy field determines whether these are in addition to or instead of any group memberships defined in the container image. If unspecified, no additional groups are added, though group memberships defined in the container image may still be used, depending on the supplementalGroupsPolicy field. Note that this field cannot be set when spec.os.name is windows.", "items": { "format": "int64", "type": "integer" @@ -9460,6 +9603,10 @@ "type": "array", "x-kubernetes-list-type": "atomic" }, + "supplementalGroupsPolicy": { + "description": "Defines how supplemental groups of the first container processes are calculated. Valid values are \"Merge\" and \"Strict\". If not specified, \"Merge\" is used. (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled and the container runtime must implement support for this feature. Note that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, "sysctls": { "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows.", "items": { @@ -9589,7 +9736,7 @@ "x-kubernetes-patch-strategy": "merge" }, "nodeName": { - "description": "NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements.", + "description": "NodeName indicates in which node this pod is scheduled. If empty, this pod is a candidate for scheduling by the scheduler defined in schedulerName. Once this field is set, the kubelet for this node becomes responsible for the lifecycle of this pod. This field should not be used to express a desire for the pod to be scheduled on a specific node. https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodename", "type": "string" }, "nodeSelector": { @@ -9602,7 +9749,7 @@ }, "os": { "$ref": "#/definitions/v1.PodOS", - "description": "Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set.\n\nIf the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions\n\nIf the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.containers[*].securityContext.appArmorProfile - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup" + "description": "Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set.\n\nIf the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions\n\nIf the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.securityContext.supplementalGroupsPolicy - spec.containers[*].securityContext.appArmorProfile - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup" }, "overhead": { "additionalProperties": { @@ -9646,6 +9793,10 @@ "x-kubernetes-patch-merge-key": "name", "x-kubernetes-patch-strategy": "merge,retainKeys" }, + "resources": { + "$ref": "#/definitions/v1.ResourceRequirements", + "description": "Resources is the total amount of CPU and Memory resources required by all containers in the pod. It supports specifying Requests and Limits for \"cpu\" and \"memory\" resource names only. ResourceClaims are not supported.\n\nThis field enables fine-grained control over resource allocation for the entire pod, allowing resource sharing among containers in a pod.\n\nThis is an alpha field and requires enabling the PodLevelResources feature gate." + }, "restartPolicy": { "description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. In some contexts, only a subset of those values may be permitted. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy", "type": "string" @@ -9684,7 +9835,7 @@ "type": "string" }, "setHostnameAsFQDN": { - "description": "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false.", + "description": "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\\\SYSTEM\\\\CurrentControlSet\\\\Services\\\\Tcpip\\\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false.", "type": "boolean" }, "shareProcessNamespace": { @@ -9758,7 +9909,7 @@ "x-kubernetes-patch-strategy": "merge" }, "containerStatuses": { - "description": "The list has one entry per container in the manifest. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status", + "description": "Statuses of containers in this pod. Each container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status", "items": { "$ref": "#/definitions/v1.ContainerStatus" }, @@ -9766,7 +9917,7 @@ "x-kubernetes-list-type": "atomic" }, "ephemeralContainerStatuses": { - "description": "Status for any ephemeral containers that have run in this pod.", + "description": "Statuses for any ephemeral containers that have run in this pod. Each ephemeral container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status", "items": { "$ref": "#/definitions/v1.ContainerStatus" }, @@ -9788,7 +9939,7 @@ "x-kubernetes-patch-strategy": "merge" }, "initContainerStatuses": { - "description": "The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status", + "description": "Statuses of init containers in this pod. The most recent successful non-restartable init container will have ready = true, the most recently started container will have startTime set. Each init container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-and-container-status", "items": { "$ref": "#/definitions/v1.ContainerStatus" }, @@ -9936,6 +10087,7 @@ "type": "object" }, "v1.PortStatus": { + "description": "PortStatus represents the error condition of a service port", "properties": { "error": { "description": "Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use\n CamelCase names\n- cloud provider specific error values must have names that comply with the\n format foo.example.com/CamelCase.", @@ -10002,7 +10154,7 @@ "properties": { "exec": { "$ref": "#/definitions/v1.ExecAction", - "description": "Exec specifies the action to take." + "description": "Exec specifies a command to execute in the container." }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", @@ -10011,11 +10163,11 @@ }, "grpc": { "$ref": "#/definitions/v1.GRPCAction", - "description": "GRPC specifies an action involving a GRPC port." + "description": "GRPC specifies a GRPC HealthCheckRequest." }, "httpGet": { "$ref": "#/definitions/v1.HTTPGetAction", - "description": "HTTPGet specifies the http request to perform." + "description": "HTTPGet specifies an HTTP GET request to perform." }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", @@ -10034,7 +10186,7 @@ }, "tcpSocket": { "$ref": "#/definitions/v1.TCPSocketAction", - "description": "TCPSocket specifies an action involving a TCP port." + "description": "TCPSocket specifies a connection to a TCP port." }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", @@ -10058,7 +10210,7 @@ "type": "integer" }, "sources": { - "description": "sources is the list of volume projections", + "description": "sources is the list of volume projections. Each entry in this list handles one source.", "items": { "$ref": "#/definitions/v1.VolumeProjection" }, @@ -10374,6 +10526,10 @@ "name": { "description": "Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.", "type": "string" + }, + "request": { + "description": "Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.", + "type": "string" } }, "required": [ @@ -10403,6 +10559,23 @@ "type": "object", "x-kubernetes-map-type": "atomic" }, + "v1.ResourceHealth": { + "description": "ResourceHealth represents the health of a resource. It has the latest device health information. This is a part of KEP https://kep.k8s.io/4680.", + "properties": { + "health": { + "description": "Health of the resource. can be one of:\n - Healthy: operates as normal\n - Unhealthy: reported unhealthy. We consider this a temporary health issue\n since we do not have a mechanism today to distinguish\n temporary and permanent issues.\n - Unknown: The status cannot be determined.\n For example, Device Plugin got unregistered and hasn't been re-registered since.\n\nIn future we may want to introduce the PermanentlyUnhealthy Status.", + "type": "string" + }, + "resourceID": { + "description": "ResourceID is the unique identifier of the resource. See the ResourceID type for more information.", + "type": "string" + } + }, + "required": [ + "resourceID" + ], + "type": "object" + }, "v1.ResourceQuota": { "description": "ResourceQuota sets aggregate quota restrictions enforced per namespace", "properties": { @@ -10552,6 +10725,30 @@ }, "type": "object" }, + "v1.ResourceStatus": { + "description": "ResourceStatus represents the status of a single resource allocated to a Pod.", + "properties": { + "name": { + "description": "Name of the resource. Must be unique within the pod and in case of non-DRA resource, match one of the resources from the pod spec. For DRA resources, the value must be \"claim:/\". When this status is reported about a container, the \"claim_name\" and \"request\" must match one of the claims of this container.", + "type": "string" + }, + "resources": { + "description": "List of unique resources health. Each element in the list contains an unique resource ID and its health. At a minimum, for the lifetime of a Pod, resource ID must uniquely identify the resource allocated to the Pod on the Node. If other Pod on the same Node reports the status with the same resource ID, it must be the same resource they share. See ResourceID type definition for a specific format it has in various use cases.", + "items": { + "$ref": "#/definitions/v1.ResourceHealth" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "resourceID" + ], + "x-kubernetes-list-type": "map" + } + }, + "required": [ + "name" + ], + "type": "object" + }, "v1.SELinuxOptions": { "description": "SELinuxOptions are the labels to be applied to the container", "properties": { @@ -10945,7 +11142,7 @@ "type": "boolean" }, "procMount": { - "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.", + "description": "procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.", "type": "string" }, "readOnlyRootFilesystem": { @@ -11042,7 +11239,7 @@ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "secrets": { - "description": "Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a \"kubernetes.io/enforce-mountable-secrets\" annotation set to \"true\". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret", + "description": "Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a \"kubernetes.io/enforce-mountable-secrets\" annotation set to \"true\". The \"kubernetes.io/enforce-mountable-secrets\" annotation is deprecated since v1.32. Prefer separate namespaces to isolate access to mounted secrets. This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret", "items": { "$ref": "#/definitions/v1.ObjectReference" }, @@ -11298,7 +11495,7 @@ "description": "sessionAffinityConfig contains the configurations of session affinity." }, "trafficDistribution": { - "description": "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.", + "description": "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 a beta field and requires enabling ServiceTrafficDistribution feature.", "type": "string" }, "type": { @@ -11606,6 +11803,7 @@ "x-kubernetes-map-type": "atomic" }, "v1.TypedObjectReference": { + "description": "TypedObjectReference contains enough information to let you locate the typed referenced object", "properties": { "apiGroup": { "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", @@ -11635,23 +11833,23 @@ "properties": { "awsElasticBlockStore": { "$ref": "#/definitions/v1.AWSElasticBlockStoreVolumeSource", - "description": "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + "description": "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" }, "azureDisk": { "$ref": "#/definitions/v1.AzureDiskVolumeSource", - "description": "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod." + "description": "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver." }, "azureFile": { "$ref": "#/definitions/v1.AzureFileVolumeSource", - "description": "azureFile represents an Azure File Service mount on the host and bind mount to the pod." + "description": "azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver." }, "cephfs": { "$ref": "#/definitions/v1.CephFSVolumeSource", - "description": "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime" + "description": "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported." }, "cinder": { "$ref": "#/definitions/v1.CinderVolumeSource", - "description": "cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + "description": "cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" }, "configMap": { "$ref": "#/definitions/v1.ConfigMapVolumeSource", @@ -11659,7 +11857,7 @@ }, "csi": { "$ref": "#/definitions/v1.CSIVolumeSource", - "description": "csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature)." + "description": "csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers." }, "downwardAPI": { "$ref": "#/definitions/v1.DownwardAPIVolumeSource", @@ -11679,28 +11877,32 @@ }, "flexVolume": { "$ref": "#/definitions/v1.FlexVolumeSource", - "description": "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin." + "description": "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead." }, "flocker": { "$ref": "#/definitions/v1.FlockerVolumeSource", - "description": "flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running" + "description": "flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported." }, "gcePersistentDisk": { "$ref": "#/definitions/v1.GCEPersistentDiskVolumeSource", - "description": "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + "description": "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" }, "gitRepo": { "$ref": "#/definitions/v1.GitRepoVolumeSource", - "description": "gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container." + "description": "gitRepo represents a git repository at a particular revision. Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container." }, "glusterfs": { "$ref": "#/definitions/v1.GlusterfsVolumeSource", - "description": "glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md" + "description": "glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md" }, "hostPath": { "$ref": "#/definitions/v1.HostPathVolumeSource", "description": "hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" }, + "image": { + "$ref": "#/definitions/v1.ImageVolumeSource", + "description": "image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided:\n\n- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\n\nThe volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath). The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type." + }, "iscsi": { "$ref": "#/definitions/v1.ISCSIVolumeSource", "description": "iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md" @@ -11719,11 +11921,11 @@ }, "photonPersistentDisk": { "$ref": "#/definitions/v1.PhotonPersistentDiskVolumeSource", - "description": "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine" + "description": "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported." }, "portworxVolume": { "$ref": "#/definitions/v1.PortworxVolumeSource", - "description": "portworxVolume represents a portworx volume attached and mounted on kubelets host machine" + "description": "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on." }, "projected": { "$ref": "#/definitions/v1.ProjectedVolumeSource", @@ -11731,15 +11933,15 @@ }, "quobyte": { "$ref": "#/definitions/v1.QuobyteVolumeSource", - "description": "quobyte represents a Quobyte mount on the host that shares a pod's lifetime" + "description": "quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported." }, "rbd": { "$ref": "#/definitions/v1.RBDVolumeSource", - "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md" + "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md" }, "scaleIO": { "$ref": "#/definitions/v1.ScaleIOVolumeSource", - "description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes." + "description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported." }, "secret": { "$ref": "#/definitions/v1.SecretVolumeSource", @@ -11747,11 +11949,11 @@ }, "storageos": { "$ref": "#/definitions/v1.StorageOSVolumeSource", - "description": "storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes." + "description": "storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported." }, "vsphereVolume": { "$ref": "#/definitions/v1.VsphereVirtualDiskVolumeSource", - "description": "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine" + "description": "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver." } }, "required": [ @@ -11852,7 +12054,7 @@ "type": "object" }, "v1.VolumeProjection": { - "description": "Projection that may be projected along with other supported volume types", + "description": "Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.", "properties": { "clusterTrustBundle": { "$ref": "#/definitions/v1.ClusterTrustBundleProjection", @@ -12893,37 +13095,68 @@ ], "type": "object" }, - "v1beta3.ExemptPriorityLevelConfiguration": { - "description": "ExemptPriorityLevelConfiguration describes the configurable aspects of the handling of exempt requests. In the mandatory exempt configuration object the values in the fields here can be modified by authorized users, unlike the rest of the `spec`.", + "v1.HTTPIngressPath": { + "description": "HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.", "properties": { - "lendablePercent": { - "description": "`lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. This value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.\n\nLendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )", - "format": "int32", - "type": "integer" + "backend": { + "$ref": "#/definitions/v1.IngressBackend", + "description": "backend defines the referenced service endpoint to which the traffic will be forwarded to." }, - "nominalConcurrencyShares": { - "description": "`nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats nominally reserved for this priority level. This DOES NOT limit the dispatching from this priority level but affects the other priority levels through the borrowing mechanism. The server's concurrency limit (ServerCL) is divided among all the priority levels in proportion to their NCS values:\n\nNominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)\n\nBigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level. This field has a default value of zero.", - "format": "int32", - "type": "integer" + "path": { + "description": "path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/' and must be present when using PathType with value \"Exact\" or \"Prefix\".", + "type": "string" + }, + "pathType": { + "description": "pathType determines the interpretation of the path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is\n done on a path element by element basis. A path element refers is the\n list of labels in the path split by the '/' separator. A request is a\n match for path p if every p is an element-wise prefix of p of the\n request path. Note that if the last element of the path is a substring\n of the last element in request path, it is not a match (e.g. /foo/bar\n matches /foo/bar/baz, but does not match /foo/barbaz).\n* ImplementationSpecific: Interpretation of the Path matching is up to\n the IngressClass. Implementations can treat this as a separate PathType\n or treat it identically to Prefix or Exact path types.\nImplementations are required to support all path types.", + "type": "string" } }, + "required": [ + "pathType", + "backend" + ], "type": "object" }, - "v1beta3.FlowDistinguisherMethod": { - "description": "FlowDistinguisherMethod specifies the method of a flow distinguisher.", + "v1.HTTPIngressRuleValue": { + "description": "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.", "properties": { - "type": { - "description": "`type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required.", + "paths": { + "description": "paths is a collection of paths that map requests to backends.", + "items": { + "$ref": "#/definitions/v1.HTTPIngressPath" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "paths" + ], + "type": "object" + }, + "v1.IPBlock": { + "description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.", + "properties": { + "cidr": { + "description": "cidr is a string representing the IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"", "type": "string" + }, + "except": { + "description": "except is a slice of CIDRs that should not be included within an IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\" Except values will be rejected if they are outside the cidr range", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "required": [ - "type" + "cidr" ], "type": "object" }, - "v1beta3.FlowSchema": { - "description": "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", + "v1.Ingress": { + "description": "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -12935,64 +13168,80 @@ }, "metadata": { "$ref": "#/definitions/v1.ObjectMeta", - "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/v1beta3.FlowSchemaSpec", - "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/v1.IngressSpec", + "description": "spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { - "$ref": "#/definitions/v1beta3.FlowSchemaStatus", - "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/v1.IngressStatus", + "description": "status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" } ] }, - "v1beta3.FlowSchemaCondition": { - "description": "FlowSchemaCondition describes conditions for a FlowSchema.", + "v1.IngressBackend": { + "description": "IngressBackend describes all endpoints for a given service and port.", "properties": { - "lastTransitionTime": { - "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another.", - "format": "date-time", - "type": "string" + "resource": { + "$ref": "#/definitions/v1.TypedLocalObjectReference", + "description": "resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with \"Service\"." }, - "message": { - "description": "`message` is a human-readable message indicating details about last transition.", + "service": { + "$ref": "#/definitions/v1.IngressServiceBackend", + "description": "service references a service as a backend. This is a mutually exclusive setting with \"Resource\"." + } + }, + "type": "object" + }, + "v1.IngressClass": { + "description": "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, - "reason": { - "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition.", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "status": { - "description": "`status` is the status of the condition. Can be True, False, Unknown. Required.", - "type": "string" + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "type": { - "description": "`type` is the type of the condition. Required.", - "type": "string" + "spec": { + "$ref": "#/definitions/v1.IngressClassSpec", + "description": "spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" + } + ] }, - "v1beta3.FlowSchemaList": { - "description": "FlowSchemaList is a list of FlowSchema objects.", + "v1.IngressClassList": { + "description": "IngressClassList is a collection of IngressClasses.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "`items` is a list of FlowSchemas.", + "description": "items is the list of IngressClasses.", "items": { - "$ref": "#/definitions/v1beta3.FlowSchema" + "$ref": "#/definitions/v1.IngressClass" }, "type": "array" }, @@ -13002,7 +13251,7 @@ }, "metadata": { "$ref": "#/definitions/v1.ListMeta", - "description": "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard list metadata." } }, "required": [ @@ -13011,185 +13260,240 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchemaList", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "IngressClassList", + "version": "v1" } ] }, - "v1beta3.FlowSchemaSpec": { - "description": "FlowSchemaSpec describes how the FlowSchema's specification looks like.", + "v1.IngressClassParametersReference": { + "description": "IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.", "properties": { - "distinguisherMethod": { - "$ref": "#/definitions/v1beta3.FlowDistinguisherMethod", - "description": "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string." + "apiGroup": { + "description": "apiGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", + "type": "string" }, - "matchingPrecedence": { - "description": "`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default.", - "format": "int32", - "type": "integer" + "kind": { + "description": "kind is the type of resource being referenced.", + "type": "string" }, - "priorityLevelConfiguration": { - "$ref": "#/definitions/v1beta3.PriorityLevelConfigurationReference", - "description": "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required." + "name": { + "description": "name is the name of resource being referenced.", + "type": "string" }, - "rules": { - "description": "`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.", - "items": { - "$ref": "#/definitions/v1beta3.PolicyRulesWithSubjects" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "namespace": { + "description": "namespace is the namespace of the resource being referenced. This field is required when scope is set to \"Namespace\" and must be unset when scope is set to \"Cluster\".", + "type": "string" + }, + "scope": { + "description": "scope represents if this refers to a cluster or namespace scoped resource. This may be set to \"Cluster\" (default) or \"Namespace\".", + "type": "string" } }, "required": [ - "priorityLevelConfiguration" + "kind", + "name" ], "type": "object" }, - "v1beta3.FlowSchemaStatus": { - "description": "FlowSchemaStatus represents the current state of a FlowSchema.", + "v1.IngressClassSpec": { + "description": "IngressClassSpec provides information about the class of an Ingress.", "properties": { - "conditions": { - "description": "`conditions` is a list of the current states of FlowSchema.", - "items": { - "$ref": "#/definitions/v1beta3.FlowSchemaCondition" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "type" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" + "controller": { + "description": "controller refers to the name of the controller that should handle this class. This allows for different \"flavors\" that are controlled by the same controller. For example, you may have different parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. \"acme.io/ingress-controller\". This field is immutable.", + "type": "string" + }, + "parameters": { + "$ref": "#/definitions/v1.IngressClassParametersReference", + "description": "parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters." } }, "type": "object" }, - "v1beta3.GroupSubject": { - "description": "GroupSubject holds detailed information for group-kind subject.", + "v1.IngressList": { + "description": "IngressList is a collection of Ingress.", "properties": { - "name": { - "description": "name is the user group that matches, or \"*\" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required.", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is the list of Ingress.", + "items": { + "$ref": "#/definitions/v1.Ingress" + }, + "type": "array" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ - "name" + "items" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "networking.k8s.io", + "kind": "IngressList", + "version": "v1" + } + ] }, - "v1beta3.LimitResponse": { - "description": "LimitResponse defines how to handle requests that can not be executed right now.", + "v1.IngressLoadBalancerIngress": { + "description": "IngressLoadBalancerIngress represents the status of a load-balancer ingress point.", "properties": { - "queuing": { - "$ref": "#/definitions/v1beta3.QueuingConfiguration", - "description": "`queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `\"Queue\"`." + "hostname": { + "description": "hostname is set for load-balancer ingress points that are DNS based.", + "type": "string" }, - "type": { - "description": "`type` is \"Queue\" or \"Reject\". \"Queue\" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. \"Reject\" means that requests that can not be executed upon arrival are rejected. Required.", + "ip": { + "description": "ip is set for load-balancer ingress points that are IP based.", "type": "string" + }, + "ports": { + "description": "ports provides information about the ports exposed by this LoadBalancer.", + "items": { + "$ref": "#/definitions/v1.IngressPortStatus" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, - "required": [ - "type" - ], - "type": "object", - "x-kubernetes-unions": [ - { - "discriminator": "type", - "fields-to-discriminateBy": { - "queuing": "Queuing" - } + "type": "object" + }, + "v1.IngressLoadBalancerStatus": { + "description": "IngressLoadBalancerStatus represents the status of a load-balancer.", + "properties": { + "ingress": { + "description": "ingress is a list containing ingress points for the load-balancer.", + "items": { + "$ref": "#/definitions/v1.IngressLoadBalancerIngress" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } - ] + }, + "type": "object" }, - "v1beta3.LimitedPriorityLevelConfiguration": { - "description": "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n - How are requests for this priority level limited?\n - What should be done with requests that exceed the limit?", + "v1.IngressPortStatus": { + "description": "IngressPortStatus represents the error condition of a service port", "properties": { - "borrowingLimitPercent": { - "description": "`borrowingLimitPercent`, if present, configures a limit on how many seats this priority level can borrow from other priority levels. The limit is known as this level's BorrowingConcurrencyLimit (BorrowingCL) and is a limit on the total number of seats that this level may borrow at any one time. This field holds the ratio of that limit to the level's nominal concurrency limit. When this field is non-nil, it must hold a non-negative integer and the limit is calculated as follows.\n\nBorrowingCL(i) = round( NominalCL(i) * borrowingLimitPercent(i)/100.0 )\n\nThe value of this field can be more than 100, implying that this priority level can borrow a number of seats that is greater than its own nominal concurrency limit (NominalCL). When this field is left `nil`, the limit is effectively infinite.", - "format": "int32", - "type": "integer" + "error": { + "description": "error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use\n CamelCase names\n- cloud provider specific error values must have names that comply with the\n format foo.example.com/CamelCase.", + "type": "string" }, - "lendablePercent": { - "description": "`lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. The value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.\n\nLendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )", + "port": { + "description": "port is the port number of the ingress port.", "format": "int32", "type": "integer" }, - "limitResponse": { - "$ref": "#/definitions/v1beta3.LimitResponse", - "description": "`limitResponse` indicates what to do with requests that can not be executed right now" + "protocol": { + "description": "protocol is the protocol of the ingress port. The supported values are: \"TCP\", \"UDP\", \"SCTP\"", + "type": "string" + } + }, + "required": [ + "port", + "protocol" + ], + "type": "object" + }, + "v1.IngressRule": { + "description": "IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.", + "properties": { + "host": { + "description": "host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to\n the IP in the Spec of the parent Ingress.\n2. The `:` delimiter is not respected because ports are not allowed.\n\t Currently the port of an Ingress is implicitly :80 for http and\n\t :443 for https.\nBoth these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.\n\nhost can be \"precise\" which is a domain name without the terminating dot of a network host (e.g. \"foo.bar.com\") or \"wildcard\", which is a domain name prefixed with a single wildcard label (e.g. \"*.foo.com\"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == \"*\"). Requests will be matched against the Host field in the following way: 1. If host is precise, the request matches this rule if the http host header is equal to Host. 2. If host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.", + "type": "string" }, - "nominalConcurrencyShares": { - "description": "`nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats available at this priority level. This is used both for requests dispatched from this priority level as well as requests dispatched from other priority levels borrowing seats from this level. The server's concurrency limit (ServerCL) is divided among the Limited priority levels in proportion to their NCS values:\n\nNominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)\n\nBigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level. This field has a default value of 30.", - "format": "int32", - "type": "integer" + "http": { + "$ref": "#/definitions/v1.HTTPIngressRuleValue" } }, "type": "object" }, - "v1beta3.NonResourcePolicyRule": { - "description": "NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.", + "v1.IngressServiceBackend": { + "description": "IngressServiceBackend references a Kubernetes Service as a Backend.", "properties": { - "nonResourceURLs": { - "description": "`nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. For example:\n - \"/healthz\" is legal\n - \"/hea*\" is illegal\n - \"/hea\" is legal but matches nothing\n - \"/hea/*\" also matches nothing\n - \"/healthz/*\" matches all per-component health checks.\n\"*\" matches all non-resource urls. if it is present, it must be the only entry. Required.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "set" + "name": { + "description": "name is the referenced service. The service must exist in the same namespace as the Ingress object.", + "type": "string" }, - "verbs": { - "description": "`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs. If it is present, it must be the only entry. Required.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "set" + "port": { + "$ref": "#/definitions/v1.ServiceBackendPort", + "description": "port of the referenced service. A port name or port number is required for a IngressServiceBackend." } }, "required": [ - "verbs", - "nonResourceURLs" + "name" ], "type": "object" }, - "v1beta3.PolicyRulesWithSubjects": { - "description": "PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.", + "v1.IngressSpec": { + "description": "IngressSpec describes the Ingress the user wishes to exist.", "properties": { - "nonResourceRules": { - "description": "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL.", + "defaultBackend": { + "$ref": "#/definitions/v1.IngressBackend", + "description": "defaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller." + }, + "ingressClassName": { + "description": "ingressClassName is the name of an IngressClass cluster resource. Ingress controller implementations use this field to know whether they should be serving this Ingress resource, by a transitive connection (controller -> IngressClass -> Ingress resource). Although the `kubernetes.io/ingress.class` annotation (simple constant name) was never formally defined, it was widely supported by Ingress controllers to create a direct binding between Ingress controller and Ingress resources. Newly created Ingress resources should prefer using the field. However, even though the annotation is officially deprecated, for backwards compatibility reasons, ingress controllers should still honor that annotation if present.", + "type": "string" + }, + "rules": { + "description": "rules is a list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.", "items": { - "$ref": "#/definitions/v1beta3.NonResourcePolicyRule" + "$ref": "#/definitions/v1.IngressRule" }, "type": "array", "x-kubernetes-list-type": "atomic" }, - "resourceRules": { - "description": "`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty.", + "tls": { + "description": "tls represents the TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.", "items": { - "$ref": "#/definitions/v1beta3.ResourcePolicyRule" + "$ref": "#/definitions/v1.IngressTLS" }, "type": "array", "x-kubernetes-list-type": "atomic" - }, - "subjects": { - "description": "subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required.", + } + }, + "type": "object" + }, + "v1.IngressStatus": { + "description": "IngressStatus describe the current state of the Ingress.", + "properties": { + "loadBalancer": { + "$ref": "#/definitions/v1.IngressLoadBalancerStatus", + "description": "loadBalancer contains the current status of the load-balancer." + } + }, + "type": "object" + }, + "v1.IngressTLS": { + "description": "IngressTLS describes the transport layer security associated with an ingress.", + "properties": { + "hosts": { + "description": "hosts is a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.", "items": { - "$ref": "#/definitions/v1beta3.Subject" + "type": "string" }, "type": "array", "x-kubernetes-list-type": "atomic" + }, + "secretName": { + "description": "secretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the \"Host\" header is used for routing.", + "type": "string" } }, - "required": [ - "subjects" - ], "type": "object" }, - "v1beta3.PriorityLevelConfiguration": { - "description": "PriorityLevelConfiguration represents the configuration of a priority level.", + "v1.NetworkPolicy": { + "description": "NetworkPolicy describes what network traffic is allowed for a set of Pods", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -13201,64 +13505,77 @@ }, "metadata": { "$ref": "#/definitions/v1.ObjectMeta", - "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/v1beta3.PriorityLevelConfigurationSpec", - "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - }, - "status": { - "$ref": "#/definitions/v1beta3.PriorityLevelConfigurationStatus", - "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/v1.NetworkPolicySpec", + "description": "spec represents the specification of the desired behavior for this NetworkPolicy." } }, "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" } ] }, - "v1beta3.PriorityLevelConfigurationCondition": { - "description": "PriorityLevelConfigurationCondition defines the condition of priority level.", + "v1.NetworkPolicyEgressRule": { + "description": "NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8", "properties": { - "lastTransitionTime": { - "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another.", - "format": "date-time", - "type": "string" - }, - "message": { - "description": "`message` is a human-readable message indicating details about last transition.", - "type": "string" - }, - "reason": { - "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition.", - "type": "string" + "ports": { + "description": "ports is a list of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.", + "items": { + "$ref": "#/definitions/v1.NetworkPolicyPort" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "status": { - "description": "`status` is the status of the condition. Can be True, False, Unknown. Required.", - "type": "string" + "to": { + "description": "to is a list of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list.", + "items": { + "$ref": "#/definitions/v1.NetworkPolicyPeer" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "v1.NetworkPolicyIngressRule": { + "description": "NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.", + "properties": { + "from": { + "description": "from is a list of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list.", + "items": { + "$ref": "#/definitions/v1.NetworkPolicyPeer" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "type": { - "description": "`type` is the type of the condition. Required.", - "type": "string" + "ports": { + "description": "ports is a list of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.", + "items": { + "$ref": "#/definitions/v1.NetworkPolicyPort" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "type": "object" }, - "v1beta3.PriorityLevelConfigurationList": { - "description": "PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects.", + "v1.NetworkPolicyList": { + "description": "NetworkPolicyList is a list of NetworkPolicy objects.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "`items` is a list of request-priorities.", + "description": "items is a list of schema objects.", "items": { - "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.NetworkPolicy" }, "type": "array" }, @@ -13268,7 +13585,7 @@ }, "metadata": { "$ref": "#/definitions/v1.ListMeta", - "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ @@ -13277,270 +13594,207 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfigurationList", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "NetworkPolicyList", + "version": "v1" } ] }, - "v1beta3.PriorityLevelConfigurationReference": { - "description": "PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.", + "v1.NetworkPolicyPeer": { + "description": "NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed", "properties": { - "name": { - "description": "`name` is the name of the priority level configuration being referenced Required.", - "type": "string" + "ipBlock": { + "$ref": "#/definitions/v1.IPBlock", + "description": "ipBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be." + }, + "namespaceSelector": { + "$ref": "#/definitions/v1.LabelSelector", + "description": "namespaceSelector selects namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.\n\nIf podSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the namespaces selected by namespaceSelector. Otherwise it selects all pods in the namespaces selected by namespaceSelector." + }, + "podSelector": { + "$ref": "#/definitions/v1.LabelSelector", + "description": "podSelector is a label selector which selects pods. This field follows standard label selector semantics; if present but empty, it selects all pods.\n\nIf namespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the pods matching podSelector in the policy's own namespace." } }, - "required": [ - "name" - ], "type": "object" }, - "v1beta3.PriorityLevelConfigurationSpec": { - "description": "PriorityLevelConfigurationSpec specifies the configuration of a priority level.", + "v1.NetworkPolicyPort": { + "description": "NetworkPolicyPort describes a port to allow traffic on", "properties": { - "exempt": { - "$ref": "#/definitions/v1beta3.ExemptPriorityLevelConfiguration", - "description": "`exempt` specifies how requests are handled for an exempt priority level. This field MUST be empty if `type` is `\"Limited\"`. This field MAY be non-empty if `type` is `\"Exempt\"`. If empty and `type` is `\"Exempt\"` then the default values for `ExemptPriorityLevelConfiguration` apply." + "endPort": { + "description": "endPort indicates that the range of ports from port to endPort if set, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port.", + "format": "int32", + "type": "integer" }, - "limited": { - "$ref": "#/definitions/v1beta3.LimitedPriorityLevelConfiguration", - "description": "`limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `\"Limited\"`." + "port": { + "$ref": "#/definitions/intstr.IntOrString", + "description": "port represents the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched." }, - "type": { - "description": "`type` indicates whether this priority level is subject to limitation on request execution. A value of `\"Exempt\"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `\"Limited\"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required.", + "protocol": { + "description": "protocol represents the protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.", "type": "string" } }, - "required": [ - "type" - ], - "type": "object", - "x-kubernetes-unions": [ - { - "discriminator": "type", - "fields-to-discriminateBy": { - "exempt": "Exempt", - "limited": "Limited" - } - } - ] - }, - "v1beta3.PriorityLevelConfigurationStatus": { - "description": "PriorityLevelConfigurationStatus represents the current state of a \"request-priority\".", - "properties": { - "conditions": { - "description": "`conditions` is the current state of \"request-priority\".", - "items": { - "$ref": "#/definitions/v1beta3.PriorityLevelConfigurationCondition" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "type" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - } - }, - "type": "object" - }, - "v1beta3.QueuingConfiguration": { - "description": "QueuingConfiguration holds the configuration parameters for queuing", - "properties": { - "handSize": { - "description": "`handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8.", - "format": "int32", - "type": "integer" - }, - "queueLengthLimit": { - "description": "`queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50.", - "format": "int32", - "type": "integer" - }, - "queues": { - "description": "`queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64.", - "format": "int32", - "type": "integer" - } - }, "type": "object" }, - "v1beta3.ResourcePolicyRule": { - "description": "ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) either (d1) the request does not specify a namespace (i.e., `Namespace==\"\"`) and clusterScope is true or (d2) the request specifies a namespace and least one member of namespaces matches the request's namespace.", + "v1.NetworkPolicySpec": { + "description": "NetworkPolicySpec provides the specification of a NetworkPolicy", "properties": { - "apiGroups": { - "description": "`apiGroups` is a list of matching API groups and may not be empty. \"*\" matches all API groups and, if present, must be the only entry. Required.", + "egress": { + "description": "egress is a list of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8", "items": { - "type": "string" + "$ref": "#/definitions/v1.NetworkPolicyEgressRule" }, "type": "array", - "x-kubernetes-list-type": "set" - }, - "clusterScope": { - "description": "`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list.", - "type": "boolean" + "x-kubernetes-list-type": "atomic" }, - "namespaces": { - "description": "`namespaces` is a list of target namespaces that restricts matches. A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains \"*\". Note that \"*\" matches any specified namespace but does not match a request that _does not specify_ a namespace (see the `clusterScope` field for that). This list may be empty, but only if `clusterScope` is true.", + "ingress": { + "description": "ingress is a list of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)", "items": { - "type": "string" + "$ref": "#/definitions/v1.NetworkPolicyIngressRule" }, "type": "array", - "x-kubernetes-list-type": "set" + "x-kubernetes-list-type": "atomic" }, - "resources": { - "description": "`resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ \"services\", \"nodes/status\" ]. This list may not be empty. \"*\" matches all resources and, if present, must be the only entry. Required.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "set" + "podSelector": { + "$ref": "#/definitions/v1.LabelSelector", + "description": "podSelector selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace." }, - "verbs": { - "description": "`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs and, if present, must be the only entry. Required.", + "policyTypes": { + "description": "policyTypes is a list of rule types that the NetworkPolicy relates to. Valid options are [\"Ingress\"], [\"Egress\"], or [\"Ingress\", \"Egress\"]. If this field is not specified, it will default based on the existence of ingress or egress rules; policies that contain an egress section are assumed to affect egress, and all policies (whether or not they contain an ingress section) are assumed to affect ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8", "items": { "type": "string" }, "type": "array", - "x-kubernetes-list-type": "set" + "x-kubernetes-list-type": "atomic" } }, "required": [ - "verbs", - "apiGroups", - "resources" + "podSelector" ], "type": "object" }, - "v1beta3.ServiceAccountSubject": { - "description": "ServiceAccountSubject holds detailed information for service-account-kind subject.", + "v1.ServiceBackendPort": { + "description": "ServiceBackendPort is the service port being referenced.", "properties": { "name": { - "description": "`name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required.", + "description": "name is the name of the port on the Service. This is a mutually exclusive setting with \"Number\".", "type": "string" }, - "namespace": { - "description": "`namespace` is the namespace of matching ServiceAccount objects. Required.", - "type": "string" + "number": { + "description": "number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with \"Name\".", + "format": "int32", + "type": "integer" } }, - "required": [ - "namespace", - "name" - ], - "type": "object" + "type": "object", + "x-kubernetes-map-type": "atomic" }, - "v1beta3.Subject": { - "description": "Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.", + "v1beta1.IPAddress": { + "description": "IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1", "properties": { - "group": { - "$ref": "#/definitions/v1beta3.GroupSubject", - "description": "`group` matches based on user group name." + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" }, "kind": { - "description": "`kind` indicates which one of the other fields is non-empty. Required", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "serviceAccount": { - "$ref": "#/definitions/v1beta3.ServiceAccountSubject", - "description": "`serviceAccount` matches ServiceAccounts." + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "user": { - "$ref": "#/definitions/v1beta3.UserSubject", - "description": "`user` matches based on username." + "spec": { + "$ref": "#/definitions/v1beta1.IPAddressSpec", + "description": "spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, - "required": [ - "kind" - ], "type": "object", - "x-kubernetes-unions": [ + "x-kubernetes-group-version-kind": [ { - "discriminator": "kind", - "fields-to-discriminateBy": { - "group": "Group", - "serviceAccount": "ServiceAccount", - "user": "User" - } + "group": "networking.k8s.io", + "kind": "IPAddress", + "version": "v1beta1" } ] }, - "v1beta3.UserSubject": { - "description": "UserSubject holds detailed information for user-kind subject.", + "v1beta1.IPAddressList": { + "description": "IPAddressList contains a list of IPAddress.", "properties": { - "name": { - "description": "`name` is the username that matches, or \"*\" to match all usernames. Required.", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "v1.HTTPIngressPath": { - "description": "HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.", - "properties": { - "backend": { - "$ref": "#/definitions/v1.IngressBackend", - "description": "backend defines the referenced service endpoint to which the traffic will be forwarded to." }, - "path": { - "description": "path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/' and must be present when using PathType with value \"Exact\" or \"Prefix\".", - "type": "string" + "items": { + "description": "items is the list of IPAddresses.", + "items": { + "$ref": "#/definitions/v1beta1.IPAddress" + }, + "type": "array" }, - "pathType": { - "description": "pathType determines the interpretation of the path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is\n done on a path element by element basis. A path element refers is the\n list of labels in the path split by the '/' separator. A request is a\n match for path p if every p is an element-wise prefix of p of the\n request path. Note that if the last element of the path is a substring\n of the last element in request path, it is not a match (e.g. /foo/bar\n matches /foo/bar/baz, but does not match /foo/barbaz).\n* ImplementationSpecific: Interpretation of the Path matching is up to\n the IngressClass. Implementations can treat this as a separate PathType\n or treat it identically to Prefix or Exact path types.\nImplementations are required to support all path types.", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ - "pathType", - "backend" + "items" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "networking.k8s.io", + "kind": "IPAddressList", + "version": "v1beta1" + } + ] }, - "v1.HTTPIngressRuleValue": { - "description": "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.", + "v1beta1.IPAddressSpec": { + "description": "IPAddressSpec describe the attributes in an IP Address.", "properties": { - "paths": { - "description": "paths is a collection of paths that map requests to backends.", - "items": { - "$ref": "#/definitions/v1.HTTPIngressPath" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "parentRef": { + "$ref": "#/definitions/v1beta1.ParentReference", + "description": "ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object." } }, "required": [ - "paths" + "parentRef" ], "type": "object" }, - "v1.IPBlock": { - "description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.", + "v1beta1.ParentReference": { + "description": "ParentReference describes a reference to a parent object.", "properties": { - "cidr": { - "description": "cidr is a string representing the IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"", + "group": { + "description": "Group is the group of the object being referenced.", "type": "string" }, - "except": { - "description": "except is a slice of CIDRs that should not be included within an IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\" Except values will be rejected if they are outside the cidr range", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "name": { + "description": "Name is the name of the object being referenced.", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of the object being referenced.", + "type": "string" + }, + "resource": { + "description": "Resource is the resource of the object being referenced.", + "type": "string" } }, "required": [ - "cidr" + "resource", + "name" ], "type": "object" }, - "v1.Ingress": { - "description": "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.", + "v1beta1.ServiceCIDR": { + "description": "ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -13555,77 +13809,156 @@ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/v1.IngressSpec", - "description": "spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/v1beta1.ServiceCIDRSpec", + "description": "spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { - "$ref": "#/definitions/v1.IngressStatus", - "description": "status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/v1beta1.ServiceCIDRStatus", + "description": "status represents the current state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "x-kubernetes-group-version-kind": [ { "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1" + "kind": "ServiceCIDR", + "version": "v1beta1" } ] }, - "v1.IngressBackend": { - "description": "IngressBackend describes all endpoints for a given service and port.", + "v1beta1.ServiceCIDRList": { + "description": "ServiceCIDRList contains a list of ServiceCIDR objects.", "properties": { - "resource": { - "$ref": "#/definitions/v1.TypedLocalObjectReference", - "description": "resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with \"Service\"." + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "service": { - "$ref": "#/definitions/v1.IngressServiceBackend", - "description": "service references a service as a backend. This is a mutually exclusive setting with \"Resource\"." + "items": { + "description": "items is the list of ServiceCIDRs.", + "items": { + "$ref": "#/definitions/v1beta1.ServiceCIDR" + }, + "type": "array" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "networking.k8s.io", + "kind": "ServiceCIDRList", + "version": "v1beta1" + } + ] + }, + "v1beta1.ServiceCIDRSpec": { + "description": "ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.", + "properties": { + "cidrs": { + "description": "CIDRs defines the IP blocks in CIDR notation (e.g. \"192.168.0.0/24\" or \"2001:db8::/64\") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "type": "object" }, - "v1.IngressClass": { - "description": "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.", + "v1beta1.ServiceCIDRStatus": { + "description": "ServiceCIDRStatus describes the current state of the ServiceCIDR.", + "properties": { + "conditions": { + "description": "conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state", + "items": { + "$ref": "#/definitions/v1.Condition" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + } + }, + "type": "object" + }, + "v1.Overhead": { + "description": "Overhead structure represents the resource overhead associated with running a pod.", + "properties": { + "podFixed": { + "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", + "type": "string" + }, + "description": "podFixed represents the fixed resource overhead associated with running a pod.", + "type": "object" + } + }, + "type": "object" + }, + "v1.RuntimeClass": { + "description": "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, + "handler": { + "description": "handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.", + "type": "string" + }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "spec": { - "$ref": "#/definitions/v1.IngressClassSpec", - "description": "spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "overhead": { + "$ref": "#/definitions/v1.Overhead", + "description": "overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see\n https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/" + }, + "scheduling": { + "$ref": "#/definitions/v1.Scheduling", + "description": "scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes." } }, + "required": [ + "handler" + ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "networking.k8s.io", - "kind": "IngressClass", + "group": "node.k8s.io", + "kind": "RuntimeClass", "version": "v1" } ] }, - "v1.IngressClassList": { - "description": "IngressClassList is a collection of IngressClasses.", + "v1.RuntimeClassList": { + "description": "RuntimeClassList is a list of RuntimeClass objects.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "items is the list of IngressClasses.", + "description": "items is a list of schema objects.", "items": { - "$ref": "#/definitions/v1.IngressClass" + "$ref": "#/definitions/v1.RuntimeClass" }, "type": "array" }, @@ -13635,7 +13968,7 @@ }, "metadata": { "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata." + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ @@ -13644,67 +13977,107 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "networking.k8s.io", - "kind": "IngressClassList", + "group": "node.k8s.io", + "kind": "RuntimeClassList", "version": "v1" } ] }, - "v1.IngressClassParametersReference": { - "description": "IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.", + "v1.Scheduling": { + "description": "Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.", "properties": { - "apiGroup": { - "description": "apiGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", - "type": "string" + "nodeSelector": { + "additionalProperties": { + "type": "string" + }, + "description": "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission.", + "type": "object", + "x-kubernetes-map-type": "atomic" }, - "kind": { - "description": "kind is the type of resource being referenced.", + "tolerations": { + "description": "tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.", + "items": { + "$ref": "#/definitions/v1.Toleration" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "v1.Eviction": { + "description": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, - "name": { - "description": "name is the name of resource being referenced.", - "type": "string" + "deleteOptions": { + "$ref": "#/definitions/v1.DeleteOptions", + "description": "DeleteOptions may be provided" }, - "namespace": { - "description": "namespace is the namespace of the resource being referenced. This field is required when scope is set to \"Namespace\" and must be unset when scope is set to \"Cluster\".", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "scope": { - "description": "scope represents if this refers to a cluster or namespace scoped resource. This may be set to \"Cluster\" (default) or \"Namespace\".", - "type": "string" + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "ObjectMeta describes the pod that is being evicted." } }, - "required": [ - "kind", - "name" - ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "policy", + "kind": "Eviction", + "version": "v1" + } + ] }, - "v1.IngressClassSpec": { - "description": "IngressClassSpec provides information about the class of an Ingress.", + "v1.PodDisruptionBudget": { + "description": "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods", "properties": { - "controller": { - "description": "controller refers to the name of the controller that should handle this class. This allows for different \"flavors\" that are controlled by the same controller. For example, you may have different parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. \"acme.io/ingress-controller\". This field is immutable.", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, - "parameters": { - "$ref": "#/definitions/v1.IngressClassParametersReference", - "description": "parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters." + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "spec": { + "$ref": "#/definitions/v1.PodDisruptionBudgetSpec", + "description": "Specification of the desired behavior of the PodDisruptionBudget." + }, + "status": { + "$ref": "#/definitions/v1.PodDisruptionBudgetStatus", + "description": "Most recently observed status of the PodDisruptionBudget." } }, - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" + } + ] }, - "v1.IngressList": { - "description": "IngressList is a collection of Ingress.", + "v1.PodDisruptionBudgetList": { + "description": "PodDisruptionBudgetList is a collection of PodDisruptionBudgets.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "items is the list of Ingress.", + "description": "Items is a list of PodDisruptionBudgets", "items": { - "$ref": "#/definitions/v1.Ingress" + "$ref": "#/definitions/v1.PodDisruptionBudget" }, "type": "array" }, @@ -13723,124 +14096,101 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "networking.k8s.io", - "kind": "IngressList", + "group": "policy", + "kind": "PodDisruptionBudgetList", "version": "v1" } ] }, - "v1.IngressLoadBalancerIngress": { - "description": "IngressLoadBalancerIngress represents the status of a load-balancer ingress point.", + "v1.PodDisruptionBudgetSpec": { + "description": "PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.", "properties": { - "hostname": { - "description": "hostname is set for load-balancer ingress points that are DNS based.", - "type": "string" + "maxUnavailable": { + "$ref": "#/definitions/intstr.IntOrString", + "description": "An eviction is allowed if at most \"maxUnavailable\" pods selected by \"selector\" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with \"minAvailable\"." }, - "ip": { - "description": "ip is set for load-balancer ingress points that are IP based.", - "type": "string" + "minAvailable": { + "$ref": "#/definitions/intstr.IntOrString", + "description": "An eviction is allowed if at least \"minAvailable\" pods selected by \"selector\" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying \"100%\"." }, - "ports": { - "description": "ports provides information about the ports exposed by this LoadBalancer.", - "items": { - "$ref": "#/definitions/v1.IngressPortStatus" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "selector": { + "$ref": "#/definitions/v1.LabelSelector", + "description": "Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace.", + "x-kubernetes-patch-strategy": "replace" + }, + "unhealthyPodEvictionPolicy": { + "description": "UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type=\"Ready\",status=\"True\".\n\nValid policies are IfHealthyBudget and AlwaysAllow. If no policy is specified, the default behavior will be used, which corresponds to the IfHealthyBudget policy.\n\nIfHealthyBudget policy means that running pods (status.phase=\"Running\"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction.\n\nAlwaysAllow policy means that all running pods (status.phase=\"Running\"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction.\n\nAdditional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field.\n\nThis field is beta-level. The eviction API uses this field when the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).", + "type": "string" } }, "type": "object" }, - "v1.IngressLoadBalancerStatus": { - "description": "IngressLoadBalancerStatus represents the status of a load-balancer.", + "v1.PodDisruptionBudgetStatus": { + "description": "PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.", "properties": { - "ingress": { - "description": "ingress is a list containing ingress points for the load-balancer.", + "conditions": { + "description": "Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute\n the number of allowed disruptions. Therefore no disruptions are\n allowed and the status of the condition will be False.\n- InsufficientPods: The number of pods are either at or below the number\n required by the PodDisruptionBudget. No disruptions are\n allowed and the status of the condition will be False.\n- SufficientPods: There are more pods than required by the PodDisruptionBudget.\n The condition will be True, and the number of allowed\n disruptions are provided by the disruptionsAllowed property.", "items": { - "$ref": "#/definitions/v1.IngressLoadBalancerIngress" + "$ref": "#/definitions/v1.Condition" }, "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "v1.IngressPortStatus": { - "description": "IngressPortStatus represents the error condition of a service port", - "properties": { - "error": { - "description": "error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use\n CamelCase names\n- cloud provider specific error values must have names that comply with the\n format foo.example.com/CamelCase.", - "type": "string" + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, - "port": { - "description": "port is the port number of the ingress port.", + "currentHealthy": { + "description": "current number of healthy pods", "format": "int32", "type": "integer" }, - "protocol": { - "description": "protocol is the protocol of the ingress port. The supported values are: \"TCP\", \"UDP\", \"SCTP\"", - "type": "string" - } - }, - "required": [ - "port", - "protocol" - ], - "type": "object" - }, - "v1.IngressRule": { - "description": "IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.", - "properties": { - "host": { - "description": "host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to\n the IP in the Spec of the parent Ingress.\n2. The `:` delimiter is not respected because ports are not allowed.\n\t Currently the port of an Ingress is implicitly :80 for http and\n\t :443 for https.\nBoth these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.\n\nhost can be \"precise\" which is a domain name without the terminating dot of a network host (e.g. \"foo.bar.com\") or \"wildcard\", which is a domain name prefixed with a single wildcard label (e.g. \"*.foo.com\"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == \"*\"). Requests will be matched against the Host field in the following way: 1. If host is precise, the request matches this rule if the http host header is equal to Host. 2. If host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.", - "type": "string" + "desiredHealthy": { + "description": "minimum desired number of healthy pods", + "format": "int32", + "type": "integer" }, - "http": { - "$ref": "#/definitions/v1.HTTPIngressRuleValue" - } - }, - "type": "object" - }, - "v1.IngressServiceBackend": { - "description": "IngressServiceBackend references a Kubernetes Service as a Backend.", - "properties": { - "name": { - "description": "name is the referenced service. The service must exist in the same namespace as the Ingress object.", - "type": "string" + "disruptedPods": { + "additionalProperties": { + "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", + "format": "date-time", + "type": "string" + }, + "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", + "type": "object" }, - "port": { - "$ref": "#/definitions/v1.ServiceBackendPort", - "description": "port of the referenced service. A port name or port number is required for a IngressServiceBackend." + "disruptionsAllowed": { + "description": "Number of pod disruptions that are currently allowed.", + "format": "int32", + "type": "integer" + }, + "expectedPods": { + "description": "total number of pods counted by this disruption budget", + "format": "int32", + "type": "integer" + }, + "observedGeneration": { + "description": "Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation.", + "format": "int64", + "type": "integer" } }, "required": [ - "name" + "disruptionsAllowed", + "currentHealthy", + "desiredHealthy", + "expectedPods" ], "type": "object" }, - "v1.IngressSpec": { - "description": "IngressSpec describes the Ingress the user wishes to exist.", + "v1.AggregationRule": { + "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole", "properties": { - "defaultBackend": { - "$ref": "#/definitions/v1.IngressBackend", - "description": "defaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller." - }, - "ingressClassName": { - "description": "ingressClassName is the name of an IngressClass cluster resource. Ingress controller implementations use this field to know whether they should be serving this Ingress resource, by a transitive connection (controller -> IngressClass -> Ingress resource). Although the `kubernetes.io/ingress.class` annotation (simple constant name) was never formally defined, it was widely supported by Ingress controllers to create a direct binding between Ingress controller and Ingress resources. Newly created Ingress resources should prefer using the field. However, even though the annotation is officially deprecated, for backwards compatibility reasons, ingress controllers should still honor that annotation if present.", - "type": "string" - }, - "rules": { - "description": "rules is a list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.", - "items": { - "$ref": "#/definitions/v1.IngressRule" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "tls": { - "description": "tls represents the TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.", + "clusterRoleSelectors": { + "description": "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added", "items": { - "$ref": "#/definitions/v1.IngressTLS" + "$ref": "#/definitions/v1.LabelSelector" }, "type": "array", "x-kubernetes-list-type": "atomic" @@ -13848,37 +14198,13 @@ }, "type": "object" }, - "v1.IngressStatus": { - "description": "IngressStatus describe the current state of the Ingress.", - "properties": { - "loadBalancer": { - "$ref": "#/definitions/v1.IngressLoadBalancerStatus", - "description": "loadBalancer contains the current status of the load-balancer." - } - }, - "type": "object" - }, - "v1.IngressTLS": { - "description": "IngressTLS describes the transport layer security associated with an ingress.", + "v1.ClusterRole": { + "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", "properties": { - "hosts": { - "description": "hosts is a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "aggregationRule": { + "$ref": "#/definitions/v1.AggregationRule", + "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller." }, - "secretName": { - "description": "secretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the \"Host\" header is used for routing.", - "type": "string" - } - }, - "type": "object" - }, - "v1.NetworkPolicy": { - "description": "NetworkPolicy describes what network traffic is allowed for a set of Pods", - "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" @@ -13889,77 +14215,77 @@ }, "metadata": { "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard object's metadata." }, - "spec": { - "$ref": "#/definitions/v1.NetworkPolicySpec", - "description": "spec represents the specification of the desired behavior for this NetworkPolicy." + "rules": { + "description": "Rules holds all the PolicyRules for this ClusterRole", + "items": { + "$ref": "#/definitions/v1.PolicyRule" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", "version": "v1" } ] }, - "v1.NetworkPolicyEgressRule": { - "description": "NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8", + "v1.ClusterRoleBinding": { + "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", "properties": { - "ports": { - "description": "ports is a list of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.", - "items": { - "$ref": "#/definitions/v1.NetworkPolicyPort" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "to": { - "description": "to is a list of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list.", - "items": { - "$ref": "#/definitions/v1.NetworkPolicyPeer" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "v1.NetworkPolicyIngressRule": { - "description": "NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.", - "properties": { - "from": { - "description": "from is a list of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list.", - "items": { - "$ref": "#/definitions/v1.NetworkPolicyPeer" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" }, - "ports": { - "description": "ports is a list of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.", + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "Standard object's metadata." + }, + "roleRef": { + "$ref": "#/definitions/v1.RoleRef", + "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable." + }, + "subjects": { + "description": "Subjects holds references to the objects the role applies to.", "items": { - "$ref": "#/definitions/v1.NetworkPolicyPort" + "$ref": "#/definitions/rbac.v1.Subject" }, "type": "array", "x-kubernetes-list-type": "atomic" } }, - "type": "object" + "required": [ + "roleRef" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + } + ] }, - "v1.NetworkPolicyList": { - "description": "NetworkPolicyList is a list of NetworkPolicy objects.", + "v1.ClusterRoleBindingList": { + "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "items is a list of schema objects.", + "description": "Items is a list of ClusterRoleBindings", "items": { - "$ref": "#/definitions/v1.NetworkPolicy" + "$ref": "#/definitions/v1.ClusterRoleBinding" }, "type": "array" }, @@ -13969,7 +14295,7 @@ }, "metadata": { "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard object's metadata." } }, "required": [ @@ -13978,74 +14304,84 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "networking.k8s.io", - "kind": "NetworkPolicyList", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBindingList", "version": "v1" } ] }, - "v1.NetworkPolicyPeer": { - "description": "NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed", - "properties": { - "ipBlock": { - "$ref": "#/definitions/v1.IPBlock", - "description": "ipBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be." - }, - "namespaceSelector": { - "$ref": "#/definitions/v1.LabelSelector", - "description": "namespaceSelector selects namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.\n\nIf podSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the namespaces selected by namespaceSelector. Otherwise it selects all pods in the namespaces selected by namespaceSelector." - }, - "podSelector": { - "$ref": "#/definitions/v1.LabelSelector", - "description": "podSelector is a label selector which selects pods. This field follows standard label selector semantics; if present but empty, it selects all pods.\n\nIf namespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the pods matching podSelector in the policy's own namespace." - } - }, - "type": "object" - }, - "v1.NetworkPolicyPort": { - "description": "NetworkPolicyPort describes a port to allow traffic on", + "v1.ClusterRoleList": { + "description": "ClusterRoleList is a collection of ClusterRoles", "properties": { - "endPort": { - "description": "endPort indicates that the range of ports from port to endPort if set, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port.", - "format": "int32", - "type": "integer" + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "port": { - "$ref": "#/definitions/intstr.IntOrString", - "description": "port represents the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched." + "items": { + "description": "Items is a list of ClusterRoles", + "items": { + "$ref": "#/definitions/v1.ClusterRole" + }, + "type": "array" }, - "protocol": { - "description": "protocol represents the protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard object's metadata." } }, - "type": "object" + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleList", + "version": "v1" + } + ] }, - "v1.NetworkPolicySpec": { - "description": "NetworkPolicySpec provides the specification of a NetworkPolicy", + "v1.PolicyRule": { + "description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.", "properties": { - "egress": { - "description": "egress is a list of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8", + "apiGroups": { + "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"\" represents the core API group and \"*\" represents all API groups.", "items": { - "$ref": "#/definitions/v1.NetworkPolicyEgressRule" + "type": "string" }, "type": "array", "x-kubernetes-list-type": "atomic" }, - "ingress": { - "description": "ingress is a list of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)", + "nonResourceURLs": { + "description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.", "items": { - "$ref": "#/definitions/v1.NetworkPolicyIngressRule" + "type": "string" }, "type": "array", "x-kubernetes-list-type": "atomic" }, - "podSelector": { - "$ref": "#/definitions/v1.LabelSelector", - "description": "podSelector selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace." + "resourceNames": { + "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "policyTypes": { - "description": "policyTypes is a list of rule types that the NetworkPolicy relates to. Valid options are [\"Ingress\"], [\"Egress\"], or [\"Ingress\", \"Egress\"]. If this field is not specified, it will default based on the existence of ingress or egress rules; policies that contain an egress section are assumed to affect egress, and all policies (whether or not they contain an ingress section) are assumed to affect ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8", + "resources": { + "description": "Resources is a list of resources this rule applies to. '*' represents all resources.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "verbs": { + "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.", "items": { "type": "string" }, @@ -14054,27 +14390,12 @@ } }, "required": [ - "podSelector" + "verbs" ], "type": "object" }, - "v1.ServiceBackendPort": { - "description": "ServiceBackendPort is the service port being referenced.", - "properties": { - "name": { - "description": "name is the name of the port on the Service. This is a mutually exclusive setting with \"Number\".", - "type": "string" - }, - "number": { - "description": "number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with \"Name\".", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "v1alpha1.IPAddress": { - "description": "IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1", + "v1.Role": { + "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -14086,140 +14407,112 @@ }, "metadata": { "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard object's metadata." }, - "spec": { - "$ref": "#/definitions/v1alpha1.IPAddressSpec", - "description": "spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "rules": { + "description": "Rules holds all the PolicyRules for this Role", + "items": { + "$ref": "#/definitions/v1.PolicyRule" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "networking.k8s.io", - "kind": "IPAddress", - "version": "v1alpha1" + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" } ] }, - "v1alpha1.IPAddressList": { - "description": "IPAddressList contains a list of IPAddress.", + "v1.RoleBinding": { + "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, - "items": { - "description": "items is the list of IPAddresses.", - "items": { - "$ref": "#/definitions/v1alpha1.IPAddress" - }, - "type": "array" - }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "$ref": "#/definitions/v1.ObjectMeta", + "description": "Standard object's metadata." + }, + "roleRef": { + "$ref": "#/definitions/v1.RoleRef", + "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable." + }, + "subjects": { + "description": "Subjects holds references to the objects the role applies to.", + "items": { + "$ref": "#/definitions/rbac.v1.Subject" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "required": [ - "items" + "roleRef" ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "networking.k8s.io", - "kind": "IPAddressList", - "version": "v1alpha1" + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" } ] }, - "v1alpha1.IPAddressSpec": { - "description": "IPAddressSpec describe the attributes in an IP Address.", - "properties": { - "parentRef": { - "$ref": "#/definitions/v1alpha1.ParentReference", - "description": "ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object." - } - }, - "required": [ - "parentRef" - ], - "type": "object" - }, - "v1alpha1.ParentReference": { - "description": "ParentReference describes a reference to a parent object.", - "properties": { - "group": { - "description": "Group is the group of the object being referenced.", - "type": "string" - }, - "name": { - "description": "Name is the name of the object being referenced.", - "type": "string" - }, - "namespace": { - "description": "Namespace is the namespace of the object being referenced.", - "type": "string" - }, - "resource": { - "description": "Resource is the resource of the object being referenced.", - "type": "string" - } - }, - "required": [ - "resource", - "name" - ], - "type": "object" - }, - "v1alpha1.ServiceCIDR": { - "description": "ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.", + "v1.RoleBindingList": { + "description": "RoleBindingList is a collection of RoleBindings", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, + "items": { + "description": "Items is a list of RoleBindings", + "items": { + "$ref": "#/definitions/v1.RoleBinding" + }, + "type": "array" + }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/v1alpha1.ServiceCIDRSpec", - "description": "spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - }, - "status": { - "$ref": "#/definitions/v1alpha1.ServiceCIDRStatus", - "description": "status represents the current state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard object's metadata." } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "networking.k8s.io", - "kind": "ServiceCIDR", - "version": "v1alpha1" + "group": "rbac.authorization.k8s.io", + "kind": "RoleBindingList", + "version": "v1" } ] }, - "v1alpha1.ServiceCIDRList": { - "description": "ServiceCIDRList contains a list of ServiceCIDR objects.", + "v1.RoleList": { + "description": "RoleList is a collection of Roles", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "items is the list of ServiceCIDRs.", + "description": "Items is a list of Roles", "items": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1.Role" }, "type": "array" }, @@ -14229,7 +14522,7 @@ }, "metadata": { "$ref": "#/definitions/v1.ListMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard object's metadata." } }, "required": [ @@ -14238,31 +14531,68 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "networking.k8s.io", - "kind": "ServiceCIDRList", - "version": "v1alpha1" + "group": "rbac.authorization.k8s.io", + "kind": "RoleList", + "version": "v1" } ] }, - "v1alpha1.ServiceCIDRSpec": { - "description": "ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.", + "v1.RoleRef": { + "description": "RoleRef contains information that points to the role being used", "properties": { - "cidrs": { - "description": "CIDRs defines the IP blocks in CIDR notation (e.g. \"192.168.0.0/24\" or \"2001:db8::/64\") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" } }, - "type": "object" - }, - "v1alpha1.ServiceCIDRStatus": { - "description": "ServiceCIDRStatus describes the current state of the ServiceCIDR.", + "required": [ + "apiGroup", + "kind", + "name" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "rbac.v1.Subject": { + "description": "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.", + "properties": { + "apiGroup": { + "description": "APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects.", + "type": "string" + }, + "kind": { + "description": "Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.", + "type": "string" + }, + "name": { + "description": "Name of the object being referenced.", + "type": "string" + }, + "namespace": { + "description": "Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error.", + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "v1alpha3.AllocatedDeviceStatus": { + "description": "AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.", "properties": { "conditions": { - "description": "conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state", + "description": "Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.", "items": { "$ref": "#/definitions/v1.Condition" }, @@ -14270,117 +14600,141 @@ "x-kubernetes-list-map-keys": [ "type" ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" + "x-kubernetes-list-type": "map" + }, + "data": { + "description": "Data contains arbitrary driver-specific data.\n\nThe length of the raw data must be smaller or equal to 10 Ki.", + "type": "object" + }, + "device": { + "description": "Device references one device instance via its name in the driver's resource pool. It must be a DNS label.", + "type": "string" + }, + "driver": { + "description": "Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.", + "type": "string" + }, + "networkData": { + "$ref": "#/definitions/v1alpha3.NetworkDeviceData", + "description": "NetworkData contains network-related information specific to the device." + }, + "pool": { + "description": "This name together with the driver name and the device name field identify which device was allocated (`//`).\n\nMust not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.", + "type": "string" } }, + "required": [ + "driver", + "pool", + "device" + ], "type": "object" }, - "v1.Overhead": { - "description": "Overhead structure represents the resource overhead associated with running a pod.", + "v1alpha3.AllocationResult": { + "description": "AllocationResult contains attributes of an allocated resource.", "properties": { - "podFixed": { + "devices": { + "$ref": "#/definitions/v1alpha3.DeviceAllocationResult", + "description": "Devices is the result of allocating devices." + }, + "nodeSelector": { + "$ref": "#/definitions/v1.NodeSelector", + "description": "NodeSelector defines where the allocated resources are available. If unset, they are available everywhere." + } + }, + "type": "object" + }, + "v1alpha3.BasicDevice": { + "description": "BasicDevice defines one device instance.", + "properties": { + "attributes": { + "additionalProperties": { + "$ref": "#/definitions/v1alpha3.DeviceAttribute" + }, + "description": "Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.", + "type": "object" + }, + "capacity": { "additionalProperties": { "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" }, - "description": "podFixed represents the fixed resource overhead associated with running a pod.", + "description": "Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.", "type": "object" } }, "type": "object" }, - "v1.RuntimeClass": { - "description": "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/", + "v1alpha3.CELDeviceSelector": { + "description": "CELDeviceSelector contains a CEL expression for selecting a device.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "handler": { - "description": "handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.", + "expression": { + "description": "Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.\n\nThe expression's input is an object named \"device\", which carries the following properties:\n - driver (string): the name of the driver which defines this device.\n - attributes (map[string]object): the device's attributes, grouped by prefix\n (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all\n of the attributes which were prefixed by \"dra.example.com\".\n - capacity (map[string]object): the device's capacities, grouped by prefix.\n\nExample: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields:\n\n device.driver\n device.attributes[\"dra.example.com\"].model\n device.attributes[\"ext.example.com\"].family\n device.capacity[\"dra.example.com\"].modules\n\nThe device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.\n\nThe value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.\n\nIf an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.\n\nA robust expression should check for the existence of attributes before referencing them.\n\nFor ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:\n\n cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool)\n\nThe length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps.", "type": "string" + } + }, + "required": [ + "expression" + ], + "type": "object" + }, + "v1alpha3.Device": { + "description": "Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.", + "properties": { + "basic": { + "$ref": "#/definitions/v1alpha3.BasicDevice", + "description": "Basic defines one device instance." }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "name": { + "description": "Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.", "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "overhead": { - "$ref": "#/definitions/v1.Overhead", - "description": "overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see\n https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/" - }, - "scheduling": { - "$ref": "#/definitions/v1.Scheduling", - "description": "scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes." } }, "required": [ - "handler" + "name" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "node.k8s.io", - "kind": "RuntimeClass", - "version": "v1" - } - ] + "type": "object" }, - "v1.RuntimeClassList": { - "description": "RuntimeClassList is a list of RuntimeClass objects.", + "v1alpha3.DeviceAllocationConfiguration": { + "description": "DeviceAllocationConfiguration gets embedded in an AllocationResult.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" + "opaque": { + "$ref": "#/definitions/v1alpha3.OpaqueDeviceConfiguration", + "description": "Opaque provides driver-specific configuration parameters." }, - "items": { - "description": "items is a list of schema objects.", + "requests": { + "description": "Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.", "items": { - "$ref": "#/definitions/v1.RuntimeClass" + "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "source": { + "description": "Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.", "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ - "items" + "source" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "node.k8s.io", - "kind": "RuntimeClassList", - "version": "v1" - } - ] + "type": "object" }, - "v1.Scheduling": { - "description": "Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.", + "v1alpha3.DeviceAllocationResult": { + "description": "DeviceAllocationResult is the result of allocating devices.", "properties": { - "nodeSelector": { - "additionalProperties": { - "type": "string" + "config": { + "description": "This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag.\n\nThis includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters.", + "items": { + "$ref": "#/definitions/v1alpha3.DeviceAllocationConfiguration" }, - "description": "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission.", - "type": "object", - "x-kubernetes-map-type": "atomic" + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "tolerations": { - "description": "tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.", + "results": { + "description": "Results lists all allocated devices.", "items": { - "$ref": "#/definitions/v1.Toleration" + "$ref": "#/definitions/v1alpha3.DeviceRequestAllocationResult" }, "type": "array", "x-kubernetes-list-type": "atomic" @@ -14388,37 +14742,79 @@ }, "type": "object" }, - "v1.Eviction": { - "description": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions.", + "v1alpha3.DeviceAttribute": { + "description": "DeviceAttribute must have exactly one field set.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" + "bool": { + "description": "BoolValue is a true/false value.", + "type": "boolean" }, - "deleteOptions": { - "$ref": "#/definitions/v1.DeleteOptions", - "description": "DeleteOptions may be provided" + "int": { + "description": "IntValue is a number.", + "format": "int64", + "type": "integer" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "string": { + "description": "StringValue is a string. Must not be longer than 64 characters.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "ObjectMeta describes the pod that is being evicted." + "version": { + "description": "VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.", + "type": "string" } }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "policy", - "kind": "Eviction", - "version": "v1" + "type": "object" + }, + "v1alpha3.DeviceClaim": { + "description": "DeviceClaim defines how to request devices with a ResourceClaim.", + "properties": { + "config": { + "description": "This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.", + "items": { + "$ref": "#/definitions/v1alpha3.DeviceClaimConfiguration" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "constraints": { + "description": "These constraints must be satisfied by the set of devices that get allocated for the claim.", + "items": { + "$ref": "#/definitions/v1alpha3.DeviceConstraint" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requests": { + "description": "Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.", + "items": { + "$ref": "#/definitions/v1alpha3.DeviceRequest" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } - ] + }, + "type": "object" }, - "v1.PodDisruptionBudget": { - "description": "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods", + "v1alpha3.DeviceClaimConfiguration": { + "description": "DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.", + "properties": { + "opaque": { + "$ref": "#/definitions/v1alpha3.OpaqueDeviceConfiguration", + "description": "Opaque provides driver-specific configuration parameters." + }, + "requests": { + "description": "Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "v1alpha3.DeviceClass": { + "description": "DeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors. It can be referenced in the device requests of a claim to apply these presets. Cluster scoped.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -14430,37 +14826,46 @@ }, "metadata": { "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard object metadata" }, "spec": { - "$ref": "#/definitions/v1.PodDisruptionBudgetSpec", - "description": "Specification of the desired behavior of the PodDisruptionBudget." - }, - "status": { - "$ref": "#/definitions/v1.PodDisruptionBudgetStatus", - "description": "Most recently observed status of the PodDisruptionBudget." + "$ref": "#/definitions/v1alpha3.DeviceClassSpec", + "description": "Spec defines what can be allocated and how to configure it.\n\nThis is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.\n\nChanging the spec automatically increments the metadata.generation number." } }, + "required": [ + "spec" + ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1" + "group": "resource.k8s.io", + "kind": "DeviceClass", + "version": "v1alpha3" } ] }, - "v1.PodDisruptionBudgetList": { - "description": "PodDisruptionBudgetList is a collection of PodDisruptionBudgets.", + "v1alpha3.DeviceClassConfiguration": { + "description": "DeviceClassConfiguration is used in DeviceClass.", + "properties": { + "opaque": { + "$ref": "#/definitions/v1alpha3.OpaqueDeviceConfiguration", + "description": "Opaque provides driver-specific configuration parameters." + } + }, + "type": "object" + }, + "v1alpha3.DeviceClassList": { + "description": "DeviceClassList is a collection of classes.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is a list of PodDisruptionBudgets", + "description": "Items is the list of resource classes.", "items": { - "$ref": "#/definitions/v1.PodDisruptionBudget" + "$ref": "#/definitions/v1alpha3.DeviceClass" }, "type": "array" }, @@ -14470,7 +14875,7 @@ }, "metadata": { "$ref": "#/definitions/v1.ListMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard list metadata" } }, "required": [ @@ -14479,147 +14884,175 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "policy", - "kind": "PodDisruptionBudgetList", - "version": "v1" + "group": "resource.k8s.io", + "kind": "DeviceClassList", + "version": "v1alpha3" } ] }, - "v1.PodDisruptionBudgetSpec": { - "description": "PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.", + "v1alpha3.DeviceClassSpec": { + "description": "DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it.", "properties": { - "maxUnavailable": { - "$ref": "#/definitions/intstr.IntOrString", - "description": "An eviction is allowed if at most \"maxUnavailable\" pods selected by \"selector\" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with \"minAvailable\"." - }, - "minAvailable": { - "$ref": "#/definitions/intstr.IntOrString", - "description": "An eviction is allowed if at least \"minAvailable\" pods selected by \"selector\" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying \"100%\"." - }, - "selector": { - "$ref": "#/definitions/v1.LabelSelector", - "description": "Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace.", - "x-kubernetes-patch-strategy": "replace" + "config": { + "description": "Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver.\n\nThey are passed to the driver, but are not considered while allocating the claim.", + "items": { + "$ref": "#/definitions/v1alpha3.DeviceClassConfiguration" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "unhealthyPodEvictionPolicy": { - "description": "UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type=\"Ready\",status=\"True\".\n\nValid policies are IfHealthyBudget and AlwaysAllow. If no policy is specified, the default behavior will be used, which corresponds to the IfHealthyBudget policy.\n\nIfHealthyBudget policy means that running pods (status.phase=\"Running\"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction.\n\nAlwaysAllow policy means that all running pods (status.phase=\"Running\"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction.\n\nAdditional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field.\n\nThis field is beta-level. The eviction API uses this field when the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).", - "type": "string" + "selectors": { + "description": "Each selector must be satisfied by a device which is claimed via this class.", + "items": { + "$ref": "#/definitions/v1alpha3.DeviceSelector" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "type": "object" }, - "v1.PodDisruptionBudgetStatus": { - "description": "PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.", + "v1alpha3.DeviceConstraint": { + "description": "DeviceConstraint must have exactly one field set besides Requests.", "properties": { - "conditions": { - "description": "Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute\n the number of allowed disruptions. Therefore no disruptions are\n allowed and the status of the condition will be False.\n- InsufficientPods: The number of pods are either at or below the number\n required by the PodDisruptionBudget. No disruptions are\n allowed and the status of the condition will be False.\n- SufficientPods: There are more pods than required by the PodDisruptionBudget.\n The condition will be True, and the number of allowed\n disruptions are provided by the disruptionsAllowed property.", + "matchAttribute": { + "description": "MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.\n\nFor example, if you specified \"dra.example.com/numa\" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen.\n\nMust include the domain qualifier.", + "type": "string" + }, + "requests": { + "description": "Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.", "items": { - "$ref": "#/definitions/v1.Condition" + "type": "string" }, "type": "array", - "x-kubernetes-list-map-keys": [ - "type" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "v1alpha3.DeviceRequest": { + "description": "DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices.\n\nA DeviceClassName is currently required. Clients must check that it is indeed set. It's absence indicates that something changed in a way that is not supported by the client yet, in which case it must refuse to handle the request.", + "properties": { + "adminAccess": { + "description": "AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations.\n\nThis is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.", + "type": "boolean" }, - "currentHealthy": { - "description": "current number of healthy pods", - "format": "int32", - "type": "integer" + "allocationMode": { + "description": "AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This request is for all of the matching devices in a pool.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AlloctionMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.", + "type": "string" }, - "desiredHealthy": { - "description": "minimum desired number of healthy pods", - "format": "int32", + "count": { + "description": "Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.", + "format": "int64", "type": "integer" }, - "disruptedPods": { - "additionalProperties": { - "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", - "format": "date-time", - "type": "string" + "deviceClassName": { + "description": "DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.\n\nA class is required. Which classes are available depends on the cluster.\n\nAdministrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.", + "type": "string" + }, + "name": { + "description": "Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.\n\nMust be a DNS label.", + "type": "string" + }, + "selectors": { + "description": "Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.", + "items": { + "$ref": "#/definitions/v1alpha3.DeviceSelector" }, - "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object" + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "name", + "deviceClassName" + ], + "type": "object" + }, + "v1alpha3.DeviceRequestAllocationResult": { + "description": "DeviceRequestAllocationResult contains the allocation result for one request.", + "properties": { + "adminAccess": { + "description": "AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode.\n\nThis is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.", + "type": "boolean" }, - "disruptionsAllowed": { - "description": "Number of pod disruptions that are currently allowed.", - "format": "int32", - "type": "integer" + "device": { + "description": "Device references one device instance via its name in the driver's resource pool. It must be a DNS label.", + "type": "string" }, - "expectedPods": { - "description": "total number of pods counted by this disruption budget", - "format": "int32", - "type": "integer" + "driver": { + "description": "Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.", + "type": "string" }, - "observedGeneration": { - "description": "Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation.", - "format": "int64", - "type": "integer" + "pool": { + "description": "This name together with the driver name and the device name field identify which device was allocated (`//`).\n\nMust not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.", + "type": "string" + }, + "request": { + "description": "Request is the name of the request in the claim which caused this device to be allocated. Multiple devices may have been allocated per request.", + "type": "string" } }, "required": [ - "disruptionsAllowed", - "currentHealthy", - "desiredHealthy", - "expectedPods" + "request", + "driver", + "pool", + "device" ], "type": "object" }, - "v1.AggregationRule": { - "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole", + "v1alpha3.DeviceSelector": { + "description": "DeviceSelector must have exactly one field set.", "properties": { - "clusterRoleSelectors": { - "description": "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added", - "items": { - "$ref": "#/definitions/v1.LabelSelector" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "cel": { + "$ref": "#/definitions/v1alpha3.CELDeviceSelector", + "description": "CEL contains a CEL expression for selecting a device." } }, "type": "object" }, - "v1.ClusterRole": { - "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", + "v1alpha3.NetworkDeviceData": { + "description": "NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context.", "properties": { - "aggregationRule": { - "$ref": "#/definitions/v1.AggregationRule", - "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller." - }, - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "hardwareAddress": { + "description": "HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.\n\nMust not be longer than 128 characters.", "type": "string" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "interfaceName": { + "description": "InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod.\n\nMust not be longer than 256 characters.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object's metadata." - }, - "rules": { - "description": "Rules holds all the PolicyRules for this ClusterRole", + "ips": { + "description": "IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: \"192.0.2.5/24\" for IPv4 and \"2001:db8::5/64\" for IPv6.", "items": { - "$ref": "#/definitions/v1.PolicyRule" + "type": "string" }, "type": "array", "x-kubernetes-list-type": "atomic" } }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" + "type": "object" + }, + "v1alpha3.OpaqueDeviceConfiguration": { + "description": "OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.", + "properties": { + "driver": { + "description": "Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.\n\nAn admission policy provided by the driver developer could use this to decide whether it needs to validate them.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.", + "type": "string" + }, + "parameters": { + "description": "Parameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version (\"kind\" + \"apiVersion\" for Kubernetes types), with conversion between different versions.\n\nThe length of the raw data must be smaller or equal to 10 Ki.", + "type": "object" } - ] + }, + "required": [ + "driver", + "parameters" + ], + "type": "object" }, - "v1.ClusterRoleBinding": { - "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", + "v1alpha3.ResourceClaim": { + "description": "ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -14631,79 +15064,67 @@ }, "metadata": { "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object's metadata." + "description": "Standard object metadata" }, - "roleRef": { - "$ref": "#/definitions/v1.RoleRef", - "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable." + "spec": { + "$ref": "#/definitions/v1alpha3.ResourceClaimSpec", + "description": "Spec describes what is being requested and how to configure it. The spec is immutable." }, - "subjects": { - "description": "Subjects holds references to the objects the role applies to.", - "items": { - "$ref": "#/definitions/rbac.v1.Subject" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "status": { + "$ref": "#/definitions/v1alpha3.ResourceClaimStatus", + "description": "Status describes whether the claim is ready to use and what has been allocated." } }, "required": [ - "roleRef" + "spec" ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1" + "group": "resource.k8s.io", + "kind": "ResourceClaim", + "version": "v1alpha3" } ] }, - "v1.ClusterRoleBindingList": { - "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings", + "v1alpha3.ResourceClaimConsumerReference": { + "description": "ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.", "type": "string" }, - "items": { - "description": "Items is a list of ClusterRoleBindings", - "items": { - "$ref": "#/definitions/v1.ClusterRoleBinding" - }, - "type": "array" + "name": { + "description": "Name is the name of resource being referenced.", + "type": "string" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "resource": { + "description": "Resource is the type of resource being referenced, for example \"pods\".", "type": "string" }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard object's metadata." + "uid": { + "description": "UID identifies exactly one incarnation of the resource.", + "type": "string" } }, "required": [ - "items" + "resource", + "name", + "uid" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBindingList", - "version": "v1" - } - ] + "type": "object" }, - "v1.ClusterRoleList": { - "description": "ClusterRoleList is a collection of ClusterRoles", + "v1alpha3.ResourceClaimList": { + "description": "ResourceClaimList is a collection of claims.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is a list of ClusterRoles", + "description": "Items is the list of resource claims.", "items": { - "$ref": "#/definitions/v1.ClusterRole" + "$ref": "#/definitions/v1alpha3.ResourceClaim" }, "type": "array" }, @@ -14713,7 +15134,7 @@ }, "metadata": { "$ref": "#/definitions/v1.ListMeta", - "description": "Standard object's metadata." + "description": "Standard list metadata" } }, "required": [ @@ -14722,63 +15143,60 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleList", - "version": "v1" + "group": "resource.k8s.io", + "kind": "ResourceClaimList", + "version": "v1alpha3" } ] }, - "v1.PolicyRule": { - "description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.", + "v1alpha3.ResourceClaimSpec": { + "description": "ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.", "properties": { - "apiGroups": { - "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"\" represents the core API group and \"*\" represents all API groups.", + "devices": { + "$ref": "#/definitions/v1alpha3.DeviceClaim", + "description": "Devices defines how to request devices." + } + }, + "type": "object" + }, + "v1alpha3.ResourceClaimStatus": { + "description": "ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was.", + "properties": { + "allocation": { + "$ref": "#/definitions/v1alpha3.AllocationResult", + "description": "Allocation is set once the claim has been allocated successfully." + }, + "devices": { + "description": "Devices contains the status of each device allocated for this claim, as reported by the driver. This can include driver-specific information. Entries are owned by their respective drivers.", "items": { - "type": "string" + "$ref": "#/definitions/v1alpha3.AllocatedDeviceStatus" }, "type": "array", - "x-kubernetes-list-type": "atomic" + "x-kubernetes-list-map-keys": [ + "driver", + "device", + "pool" + ], + "x-kubernetes-list-type": "map" }, - "nonResourceURLs": { - "description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.", + "reservedFor": { + "description": "ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated.\n\nIn a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled.\n\nBoth schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again.\n\nThere can be at most 32 such reservations. This may get increased in the future, but not reduced.", "items": { - "type": "string" + "$ref": "#/definitions/v1alpha3.ResourceClaimConsumerReference" }, "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "resourceNames": { - "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "resources": { - "description": "Resources is a list of resources this rule applies to. '*' represents all resources.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "verbs": { - "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "x-kubernetes-list-map-keys": [ + "uid" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "uid", + "x-kubernetes-patch-strategy": "merge" } }, - "required": [ - "verbs" - ], "type": "object" }, - "v1.Role": { - "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.", + "v1alpha3.ResourceClaimTemplate": { + "description": "ResourceClaimTemplate is used to produce ResourceClaim objects.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -14790,112 +15208,145 @@ }, "metadata": { "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object's metadata." + "description": "Standard object metadata" }, - "rules": { - "description": "Rules holds all the PolicyRules for this Role", - "items": { - "$ref": "#/definitions/v1.PolicyRule" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "spec": { + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplateSpec", + "description": "Describes the ResourceClaim that is to be generated.\n\nThis field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore." } }, + "required": [ + "spec" + ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" + "group": "resource.k8s.io", + "kind": "ResourceClaimTemplate", + "version": "v1alpha3" } ] }, - "v1.RoleBinding": { - "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", + "v1alpha3.ResourceClaimTemplateList": { + "description": "ResourceClaimTemplateList is a collection of claim templates.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, + "items": { + "description": "Items is the list of resource claim templates.", + "items": { + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate" + }, + "type": "array" + }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object's metadata." - }, - "roleRef": { - "$ref": "#/definitions/v1.RoleRef", - "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable." - }, - "subjects": { - "description": "Subjects holds references to the objects the role applies to.", - "items": { - "$ref": "#/definitions/rbac.v1.Subject" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard list metadata" } }, "required": [ - "roleRef" + "items" ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" + "group": "resource.k8s.io", + "kind": "ResourceClaimTemplateList", + "version": "v1alpha3" } ] }, - "v1.RoleBindingList": { - "description": "RoleBindingList is a collection of RoleBindings", + "v1alpha3.ResourceClaimTemplateSpec": { + "description": "ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.", + "properties": { + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation." + }, + "spec": { + "$ref": "#/definitions/v1alpha3.ResourceClaimSpec", + "description": "Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here." + } + }, + "required": [ + "spec" + ], + "type": "object" + }, + "v1alpha3.ResourcePool": { + "description": "ResourcePool describes the pool that ResourceSlices belong to.", + "properties": { + "generation": { + "description": "Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.\n\nCombined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state.", + "format": "int64", + "type": "integer" + }, + "name": { + "description": "Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required.\n\nIt must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable.", + "type": "string" + }, + "resourceSliceCount": { + "description": "ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.\n\nConsumers can use this to check whether they have seen all ResourceSlices belonging to the same pool.", + "format": "int64", + "type": "integer" + } + }, + "required": [ + "name", + "generation", + "resourceSliceCount" + ], + "type": "object" + }, + "v1alpha3.ResourceSlice": { + "description": "ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver.\n\nAt the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple , , .\n\nWhenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others.\n\nWhen allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool.\n\nFor resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, - "items": { - "description": "Items is a list of RoleBindings", - "items": { - "$ref": "#/definitions/v1.RoleBinding" - }, - "type": "array" - }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard object's metadata." + "$ref": "#/definitions/v1.ObjectMeta", + "description": "Standard object metadata" + }, + "spec": { + "$ref": "#/definitions/v1alpha3.ResourceSliceSpec", + "description": "Contains the information published by the driver.\n\nChanging the spec automatically increments the metadata.generation number." } }, "required": [ - "items" + "spec" ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBindingList", - "version": "v1" + "group": "resource.k8s.io", + "kind": "ResourceSlice", + "version": "v1alpha3" } ] }, - "v1.RoleList": { - "description": "RoleList is a collection of Roles", + "v1alpha3.ResourceSliceList": { + "description": "ResourceSliceList is a collection of ResourceSlices.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is a list of Roles", + "description": "Items is the list of resource ResourceSlices.", "items": { - "$ref": "#/definitions/v1.Role" + "$ref": "#/definitions/v1alpha3.ResourceSlice" }, "type": "array" }, @@ -14905,7 +15356,7 @@ }, "metadata": { "$ref": "#/definitions/v1.ListMeta", - "description": "Standard object's metadata." + "description": "Standard list metadata" } }, "required": [ @@ -14914,263 +15365,278 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "rbac.authorization.k8s.io", - "kind": "RoleList", - "version": "v1" + "group": "resource.k8s.io", + "kind": "ResourceSliceList", + "version": "v1alpha3" } ] }, - "v1.RoleRef": { - "description": "RoleRef contains information that points to the role being used", + "v1alpha3.ResourceSliceSpec": { + "description": "ResourceSliceSpec contains the information published by the driver in one ResourceSlice.", "properties": { - "apiGroup": { - "description": "APIGroup is the group for the resource being referenced", - "type": "string" + "allNodes": { + "description": "AllNodes indicates that all nodes have access to the resources in the pool.\n\nExactly one of NodeName, NodeSelector and AllNodes must be set.", + "type": "boolean" }, - "kind": { - "description": "Kind is the type of resource being referenced", + "devices": { + "description": "Devices lists some or all of the devices in this pool.\n\nMust not have more than 128 entries.", + "items": { + "$ref": "#/definitions/v1alpha3.Device" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "driver": { + "description": "Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable.", "type": "string" }, - "name": { - "description": "Name is the name of resource being referenced", + "nodeName": { + "description": "NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.\n\nThis field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available.\n\nExactly one of NodeName, NodeSelector and AllNodes must be set. This field is immutable.", "type": "string" + }, + "nodeSelector": { + "$ref": "#/definitions/v1.NodeSelector", + "description": "NodeSelector defines which nodes have access to the resources in the pool, when that pool is not limited to a single node.\n\nMust use exactly one term.\n\nExactly one of NodeName, NodeSelector and AllNodes must be set." + }, + "pool": { + "$ref": "#/definitions/v1alpha3.ResourcePool", + "description": "Pool describes the pool that this ResourceSlice belongs to." } }, "required": [ - "apiGroup", - "kind", - "name" + "driver", + "pool" ], - "type": "object", - "x-kubernetes-map-type": "atomic" + "type": "object" }, - "rbac.v1.Subject": { - "description": "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.", + "v1beta1.AllocatedDeviceStatus": { + "description": "AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.", "properties": { - "apiGroup": { - "description": "APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects.", - "type": "string" + "conditions": { + "description": "Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.", + "items": { + "$ref": "#/definitions/v1.Condition" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" }, - "kind": { - "description": "Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.", + "data": { + "description": "Data contains arbitrary driver-specific data.\n\nThe length of the raw data must be smaller or equal to 10 Ki.", + "type": "object" + }, + "device": { + "description": "Device references one device instance via its name in the driver's resource pool. It must be a DNS label.", "type": "string" }, - "name": { - "description": "Name of the object being referenced.", + "driver": { + "description": "Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.", "type": "string" }, - "namespace": { - "description": "Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error.", + "networkData": { + "$ref": "#/definitions/v1beta1.NetworkDeviceData", + "description": "NetworkData contains network-related information specific to the device." + }, + "pool": { + "description": "This name together with the driver name and the device name field identify which device was allocated (`//`).\n\nMust not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.", "type": "string" } }, "required": [ - "kind", - "name" + "driver", + "pool", + "device" ], - "type": "object", - "x-kubernetes-map-type": "atomic" + "type": "object" }, - "v1alpha2.AllocationResult": { + "v1beta1.AllocationResult": { "description": "AllocationResult contains attributes of an allocated resource.", "properties": { - "availableOnNodes": { - "$ref": "#/definitions/v1.NodeSelector", - "description": "This field will get set by the resource driver after it has allocated the resource to inform the scheduler where it can schedule Pods using the ResourceClaim.\n\nSetting this field is optional. If null, the resource is available everywhere." - }, - "resourceHandles": { - "description": "ResourceHandles contain the state associated with an allocation that should be maintained throughout the lifetime of a claim. Each ResourceHandle contains data that should be passed to a specific kubelet plugin once it lands on a node. This data is returned by the driver after a successful allocation and is opaque to Kubernetes. Driver documentation may explain to users how to interpret this data if needed.\n\nSetting this field is optional. It has a maximum size of 32 entries. If null (or empty), it is assumed this allocation will be processed by a single kubelet plugin with no ResourceHandle data attached. The name of the kubelet plugin invoked will match the DriverName set in the ResourceClaimStatus this AllocationResult is embedded in.", - "items": { - "$ref": "#/definitions/v1alpha2.ResourceHandle" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "devices": { + "$ref": "#/definitions/v1beta1.DeviceAllocationResult", + "description": "Devices is the result of allocating devices." }, - "shareable": { - "description": "Shareable determines whether the resource supports more than one consumer at a time.", - "type": "boolean" + "nodeSelector": { + "$ref": "#/definitions/v1.NodeSelector", + "description": "NodeSelector defines where the allocated resources are available. If unset, they are available everywhere." } }, "type": "object" }, - "v1alpha2.DriverAllocationResult": { - "description": "DriverAllocationResult contains vendor parameters and the allocation result for one request.", + "v1beta1.BasicDevice": { + "description": "BasicDevice defines one device instance.", "properties": { - "namedResources": { - "$ref": "#/definitions/v1alpha2.NamedResourcesAllocationResult", - "description": "NamedResources describes the allocation result when using the named resources model." + "attributes": { + "additionalProperties": { + "$ref": "#/definitions/v1beta1.DeviceAttribute" + }, + "description": "Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.", + "type": "object" }, - "vendorRequestParameters": { - "description": "VendorRequestParameters are the per-request configuration parameters from the time that the claim was allocated.", + "capacity": { + "additionalProperties": { + "$ref": "#/definitions/v1beta1.DeviceCapacity" + }, + "description": "Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.", "type": "object" } }, "type": "object" }, - "v1alpha2.DriverRequests": { - "description": "DriverRequests describes all resources that are needed from one particular driver.", + "v1beta1.CELDeviceSelector": { + "description": "CELDeviceSelector contains a CEL expression for selecting a device.", "properties": { - "driverName": { - "description": "DriverName is the name used by the DRA driver kubelet plugin.", + "expression": { + "description": "Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.\n\nThe expression's input is an object named \"device\", which carries the following properties:\n - driver (string): the name of the driver which defines this device.\n - attributes (map[string]object): the device's attributes, grouped by prefix\n (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all\n of the attributes which were prefixed by \"dra.example.com\".\n - capacity (map[string]object): the device's capacities, grouped by prefix.\n\nExample: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields:\n\n device.driver\n device.attributes[\"dra.example.com\"].model\n device.attributes[\"ext.example.com\"].family\n device.capacity[\"dra.example.com\"].modules\n\nThe device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.\n\nThe value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.\n\nIf an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.\n\nA robust expression should check for the existence of attributes before referencing them.\n\nFor ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:\n\n cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool)\n\nThe length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps.", + "type": "string" + } + }, + "required": [ + "expression" + ], + "type": "object" + }, + "v1beta1.Device": { + "description": "Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.", + "properties": { + "basic": { + "$ref": "#/definitions/v1beta1.BasicDevice", + "description": "Basic defines one device instance." + }, + "name": { + "description": "Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.", "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "v1beta1.DeviceAllocationConfiguration": { + "description": "DeviceAllocationConfiguration gets embedded in an AllocationResult.", + "properties": { + "opaque": { + "$ref": "#/definitions/v1beta1.OpaqueDeviceConfiguration", + "description": "Opaque provides driver-specific configuration parameters." }, "requests": { - "description": "Requests describes all resources that are needed from the driver.", + "description": "Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.", "items": { - "$ref": "#/definitions/v1alpha2.ResourceRequest" + "type": "string" }, "type": "array", "x-kubernetes-list-type": "atomic" }, - "vendorParameters": { - "description": "VendorParameters are arbitrary setup parameters for all requests of the claim. They are ignored while allocating the claim.", - "type": "object" + "source": { + "description": "Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.", + "type": "string" } }, + "required": [ + "source" + ], "type": "object" }, - "v1alpha2.NamedResourcesAllocationResult": { - "description": "NamedResourcesAllocationResult is used in AllocationResultModel.", + "v1beta1.DeviceAllocationResult": { + "description": "DeviceAllocationResult is the result of allocating devices.", "properties": { - "name": { - "description": "Name is the name of the selected resource instance.", - "type": "string" + "config": { + "description": "This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag.\n\nThis includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters.", + "items": { + "$ref": "#/definitions/v1beta1.DeviceAllocationConfiguration" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "results": { + "description": "Results lists all allocated devices.", + "items": { + "$ref": "#/definitions/v1beta1.DeviceRequestAllocationResult" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, - "required": [ - "name" - ], "type": "object" }, - "v1alpha2.NamedResourcesAttribute": { - "description": "NamedResourcesAttribute is a combination of an attribute name and its value.", + "v1beta1.DeviceAttribute": { + "description": "DeviceAttribute must have exactly one field set.", "properties": { "bool": { "description": "BoolValue is a true/false value.", "type": "boolean" }, "int": { - "description": "IntValue is a 64-bit integer.", + "description": "IntValue is a number.", "format": "int64", "type": "integer" }, - "intSlice": { - "$ref": "#/definitions/v1alpha2.NamedResourcesIntSlice", - "description": "IntSliceValue is an array of 64-bit integers." - }, - "name": { - "description": "Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain.", - "type": "string" - }, - "quantity": { - "description": "QuantityValue is a quantity.", - "type": "string" - }, "string": { - "description": "StringValue is a string.", + "description": "StringValue is a string. Must not be longer than 64 characters.", "type": "string" }, - "stringSlice": { - "$ref": "#/definitions/v1alpha2.NamedResourcesStringSlice", - "description": "StringSliceValue is an array of strings." - }, "version": { - "description": "VersionValue is a semantic version according to semver.org spec 2.0.0.", + "description": "VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.", "type": "string" } }, - "required": [ - "name" - ], "type": "object" }, - "v1alpha2.NamedResourcesFilter": { - "description": "NamedResourcesFilter is used in ResourceFilterModel.", + "v1beta1.DeviceCapacity": { + "description": "DeviceCapacity describes a quantity associated with a device.", "properties": { - "selector": { - "description": "Selector is a CEL expression which must evaluate to true if a resource instance is suitable. The language is as defined in https://kubernetes.io/docs/reference/using-api/cel/\n\nIn addition, for each type NamedResourcesin AttributeValue there is a map that resolves to the corresponding value of the instance under evaluation. For example:\n\n attributes.quantity[\"a\"].isGreaterThan(quantity(\"0\")) &&\n attributes.stringslice[\"b\"].isSorted()", + "value": { + "description": "Value defines how much of a certain device capacity is available.", "type": "string" } }, "required": [ - "selector" + "value" ], "type": "object" }, - "v1alpha2.NamedResourcesInstance": { - "description": "NamedResourcesInstance represents one individual hardware instance that can be selected based on its attributes.", + "v1beta1.DeviceClaim": { + "description": "DeviceClaim defines how to request devices with a ResourceClaim.", "properties": { - "attributes": { - "description": "Attributes defines the attributes of this resource instance. The name of each attribute must be unique.", + "config": { + "description": "This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.", "items": { - "$ref": "#/definitions/v1alpha2.NamedResourcesAttribute" + "$ref": "#/definitions/v1beta1.DeviceClaimConfiguration" }, "type": "array", "x-kubernetes-list-type": "atomic" }, - "name": { - "description": "Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "v1alpha2.NamedResourcesIntSlice": { - "description": "NamedResourcesIntSlice contains a slice of 64-bit integers.", - "properties": { - "ints": { - "description": "Ints is the slice of 64-bit integers.", + "constraints": { + "description": "These constraints must be satisfied by the set of devices that get allocated for the claim.", "items": { - "format": "int64", - "type": "integer" + "$ref": "#/definitions/v1beta1.DeviceConstraint" }, "type": "array", "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "ints" - ], - "type": "object" - }, - "v1alpha2.NamedResourcesRequest": { - "description": "NamedResourcesRequest is used in ResourceRequestModel.", - "properties": { - "selector": { - "description": "Selector is a CEL expression which must evaluate to true if a resource instance is suitable. The language is as defined in https://kubernetes.io/docs/reference/using-api/cel/\n\nIn addition, for each type NamedResourcesin AttributeValue there is a map that resolves to the corresponding value of the instance under evaluation. For example:\n\n attributes.quantity[\"a\"].isGreaterThan(quantity(\"0\")) &&\n attributes.stringslice[\"b\"].isSorted()", - "type": "string" - } - }, - "required": [ - "selector" - ], - "type": "object" - }, - "v1alpha2.NamedResourcesResources": { - "description": "NamedResourcesResources is used in ResourceModel.", - "properties": { - "instances": { - "description": "The list of all individual resources instances currently available.", + }, + "requests": { + "description": "Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.", "items": { - "$ref": "#/definitions/v1alpha2.NamedResourcesInstance" + "$ref": "#/definitions/v1beta1.DeviceRequest" }, "type": "array", "x-kubernetes-list-type": "atomic" } }, - "required": [ - "instances" - ], "type": "object" }, - "v1alpha2.NamedResourcesStringSlice": { - "description": "NamedResourcesStringSlice contains a slice of strings.", + "v1beta1.DeviceClaimConfiguration": { + "description": "DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.", "properties": { - "strings": { - "description": "Strings is the slice of strings.", + "opaque": { + "$ref": "#/definitions/v1beta1.OpaqueDeviceConfiguration", + "description": "Opaque provides driver-specific configuration parameters." + }, + "requests": { + "description": "Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.", "items": { "type": "string" }, @@ -15178,13 +15644,10 @@ "x-kubernetes-list-type": "atomic" } }, - "required": [ - "strings" - ], "type": "object" }, - "v1alpha2.PodSchedulingContext": { - "description": "PodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use \"WaitForFirstConsumer\" allocation mode.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", + "v1beta1.DeviceClass": { + "description": "DeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors. It can be referenced in the device requests of a claim to apply these presets. Cluster scoped.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -15199,12 +15662,8 @@ "description": "Standard object metadata" }, "spec": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContextSpec", - "description": "Spec describes where resources for the Pod are needed." - }, - "status": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContextStatus", - "description": "Status describes where resources for the Pod can be allocated." + "$ref": "#/definitions/v1beta1.DeviceClassSpec", + "description": "Spec defines what can be allocated and how to configure it.\n\nThis is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.\n\nChanging the spec automatically increments the metadata.generation number." } }, "required": [ @@ -15214,22 +15673,32 @@ "x-kubernetes-group-version-kind": [ { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "DeviceClass", + "version": "v1beta1" } ] }, - "v1alpha2.PodSchedulingContextList": { - "description": "PodSchedulingContextList is a collection of Pod scheduling objects.", + "v1beta1.DeviceClassConfiguration": { + "description": "DeviceClassConfiguration is used in DeviceClass.", + "properties": { + "opaque": { + "$ref": "#/definitions/v1beta1.OpaqueDeviceConfiguration", + "description": "Opaque provides driver-specific configuration parameters." + } + }, + "type": "object" + }, + "v1beta1.DeviceClassList": { + "description": "DeviceClassList is a collection of classes.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is the list of PodSchedulingContext objects.", + "description": "Items is the list of resource classes.", "items": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1beta1.DeviceClass" }, "type": "array" }, @@ -15249,48 +15718,174 @@ "x-kubernetes-group-version-kind": [ { "group": "resource.k8s.io", - "kind": "PodSchedulingContextList", - "version": "v1alpha2" + "kind": "DeviceClassList", + "version": "v1beta1" } ] }, - "v1alpha2.PodSchedulingContextSpec": { - "description": "PodSchedulingContextSpec describes where resources for the Pod are needed.", + "v1beta1.DeviceClassSpec": { + "description": "DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it.", + "properties": { + "config": { + "description": "Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver.\n\nThey are passed to the driver, but are not considered while allocating the claim.", + "items": { + "$ref": "#/definitions/v1beta1.DeviceClassConfiguration" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "selectors": { + "description": "Each selector must be satisfied by a device which is claimed via this class.", + "items": { + "$ref": "#/definitions/v1beta1.DeviceSelector" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "v1beta1.DeviceConstraint": { + "description": "DeviceConstraint must have exactly one field set besides Requests.", "properties": { - "potentialNodes": { - "description": "PotentialNodes lists nodes where the Pod might be able to run.\n\nThe size of this field is limited to 128. This is large enough for many clusters. Larger clusters may need more attempts to find a node that suits all pending resources. This may get increased in the future, but not reduced.", + "matchAttribute": { + "description": "MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.\n\nFor example, if you specified \"dra.example.com/numa\" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen.\n\nMust include the domain qualifier.", + "type": "string" + }, + "requests": { + "description": "Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.", "items": { "type": "string" }, "type": "array", "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "v1beta1.DeviceRequest": { + "description": "DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices.\n\nA DeviceClassName is currently required. Clients must check that it is indeed set. It's absence indicates that something changed in a way that is not supported by the client yet, in which case it must refuse to handle the request.", + "properties": { + "adminAccess": { + "description": "AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations.\n\nThis is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.", + "type": "boolean" + }, + "allocationMode": { + "description": "AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This request is for all of the matching devices in a pool.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AlloctionMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.", + "type": "string" + }, + "count": { + "description": "Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.", + "format": "int64", + "type": "integer" + }, + "deviceClassName": { + "description": "DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.\n\nA class is required. Which classes are available depends on the cluster.\n\nAdministrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.", + "type": "string" }, - "selectedNode": { - "description": "SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use \"WaitForFirstConsumer\" allocation is to be attempted.", + "name": { + "description": "Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.\n\nMust be a DNS label.", "type": "string" + }, + "selectors": { + "description": "Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.", + "items": { + "$ref": "#/definitions/v1beta1.DeviceSelector" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, + "required": [ + "name", + "deviceClassName" + ], "type": "object" }, - "v1alpha2.PodSchedulingContextStatus": { - "description": "PodSchedulingContextStatus describes where resources for the Pod can be allocated.", + "v1beta1.DeviceRequestAllocationResult": { + "description": "DeviceRequestAllocationResult contains the allocation result for one request.", "properties": { - "resourceClaims": { - "description": "ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses \"WaitForFirstConsumer\" allocation mode.", + "adminAccess": { + "description": "AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode.\n\nThis is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.", + "type": "boolean" + }, + "device": { + "description": "Device references one device instance via its name in the driver's resource pool. It must be a DNS label.", + "type": "string" + }, + "driver": { + "description": "Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.", + "type": "string" + }, + "pool": { + "description": "This name together with the driver name and the device name field identify which device was allocated (`//`).\n\nMust not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.", + "type": "string" + }, + "request": { + "description": "Request is the name of the request in the claim which caused this device to be allocated. Multiple devices may have been allocated per request.", + "type": "string" + } + }, + "required": [ + "request", + "driver", + "pool", + "device" + ], + "type": "object" + }, + "v1beta1.DeviceSelector": { + "description": "DeviceSelector must have exactly one field set.", + "properties": { + "cel": { + "$ref": "#/definitions/v1beta1.CELDeviceSelector", + "description": "CEL contains a CEL expression for selecting a device." + } + }, + "type": "object" + }, + "v1beta1.NetworkDeviceData": { + "description": "NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context.", + "properties": { + "hardwareAddress": { + "description": "HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.\n\nMust not be longer than 128 characters.", + "type": "string" + }, + "interfaceName": { + "description": "InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod.\n\nMust not be longer than 256 characters.", + "type": "string" + }, + "ips": { + "description": "IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: \"192.0.2.5/24\" for IPv4 and \"2001:db8::5/64\" for IPv6.", "items": { - "$ref": "#/definitions/v1alpha2.ResourceClaimSchedulingStatus" + "type": "string" }, "type": "array", - "x-kubernetes-list-map-keys": [ - "name" - ], - "x-kubernetes-list-type": "map" + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "v1beta1.OpaqueDeviceConfiguration": { + "description": "OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.", + "properties": { + "driver": { + "description": "Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.\n\nAn admission policy provided by the driver developer could use this to decide whether it needs to validate them.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.", + "type": "string" + }, + "parameters": { + "description": "Parameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version (\"kind\" + \"apiVersion\" for Kubernetes types), with conversion between different versions.\n\nThe length of the raw data must be smaller or equal to 10 Ki.", + "type": "object" } }, + "required": [ + "driver", + "parameters" + ], "type": "object" }, - "v1alpha2.ResourceClaim": { - "description": "ResourceClaim describes which resources are needed by a resource consumer. Its status tracks whether the resource has been allocated and what the resulting attributes are.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", + "v1beta1.ResourceClaim": { + "description": "ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -15305,12 +15900,12 @@ "description": "Standard object metadata" }, "spec": { - "$ref": "#/definitions/v1alpha2.ResourceClaimSpec", - "description": "Spec describes the desired attributes of a resource that then needs to be allocated. It can only be set once when creating the ResourceClaim." + "$ref": "#/definitions/v1beta1.ResourceClaimSpec", + "description": "Spec describes what is being requested and how to configure it. The spec is immutable." }, "status": { - "$ref": "#/definitions/v1alpha2.ResourceClaimStatus", - "description": "Status describes whether the resource is available and with which attributes." + "$ref": "#/definitions/v1beta1.ResourceClaimStatus", + "description": "Status describes whether the claim is ready to use and what has been allocated." } }, "required": [ @@ -15321,11 +15916,11 @@ { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1beta1" } ] }, - "v1alpha2.ResourceClaimConsumerReference": { + "v1beta1.ResourceClaimConsumerReference": { "description": "ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.", "properties": { "apiGroup": { @@ -15352,7 +15947,7 @@ ], "type": "object" }, - "v1alpha2.ResourceClaimList": { + "v1beta1.ResourceClaimList": { "description": "ResourceClaimList is a collection of claims.", "properties": { "apiVersion": { @@ -15362,7 +15957,7 @@ "items": { "description": "Items is the list of resource claims.", "items": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1beta1.ResourceClaim" }, "type": "array" }, @@ -15383,28 +15978,62 @@ { "group": "resource.k8s.io", "kind": "ResourceClaimList", - "version": "v1alpha2" + "version": "v1beta1" } ] }, - "v1alpha2.ResourceClaimParameters": { - "description": "ResourceClaimParameters defines resource requests for a ResourceClaim in an in-tree format understood by Kubernetes.", + "v1beta1.ResourceClaimSpec": { + "description": "ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" + "devices": { + "$ref": "#/definitions/v1beta1.DeviceClaim", + "description": "Devices defines how to request devices." + } + }, + "type": "object" + }, + "v1beta1.ResourceClaimStatus": { + "description": "ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was.", + "properties": { + "allocation": { + "$ref": "#/definitions/v1beta1.AllocationResult", + "description": "Allocation is set once the claim has been allocated successfully." }, - "driverRequests": { - "description": "DriverRequests describes all resources that are needed for the allocated claim. A single claim may use resources coming from different drivers. For each driver, this array has at most one entry which then may have one or more per-driver requests.\n\nMay be empty, in which case the claim can always be allocated.", + "devices": { + "description": "Devices contains the status of each device allocated for this claim, as reported by the driver. This can include driver-specific information. Entries are owned by their respective drivers.", "items": { - "$ref": "#/definitions/v1alpha2.DriverRequests" + "$ref": "#/definitions/v1beta1.AllocatedDeviceStatus" }, "type": "array", - "x-kubernetes-list-type": "atomic" + "x-kubernetes-list-map-keys": [ + "driver", + "device", + "pool" + ], + "x-kubernetes-list-type": "map" }, - "generatedFrom": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParametersReference", - "description": "If this object was created from some other resource, then this links back to that resource. This field is used to find the in-tree representation of the claim parameters when the parameter reference of the claim refers to some unknown type." + "reservedFor": { + "description": "ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated.\n\nIn a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled.\n\nBoth schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again.\n\nThere can be at most 32 such reservations. This may get increased in the future, but not reduced.", + "items": { + "$ref": "#/definitions/v1beta1.ResourceClaimConsumerReference" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "uid" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "uid", + "x-kubernetes-patch-strategy": "merge" + } + }, + "type": "object" + }, + "v1beta1.ResourceClaimTemplate": { + "description": "ResourceClaimTemplate is used to produce ResourceClaim objects.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", @@ -15414,31 +16043,34 @@ "$ref": "#/definitions/v1.ObjectMeta", "description": "Standard object metadata" }, - "shareable": { - "description": "Shareable indicates whether the allocated claim is meant to be shareable by multiple consumers at the same time.", - "type": "boolean" + "spec": { + "$ref": "#/definitions/v1beta1.ResourceClaimTemplateSpec", + "description": "Describes the ResourceClaim that is to be generated.\n\nThis field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore." } }, + "required": [ + "spec" + ], "type": "object", "x-kubernetes-group-version-kind": [ { "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" + "kind": "ResourceClaimTemplate", + "version": "v1beta1" } ] }, - "v1alpha2.ResourceClaimParametersList": { - "description": "ResourceClaimParametersList is a collection of ResourceClaimParameters.", + "v1beta1.ResourceClaimTemplateList": { + "description": "ResourceClaimTemplateList is a collection of claim templates.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is the list of node resource capacity objects.", + "description": "Items is the list of resource claim templates.", "items": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParameters" + "$ref": "#/definitions/v1beta1.ResourceClaimTemplate" }, "type": "array" }, @@ -15458,112 +16090,62 @@ "x-kubernetes-group-version-kind": [ { "group": "resource.k8s.io", - "kind": "ResourceClaimParametersList", - "version": "v1alpha2" + "kind": "ResourceClaimTemplateList", + "version": "v1beta1" } ] }, - "v1alpha2.ResourceClaimParametersReference": { - "description": "ResourceClaimParametersReference contains enough information to let you locate the parameters for a ResourceClaim. The object must be in the same namespace as the ResourceClaim.", + "v1beta1.ResourceClaimTemplateSpec": { + "description": "ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.", "properties": { - "apiGroup": { - "description": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.", - "type": "string" - }, - "kind": { - "description": "Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata, for example \"ConfigMap\".", - "type": "string" + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation." }, - "name": { - "description": "Name is the name of resource being referenced.", - "type": "string" + "spec": { + "$ref": "#/definitions/v1beta1.ResourceClaimSpec", + "description": "Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here." } }, "required": [ - "kind", - "name" + "spec" ], "type": "object" }, - "v1alpha2.ResourceClaimSchedulingStatus": { - "description": "ResourceClaimSchedulingStatus contains information about one particular ResourceClaim with \"WaitForFirstConsumer\" allocation mode.", + "v1beta1.ResourcePool": { + "description": "ResourcePool describes the pool that ResourceSlices belong to.", "properties": { + "generation": { + "description": "Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.\n\nCombined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state.", + "format": "int64", + "type": "integer" + }, "name": { - "description": "Name matches the pod.spec.resourceClaims[*].Name field.", + "description": "Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required.\n\nIt must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable.", "type": "string" }, - "unsuitableNodes": { - "description": "UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.\n\nThe size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "resourceSliceCount": { + "description": "ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.\n\nConsumers can use this to check whether they have seen all ResourceSlices belonging to the same pool.", + "format": "int64", + "type": "integer" } }, + "required": [ + "name", + "generation", + "resourceSliceCount" + ], "type": "object" }, - "v1alpha2.ResourceClaimSpec": { - "description": "ResourceClaimSpec defines how a resource is to be allocated.", + "v1beta1.ResourceSlice": { + "description": "ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver.\n\nAt the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple , , .\n\nWhenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others.\n\nWhen allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool.\n\nFor resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { - "allocationMode": { - "description": "Allocation can start immediately or when a Pod wants to use the resource. \"WaitForFirstConsumer\" is the default.", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, - "parametersRef": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParametersReference", - "description": "ParametersRef references a separate object with arbitrary parameters that will be used by the driver when allocating a resource for the claim.\n\nThe object must be in the same namespace as the ResourceClaim." - }, - "resourceClassName": { - "description": "ResourceClassName references the driver and additional parameters via the name of a ResourceClass that was created as part of the driver deployment.", - "type": "string" - } - }, - "required": [ - "resourceClassName" - ], - "type": "object" - }, - "v1alpha2.ResourceClaimStatus": { - "description": "ResourceClaimStatus tracks whether the resource has been allocated and what the resulting attributes are.", - "properties": { - "allocation": { - "$ref": "#/definitions/v1alpha2.AllocationResult", - "description": "Allocation is set by the resource driver once a resource or set of resources has been allocated successfully. If this is not specified, the resources have not been allocated yet." - }, - "deallocationRequested": { - "description": "DeallocationRequested indicates that a ResourceClaim is to be deallocated.\n\nThe driver then must deallocate this claim and reset the field together with clearing the Allocation field.\n\nWhile DeallocationRequested is set, no new consumers may be added to ReservedFor.", - "type": "boolean" - }, - "driverName": { - "description": "DriverName is a copy of the driver name from the ResourceClass at the time when allocation started.", - "type": "string" - }, - "reservedFor": { - "description": "ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started.\n\nThere can be at most 32 such reservations. This may get increased in the future, but not reduced.", - "items": { - "$ref": "#/definitions/v1alpha2.ResourceClaimConsumerReference" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "uid" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "uid", - "x-kubernetes-patch-strategy": "merge" - } - }, - "type": "object" - }, - "v1alpha2.ResourceClaimTemplate": { - "description": "ResourceClaimTemplate is used to produce ResourceClaim objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { @@ -15571,8 +16153,8 @@ "description": "Standard object metadata" }, "spec": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplateSpec", - "description": "Describes the ResourceClaim that is to be generated.\n\nThis field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore." + "$ref": "#/definitions/v1beta1.ResourceSliceSpec", + "description": "Contains the information published by the driver.\n\nChanging the spec automatically increments the metadata.generation number." } }, "required": [ @@ -15582,22 +16164,22 @@ "x-kubernetes-group-version-kind": [ { "group": "resource.k8s.io", - "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "kind": "ResourceSlice", + "version": "v1beta1" } ] }, - "v1alpha2.ResourceClaimTemplateList": { - "description": "ResourceClaimTemplateList is a collection of claim templates.", + "v1beta1.ResourceSliceList": { + "description": "ResourceSliceList is a collection of ResourceSlices.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is the list of resource claim templates.", + "description": "Items is the list of resource ResourceSlices.", "items": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/v1beta1.ResourceSlice" }, "type": "array" }, @@ -15617,377 +16199,49 @@ "x-kubernetes-group-version-kind": [ { "group": "resource.k8s.io", - "kind": "ResourceClaimTemplateList", - "version": "v1alpha2" + "kind": "ResourceSliceList", + "version": "v1beta1" } ] }, - "v1alpha2.ResourceClaimTemplateSpec": { - "description": "ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.", + "v1beta1.ResourceSliceSpec": { + "description": "ResourceSliceSpec contains the information published by the driver in one ResourceSlice.", "properties": { - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "ObjectMeta may contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation." - }, - "spec": { - "$ref": "#/definitions/v1alpha2.ResourceClaimSpec", - "description": "Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here." - } - }, - "required": [ - "spec" - ], - "type": "object" - }, - "v1alpha2.ResourceClass": { - "description": "ResourceClass is used by administrators to influence how resources are allocated.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "driverName": { - "description": "DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class.\n\nResource drivers have a unique name in forward domain order (acme.example.com).", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object metadata" - }, - "parametersRef": { - "$ref": "#/definitions/v1alpha2.ResourceClassParametersReference", - "description": "ParametersRef references an arbitrary separate object that may hold parameters that will be used by the driver when allocating a resource that uses this class. A dynamic resource driver can distinguish between parameters stored here and and those stored in ResourceClaimSpec." - }, - "structuredParameters": { - "description": "If and only if allocation of claims using this class is handled via structured parameters, then StructuredParameters must be set to true.", + "allNodes": { + "description": "AllNodes indicates that all nodes have access to the resources in the pool.\n\nExactly one of NodeName, NodeSelector and AllNodes must be set.", "type": "boolean" }, - "suitableNodes": { - "$ref": "#/definitions/v1.NodeSelector", - "description": "Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a ResourceClaim that has not been allocated yet.\n\nSetting this field is optional. If null, all nodes are candidates." - } - }, - "required": [ - "driverName" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" - } - ] - }, - "v1alpha2.ResourceClassList": { - "description": "ResourceClassList is a collection of classes.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of resource classes.", + "devices": { + "description": "Devices lists some or all of the devices in this pool.\n\nMust not have more than 128 entries.", "items": { - "$ref": "#/definitions/v1alpha2.ResourceClass" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "resource.k8s.io", - "kind": "ResourceClassList", - "version": "v1alpha2" - } - ] - }, - "v1alpha2.ResourceClassParameters": { - "description": "ResourceClassParameters defines resource requests for a ResourceClass in an in-tree format understood by Kubernetes.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "filters": { - "description": "Filters describes additional contraints that must be met when using the class.", - "items": { - "$ref": "#/definitions/v1alpha2.ResourceFilter" + "$ref": "#/definitions/v1beta1.Device" }, "type": "array", "x-kubernetes-list-type": "atomic" }, - "generatedFrom": { - "$ref": "#/definitions/v1alpha2.ResourceClassParametersReference", - "description": "If this object was created from some other resource, then this links back to that resource. This field is used to find the in-tree representation of the class parameters when the parameter reference of the class refers to some unknown type." - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object metadata" - }, - "vendorParameters": { - "description": "VendorParameters are arbitrary setup parameters for all claims using this class. They are ignored while allocating the claim. There must not be more than one entry per driver.", - "items": { - "$ref": "#/definitions/v1alpha2.VendorParameters" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - } - ] - }, - "v1alpha2.ResourceClassParametersList": { - "description": "ResourceClassParametersList is a collection of ResourceClassParameters.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of node resource capacity objects.", - "items": { - "$ref": "#/definitions/v1alpha2.ResourceClassParameters" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "resource.k8s.io", - "kind": "ResourceClassParametersList", - "version": "v1alpha2" - } - ] - }, - "v1alpha2.ResourceClassParametersReference": { - "description": "ResourceClassParametersReference contains enough information to let you locate the parameters for a ResourceClass.", - "properties": { - "apiGroup": { - "description": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.", - "type": "string" - }, - "kind": { - "description": "Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata.", - "type": "string" - }, - "name": { - "description": "Name is the name of resource being referenced.", - "type": "string" - }, - "namespace": { - "description": "Namespace that contains the referenced resource. Must be empty for cluster-scoped resources and non-empty for namespaced resources.", - "type": "string" - } - }, - "required": [ - "kind", - "name" - ], - "type": "object" - }, - "v1alpha2.ResourceFilter": { - "description": "ResourceFilter is a filter for resources from one particular driver.", - "properties": { - "driverName": { - "description": "DriverName is the name used by the DRA driver kubelet plugin.", - "type": "string" - }, - "namedResources": { - "$ref": "#/definitions/v1alpha2.NamedResourcesFilter", - "description": "NamedResources describes a resource filter using the named resources model." - } - }, - "type": "object" - }, - "v1alpha2.ResourceHandle": { - "description": "ResourceHandle holds opaque resource data for processing by a specific kubelet plugin.", - "properties": { - "data": { - "description": "Data contains the opaque data associated with this ResourceHandle. It is set by the controller component of the resource driver whose name matches the DriverName set in the ResourceClaimStatus this ResourceHandle is embedded in. It is set at allocation time and is intended for processing by the kubelet plugin whose name matches the DriverName set in this ResourceHandle.\n\nThe maximum size of this field is 16KiB. This may get increased in the future, but not reduced.", - "type": "string" - }, - "driverName": { - "description": "DriverName specifies the name of the resource driver whose kubelet plugin should be invoked to process this ResourceHandle's data once it lands on a node. This may differ from the DriverName set in ResourceClaimStatus this ResourceHandle is embedded in.", - "type": "string" - }, - "structuredData": { - "$ref": "#/definitions/v1alpha2.StructuredResourceHandle", - "description": "If StructuredData is set, then it needs to be used instead of Data." - } - }, - "type": "object" - }, - "v1alpha2.ResourceRequest": { - "description": "ResourceRequest is a request for resources from one particular driver.", - "properties": { - "namedResources": { - "$ref": "#/definitions/v1alpha2.NamedResourcesRequest", - "description": "NamedResources describes a request for resources with the named resources model." - }, - "vendorParameters": { - "description": "VendorParameters are arbitrary setup parameters for the requested resource. They are ignored while allocating a claim.", - "type": "object" - } - }, - "type": "object" - }, - "v1alpha2.ResourceSlice": { - "description": "ResourceSlice provides information about available resources on individual nodes.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "driverName": { - "description": "DriverName identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "driver": { + "description": "Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object metadata" - }, - "namedResources": { - "$ref": "#/definitions/v1alpha2.NamedResourcesResources", - "description": "NamedResources describes available resources using the named resources model." - }, "nodeName": { - "description": "NodeName identifies the node which provides the resources if they are local to a node.\n\nA field selector can be used to list only ResourceSlice objects with a certain node name.", - "type": "string" - } - }, - "required": [ - "driverName" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "resource.k8s.io", - "kind": "ResourceSlice", - "version": "v1alpha2" - } - ] - }, - "v1alpha2.ResourceSliceList": { - "description": "ResourceSliceList is a collection of ResourceSlices.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of node resource capacity objects.", - "items": { - "$ref": "#/definitions/v1alpha2.ResourceSlice" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "description": "NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.\n\nThis field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available.\n\nExactly one of NodeName, NodeSelector and AllNodes must be set. This field is immutable.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "resource.k8s.io", - "kind": "ResourceSliceList", - "version": "v1alpha2" - } - ] - }, - "v1alpha2.StructuredResourceHandle": { - "description": "StructuredResourceHandle is the in-tree representation of the allocation result.", - "properties": { - "nodeName": { - "description": "NodeName is the name of the node providing the necessary resources if the resources are local to a node.", - "type": "string" - }, - "results": { - "description": "Results lists all allocated driver resources.", - "items": { - "$ref": "#/definitions/v1alpha2.DriverAllocationResult" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "vendorClaimParameters": { - "description": "VendorClaimParameters are the per-claim configuration parameters from the resource claim parameters at the time that the claim was allocated.", - "type": "object" + "nodeSelector": { + "$ref": "#/definitions/v1.NodeSelector", + "description": "NodeSelector defines which nodes have access to the resources in the pool, when that pool is not limited to a single node.\n\nMust use exactly one term.\n\nExactly one of NodeName, NodeSelector and AllNodes must be set." }, - "vendorClassParameters": { - "description": "VendorClassParameters are the per-claim configuration parameters from the resource class at the time that the claim was allocated.", - "type": "object" + "pool": { + "$ref": "#/definitions/v1beta1.ResourcePool", + "description": "Pool describes the pool that this ResourceSlice belongs to." } }, "required": [ - "results" + "driver", + "pool" ], "type": "object" }, - "v1alpha2.VendorParameters": { - "description": "VendorParameters are opaque parameters for one particular driver.", - "properties": { - "driverName": { - "description": "DriverName is the name used by the DRA driver kubelet plugin.", - "type": "string" - }, - "parameters": { - "description": "Parameters can be arbitrary setup parameters. They are ignored while allocating a claim.", - "type": "object" - } - }, - "type": "object" - }, "v1.PriorityClass": { "description": "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", "properties": { @@ -16571,7 +16825,7 @@ ] }, "v1.VolumeAttachmentSource": { - "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.", + "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.", "properties": { "inlineVolumeSpec": { "$ref": "#/definitions/v1.PersistentVolumeSpec", @@ -16735,6 +16989,80 @@ } ] }, + "v1beta1.VolumeAttributesClass": { + "description": "VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "driverName": { + "description": "Name of the CSI driver This field is immutable.", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "parameters": { + "additionalProperties": { + "type": "string" + }, + "description": "parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.\n\nThis field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field.", + "type": "object" + } + }, + "required": [ + "driverName" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1beta1" + } + ] + }, + "v1beta1.VolumeAttributesClassList": { + "description": "VolumeAttributesClassList is a collection of VolumeAttributesClass objects.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is the list of VolumeAttributesClass objects.", + "items": { + "$ref": "#/definitions/v1beta1.VolumeAttributesClass" + }, + "type": "array" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClassList", + "version": "v1beta1" + } + ] + }, "v1alpha1.GroupVersionResource": { "description": "The names of the group, the version, and the resource.", "properties": { @@ -17350,7 +17678,7 @@ "$ref": "#/definitions/v1.ExternalDocumentation" }, "format": { - "description": "format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339.", + "description": "format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\\\d{3})\\\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\\\d{3}[- ]?\\\\d{2}[- ]?\\\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339.", "type": "string" }, "id": { @@ -17469,7 +17797,7 @@ "type": "boolean" }, "x-kubernetes-validations": { - "description": "x-kubernetes-validations describes a list of validation rules written in the CEL expression language. This field is an alpha-level. Using this field requires the feature gate `CustomResourceValidationExpressions` to be enabled.", + "description": "x-kubernetes-validations describes a list of validation rules written in the CEL expression language.", "items": { "$ref": "#/definitions/v1.ValidationRule" }, @@ -17879,6 +18207,10 @@ "format": "int64", "type": "integer" }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "type": "boolean" + }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" @@ -18038,6 +18370,11 @@ "kind": "DeleteOptions", "version": "v1" }, + { + "group": "coordination.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha2" + }, { "group": "coordination.k8s.io", "kind": "DeleteOptions", @@ -18156,7 +18493,12 @@ { "group": "resource.k8s.io", "kind": "DeleteOptions", - "version": "v1alpha2" + "version": "v1alpha3" + }, + { + "group": "resource.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" }, { "group": "scheduling.k8s.io", @@ -18195,6 +18537,32 @@ } ] }, + "v1.FieldSelectorRequirement": { + "description": "FieldSelectorRequirement is a selector that contains values, a key, and an operator that relates the key and values.", + "properties": { + "key": { + "description": "key is the field selector key that the requirement applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. The list of operators may grow in the future.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, "v1.GroupVersionForDiscovery": { "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", "properties": { @@ -18531,11 +18899,6 @@ "group": "", "kind": "Status", "version": "v1" - }, - { - "group": "resource.k8s.io", - "kind": "Status", - "version": "v1alpha2" } ] }, @@ -18749,6 +19112,11 @@ "kind": "WatchEvent", "version": "v1" }, + { + "group": "coordination.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha2" + }, { "group": "coordination.k8s.io", "kind": "WatchEvent", @@ -18867,7 +19235,12 @@ { "group": "resource.k8s.io", "kind": "WatchEvent", - "version": "v1alpha2" + "version": "v1alpha3" + }, + { + "group": "resource.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" }, { "group": "scheduling.k8s.io", @@ -19137,7 +19510,7 @@ }, "info": { "title": "Kubernetes", - "version": "v1.30.1" + "version": "v1.32.0" }, "paths": { "/api/": { @@ -19178,14 +19551,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -19217,8 +19592,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -19334,7 +19711,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -19389,8 +19767,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -19507,8 +19887,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -19625,8 +20007,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -19743,8 +20127,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -19933,8 +20319,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -20009,7 +20397,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -20107,7 +20496,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -20190,6 +20580,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -20250,7 +20647,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -20359,8 +20757,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -20443,7 +20843,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -20512,6 +20913,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -20530,7 +20938,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -20572,7 +20981,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -20628,7 +21038,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified ConfigMap", "operationId": "patchNamespacedConfigMap", @@ -20674,7 +21085,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -20747,7 +21159,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -20824,6 +21237,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -20884,7 +21304,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -20993,8 +21414,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -21077,7 +21500,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -21146,6 +21570,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -21164,7 +21595,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -21206,7 +21638,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -21262,7 +21695,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified Endpoints", "operationId": "patchNamespacedEndpoints", @@ -21308,7 +21742,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -21381,7 +21816,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -21458,6 +21894,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -21518,7 +21961,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -21627,8 +22071,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -21711,7 +22157,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -21780,6 +22227,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -21798,7 +22252,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -21840,7 +22295,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -21896,7 +22352,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified Event", "operationId": "patchNamespacedEvent", @@ -21942,7 +22399,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -22015,7 +22473,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -22092,6 +22551,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -22152,7 +22618,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -22261,8 +22728,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -22345,7 +22814,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -22414,6 +22884,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -22432,7 +22909,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -22474,7 +22952,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -22530,7 +23009,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified LimitRange", "operationId": "patchNamespacedLimitRange", @@ -22576,7 +23056,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -22649,7 +23130,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -22726,6 +23208,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -22786,7 +23275,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -22895,8 +23385,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -22979,7 +23471,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -23048,6 +23541,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -23066,7 +23566,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -23108,7 +23609,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -23164,7 +23666,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified PersistentVolumeClaim", "operationId": "patchNamespacedPersistentVolumeClaim", @@ -23210,7 +23713,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -23283,7 +23787,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -23327,7 +23832,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -23383,7 +23889,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified PersistentVolumeClaim", "operationId": "patchNamespacedPersistentVolumeClaimStatus", @@ -23429,7 +23936,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -23502,7 +24010,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -23579,6 +24088,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -23639,7 +24155,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -23748,8 +24265,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -23832,7 +24351,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -23901,6 +24421,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -23919,7 +24446,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -23961,7 +24489,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -24017,7 +24546,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified Pod", "operationId": "patchNamespacedPod", @@ -24063,7 +24593,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -24136,7 +24667,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -24357,7 +24889,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -24407,7 +24940,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -24463,7 +24997,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update ephemeralcontainers of the specified Pod", "operationId": "patchNamespacedPodEphemeralcontainers", @@ -24509,7 +25044,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -24582,7 +25118,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -24682,7 +25219,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -24861,7 +25399,8 @@ "text/plain", "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -24954,7 +25493,14 @@ "uniqueItems": true }, { - "description": "If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime", + "description": "Specify which container log stream to return to the client. Acceptable values are \"All\", \"Stdout\" and \"Stderr\". If not specified, \"All\" is used, and both stdout and stderr are returned interleaved. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\".", + "in": "query", + "name": "stream", + "type": "string", + "uniqueItems": true + }, + { + "description": "If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\".", "in": "query", "name": "tailLines", "type": "integer", @@ -25586,6 +26132,229 @@ } } }, + "/api/v1/namespaces/{namespace}/pods/{name}/resize": { + "get": { + "consumes": [ + "*/*" + ], + "description": "read resize of the specified Pod", + "operationId": "readNamespacedPodResize", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Pod" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" + } + }, + "parameters": [ + { + "description": "name of the Pod", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml", + "application/apply-patch+cbor" + ], + "description": "partially update resize of the specified Pod", + "operationId": "patchNamespacedPodResize", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Pod" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Pod" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace resize of the specified Pod", + "operationId": "replaceNamespacedPodResize", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Pod" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Pod" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Pod" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + } + }, "/api/v1/namespaces/{namespace}/pods/{name}/status": { "get": { "consumes": [ @@ -25596,7 +26365,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -25652,7 +26422,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified Pod", "operationId": "patchNamespacedPodStatus", @@ -25698,7 +26469,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -25771,7 +26543,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -25848,6 +26621,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -25908,7 +26688,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -26017,8 +26798,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -26101,7 +26884,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -26170,6 +26954,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -26188,7 +26979,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -26230,7 +27022,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -26286,7 +27079,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified PodTemplate", "operationId": "patchNamespacedPodTemplate", @@ -26332,7 +27126,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -26405,7 +27200,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -26482,6 +27278,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -26542,7 +27345,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -26651,8 +27455,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -26735,7 +27541,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -26804,6 +27611,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -26822,7 +27636,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -26864,7 +27679,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -26920,7 +27736,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified ReplicationController", "operationId": "patchNamespacedReplicationController", @@ -26966,7 +27783,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -27039,7 +27857,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -27083,7 +27902,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -27139,7 +27959,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update scale of the specified ReplicationController", "operationId": "patchNamespacedReplicationControllerScale", @@ -27185,7 +28006,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -27258,7 +28080,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -27302,7 +28125,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -27358,7 +28182,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified ReplicationController", "operationId": "patchNamespacedReplicationControllerStatus", @@ -27404,7 +28229,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -27477,7 +28303,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -27554,6 +28381,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -27614,7 +28448,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -27723,8 +28558,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -27807,7 +28644,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -27876,6 +28714,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -27894,7 +28739,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -27936,7 +28782,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -27992,7 +28839,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified ResourceQuota", "operationId": "patchNamespacedResourceQuota", @@ -28038,7 +28886,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -28111,7 +28960,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -28155,7 +29005,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -28211,7 +29062,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified ResourceQuota", "operationId": "patchNamespacedResourceQuotaStatus", @@ -28257,7 +29109,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -28330,7 +29183,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -28407,6 +29261,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -28467,7 +29328,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -28576,8 +29438,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -28660,7 +29524,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -28729,6 +29594,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -28747,7 +29619,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -28789,7 +29662,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -28845,7 +29719,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified Secret", "operationId": "patchNamespacedSecret", @@ -28891,7 +29766,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -28964,7 +29840,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -29041,6 +29918,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -29101,7 +29985,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -29210,8 +30095,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -29294,7 +30181,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -29363,6 +30251,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -29381,7 +30276,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -29423,7 +30319,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -29479,7 +30376,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified ServiceAccount", "operationId": "patchNamespacedServiceAccount", @@ -29525,7 +30423,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -29598,7 +30497,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -29698,7 +30598,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -29781,6 +30682,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -29841,7 +30749,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -29950,8 +30859,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -30034,7 +30945,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -30103,6 +31015,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -30121,7 +31040,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -30163,7 +31083,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -30219,7 +31140,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified Service", "operationId": "patchNamespacedService", @@ -30265,7 +31187,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -30338,7 +31261,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -30906,7 +31830,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -30962,7 +31887,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified Service", "operationId": "patchNamespacedServiceStatus", @@ -31008,7 +31934,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -31081,7 +32008,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -31144,6 +32072,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -31162,7 +32097,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -31204,7 +32140,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -31252,7 +32189,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified Namespace", "operationId": "patchNamespace", @@ -31298,7 +32236,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -31371,7 +32310,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -31463,7 +32403,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -31507,7 +32448,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -31555,7 +32497,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified Namespace", "operationId": "patchNamespaceStatus", @@ -31601,7 +32544,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -31674,7 +32618,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -31751,6 +32696,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -31811,7 +32763,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -31920,8 +32873,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -31996,7 +32951,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -32065,6 +33021,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -32083,7 +33046,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -32125,7 +33089,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -32173,7 +33138,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified Node", "operationId": "patchNode", @@ -32219,7 +33185,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -32292,7 +33259,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -32844,7 +33812,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -32892,7 +33861,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified Node", "operationId": "patchNodeStatus", @@ -32938,7 +33908,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -33011,7 +33982,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -33056,8 +34028,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -33206,6 +34180,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -33266,7 +34247,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -33375,8 +34357,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -33451,7 +34435,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -33520,6 +34505,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -33538,7 +34530,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -33580,7 +34573,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -33628,7 +34622,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified PersistentVolume", "operationId": "patchPersistentVolume", @@ -33674,7 +34669,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -33747,7 +34743,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -33791,7 +34788,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -33839,7 +34837,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified PersistentVolume", "operationId": "patchPersistentVolumeStatus", @@ -33885,7 +34884,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -33958,7 +34958,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -34003,8 +35004,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -34121,8 +35124,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -34239,8 +35244,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -34357,8 +35364,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -34475,8 +35484,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -34593,8 +35604,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -34711,8 +35724,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -38603,14 +39618,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -38674,6 +39691,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -38734,7 +39758,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -38843,8 +39868,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -38919,7 +39946,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -38988,6 +40016,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -39006,7 +40041,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -39048,7 +40084,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -39096,7 +40133,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified MutatingWebhookConfiguration", "operationId": "patchMutatingWebhookConfiguration", @@ -39142,7 +40180,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -39215,7 +40254,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -39292,6 +40332,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -39352,7 +40399,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -39461,8 +40509,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -39537,7 +40587,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -39606,6 +40657,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -39624,7 +40682,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -39666,7 +40725,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -39714,7 +40774,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified ValidatingAdmissionPolicy", "operationId": "patchValidatingAdmissionPolicy", @@ -39760,7 +40821,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -39833,7 +40895,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -39877,7 +40940,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -39925,7 +40989,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified ValidatingAdmissionPolicy", "operationId": "patchValidatingAdmissionPolicyStatus", @@ -39971,7 +41036,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -40044,7 +41110,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -40121,6 +41188,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -40181,7 +41255,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -40290,8 +41365,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -40366,7 +41443,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -40435,6 +41513,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -40453,7 +41538,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -40495,7 +41581,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -40543,7 +41630,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified ValidatingAdmissionPolicyBinding", "operationId": "patchValidatingAdmissionPolicyBinding", @@ -40589,7 +41677,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -40662,7 +41751,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -40739,6 +41829,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -40799,7 +41896,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -40908,8 +42006,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -40984,7 +42084,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -41053,6 +42154,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -41071,7 +42179,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -41113,7 +42222,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -41161,7 +42271,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified ValidatingWebhookConfiguration", "operationId": "patchValidatingWebhookConfiguration", @@ -41207,7 +42318,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -41280,7 +42392,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -41999,14 +43112,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -42027,13 +43142,13 @@ ] } }, - "/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies": { + "/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of ValidatingAdmissionPolicy", - "operationId": "deleteCollectionValidatingAdmissionPolicy", + "description": "delete collection of MutatingAdmissionPolicy", + "operationId": "deleteCollectionMutatingAdmissionPolicy", "parameters": [ { "in": "body", @@ -42070,6 +43185,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -42130,7 +43252,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -42152,7 +43275,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicy", + "kind": "MutatingAdmissionPolicy", "version": "v1alpha1" }, "x-codegen-request-body-name": "body" @@ -42161,8 +43284,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind ValidatingAdmissionPolicy", - "operationId": "listValidatingAdmissionPolicy", + "description": "list or watch objects of kind MutatingAdmissionPolicy", + "operationId": "listMutatingAdmissionPolicy", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -42239,14 +43362,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyList" + "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicyList" } }, "401": { @@ -42262,7 +43387,7 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicy", + "kind": "MutatingAdmissionPolicy", "version": "v1alpha1" } }, @@ -42279,15 +43404,15 @@ "consumes": [ "*/*" ], - "description": "create a ValidatingAdmissionPolicy", - "operationId": "createValidatingAdmissionPolicy", + "description": "create a MutatingAdmissionPolicy", + "operationId": "createMutatingAdmissionPolicy", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy" + "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicy" } }, { @@ -42315,25 +43440,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy" + "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicy" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy" + "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicy" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy" + "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicy" } }, "401": { @@ -42349,19 +43475,19 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicy", + "kind": "MutatingAdmissionPolicy", "version": "v1alpha1" }, "x-codegen-request-body-name": "body" } }, - "/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies/{name}": { + "/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a ValidatingAdmissionPolicy", - "operationId": "deleteValidatingAdmissionPolicy", + "description": "delete a MutatingAdmissionPolicy", + "operationId": "deleteMutatingAdmissionPolicy", "parameters": [ { "in": "body", @@ -42384,6 +43510,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -42402,7 +43535,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -42430,7 +43564,7 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicy", + "kind": "MutatingAdmissionPolicy", "version": "v1alpha1" }, "x-codegen-request-body-name": "body" @@ -42439,229 +43573,19 @@ "consumes": [ "*/*" ], - "description": "read the specified ValidatingAdmissionPolicy", - "operationId": "readValidatingAdmissionPolicy", + "description": "read the specified MutatingAdmissionPolicy", + "operationId": "readMutatingAdmissionPolicy", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1alpha1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicy", - "version": "v1alpha1" - } - }, - "parameters": [ - { - "description": "name of the ValidatingAdmissionPolicy", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ValidatingAdmissionPolicy", - "operationId": "patchValidatingAdmissionPolicy", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1alpha1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicy", - "version": "v1alpha1" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ValidatingAdmissionPolicy", - "operationId": "replaceValidatingAdmissionPolicy", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1alpha1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicy", - "version": "v1alpha1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified ValidatingAdmissionPolicy", - "operationId": "readValidatingAdmissionPolicyStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy" + "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicy" } }, "401": { @@ -42677,13 +43601,13 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicy", + "kind": "MutatingAdmissionPolicy", "version": "v1alpha1" } }, "parameters": [ { - "description": "name of the ValidatingAdmissionPolicy", + "description": "name of the MutatingAdmissionPolicy", "in": "path", "name": "name", "required": true, @@ -42703,10 +43627,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update status of the specified ValidatingAdmissionPolicy", - "operationId": "patchValidatingAdmissionPolicyStatus", + "description": "partially update the specified MutatingAdmissionPolicy", + "operationId": "patchMutatingAdmissionPolicy", "parameters": [ { "in": "body", @@ -42749,19 +43674,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy" + "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicy" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy" + "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicy" } }, "401": { @@ -42777,7 +43703,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicy", + "kind": "MutatingAdmissionPolicy", "version": "v1alpha1" }, "x-codegen-request-body-name": "body" @@ -42786,15 +43712,15 @@ "consumes": [ "*/*" ], - "description": "replace status of the specified ValidatingAdmissionPolicy", - "operationId": "replaceValidatingAdmissionPolicyStatus", + "description": "replace the specified MutatingAdmissionPolicy", + "operationId": "replaceMutatingAdmissionPolicy", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy" + "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicy" } }, { @@ -42822,19 +43748,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy" + "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicy" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy" + "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicy" } }, "401": { @@ -42850,19 +43777,19 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicy", + "kind": "MutatingAdmissionPolicy", "version": "v1alpha1" }, "x-codegen-request-body-name": "body" } }, - "/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicybindings": { + "/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of ValidatingAdmissionPolicyBinding", - "operationId": "deleteCollectionValidatingAdmissionPolicyBinding", + "description": "delete collection of MutatingAdmissionPolicyBinding", + "operationId": "deleteCollectionMutatingAdmissionPolicyBinding", "parameters": [ { "in": "body", @@ -42899,6 +43826,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -42959,7 +43893,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -42981,7 +43916,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicyBinding", + "kind": "MutatingAdmissionPolicyBinding", "version": "v1alpha1" }, "x-codegen-request-body-name": "body" @@ -42990,8 +43925,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind ValidatingAdmissionPolicyBinding", - "operationId": "listValidatingAdmissionPolicyBinding", + "description": "list or watch objects of kind MutatingAdmissionPolicyBinding", + "operationId": "listMutatingAdmissionPolicyBinding", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -43068,14 +44003,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyBindingList" + "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicyBindingList" } }, "401": { @@ -43091,7 +44028,7 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicyBinding", + "kind": "MutatingAdmissionPolicyBinding", "version": "v1alpha1" } }, @@ -43108,15 +44045,15 @@ "consumes": [ "*/*" ], - "description": "create a ValidatingAdmissionPolicyBinding", - "operationId": "createValidatingAdmissionPolicyBinding", + "description": "create a MutatingAdmissionPolicyBinding", + "operationId": "createMutatingAdmissionPolicyBinding", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyBinding" + "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicyBinding" } }, { @@ -43144,25 +44081,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyBinding" + "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicyBinding" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyBinding" + "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicyBinding" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyBinding" + "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicyBinding" } }, "401": { @@ -43178,19 +44116,19 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicyBinding", + "kind": "MutatingAdmissionPolicyBinding", "version": "v1alpha1" }, "x-codegen-request-body-name": "body" } }, - "/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicybindings/{name}": { + "/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a ValidatingAdmissionPolicyBinding", - "operationId": "deleteValidatingAdmissionPolicyBinding", + "description": "delete a MutatingAdmissionPolicyBinding", + "operationId": "deleteMutatingAdmissionPolicyBinding", "parameters": [ { "in": "body", @@ -43213,6 +44151,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -43231,7 +44176,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -43259,7 +44205,7 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicyBinding", + "kind": "MutatingAdmissionPolicyBinding", "version": "v1alpha1" }, "x-codegen-request-body-name": "body" @@ -43268,18 +44214,19 @@ "consumes": [ "*/*" ], - "description": "read the specified ValidatingAdmissionPolicyBinding", - "operationId": "readValidatingAdmissionPolicyBinding", + "description": "read the specified MutatingAdmissionPolicyBinding", + "operationId": "readMutatingAdmissionPolicyBinding", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyBinding" + "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicyBinding" } }, "401": { @@ -43295,13 +44242,13 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicyBinding", + "kind": "MutatingAdmissionPolicyBinding", "version": "v1alpha1" } }, "parameters": [ { - "description": "name of the ValidatingAdmissionPolicyBinding", + "description": "name of the MutatingAdmissionPolicyBinding", "in": "path", "name": "name", "required": true, @@ -43321,10 +44268,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified ValidatingAdmissionPolicyBinding", - "operationId": "patchValidatingAdmissionPolicyBinding", + "description": "partially update the specified MutatingAdmissionPolicyBinding", + "operationId": "patchMutatingAdmissionPolicyBinding", "parameters": [ { "in": "body", @@ -43367,19 +44315,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyBinding" + "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicyBinding" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyBinding" + "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicyBinding" } }, "401": { @@ -43395,7 +44344,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicyBinding", + "kind": "MutatingAdmissionPolicyBinding", "version": "v1alpha1" }, "x-codegen-request-body-name": "body" @@ -43404,15 +44353,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified ValidatingAdmissionPolicyBinding", - "operationId": "replaceValidatingAdmissionPolicyBinding", + "description": "replace the specified MutatingAdmissionPolicyBinding", + "operationId": "replaceMutatingAdmissionPolicyBinding", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyBinding" + "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicyBinding" } }, { @@ -43440,19 +44389,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyBinding" + "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicyBinding" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyBinding" + "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicyBinding" } }, "401": { @@ -43468,13 +44418,13 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicyBinding", + "kind": "MutatingAdmissionPolicyBinding", "version": "v1alpha1" }, "x-codegen-request-body-name": "body" } }, - "/apis/admissionregistration.k8s.io/v1alpha1/watch/validatingadmissionpolicies": { + "/apis/admissionregistration.k8s.io/v1alpha1/watch/mutatingadmissionpolicies": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -43555,7 +44505,7 @@ } ] }, - "/apis/admissionregistration.k8s.io/v1alpha1/watch/validatingadmissionpolicies/{name}": { + "/apis/admissionregistration.k8s.io/v1alpha1/watch/mutatingadmissionpolicies/{name}": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -43593,7 +44543,7 @@ "uniqueItems": true }, { - "description": "name of the ValidatingAdmissionPolicy", + "description": "name of the MutatingAdmissionPolicy", "in": "path", "name": "name", "required": true, @@ -43644,7 +44594,7 @@ } ] }, - "/apis/admissionregistration.k8s.io/v1alpha1/watch/validatingadmissionpolicybindings": { + "/apis/admissionregistration.k8s.io/v1alpha1/watch/mutatingadmissionpolicybindings": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -43725,7 +44675,7 @@ } ] }, - "/apis/admissionregistration.k8s.io/v1alpha1/watch/validatingadmissionpolicybindings/{name}": { + "/apis/admissionregistration.k8s.io/v1alpha1/watch/mutatingadmissionpolicybindings/{name}": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -43763,7 +44713,7 @@ "uniqueItems": true }, { - "description": "name of the ValidatingAdmissionPolicyBinding", + "description": "name of the MutatingAdmissionPolicyBinding", "in": "path", "name": "name", "required": true, @@ -43819,14 +44769,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -43890,6 +44842,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -43950,7 +44909,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -44059,8 +45019,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -44135,7 +45097,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -44204,6 +45167,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -44222,7 +45192,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -44264,7 +45235,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -44312,7 +45284,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified ValidatingAdmissionPolicy", "operationId": "patchValidatingAdmissionPolicy", @@ -44358,7 +45331,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -44431,7 +45405,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -44475,7 +45450,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -44523,7 +45499,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified ValidatingAdmissionPolicy", "operationId": "patchValidatingAdmissionPolicyStatus", @@ -44569,7 +45546,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -44642,7 +45620,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -44719,6 +45698,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -44779,7 +45765,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -44888,8 +45875,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -44964,7 +45953,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -45033,6 +46023,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -45051,7 +46048,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -45093,7 +46091,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -45141,7 +46140,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified ValidatingAdmissionPolicyBinding", "operationId": "patchValidatingAdmissionPolicyBinding", @@ -45187,7 +46187,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -45260,7 +46261,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -45672,14 +46674,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -45743,6 +46747,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -45803,7 +46814,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -45912,8 +46924,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -45988,7 +47002,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -46057,6 +47072,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -46075,7 +47097,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -46117,7 +47140,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -46165,7 +47189,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified CustomResourceDefinition", "operationId": "patchCustomResourceDefinition", @@ -46211,7 +47236,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -46284,7 +47310,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -46328,7 +47355,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -46376,7 +47404,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified CustomResourceDefinition", "operationId": "patchCustomResourceDefinitionStatus", @@ -46422,7 +47451,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -46495,7 +47525,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -46737,14 +47768,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -46808,6 +47841,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -46868,7 +47908,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -46977,8 +48018,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -47053,7 +48096,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -47122,6 +48166,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -47140,7 +48191,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -47182,7 +48234,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -47230,7 +48283,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified APIService", "operationId": "patchAPIService", @@ -47276,7 +48330,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -47349,7 +48404,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -47393,7 +48449,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -47441,7 +48498,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified APIService", "operationId": "patchAPIServiceStatus", @@ -47487,7 +48545,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -47560,7 +48619,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -47802,14 +48862,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -47841,8 +48903,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -47959,8 +49023,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -48077,8 +49143,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -48227,6 +49295,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -48287,7 +49362,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -48396,8 +49472,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -48480,7 +49558,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -48549,6 +49628,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -48567,7 +49653,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -48609,7 +49696,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -48665,7 +49753,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified ControllerRevision", "operationId": "patchNamespacedControllerRevision", @@ -48711,7 +49800,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -48784,7 +49874,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -48861,6 +49952,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -48921,7 +50019,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -49030,8 +50129,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -49114,7 +50215,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -49183,6 +50285,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -49201,7 +50310,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -49243,7 +50353,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -49299,7 +50410,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified DaemonSet", "operationId": "patchNamespacedDaemonSet", @@ -49345,7 +50457,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -49418,7 +50531,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -49462,7 +50576,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -49518,7 +50633,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified DaemonSet", "operationId": "patchNamespacedDaemonSetStatus", @@ -49564,7 +50680,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -49637,7 +50754,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -49714,6 +50832,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -49774,7 +50899,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -49883,8 +51009,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -49967,7 +51095,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -50036,6 +51165,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -50054,7 +51190,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -50096,7 +51233,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -50152,7 +51290,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified Deployment", "operationId": "patchNamespacedDeployment", @@ -50198,7 +51337,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -50271,7 +51411,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -50315,7 +51456,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -50371,7 +51513,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update scale of the specified Deployment", "operationId": "patchNamespacedDeploymentScale", @@ -50417,7 +51560,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -50490,7 +51634,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -50534,7 +51679,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -50590,7 +51736,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified Deployment", "operationId": "patchNamespacedDeploymentStatus", @@ -50636,7 +51783,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -50709,7 +51857,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -50786,6 +51935,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -50846,7 +52002,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -50955,8 +52112,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -51039,7 +52198,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -51108,6 +52268,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -51126,7 +52293,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -51168,7 +52336,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -51224,7 +52393,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified ReplicaSet", "operationId": "patchNamespacedReplicaSet", @@ -51270,7 +52440,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -51343,7 +52514,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -51387,7 +52559,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -51443,7 +52616,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update scale of the specified ReplicaSet", "operationId": "patchNamespacedReplicaSetScale", @@ -51489,7 +52663,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -51562,7 +52737,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -51606,7 +52782,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -51662,7 +52839,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified ReplicaSet", "operationId": "patchNamespacedReplicaSetStatus", @@ -51708,7 +52886,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -51781,7 +52960,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -51858,6 +53038,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -51918,7 +53105,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -52027,8 +53215,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -52111,7 +53301,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -52180,6 +53371,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -52198,7 +53396,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -52240,7 +53439,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -52296,7 +53496,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified StatefulSet", "operationId": "patchNamespacedStatefulSet", @@ -52342,7 +53543,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -52415,7 +53617,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -52459,7 +53662,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -52515,7 +53719,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update scale of the specified StatefulSet", "operationId": "patchNamespacedStatefulSetScale", @@ -52561,7 +53766,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -52634,7 +53840,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -52678,7 +53885,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -52734,7 +53942,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified StatefulSet", "operationId": "patchNamespacedStatefulSetStatus", @@ -52780,7 +53989,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -52853,7 +54063,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -52898,8 +54109,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -53016,8 +54229,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -54496,14 +55711,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -54574,7 +55791,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -54664,7 +55882,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -54704,142 +55923,21 @@ "x-codegen-request-body-name": "body" } }, - "/apis/authentication.k8s.io/v1alpha1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAPIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authentication_v1alpha1" - ] - } - }, - "/apis/authentication.k8s.io/v1alpha1/selfsubjectreviews": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a SelfSubjectReview", - "operationId": "createSelfSubjectReview", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1alpha1.SelfSubjectReview" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha1.SelfSubjectReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1alpha1.SelfSubjectReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1alpha1.SelfSubjectReview" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authentication_v1alpha1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "authentication.k8s.io", - "kind": "SelfSubjectReview", - "version": "v1alpha1" - }, - "x-codegen-request-body-name": "body" - } - }, "/apis/authentication.k8s.io/v1beta1/": { "get": { "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -54910,7 +56008,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -54988,14 +56087,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -55074,7 +56175,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -55164,7 +56266,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -55254,7 +56357,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -55344,7 +56448,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -55422,14 +56527,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -55461,8 +56568,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -55611,6 +56720,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -55671,7 +56787,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -55780,8 +56897,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -55864,7 +56983,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -55933,6 +57053,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -55951,7 +57078,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -55993,7 +57121,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -56049,7 +57178,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified HorizontalPodAutoscaler", "operationId": "patchNamespacedHorizontalPodAutoscaler", @@ -56095,7 +57225,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -56168,7 +57299,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -56212,7 +57344,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -56268,7 +57401,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified HorizontalPodAutoscaler", "operationId": "patchNamespacedHorizontalPodAutoscalerStatus", @@ -56314,7 +57448,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -56387,7 +57522,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -56693,14 +57829,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -56732,8 +57870,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -56882,6 +58022,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -56942,7 +58089,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -57051,8 +58199,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -57135,7 +58285,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -57204,6 +58355,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -57222,7 +58380,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -57264,7 +58423,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -57320,7 +58480,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified HorizontalPodAutoscaler", "operationId": "patchNamespacedHorizontalPodAutoscaler", @@ -57366,7 +58527,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -57439,7 +58601,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -57483,7 +58646,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -57539,7 +58703,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified HorizontalPodAutoscaler", "operationId": "patchNamespacedHorizontalPodAutoscalerStatus", @@ -57585,7 +58750,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -57658,7 +58824,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -57997,14 +59164,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -58036,8 +59205,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -58154,8 +59325,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -58304,6 +59477,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -58364,7 +59544,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -58473,8 +59654,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -58557,7 +59740,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -58626,6 +59810,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -58644,7 +59835,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -58686,7 +59878,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -58742,7 +59935,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified CronJob", "operationId": "patchNamespacedCronJob", @@ -58788,7 +59982,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -58861,7 +60056,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -58905,7 +60101,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -58961,7 +60158,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified CronJob", "operationId": "patchNamespacedCronJobStatus", @@ -59007,7 +60205,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -59080,7 +60279,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -59157,6 +60357,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -59217,7 +60424,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -59326,8 +60534,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -59410,7 +60620,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -59479,6 +60690,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -59497,7 +60715,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -59539,7 +60758,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -59595,7 +60815,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified Job", "operationId": "patchNamespacedJob", @@ -59641,7 +60862,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -59714,7 +60936,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -59758,7 +60981,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -59814,7 +61038,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified Job", "operationId": "patchNamespacedJobStatus", @@ -59860,7 +61085,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -59933,7 +61159,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -60539,14 +61766,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -60610,6 +61839,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -60670,7 +61906,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -60779,8 +62016,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -60855,7 +62094,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -60924,6 +62164,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -60942,7 +62189,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -60984,7 +62232,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -61032,7 +62281,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified CertificateSigningRequest", "operationId": "patchCertificateSigningRequest", @@ -61078,7 +62328,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -61151,7 +62402,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -61195,7 +62447,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -61243,7 +62496,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update approval of the specified CertificateSigningRequest", "operationId": "patchCertificateSigningRequestApproval", @@ -61289,7 +62543,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -61362,7 +62617,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -61406,7 +62662,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -61454,7 +62711,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified CertificateSigningRequest", "operationId": "patchCertificateSigningRequestStatus", @@ -61500,7 +62758,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -61573,7 +62832,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -61782,14 +63042,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -61853,6 +63115,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -61913,7 +63182,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -62022,8 +63292,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -62098,7 +63370,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -62167,6 +63440,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -62185,7 +63465,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -62227,7 +63508,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -62275,7 +63557,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified ClusterTrustBundle", "operationId": "patchClusterTrustBundle", @@ -62321,7 +63604,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -62394,7 +63678,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -62636,14 +63921,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -62675,8 +63962,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -62825,6 +64114,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -62885,7 +64181,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -62994,8 +64291,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -63078,7 +64377,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -63147,6 +64447,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -63165,7 +64472,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -63207,7 +64515,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -63263,7 +64572,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified Lease", "operationId": "patchNamespacedLease", @@ -63309,7 +64619,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -63382,7 +64693,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -63683,52 +64995,21 @@ } ] }, - "/apis/discovery.k8s.io/": { + "/apis/coordination.k8s.io/v1alpha2/": { "get": { "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery" - ] - } - }, - "/apis/discovery.k8s.io/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -63745,29 +65026,31 @@ "https" ], "tags": [ - "discovery_v1" + "coordination_v1alpha2" ] } }, - "/apis/discovery.k8s.io/v1/endpointslices": { + "/apis/coordination.k8s.io/v1alpha2/leasecandidates": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind EndpointSlice", - "operationId": "listEndpointSliceForAllNamespaces", + "description": "list or watch objects of kind LeaseCandidate", + "operationId": "listLeaseCandidateForAllNamespaces", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.EndpointSliceList" + "$ref": "#/definitions/v1alpha2.LeaseCandidateList" } }, "401": { @@ -63778,13 +65061,13 @@ "https" ], "tags": [ - "discovery_v1" + "coordination_v1alpha2" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha2" } }, "parameters": [ @@ -63867,13 +65150,13 @@ } ] }, - "/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices": { + "/apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of EndpointSlice", - "operationId": "deleteCollectionNamespacedEndpointSlice", + "description": "delete collection of LeaseCandidate", + "operationId": "deleteCollectionNamespacedLeaseCandidate", "parameters": [ { "in": "body", @@ -63910,6 +65193,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -63970,7 +65260,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -63987,13 +65278,13 @@ "https" ], "tags": [ - "discovery_v1" + "coordination_v1alpha2" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha2" }, "x-codegen-request-body-name": "body" }, @@ -64001,8 +65292,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind EndpointSlice", - "operationId": "listNamespacedEndpointSlice", + "description": "list or watch objects of kind LeaseCandidate", + "operationId": "listNamespacedLeaseCandidate", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -64079,14 +65370,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.EndpointSliceList" + "$ref": "#/definitions/v1alpha2.LeaseCandidateList" } }, "401": { @@ -64097,13 +65390,13 @@ "https" ], "tags": [ - "discovery_v1" + "coordination_v1alpha2" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha2" } }, "parameters": [ @@ -64127,15 +65420,15 @@ "consumes": [ "*/*" ], - "description": "create an EndpointSlice", - "operationId": "createNamespacedEndpointSlice", + "description": "create a LeaseCandidate", + "operationId": "createNamespacedLeaseCandidate", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.EndpointSlice" + "$ref": "#/definitions/v1alpha2.LeaseCandidate" } }, { @@ -64163,25 +65456,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.EndpointSlice" + "$ref": "#/definitions/v1alpha2.LeaseCandidate" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.EndpointSlice" + "$ref": "#/definitions/v1alpha2.LeaseCandidate" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.EndpointSlice" + "$ref": "#/definitions/v1alpha2.LeaseCandidate" } }, "401": { @@ -64192,24 +65486,24 @@ "https" ], "tags": [ - "discovery_v1" + "coordination_v1alpha2" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha2" }, "x-codegen-request-body-name": "body" } }, - "/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices/{name}": { + "/apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete an EndpointSlice", - "operationId": "deleteNamespacedEndpointSlice", + "description": "delete a LeaseCandidate", + "operationId": "deleteNamespacedLeaseCandidate", "parameters": [ { "in": "body", @@ -64232,6 +65526,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -64250,7 +65551,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -64273,13 +65575,13 @@ "https" ], "tags": [ - "discovery_v1" + "coordination_v1alpha2" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha2" }, "x-codegen-request-body-name": "body" }, @@ -64287,18 +65589,19 @@ "consumes": [ "*/*" ], - "description": "read the specified EndpointSlice", - "operationId": "readNamespacedEndpointSlice", + "description": "read the specified LeaseCandidate", + "operationId": "readNamespacedLeaseCandidate", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.EndpointSlice" + "$ref": "#/definitions/v1alpha2.LeaseCandidate" } }, "401": { @@ -64309,18 +65612,18 @@ "https" ], "tags": [ - "discovery_v1" + "coordination_v1alpha2" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha2" } }, "parameters": [ { - "description": "name of the EndpointSlice", + "description": "name of the LeaseCandidate", "in": "path", "name": "name", "required": true, @@ -64348,10 +65651,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified EndpointSlice", - "operationId": "patchNamespacedEndpointSlice", + "description": "partially update the specified LeaseCandidate", + "operationId": "patchNamespacedLeaseCandidate", "parameters": [ { "in": "body", @@ -64394,19 +65698,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.EndpointSlice" + "$ref": "#/definitions/v1alpha2.LeaseCandidate" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.EndpointSlice" + "$ref": "#/definitions/v1alpha2.LeaseCandidate" } }, "401": { @@ -64417,13 +65722,13 @@ "https" ], "tags": [ - "discovery_v1" + "coordination_v1alpha2" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha2" }, "x-codegen-request-body-name": "body" }, @@ -64431,15 +65736,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified EndpointSlice", - "operationId": "replaceNamespacedEndpointSlice", + "description": "replace the specified LeaseCandidate", + "operationId": "replaceNamespacedLeaseCandidate", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.EndpointSlice" + "$ref": "#/definitions/v1alpha2.LeaseCandidate" } }, { @@ -64467,19 +65772,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.EndpointSlice" + "$ref": "#/definitions/v1alpha2.LeaseCandidate" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.EndpointSlice" + "$ref": "#/definitions/v1alpha2.LeaseCandidate" } }, "401": { @@ -64490,18 +65796,18 @@ "https" ], "tags": [ - "discovery_v1" + "coordination_v1alpha2" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha2" }, "x-codegen-request-body-name": "body" } }, - "/apis/discovery.k8s.io/v1/watch/endpointslices": { + "/apis/coordination.k8s.io/v1alpha2/watch/leasecandidates": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -64582,7 +65888,7 @@ } ] }, - "/apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices": { + "/apis/coordination.k8s.io/v1alpha2/watch/namespaces/{namespace}/leasecandidates": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -64671,7 +65977,7 @@ } ] }, - "/apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices/{name}": { + "/apis/coordination.k8s.io/v1alpha2/watch/namespaces/{namespace}/leasecandidates/{name}": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -64709,7 +66015,7 @@ "uniqueItems": true }, { - "description": "name of the EndpointSlice", + "description": "name of the LeaseCandidate", "in": "path", "name": "name", "required": true, @@ -64768,7 +66074,7 @@ } ] }, - "/apis/events.k8s.io/": { + "/apis/discovery.k8s.io/": { "get": { "consumes": [ "application/json", @@ -64797,23 +66103,25 @@ "https" ], "tags": [ - "events" + "discovery" ] } }, - "/apis/events.k8s.io/v1/": { + "/apis/discovery.k8s.io/v1/": { "get": { "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -64830,29 +66138,31 @@ "https" ], "tags": [ - "events_v1" + "discovery_v1" ] } }, - "/apis/events.k8s.io/v1/events": { + "/apis/discovery.k8s.io/v1/endpointslices": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind Event", - "operationId": "listEventForAllNamespaces", + "description": "list or watch objects of kind EndpointSlice", + "operationId": "listEndpointSliceForAllNamespaces", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/events.v1.EventList" + "$ref": "#/definitions/v1.EndpointSliceList" } }, "401": { @@ -64863,12 +66173,12 @@ "https" ], "tags": [ - "events_v1" + "discovery_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1" } }, @@ -64952,13 +66262,13 @@ } ] }, - "/apis/events.k8s.io/v1/namespaces/{namespace}/events": { + "/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of Event", - "operationId": "deleteCollectionNamespacedEvent", + "description": "delete collection of EndpointSlice", + "operationId": "deleteCollectionNamespacedEndpointSlice", "parameters": [ { "in": "body", @@ -64995,6 +66305,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -65055,7 +66372,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -65072,12 +66390,12 @@ "https" ], "tags": [ - "events_v1" + "discovery_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1" }, "x-codegen-request-body-name": "body" @@ -65086,8 +66404,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind Event", - "operationId": "listNamespacedEvent", + "description": "list or watch objects of kind EndpointSlice", + "operationId": "listNamespacedEndpointSlice", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -65164,14 +66482,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/events.v1.EventList" + "$ref": "#/definitions/v1.EndpointSliceList" } }, "401": { @@ -65182,12 +66502,12 @@ "https" ], "tags": [ - "events_v1" + "discovery_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1" } }, @@ -65212,15 +66532,15 @@ "consumes": [ "*/*" ], - "description": "create an Event", - "operationId": "createNamespacedEvent", + "description": "create an EndpointSlice", + "operationId": "createNamespacedEndpointSlice", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/events.v1.Event" + "$ref": "#/definitions/v1.EndpointSlice" } }, { @@ -65248,25 +66568,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/events.v1.Event" + "$ref": "#/definitions/v1.EndpointSlice" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/events.v1.Event" + "$ref": "#/definitions/v1.EndpointSlice" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/events.v1.Event" + "$ref": "#/definitions/v1.EndpointSlice" } }, "401": { @@ -65277,24 +66598,24 @@ "https" ], "tags": [ - "events_v1" + "discovery_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/events.k8s.io/v1/namespaces/{namespace}/events/{name}": { + "/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete an Event", - "operationId": "deleteNamespacedEvent", + "description": "delete an EndpointSlice", + "operationId": "deleteNamespacedEndpointSlice", "parameters": [ { "in": "body", @@ -65317,6 +66638,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -65335,7 +66663,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -65358,12 +66687,12 @@ "https" ], "tags": [ - "events_v1" + "discovery_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1" }, "x-codegen-request-body-name": "body" @@ -65372,18 +66701,19 @@ "consumes": [ "*/*" ], - "description": "read the specified Event", - "operationId": "readNamespacedEvent", + "description": "read the specified EndpointSlice", + "operationId": "readNamespacedEndpointSlice", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/events.v1.Event" + "$ref": "#/definitions/v1.EndpointSlice" } }, "401": { @@ -65394,18 +66724,18 @@ "https" ], "tags": [ - "events_v1" + "discovery_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1" } }, "parameters": [ { - "description": "name of the Event", + "description": "name of the EndpointSlice", "in": "path", "name": "name", "required": true, @@ -65433,10 +66763,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified Event", - "operationId": "patchNamespacedEvent", + "description": "partially update the specified EndpointSlice", + "operationId": "patchNamespacedEndpointSlice", "parameters": [ { "in": "body", @@ -65479,19 +66810,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/events.v1.Event" + "$ref": "#/definitions/v1.EndpointSlice" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/events.v1.Event" + "$ref": "#/definitions/v1.EndpointSlice" } }, "401": { @@ -65502,12 +66834,12 @@ "https" ], "tags": [ - "events_v1" + "discovery_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1" }, "x-codegen-request-body-name": "body" @@ -65516,15 +66848,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified Event", - "operationId": "replaceNamespacedEvent", + "description": "replace the specified EndpointSlice", + "operationId": "replaceNamespacedEndpointSlice", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/events.v1.Event" + "$ref": "#/definitions/v1.EndpointSlice" } }, { @@ -65552,19 +66884,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/events.v1.Event" + "$ref": "#/definitions/v1.EndpointSlice" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/events.v1.Event" + "$ref": "#/definitions/v1.EndpointSlice" } }, "401": { @@ -65575,18 +66908,18 @@ "https" ], "tags": [ - "events_v1" + "discovery_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/events.k8s.io/v1/watch/events": { + "/apis/discovery.k8s.io/v1/watch/endpointslices": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -65667,7 +67000,7 @@ } ] }, - "/apis/events.k8s.io/v1/watch/namespaces/{namespace}/events": { + "/apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -65756,7 +67089,7 @@ } ] }, - "/apis/events.k8s.io/v1/watch/namespaces/{namespace}/events/{name}": { + "/apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices/{name}": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -65794,7 +67127,7 @@ "uniqueItems": true }, { - "description": "name of the Event", + "description": "name of the EndpointSlice", "in": "path", "name": "name", "required": true, @@ -65853,7 +67186,7 @@ } ] }, - "/apis/flowcontrol.apiserver.k8s.io/": { + "/apis/events.k8s.io/": { "get": { "consumes": [ "application/json", @@ -65882,23 +67215,25 @@ "https" ], "tags": [ - "flowcontrolApiserver" + "events" ] } }, - "/apis/flowcontrol.apiserver.k8s.io/v1/": { + "/apis/events.k8s.io/v1/": { "get": { "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -65915,17 +67250,137 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1" + "events_v1" ] } }, - "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas": { + "/apis/events.k8s.io/v1/events": { + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind Event", + "operationId": "listEventForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/events.v1.EventList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "events_v1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/events.k8s.io/v1/namespaces/{namespace}/events": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of FlowSchema", - "operationId": "deleteCollectionFlowSchema", + "description": "delete collection of Event", + "operationId": "deleteCollectionNamespacedEvent", "parameters": [ { "in": "body", @@ -65962,6 +67417,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -66022,7 +67484,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -66039,12 +67502,12 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1" + "events_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", + "group": "events.k8s.io", + "kind": "Event", "version": "v1" }, "x-codegen-request-body-name": "body" @@ -66053,8 +67516,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind FlowSchema", - "operationId": "listFlowSchema", + "description": "list or watch objects of kind Event", + "operationId": "listNamespacedEvent", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -66131,14 +67594,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.FlowSchemaList" + "$ref": "#/definitions/events.v1.EventList" } }, "401": { @@ -66149,16 +67614,24 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1" + "events_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", + "group": "events.k8s.io", + "kind": "Event", "version": "v1" } }, "parameters": [ + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -66171,15 +67644,15 @@ "consumes": [ "*/*" ], - "description": "create a FlowSchema", - "operationId": "createFlowSchema", + "description": "create an Event", + "operationId": "createNamespacedEvent", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.FlowSchema" + "$ref": "#/definitions/events.v1.Event" } }, { @@ -66207,25 +67680,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.FlowSchema" + "$ref": "#/definitions/events.v1.Event" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.FlowSchema" + "$ref": "#/definitions/events.v1.Event" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.FlowSchema" + "$ref": "#/definitions/events.v1.Event" } }, "401": { @@ -66236,24 +67710,24 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1" + "events_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", + "group": "events.k8s.io", + "kind": "Event", "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}": { + "/apis/events.k8s.io/v1/namespaces/{namespace}/events/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a FlowSchema", - "operationId": "deleteFlowSchema", + "description": "delete an Event", + "operationId": "deleteNamespacedEvent", "parameters": [ { "in": "body", @@ -66276,6 +67750,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -66294,7 +67775,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -66317,12 +67799,12 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1" + "events_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", + "group": "events.k8s.io", + "kind": "Event", "version": "v1" }, "x-codegen-request-body-name": "body" @@ -66331,18 +67813,19 @@ "consumes": [ "*/*" ], - "description": "read the specified FlowSchema", - "operationId": "readFlowSchema", + "description": "read the specified Event", + "operationId": "readNamespacedEvent", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.FlowSchema" + "$ref": "#/definitions/events.v1.Event" } }, "401": { @@ -66353,24 +67836,32 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1" + "events_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", + "group": "events.k8s.io", + "kind": "Event", "version": "v1" } }, "parameters": [ { - "description": "name of the FlowSchema", + "description": "name of the Event", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -66384,10 +67875,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified FlowSchema", - "operationId": "patchFlowSchema", + "description": "partially update the specified Event", + "operationId": "patchNamespacedEvent", "parameters": [ { "in": "body", @@ -66430,19 +67922,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.FlowSchema" + "$ref": "#/definitions/events.v1.Event" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.FlowSchema" + "$ref": "#/definitions/events.v1.Event" } }, "401": { @@ -66453,12 +67946,12 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1" + "events_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", + "group": "events.k8s.io", + "kind": "Event", "version": "v1" }, "x-codegen-request-body-name": "body" @@ -66467,15 +67960,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified FlowSchema", - "operationId": "replaceFlowSchema", + "description": "replace the specified Event", + "operationId": "replaceNamespacedEvent", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.FlowSchema" + "$ref": "#/definitions/events.v1.Event" } }, { @@ -66503,19 +67996,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.FlowSchema" + "$ref": "#/definitions/events.v1.Event" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.FlowSchema" + "$ref": "#/definitions/events.v1.Event" } }, "401": { @@ -66526,24 +68020,293 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1" + "events_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", + "group": "events.k8s.io", + "kind": "Event", "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}/status": { + "/apis/events.k8s.io/v1/watch/events": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/events.k8s.io/v1/watch/namespaces/{namespace}/events": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/events.k8s.io/v1/watch/namespaces/{namespace}/events/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the Event", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/flowcontrol.apiserver.k8s.io/": { "get": { "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], - "description": "read status of the specified FlowSchema", - "operationId": "readFlowSchemaStatus", + "description": "get information of a group", + "operationId": "getAPIGroup", "produces": [ "application/json", "application/yaml", @@ -66553,7 +68316,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.FlowSchema" + "$ref": "#/definitions/v1.APIGroup" } }, "401": { @@ -66564,51 +68327,67 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1" + "flowcontrolApiserver" + ] + } + }, + "/apis/flowcontrol.apiserver.k8s.io/v1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the FlowSchema", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true + "description": "get available resources", + "operationId": "getAPIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ] + } + }, + "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas": { + "delete": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "*/*" ], - "description": "partially update status of the specified FlowSchema", - "operationId": "patchFlowSchemaStatus", + "description": "delete collection of FlowSchema", + "operationId": "deleteCollectionFlowSchema", "parameters": [ { "in": "body", "name": "body", - "required": true, "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" + "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, { "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", "in": "query", @@ -66617,179 +68396,25 @@ "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", "in": "query", - "name": "fieldManager", + "name": "fieldSelector", "type": "string", "uniqueItems": true }, { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", "in": "query", - "name": "fieldValidation", - "type": "string", + "name": "gracePeriodSeconds", + "type": "integer", "uniqueItems": true }, { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", "in": "query", - "name": "force", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", "type": "boolean", "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.FlowSchema" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.FlowSchema" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified FlowSchema", - "operationId": "replaceFlowSchemaStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.FlowSchema" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.FlowSchema" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.FlowSchema" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of PriorityLevelConfiguration", - "operationId": "deleteCollectionPriorityLevelConfiguration", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", @@ -66851,7 +68476,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -66873,7 +68499,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", + "kind": "FlowSchema", "version": "v1" }, "x-codegen-request-body-name": "body" @@ -66882,8 +68508,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind PriorityLevelConfiguration", - "operationId": "listPriorityLevelConfiguration", + "description": "list or watch objects of kind FlowSchema", + "operationId": "listFlowSchema", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -66960,14 +68586,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.PriorityLevelConfigurationList" + "$ref": "#/definitions/v1.FlowSchemaList" } }, "401": { @@ -66983,7 +68611,7 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", + "kind": "FlowSchema", "version": "v1" } }, @@ -67000,15 +68628,15 @@ "consumes": [ "*/*" ], - "description": "create a PriorityLevelConfiguration", - "operationId": "createPriorityLevelConfiguration", + "description": "create a FlowSchema", + "operationId": "createFlowSchema", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.FlowSchema" } }, { @@ -67036,25 +68664,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.FlowSchema" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.FlowSchema" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.FlowSchema" } }, "401": { @@ -67070,19 +68699,19 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", + "kind": "FlowSchema", "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}": { + "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a PriorityLevelConfiguration", - "operationId": "deletePriorityLevelConfiguration", + "description": "delete a FlowSchema", + "operationId": "deleteFlowSchema", "parameters": [ { "in": "body", @@ -67105,6 +68734,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -67123,7 +68759,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -67151,7 +68788,7 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", + "kind": "FlowSchema", "version": "v1" }, "x-codegen-request-body-name": "body" @@ -67160,18 +68797,19 @@ "consumes": [ "*/*" ], - "description": "read the specified PriorityLevelConfiguration", - "operationId": "readPriorityLevelConfiguration", + "description": "read the specified FlowSchema", + "operationId": "readFlowSchema", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.FlowSchema" } }, "401": { @@ -67187,13 +68825,13 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", + "kind": "FlowSchema", "version": "v1" } }, "parameters": [ { - "description": "name of the PriorityLevelConfiguration", + "description": "name of the FlowSchema", "in": "path", "name": "name", "required": true, @@ -67213,10 +68851,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified PriorityLevelConfiguration", - "operationId": "patchPriorityLevelConfiguration", + "description": "partially update the specified FlowSchema", + "operationId": "patchFlowSchema", "parameters": [ { "in": "body", @@ -67259,19 +68898,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.FlowSchema" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.FlowSchema" } }, "401": { @@ -67287,7 +68927,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", + "kind": "FlowSchema", "version": "v1" }, "x-codegen-request-body-name": "body" @@ -67296,15 +68936,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified PriorityLevelConfiguration", - "operationId": "replacePriorityLevelConfiguration", + "description": "replace the specified FlowSchema", + "operationId": "replaceFlowSchema", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.FlowSchema" } }, { @@ -67332,19 +68972,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.FlowSchema" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.FlowSchema" } }, "401": { @@ -67360,29 +69001,30 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", + "kind": "FlowSchema", "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}/status": { + "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified PriorityLevelConfiguration", - "operationId": "readPriorityLevelConfigurationStatus", + "description": "read status of the specified FlowSchema", + "operationId": "readFlowSchemaStatus", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.FlowSchema" } }, "401": { @@ -67398,13 +69040,13 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", + "kind": "FlowSchema", "version": "v1" } }, "parameters": [ { - "description": "name of the PriorityLevelConfiguration", + "description": "name of the FlowSchema", "in": "path", "name": "name", "required": true, @@ -67424,10 +69066,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update status of the specified PriorityLevelConfiguration", - "operationId": "patchPriorityLevelConfigurationStatus", + "description": "partially update status of the specified FlowSchema", + "operationId": "patchFlowSchemaStatus", "parameters": [ { "in": "body", @@ -67470,19 +69113,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.FlowSchema" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.FlowSchema" } }, "401": { @@ -67498,7 +69142,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", + "kind": "FlowSchema", "version": "v1" }, "x-codegen-request-body-name": "body" @@ -67507,15 +69151,15 @@ "consumes": [ "*/*" ], - "description": "replace status of the specified PriorityLevelConfiguration", - "operationId": "replacePriorityLevelConfigurationStatus", + "description": "replace status of the specified FlowSchema", + "operationId": "replaceFlowSchemaStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.FlowSchema" } }, { @@ -67543,19 +69187,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.FlowSchema" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.FlowSchema" } }, "401": { @@ -67571,392 +69216,19 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", + "kind": "FlowSchema", "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the FlowSchema", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the PriorityLevelConfiguration", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAPIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta3" - ] - } - }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/flowschemas": { + "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of FlowSchema", - "operationId": "deleteCollectionFlowSchema", + "description": "delete collection of PriorityLevelConfiguration", + "operationId": "deleteCollectionPriorityLevelConfiguration", "parameters": [ { "in": "body", @@ -67993,6 +69265,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -68053,7 +69332,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -68070,13 +69350,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "kind": "PriorityLevelConfiguration", + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -68084,8 +69364,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind FlowSchema", - "operationId": "listFlowSchema", + "description": "list or watch objects of kind PriorityLevelConfiguration", + "operationId": "listPriorityLevelConfiguration", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -68162,14 +69442,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta3.FlowSchemaList" + "$ref": "#/definitions/v1.PriorityLevelConfigurationList" } }, "401": { @@ -68180,13 +69462,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "kind": "PriorityLevelConfiguration", + "version": "v1" } }, "parameters": [ @@ -68202,15 +69484,15 @@ "consumes": [ "*/*" ], - "description": "create a FlowSchema", - "operationId": "createFlowSchema", + "description": "create a PriorityLevelConfiguration", + "operationId": "createPriorityLevelConfiguration", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta3.FlowSchema" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, { @@ -68238,25 +69520,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta3.FlowSchema" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta3.FlowSchema" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1beta3.FlowSchema" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, "401": { @@ -68267,24 +69550,24 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "kind": "PriorityLevelConfiguration", + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/flowschemas/{name}": { + "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a FlowSchema", - "operationId": "deleteFlowSchema", + "description": "delete a PriorityLevelConfiguration", + "operationId": "deletePriorityLevelConfiguration", "parameters": [ { "in": "body", @@ -68307,6 +69590,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -68325,7 +69615,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -68348,13 +69639,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "kind": "PriorityLevelConfiguration", + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -68362,18 +69653,19 @@ "consumes": [ "*/*" ], - "description": "read the specified FlowSchema", - "operationId": "readFlowSchema", + "description": "read the specified PriorityLevelConfiguration", + "operationId": "readPriorityLevelConfiguration", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta3.FlowSchema" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, "401": { @@ -68384,18 +69676,18 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "kind": "PriorityLevelConfiguration", + "version": "v1" } }, "parameters": [ { - "description": "name of the FlowSchema", + "description": "name of the PriorityLevelConfiguration", "in": "path", "name": "name", "required": true, @@ -68415,10 +69707,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified FlowSchema", - "operationId": "patchFlowSchema", + "description": "partially update the specified PriorityLevelConfiguration", + "operationId": "patchPriorityLevelConfiguration", "parameters": [ { "in": "body", @@ -68461,19 +69754,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta3.FlowSchema" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta3.FlowSchema" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, "401": { @@ -68484,13 +69778,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "kind": "PriorityLevelConfiguration", + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -68498,15 +69792,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified FlowSchema", - "operationId": "replaceFlowSchema", + "description": "replace the specified PriorityLevelConfiguration", + "operationId": "replacePriorityLevelConfiguration", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta3.FlowSchema" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, { @@ -68534,19 +69828,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta3.FlowSchema" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta3.FlowSchema" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, "401": { @@ -68557,34 +69852,35 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "kind": "PriorityLevelConfiguration", + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/flowschemas/{name}/status": { + "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified FlowSchema", - "operationId": "readFlowSchemaStatus", + "description": "read status of the specified PriorityLevelConfiguration", + "operationId": "readPriorityLevelConfigurationStatus", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta3.FlowSchema" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, "401": { @@ -68595,18 +69891,18 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "kind": "PriorityLevelConfiguration", + "version": "v1" } }, "parameters": [ { - "description": "name of the FlowSchema", + "description": "name of the PriorityLevelConfiguration", "in": "path", "name": "name", "required": true, @@ -68626,10 +69922,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update status of the specified FlowSchema", - "operationId": "patchFlowSchemaStatus", + "description": "partially update status of the specified PriorityLevelConfiguration", + "operationId": "patchPriorityLevelConfigurationStatus", "parameters": [ { "in": "body", @@ -68672,19 +69969,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta3.FlowSchema" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta3.FlowSchema" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, "401": { @@ -68695,13 +69993,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "kind": "PriorityLevelConfiguration", + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -68709,15 +70007,15 @@ "consumes": [ "*/*" ], - "description": "replace status of the specified FlowSchema", - "operationId": "replaceFlowSchemaStatus", - "parameters": [ + "description": "replace status of the specified PriorityLevelConfiguration", + "operationId": "replacePriorityLevelConfigurationStatus", + "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta3.FlowSchema" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, { @@ -68745,19 +70043,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta3.FlowSchema" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta3.FlowSchema" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, "401": { @@ -68768,24 +70067,432 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "kind": "PriorityLevelConfiguration", + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/prioritylevelconfigurations": { + "/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the FlowSchema", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the PriorityLevelConfiguration", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/internal.apiserver.k8s.io/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get information of a group", + "operationId": "getAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "internalApiserver" + ] + } + }, + "/apis/internal.apiserver.k8s.io/v1alpha1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "description": "get available resources", + "operationId": "getAPIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "internalApiserver_v1alpha1" + ] + } + }, + "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of PriorityLevelConfiguration", - "operationId": "deleteCollectionPriorityLevelConfiguration", + "description": "delete collection of StorageVersion", + "operationId": "deleteCollectionStorageVersion", "parameters": [ { "in": "body", @@ -68822,6 +70529,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -68882,7 +70596,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -68899,13 +70614,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "internalApiserver_v1alpha1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "internal.apiserver.k8s.io", + "kind": "StorageVersion", + "version": "v1alpha1" }, "x-codegen-request-body-name": "body" }, @@ -68913,8 +70628,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind PriorityLevelConfiguration", - "operationId": "listPriorityLevelConfiguration", + "description": "list or watch objects of kind StorageVersion", + "operationId": "listStorageVersion", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -68991,14 +70706,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta3.PriorityLevelConfigurationList" + "$ref": "#/definitions/v1alpha1.StorageVersionList" } }, "401": { @@ -69009,13 +70726,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "internalApiserver_v1alpha1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "internal.apiserver.k8s.io", + "kind": "StorageVersion", + "version": "v1alpha1" } }, "parameters": [ @@ -69031,15 +70748,15 @@ "consumes": [ "*/*" ], - "description": "create a PriorityLevelConfiguration", - "operationId": "createPriorityLevelConfiguration", + "description": "create a StorageVersion", + "operationId": "createStorageVersion", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/v1alpha1.StorageVersion" } }, { @@ -69067,25 +70784,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/v1alpha1.StorageVersion" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/v1alpha1.StorageVersion" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/v1alpha1.StorageVersion" } }, "401": { @@ -69096,24 +70814,24 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "internalApiserver_v1alpha1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "internal.apiserver.k8s.io", + "kind": "StorageVersion", + "version": "v1alpha1" }, "x-codegen-request-body-name": "body" } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/prioritylevelconfigurations/{name}": { + "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a PriorityLevelConfiguration", - "operationId": "deletePriorityLevelConfiguration", + "description": "delete a StorageVersion", + "operationId": "deleteStorageVersion", "parameters": [ { "in": "body", @@ -69136,6 +70854,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -69154,7 +70879,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -69177,13 +70903,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "internalApiserver_v1alpha1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "internal.apiserver.k8s.io", + "kind": "StorageVersion", + "version": "v1alpha1" }, "x-codegen-request-body-name": "body" }, @@ -69191,18 +70917,19 @@ "consumes": [ "*/*" ], - "description": "read the specified PriorityLevelConfiguration", - "operationId": "readPriorityLevelConfiguration", + "description": "read the specified StorageVersion", + "operationId": "readStorageVersion", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/v1alpha1.StorageVersion" } }, "401": { @@ -69213,18 +70940,18 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "internalApiserver_v1alpha1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "internal.apiserver.k8s.io", + "kind": "StorageVersion", + "version": "v1alpha1" } }, "parameters": [ { - "description": "name of the PriorityLevelConfiguration", + "description": "name of the StorageVersion", "in": "path", "name": "name", "required": true, @@ -69244,10 +70971,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified PriorityLevelConfiguration", - "operationId": "patchPriorityLevelConfiguration", + "description": "partially update the specified StorageVersion", + "operationId": "patchStorageVersion", "parameters": [ { "in": "body", @@ -69290,19 +71018,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/v1alpha1.StorageVersion" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/v1alpha1.StorageVersion" } }, "401": { @@ -69313,13 +71042,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "internalApiserver_v1alpha1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "internal.apiserver.k8s.io", + "kind": "StorageVersion", + "version": "v1alpha1" }, "x-codegen-request-body-name": "body" }, @@ -69327,15 +71056,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified PriorityLevelConfiguration", - "operationId": "replacePriorityLevelConfiguration", + "description": "replace the specified StorageVersion", + "operationId": "replaceStorageVersion", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/v1alpha1.StorageVersion" } }, { @@ -69363,19 +71092,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/v1alpha1.StorageVersion" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/v1alpha1.StorageVersion" } }, "401": { @@ -69386,34 +71116,35 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "internalApiserver_v1alpha1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "internal.apiserver.k8s.io", + "kind": "StorageVersion", + "version": "v1alpha1" }, "x-codegen-request-body-name": "body" } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/prioritylevelconfigurations/{name}/status": { + "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified PriorityLevelConfiguration", - "operationId": "readPriorityLevelConfigurationStatus", + "description": "read status of the specified StorageVersion", + "operationId": "readStorageVersionStatus", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/v1alpha1.StorageVersion" } }, "401": { @@ -69424,18 +71155,18 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "internalApiserver_v1alpha1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "internal.apiserver.k8s.io", + "kind": "StorageVersion", + "version": "v1alpha1" } }, "parameters": [ { - "description": "name of the PriorityLevelConfiguration", + "description": "name of the StorageVersion", "in": "path", "name": "name", "required": true, @@ -69455,10 +71186,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update status of the specified PriorityLevelConfiguration", - "operationId": "patchPriorityLevelConfigurationStatus", + "description": "partially update status of the specified StorageVersion", + "operationId": "patchStorageVersionStatus", "parameters": [ { "in": "body", @@ -69501,19 +71233,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/v1alpha1.StorageVersion" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/v1alpha1.StorageVersion" } }, "401": { @@ -69524,13 +71257,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "internalApiserver_v1alpha1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "internal.apiserver.k8s.io", + "kind": "StorageVersion", + "version": "v1alpha1" }, "x-codegen-request-body-name": "body" }, @@ -69538,15 +71271,15 @@ "consumes": [ "*/*" ], - "description": "replace status of the specified PriorityLevelConfiguration", - "operationId": "replacePriorityLevelConfigurationStatus", + "description": "replace status of the specified StorageVersion", + "operationId": "replaceStorageVersionStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/v1alpha1.StorageVersion" } }, { @@ -69574,19 +71307,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/v1alpha1.StorageVersion" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/v1alpha1.StorageVersion" } }, "401": { @@ -69597,188 +71331,18 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "internalApiserver_v1alpha1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "internal.apiserver.k8s.io", + "kind": "StorageVersion", + "version": "v1alpha1" }, "x-codegen-request-body-name": "body" } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/watch/flowschemas": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/watch/flowschemas/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the FlowSchema", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/watch/prioritylevelconfigurations": { + "/apis/internal.apiserver.k8s.io/v1alpha1/watch/storageversions": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -69859,7 +71423,7 @@ } ] }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/watch/prioritylevelconfigurations/{name}": { + "/apis/internal.apiserver.k8s.io/v1alpha1/watch/storageversions/{name}": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -69897,7 +71461,7 @@ "uniqueItems": true }, { - "description": "name of the PriorityLevelConfiguration", + "description": "name of the StorageVersion", "in": "path", "name": "name", "required": true, @@ -69948,7 +71512,7 @@ } ] }, - "/apis/internal.apiserver.k8s.io/": { + "/apis/networking.k8s.io/": { "get": { "consumes": [ "application/json", @@ -69977,23 +71541,25 @@ "https" ], "tags": [ - "internalApiserver" + "networking" ] } }, - "/apis/internal.apiserver.k8s.io/v1alpha1/": { + "/apis/networking.k8s.io/v1/": { "get": { "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -70010,17 +71576,17 @@ "https" ], "tags": [ - "internalApiserver_v1alpha1" + "networking_v1" ] } }, - "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions": { + "/apis/networking.k8s.io/v1/ingressclasses": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of StorageVersion", - "operationId": "deleteCollectionStorageVersion", + "description": "delete collection of IngressClass", + "operationId": "deleteCollectionIngressClass", "parameters": [ { "in": "body", @@ -70057,6 +71623,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -70117,7 +71690,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -70134,13 +71708,13 @@ "https" ], "tags": [ - "internalApiserver_v1alpha1" + "networking_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "internal.apiserver.k8s.io", - "kind": "StorageVersion", - "version": "v1alpha1" + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -70148,8 +71722,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind StorageVersion", - "operationId": "listStorageVersion", + "description": "list or watch objects of kind IngressClass", + "operationId": "listIngressClass", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -70226,14 +71800,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.StorageVersionList" + "$ref": "#/definitions/v1.IngressClassList" } }, "401": { @@ -70244,13 +71820,13 @@ "https" ], "tags": [ - "internalApiserver_v1alpha1" + "networking_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "internal.apiserver.k8s.io", - "kind": "StorageVersion", - "version": "v1alpha1" + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" } }, "parameters": [ @@ -70266,15 +71842,15 @@ "consumes": [ "*/*" ], - "description": "create a StorageVersion", - "operationId": "createStorageVersion", + "description": "create an IngressClass", + "operationId": "createIngressClass", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.StorageVersion" + "$ref": "#/definitions/v1.IngressClass" } }, { @@ -70302,25 +71878,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.StorageVersion" + "$ref": "#/definitions/v1.IngressClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.StorageVersion" + "$ref": "#/definitions/v1.IngressClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha1.StorageVersion" + "$ref": "#/definitions/v1.IngressClass" } }, "401": { @@ -70331,24 +71908,24 @@ "https" ], "tags": [ - "internalApiserver_v1alpha1" + "networking_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "internal.apiserver.k8s.io", - "kind": "StorageVersion", - "version": "v1alpha1" + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}": { + "/apis/networking.k8s.io/v1/ingressclasses/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a StorageVersion", - "operationId": "deleteStorageVersion", + "description": "delete an IngressClass", + "operationId": "deleteIngressClass", "parameters": [ { "in": "body", @@ -70371,6 +71948,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -70389,7 +71973,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -70412,13 +71997,13 @@ "https" ], "tags": [ - "internalApiserver_v1alpha1" + "networking_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "internal.apiserver.k8s.io", - "kind": "StorageVersion", - "version": "v1alpha1" + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -70426,18 +72011,19 @@ "consumes": [ "*/*" ], - "description": "read the specified StorageVersion", - "operationId": "readStorageVersion", + "description": "read the specified IngressClass", + "operationId": "readIngressClass", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.StorageVersion" + "$ref": "#/definitions/v1.IngressClass" } }, "401": { @@ -70448,18 +72034,18 @@ "https" ], "tags": [ - "internalApiserver_v1alpha1" + "networking_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "internal.apiserver.k8s.io", - "kind": "StorageVersion", - "version": "v1alpha1" + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" } }, "parameters": [ { - "description": "name of the StorageVersion", + "description": "name of the IngressClass", "in": "path", "name": "name", "required": true, @@ -70479,10 +72065,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified StorageVersion", - "operationId": "patchStorageVersion", + "description": "partially update the specified IngressClass", + "operationId": "patchIngressClass", "parameters": [ { "in": "body", @@ -70525,19 +72112,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.StorageVersion" + "$ref": "#/definitions/v1.IngressClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.StorageVersion" + "$ref": "#/definitions/v1.IngressClass" } }, "401": { @@ -70548,13 +72136,13 @@ "https" ], "tags": [ - "internalApiserver_v1alpha1" + "networking_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "internal.apiserver.k8s.io", - "kind": "StorageVersion", - "version": "v1alpha1" + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -70562,15 +72150,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified StorageVersion", - "operationId": "replaceStorageVersion", + "description": "replace the specified IngressClass", + "operationId": "replaceIngressClass", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.StorageVersion" + "$ref": "#/definitions/v1.IngressClass" } }, { @@ -70598,19 +72186,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.StorageVersion" + "$ref": "#/definitions/v1.IngressClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.StorageVersion" + "$ref": "#/definitions/v1.IngressClass" } }, "401": { @@ -70621,34 +72210,38 @@ "https" ], "tags": [ - "internalApiserver_v1alpha1" + "networking_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "internal.apiserver.k8s.io", - "kind": "StorageVersion", - "version": "v1alpha1" + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}/status": { + "/apis/networking.k8s.io/v1/ingresses": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified StorageVersion", - "operationId": "readStorageVersionStatus", + "description": "list or watch objects of kind Ingress", + "operationId": "listIngressForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.StorageVersion" + "$ref": "#/definitions/v1.IngressList" } }, "401": { @@ -70659,191 +72252,15 @@ "https" ], "tags": [ - "internalApiserver_v1alpha1" + "networking_v1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "internal.apiserver.k8s.io", - "kind": "StorageVersion", - "version": "v1alpha1" - } - }, - "parameters": [ - { - "description": "name of the StorageVersion", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified StorageVersion", - "operationId": "patchStorageVersionStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha1.StorageVersion" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1alpha1.StorageVersion" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "internalApiserver_v1alpha1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "internal.apiserver.k8s.io", - "kind": "StorageVersion", - "version": "v1alpha1" - }, - "x-codegen-request-body-name": "body" }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified StorageVersion", - "operationId": "replaceStorageVersionStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1alpha1.StorageVersion" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha1.StorageVersion" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1alpha1.StorageVersion" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "internalApiserver_v1alpha1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "internal.apiserver.k8s.io", - "kind": "StorageVersion", - "version": "v1alpha1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/internal.apiserver.k8s.io/v1alpha1/watch/storageversions": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -70924,168 +72341,13 @@ } ] }, - "/apis/internal.apiserver.k8s.io/v1alpha1/watch/storageversions/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the StorageVersion", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/networking.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking" - ] - } - }, - "/apis/networking.k8s.io/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAPIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ] - } - }, - "/apis/networking.k8s.io/v1/ingressclasses": { + "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of IngressClass", - "operationId": "deleteCollectionIngressClass", + "description": "delete collection of Ingress", + "operationId": "deleteCollectionNamespacedIngress", "parameters": [ { "in": "body", @@ -71122,6 +72384,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -71182,7 +72451,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -71204,7 +72474,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IngressClass", + "kind": "Ingress", "version": "v1" }, "x-codegen-request-body-name": "body" @@ -71213,8 +72483,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind IngressClass", - "operationId": "listIngressClass", + "description": "list or watch objects of kind Ingress", + "operationId": "listNamespacedIngress", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -71291,14 +72561,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.IngressClassList" + "$ref": "#/definitions/v1.IngressList" } }, "401": { @@ -71314,11 +72586,19 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IngressClass", + "kind": "Ingress", "version": "v1" } }, "parameters": [ + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -71331,15 +72611,15 @@ "consumes": [ "*/*" ], - "description": "create an IngressClass", - "operationId": "createIngressClass", + "description": "create an Ingress", + "operationId": "createNamespacedIngress", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.IngressClass" + "$ref": "#/definitions/v1.Ingress" } }, { @@ -71367,25 +72647,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.IngressClass" + "$ref": "#/definitions/v1.Ingress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.IngressClass" + "$ref": "#/definitions/v1.Ingress" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.IngressClass" + "$ref": "#/definitions/v1.Ingress" } }, "401": { @@ -71401,19 +72682,19 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IngressClass", + "kind": "Ingress", "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/networking.k8s.io/v1/ingressclasses/{name}": { + "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete an IngressClass", - "operationId": "deleteIngressClass", + "description": "delete an Ingress", + "operationId": "deleteNamespacedIngress", "parameters": [ { "in": "body", @@ -71436,6 +72717,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -71454,7 +72742,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -71482,7 +72771,7 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IngressClass", + "kind": "Ingress", "version": "v1" }, "x-codegen-request-body-name": "body" @@ -71491,18 +72780,19 @@ "consumes": [ "*/*" ], - "description": "read the specified IngressClass", - "operationId": "readIngressClass", + "description": "read the specified Ingress", + "operationId": "readNamespacedIngress", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.IngressClass" + "$ref": "#/definitions/v1.Ingress" } }, "401": { @@ -71518,19 +72808,27 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IngressClass", + "kind": "Ingress", "version": "v1" } }, "parameters": [ { - "description": "name of the IngressClass", + "description": "name of the Ingress", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -71544,10 +72842,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified IngressClass", - "operationId": "patchIngressClass", + "description": "partially update the specified Ingress", + "operationId": "patchNamespacedIngress", "parameters": [ { "in": "body", @@ -71590,19 +72889,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.IngressClass" + "$ref": "#/definitions/v1.Ingress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.IngressClass" + "$ref": "#/definitions/v1.Ingress" } }, "401": { @@ -71618,7 +72918,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IngressClass", + "kind": "Ingress", "version": "v1" }, "x-codegen-request-body-name": "body" @@ -71627,15 +72927,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified IngressClass", - "operationId": "replaceIngressClass", + "description": "replace the specified Ingress", + "operationId": "replaceNamespacedIngress", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.IngressClass" + "$ref": "#/definitions/v1.Ingress" } }, { @@ -71663,19 +72963,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.IngressClass" + "$ref": "#/definitions/v1.Ingress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.IngressClass" + "$ref": "#/definitions/v1.Ingress" } }, "401": { @@ -71691,31 +72992,30 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IngressClass", + "kind": "Ingress", "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/networking.k8s.io/v1/ingresses": { + "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind Ingress", - "operationId": "listIngressForAllNamespaces", + "description": "read status of the specified Ingress", + "operationId": "readNamespacedIngressStatus", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.IngressList" + "$ref": "#/definitions/v1.Ingress" } }, "401": { @@ -71728,7 +73028,7 @@ "tags": [ "networking_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "Ingress", @@ -71737,91 +73037,197 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", + "description": "name of the Ingress", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, "type": "string", "uniqueItems": true }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml", + "application/apply-patch+cbor" + ], + "description": "partially update status of the specified Ingress", + "operationId": "patchNamespacedIngressStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Ingress" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true + "x-codegen-request-body-name": "body" + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace status of the specified Ingress", + "operationId": "replaceNamespacedIngressStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Ingress" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Ingress" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] + "x-codegen-request-body-name": "body" + } }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses": { + "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of Ingress", - "operationId": "deleteCollectionNamespacedIngress", + "description": "delete collection of NetworkPolicy", + "operationId": "deleteCollectionNamespacedNetworkPolicy", "parameters": [ { "in": "body", @@ -71858,6 +73264,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -71918,7 +73331,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -71940,7 +73354,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "Ingress", + "kind": "NetworkPolicy", "version": "v1" }, "x-codegen-request-body-name": "body" @@ -71949,8 +73363,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind Ingress", - "operationId": "listNamespacedIngress", + "description": "list or watch objects of kind NetworkPolicy", + "operationId": "listNamespacedNetworkPolicy", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -72027,14 +73441,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.IngressList" + "$ref": "#/definitions/v1.NetworkPolicyList" } }, "401": { @@ -72050,7 +73466,7 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "Ingress", + "kind": "NetworkPolicy", "version": "v1" } }, @@ -72075,15 +73491,15 @@ "consumes": [ "*/*" ], - "description": "create an Ingress", - "operationId": "createNamespacedIngress", + "description": "create a NetworkPolicy", + "operationId": "createNamespacedNetworkPolicy", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.Ingress" + "$ref": "#/definitions/v1.NetworkPolicy" } }, { @@ -72111,25 +73527,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Ingress" + "$ref": "#/definitions/v1.NetworkPolicy" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.Ingress" + "$ref": "#/definitions/v1.NetworkPolicy" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.Ingress" + "$ref": "#/definitions/v1.NetworkPolicy" } }, "401": { @@ -72145,19 +73562,19 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "Ingress", + "kind": "NetworkPolicy", "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}": { + "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete an Ingress", - "operationId": "deleteNamespacedIngress", + "description": "delete a NetworkPolicy", + "operationId": "deleteNamespacedNetworkPolicy", "parameters": [ { "in": "body", @@ -72180,6 +73597,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -72198,7 +73622,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -72226,7 +73651,7 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "Ingress", + "kind": "NetworkPolicy", "version": "v1" }, "x-codegen-request-body-name": "body" @@ -72235,18 +73660,19 @@ "consumes": [ "*/*" ], - "description": "read the specified Ingress", - "operationId": "readNamespacedIngress", + "description": "read the specified NetworkPolicy", + "operationId": "readNamespacedNetworkPolicy", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Ingress" + "$ref": "#/definitions/v1.NetworkPolicy" } }, "401": { @@ -72262,13 +73688,13 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "Ingress", + "kind": "NetworkPolicy", "version": "v1" } }, "parameters": [ { - "description": "name of the Ingress", + "description": "name of the NetworkPolicy", "in": "path", "name": "name", "required": true, @@ -72296,10 +73722,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified Ingress", - "operationId": "patchNamespacedIngress", + "description": "partially update the specified NetworkPolicy", + "operationId": "patchNamespacedNetworkPolicy", "parameters": [ { "in": "body", @@ -72342,19 +73769,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Ingress" + "$ref": "#/definitions/v1.NetworkPolicy" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.Ingress" + "$ref": "#/definitions/v1.NetworkPolicy" } }, "401": { @@ -72370,7 +73798,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "Ingress", + "kind": "NetworkPolicy", "version": "v1" }, "x-codegen-request-body-name": "body" @@ -72379,15 +73807,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified Ingress", - "operationId": "replaceNamespacedIngress", + "description": "replace the specified NetworkPolicy", + "operationId": "replaceNamespacedNetworkPolicy", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.Ingress" + "$ref": "#/definitions/v1.NetworkPolicy" } }, { @@ -72415,19 +73843,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Ingress" + "$ref": "#/definitions/v1.NetworkPolicy" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.Ingress" + "$ref": "#/definitions/v1.NetworkPolicy" } }, "401": { @@ -72443,29 +73872,33 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "Ingress", + "kind": "NetworkPolicy", "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status": { + "/apis/networking.k8s.io/v1/networkpolicies": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified Ingress", - "operationId": "readNamespacedIngressStatus", + "description": "list or watch objects of kind NetworkPolicy", + "operationId": "listNetworkPolicyForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Ingress" + "$ref": "#/definitions/v1.NetworkPolicyList" } }, "401": { @@ -72478,22 +73911,381 @@ "tags": [ "networking_v1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "Ingress", + "kind": "NetworkPolicy", "version": "v1" } }, "parameters": [ { - "description": "name of the Ingress", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/networking.k8s.io/v1/watch/ingressclasses": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/networking.k8s.io/v1/watch/ingressclasses/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the IngressClass", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/networking.k8s.io/v1/watch/ingresses": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/ingresses": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -72508,145 +74300,429 @@ "name": "pretty", "type": "string", "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified Ingress", - "operationId": "patchNamespacedIngressStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Ingress" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } + ] + }, + "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/ingresses/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1" + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true }, - "x-codegen-request-body-name": "body" - }, - "put": { + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the Ingress", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the NetworkPolicy", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/networking.k8s.io/v1/watch/networkpolicies": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/networking.k8s.io/v1beta1/": { + "get": { "consumes": [ - "*/*" - ], - "description": "replace status of the specified Ingress", - "operationId": "replaceNamespacedIngressStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Ingress" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" ], + "description": "get available resources", + "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Ingress" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.Ingress" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { @@ -72657,24 +74733,17 @@ "https" ], "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1" - }, - "x-codegen-request-body-name": "body" + "networking_v1beta1" + ] } }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies": { + "/apis/networking.k8s.io/v1beta1/ipaddresses": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of NetworkPolicy", - "operationId": "deleteCollectionNamespacedNetworkPolicy", + "description": "delete collection of IPAddress", + "operationId": "deleteCollectionIPAddress", "parameters": [ { "in": "body", @@ -72711,6 +74780,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -72771,7 +74847,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -72788,13 +74865,13 @@ "https" ], "tags": [ - "networking_v1" + "networking_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "kind": "IPAddress", + "version": "v1beta1" }, "x-codegen-request-body-name": "body" }, @@ -72802,8 +74879,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind NetworkPolicy", - "operationId": "listNamespacedNetworkPolicy", + "description": "list or watch objects of kind IPAddress", + "operationId": "listIPAddress", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -72880,14 +74957,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.NetworkPolicyList" + "$ref": "#/definitions/v1beta1.IPAddressList" } }, "401": { @@ -72898,24 +74977,16 @@ "https" ], "tags": [ - "networking_v1" + "networking_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "kind": "IPAddress", + "version": "v1beta1" } }, "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -72928,15 +74999,15 @@ "consumes": [ "*/*" ], - "description": "create a NetworkPolicy", - "operationId": "createNamespacedNetworkPolicy", + "description": "create an IPAddress", + "operationId": "createIPAddress", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" + "$ref": "#/definitions/v1beta1.IPAddress" } }, { @@ -72964,25 +75035,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" + "$ref": "#/definitions/v1beta1.IPAddress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" + "$ref": "#/definitions/v1beta1.IPAddress" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" + "$ref": "#/definitions/v1beta1.IPAddress" } }, "401": { @@ -72993,24 +75065,24 @@ "https" ], "tags": [ - "networking_v1" + "networking_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "kind": "IPAddress", + "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}": { + "/apis/networking.k8s.io/v1beta1/ipaddresses/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a NetworkPolicy", - "operationId": "deleteNamespacedNetworkPolicy", + "description": "delete an IPAddress", + "operationId": "deleteIPAddress", "parameters": [ { "in": "body", @@ -73033,6 +75105,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -73051,7 +75130,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -73074,13 +75154,13 @@ "https" ], "tags": [ - "networking_v1" + "networking_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "kind": "IPAddress", + "version": "v1beta1" }, "x-codegen-request-body-name": "body" }, @@ -73088,18 +75168,19 @@ "consumes": [ "*/*" ], - "description": "read the specified NetworkPolicy", - "operationId": "readNamespacedNetworkPolicy", + "description": "read the specified IPAddress", + "operationId": "readIPAddress", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" + "$ref": "#/definitions/v1beta1.IPAddress" } }, "401": { @@ -73110,32 +75191,24 @@ "https" ], "tags": [ - "networking_v1" + "networking_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "kind": "IPAddress", + "version": "v1beta1" } }, "parameters": [ { - "description": "name of the NetworkPolicy", + "description": "name of the IPAddress", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -73149,10 +75222,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified NetworkPolicy", - "operationId": "patchNamespacedNetworkPolicy", + "description": "partially update the specified IPAddress", + "operationId": "patchIPAddress", "parameters": [ { "in": "body", @@ -73195,19 +75269,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" + "$ref": "#/definitions/v1beta1.IPAddress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" + "$ref": "#/definitions/v1beta1.IPAddress" } }, "401": { @@ -73218,13 +75293,13 @@ "https" ], "tags": [ - "networking_v1" + "networking_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "kind": "IPAddress", + "version": "v1beta1" }, "x-codegen-request-body-name": "body" }, @@ -73232,15 +75307,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified NetworkPolicy", - "operationId": "replaceNamespacedNetworkPolicy", + "description": "replace the specified IPAddress", + "operationId": "replaceIPAddress", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" + "$ref": "#/definitions/v1beta1.IPAddress" } }, { @@ -73268,19 +75343,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" + "$ref": "#/definitions/v1beta1.IPAddress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" + "$ref": "#/definitions/v1beta1.IPAddress" } }, "401": { @@ -73291,36 +75367,247 @@ "https" ], "tags": [ - "networking_v1" + "networking_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "kind": "IPAddress", + "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/networking.k8s.io/v1/networkpolicies": { + "/apis/networking.k8s.io/v1beta1/servicecidrs": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of ServiceCIDR", + "operationId": "deleteCollectionServiceCIDR", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1beta1" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "ServiceCIDR", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind NetworkPolicy", - "operationId": "listNetworkPolicyForAllNamespaces", + "description": "list or watch objects of kind ServiceCIDR", + "operationId": "listServiceCIDR", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.NetworkPolicyList" + "$ref": "#/definitions/v1beta1.ServiceCIDRList" } }, "401": { @@ -73331,177 +75618,623 @@ "https" ], "tags": [ - "networking_v1" + "networking_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "kind": "ServiceCIDR", + "version": "v1beta1" } }, "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/networking.k8s.io/v1/watch/ingressclasses": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a ServiceCIDR", + "operationId": "createServiceCIDR", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.ServiceCIDR" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ServiceCIDR" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ServiceCIDR" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.ServiceCIDR" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "networking_v1beta1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "ServiceCIDR", + "version": "v1beta1" }, + "x-codegen-request-body-name": "body" + } + }, + "/apis/networking.k8s.io/v1beta1/servicecidrs/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a ServiceCIDR", + "operationId": "deleteServiceCIDR", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1beta1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "ServiceCIDR", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "read the specified ServiceCIDR", + "operationId": "readServiceCIDR", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ServiceCIDR" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1beta1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "ServiceCIDR", + "version": "v1beta1" + } + }, + "parameters": [ { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "description": "name of the ServiceCIDR", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", - "name": "timeoutSeconds", - "type": "integer", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml", + "application/apply-patch+cbor" + ], + "description": "partially update the specified ServiceCIDR", + "operationId": "patchServiceCIDR", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ServiceCIDR" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ServiceCIDR" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1beta1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "ServiceCIDR", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified ServiceCIDR", + "operationId": "replaceServiceCIDR", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.ServiceCIDR" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ServiceCIDR" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ServiceCIDR" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1beta1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "ServiceCIDR", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + } + }, + "/apis/networking.k8s.io/v1beta1/servicecidrs/{name}/status": { + "get": { + "consumes": [ + "*/*" + ], + "description": "read status of the specified ServiceCIDR", + "operationId": "readServiceCIDRStatus", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ServiceCIDR" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1beta1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "ServiceCIDR", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "name of the ServiceCIDR", + "in": "path", + "name": "name", + "required": true, + "type": "string", "uniqueItems": true }, { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", - "name": "watch", - "type": "boolean", + "name": "pretty", + "type": "string", "uniqueItems": true } - ] + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml", + "application/apply-patch+cbor" + ], + "description": "partially update status of the specified ServiceCIDR", + "operationId": "patchServiceCIDRStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ServiceCIDR" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ServiceCIDR" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1beta1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "ServiceCIDR", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace status of the specified ServiceCIDR", + "operationId": "replaceServiceCIDRStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.ServiceCIDR" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ServiceCIDR" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ServiceCIDR" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1beta1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "ServiceCIDR", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + } }, - "/apis/networking.k8s.io/v1/watch/ingressclasses/{name}": { + "/apis/networking.k8s.io/v1beta1/watch/ipaddresses": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -73538,14 +76271,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "name of the IngressClass", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -73590,7 +76315,7 @@ } ] }, - "/apis/networking.k8s.io/v1/watch/ingresses": { + "/apis/networking.k8s.io/v1beta1/watch/ipaddresses/{name}": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -73627,6 +76352,14 @@ "type": "integer", "uniqueItems": true }, + { + "description": "name of the IPAddress", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -73671,7 +76404,7 @@ } ] }, - "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/ingresses": { + "/apis/networking.k8s.io/v1beta1/watch/servicecidrs": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -73708,14 +76441,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -73760,7 +76485,7 @@ } ] }, - "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/ingresses/{name}": { + "/apis/networking.k8s.io/v1beta1/watch/servicecidrs/{name}": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -73798,207 +76523,13 @@ "uniqueItems": true }, { - "description": "name of the Ingress", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the NetworkPolicy", + "description": "name of the ServiceCIDR", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -74043,100 +76574,54 @@ } ] }, - "/apis/networking.k8s.io/v1/watch/networkpolicies": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "/apis/node.k8s.io/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get information of a group", + "operationId": "getAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] + "schemes": [ + "https" + ], + "tags": [ + "node" + ] + } }, - "/apis/networking.k8s.io/v1alpha1/": { + "/apis/node.k8s.io/v1/": { "get": { "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -74153,17 +76638,17 @@ "https" ], "tags": [ - "networking_v1alpha1" + "node_v1" ] } }, - "/apis/networking.k8s.io/v1alpha1/ipaddresses": { + "/apis/node.k8s.io/v1/runtimeclasses": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of IPAddress", - "operationId": "deleteCollectionIPAddress", + "description": "delete collection of RuntimeClass", + "operationId": "deleteCollectionRuntimeClass", "parameters": [ { "in": "body", @@ -74200,6 +76685,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -74260,7 +76752,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -74277,13 +76770,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "node_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IPAddress", - "version": "v1alpha1" + "group": "node.k8s.io", + "kind": "RuntimeClass", + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -74291,8 +76784,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind IPAddress", - "operationId": "listIPAddress", + "description": "list or watch objects of kind RuntimeClass", + "operationId": "listRuntimeClass", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -74369,14 +76862,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.IPAddressList" + "$ref": "#/definitions/v1.RuntimeClassList" } }, "401": { @@ -74387,13 +76882,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "node_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IPAddress", - "version": "v1alpha1" + "group": "node.k8s.io", + "kind": "RuntimeClass", + "version": "v1" } }, "parameters": [ @@ -74409,15 +76904,15 @@ "consumes": [ "*/*" ], - "description": "create an IPAddress", - "operationId": "createIPAddress", + "description": "create a RuntimeClass", + "operationId": "createRuntimeClass", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1.RuntimeClass" } }, { @@ -74445,25 +76940,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1.RuntimeClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1.RuntimeClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1.RuntimeClass" } }, "401": { @@ -74474,24 +76970,24 @@ "https" ], "tags": [ - "networking_v1alpha1" + "node_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IPAddress", - "version": "v1alpha1" + "group": "node.k8s.io", + "kind": "RuntimeClass", + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/networking.k8s.io/v1alpha1/ipaddresses/{name}": { + "/apis/node.k8s.io/v1/runtimeclasses/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete an IPAddress", - "operationId": "deleteIPAddress", + "description": "delete a RuntimeClass", + "operationId": "deleteRuntimeClass", "parameters": [ { "in": "body", @@ -74514,6 +77010,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -74532,7 +77035,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -74555,13 +77059,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "node_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IPAddress", - "version": "v1alpha1" + "group": "node.k8s.io", + "kind": "RuntimeClass", + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -74569,18 +77073,19 @@ "consumes": [ "*/*" ], - "description": "read the specified IPAddress", - "operationId": "readIPAddress", + "description": "read the specified RuntimeClass", + "operationId": "readRuntimeClass", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1.RuntimeClass" } }, "401": { @@ -74591,18 +77096,18 @@ "https" ], "tags": [ - "networking_v1alpha1" + "node_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IPAddress", - "version": "v1alpha1" + "group": "node.k8s.io", + "kind": "RuntimeClass", + "version": "v1" } }, "parameters": [ { - "description": "name of the IPAddress", + "description": "name of the RuntimeClass", "in": "path", "name": "name", "required": true, @@ -74622,10 +77127,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified IPAddress", - "operationId": "patchIPAddress", + "description": "partially update the specified RuntimeClass", + "operationId": "patchRuntimeClass", "parameters": [ { "in": "body", @@ -74668,19 +77174,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1.RuntimeClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1.RuntimeClass" } }, "401": { @@ -74691,13 +77198,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "node_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IPAddress", - "version": "v1alpha1" + "group": "node.k8s.io", + "kind": "RuntimeClass", + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -74705,15 +77212,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified IPAddress", - "operationId": "replaceIPAddress", + "description": "replace the specified RuntimeClass", + "operationId": "replaceRuntimeClass", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1.RuntimeClass" } }, { @@ -74741,19 +77248,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1.RuntimeClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1.RuntimeClass" } }, "401": { @@ -74764,103 +77272,348 @@ "https" ], "tags": [ - "networking_v1alpha1" + "node_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IPAddress", - "version": "v1alpha1" + "group": "node.k8s.io", + "kind": "RuntimeClass", + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/networking.k8s.io/v1alpha1/servicecidrs": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of ServiceCIDR", - "operationId": "deleteCollectionServiceCIDR", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { + "/apis/node.k8s.io/v1/watch/runtimeclasses": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/node.k8s.io/v1/watch/runtimeclasses/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the RuntimeClass", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/policy/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get information of a group", + "operationId": "getAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "policy" + ] + } + }, + "/apis/policy/v1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "description": "get available resources", + "operationId": "getAPIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "policy_v1" + ] + } + }, + "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of PodDisruptionBudget", + "operationId": "deleteCollectionNamespacedPodDisruptionBudget", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", "in": "query", "name": "sendInitialEvents", @@ -74878,7 +77631,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -74895,13 +77649,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "policy_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "ServiceCIDR", - "version": "v1alpha1" + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -74909,8 +77663,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind ServiceCIDR", - "operationId": "listServiceCIDR", + "description": "list or watch objects of kind PodDisruptionBudget", + "operationId": "listNamespacedPodDisruptionBudget", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -74987,14 +77741,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDRList" + "$ref": "#/definitions/v1.PodDisruptionBudgetList" } }, "401": { @@ -75005,16 +77761,24 @@ "https" ], "tags": [ - "networking_v1alpha1" + "policy_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "ServiceCIDR", - "version": "v1alpha1" + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" } }, "parameters": [ + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -75027,15 +77791,15 @@ "consumes": [ "*/*" ], - "description": "create a ServiceCIDR", - "operationId": "createServiceCIDR", + "description": "create a PodDisruptionBudget", + "operationId": "createNamespacedPodDisruptionBudget", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1.PodDisruptionBudget" } }, { @@ -75063,25 +77827,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1.PodDisruptionBudget" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1.PodDisruptionBudget" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1.PodDisruptionBudget" } }, "401": { @@ -75092,24 +77857,24 @@ "https" ], "tags": [ - "networking_v1alpha1" + "policy_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "ServiceCIDR", - "version": "v1alpha1" + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}": { + "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a ServiceCIDR", - "operationId": "deleteServiceCIDR", + "description": "delete a PodDisruptionBudget", + "operationId": "deleteNamespacedPodDisruptionBudget", "parameters": [ { "in": "body", @@ -75132,6 +77897,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -75150,7 +77922,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -75173,13 +77946,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "policy_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "ServiceCIDR", - "version": "v1alpha1" + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -75187,18 +77960,19 @@ "consumes": [ "*/*" ], - "description": "read the specified ServiceCIDR", - "operationId": "readServiceCIDR", + "description": "read the specified PodDisruptionBudget", + "operationId": "readNamespacedPodDisruptionBudget", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1.PodDisruptionBudget" } }, "401": { @@ -75209,24 +77983,32 @@ "https" ], "tags": [ - "networking_v1alpha1" + "policy_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "ServiceCIDR", - "version": "v1alpha1" + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" } }, "parameters": [ { - "description": "name of the ServiceCIDR", + "description": "name of the PodDisruptionBudget", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -75240,10 +78022,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified ServiceCIDR", - "operationId": "patchServiceCIDR", + "description": "partially update the specified PodDisruptionBudget", + "operationId": "patchNamespacedPodDisruptionBudget", "parameters": [ { "in": "body", @@ -75286,19 +78069,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1.PodDisruptionBudget" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1.PodDisruptionBudget" } }, "401": { @@ -75309,13 +78093,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "policy_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "ServiceCIDR", - "version": "v1alpha1" + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -75323,15 +78107,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified ServiceCIDR", - "operationId": "replaceServiceCIDR", + "description": "replace the specified PodDisruptionBudget", + "operationId": "replaceNamespacedPodDisruptionBudget", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1.PodDisruptionBudget" } }, { @@ -75359,19 +78143,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1.PodDisruptionBudget" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1.PodDisruptionBudget" } }, "401": { @@ -75382,34 +78167,35 @@ "https" ], "tags": [ - "networking_v1alpha1" + "policy_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "ServiceCIDR", - "version": "v1alpha1" + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status": { + "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified ServiceCIDR", - "operationId": "readServiceCIDRStatus", + "description": "read status of the specified PodDisruptionBudget", + "operationId": "readNamespacedPodDisruptionBudgetStatus", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1.PodDisruptionBudget" } }, "401": { @@ -75420,24 +78206,32 @@ "https" ], "tags": [ - "networking_v1alpha1" + "policy_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "ServiceCIDR", - "version": "v1alpha1" + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" } }, "parameters": [ { - "description": "name of the ServiceCIDR", + "description": "name of the PodDisruptionBudget", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -75451,10 +78245,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update status of the specified ServiceCIDR", - "operationId": "patchServiceCIDRStatus", + "description": "partially update status of the specified PodDisruptionBudget", + "operationId": "patchNamespacedPodDisruptionBudgetStatus", "parameters": [ { "in": "body", @@ -75497,19 +78292,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1.PodDisruptionBudget" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1.PodDisruptionBudget" } }, "401": { @@ -75520,13 +78316,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "policy_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "ServiceCIDR", - "version": "v1alpha1" + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -75534,15 +78330,15 @@ "consumes": [ "*/*" ], - "description": "replace status of the specified ServiceCIDR", - "operationId": "replaceServiceCIDRStatus", + "description": "replace status of the specified PodDisruptionBudget", + "operationId": "replaceNamespacedPodDisruptionBudgetStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1.PodDisruptionBudget" } }, { @@ -75570,19 +78366,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1.PodDisruptionBudget" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.ServiceCIDR" + "$ref": "#/definitions/v1.PodDisruptionBudget" } }, "401": { @@ -75593,25 +78390,64 @@ "https" ], "tags": [ - "networking_v1alpha1" + "policy_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "ServiceCIDR", - "version": "v1alpha1" + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/networking.k8s.io/v1alpha1/watch/ipaddresses": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true + "/apis/policy/v1/poddisruptionbudgets": { + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind PodDisruptionBudget", + "operationId": "listPodDisruptionBudgetForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.PodDisruptionBudgetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "policy_v1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true }, { "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", @@ -75685,7 +78521,7 @@ } ] }, - "/apis/networking.k8s.io/v1alpha1/watch/ipaddresses/{name}": { + "/apis/policy/v1/watch/namespaces/{namespace}/poddisruptionbudgets": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -75723,9 +78559,9 @@ "uniqueItems": true }, { - "description": "name of the IPAddress", + "description": "object name and auth scope, such as for teams and projects", "in": "path", - "name": "name", + "name": "namespace", "required": true, "type": "string", "uniqueItems": true @@ -75774,7 +78610,7 @@ } ] }, - "/apis/networking.k8s.io/v1alpha1/watch/servicecidrs": { + "/apis/policy/v1/watch/namespaces/{namespace}/poddisruptionbudgets/{name}": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -75811,6 +78647,22 @@ "type": "integer", "uniqueItems": true }, + { + "description": "name of the PodDisruptionBudget", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -75855,7 +78707,7 @@ } ] }, - "/apis/networking.k8s.io/v1alpha1/watch/servicecidrs/{name}": { + "/apis/policy/v1/watch/poddisruptionbudgets": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -75892,14 +78744,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "name of the ServiceCIDR", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -75944,7 +78788,7 @@ } ] }, - "/apis/node.k8s.io/": { + "/apis/rbac.authorization.k8s.io/": { "get": { "consumes": [ "application/json", @@ -75973,23 +78817,25 @@ "https" ], "tags": [ - "node" + "rbacAuthorization" ] } }, - "/apis/node.k8s.io/v1/": { + "/apis/rbac.authorization.k8s.io/v1/": { "get": { "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -76006,17 +78852,17 @@ "https" ], "tags": [ - "node_v1" + "rbacAuthorization_v1" ] } }, - "/apis/node.k8s.io/v1/runtimeclasses": { + "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of RuntimeClass", - "operationId": "deleteCollectionRuntimeClass", + "description": "delete collection of ClusterRoleBinding", + "operationId": "deleteCollectionClusterRoleBinding", "parameters": [ { "in": "body", @@ -76053,6 +78899,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -76113,7 +78966,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -76130,12 +78984,12 @@ "https" ], "tags": [ - "node_v1" + "rbacAuthorization_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", "version": "v1" }, "x-codegen-request-body-name": "body" @@ -76144,8 +78998,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind RuntimeClass", - "operationId": "listRuntimeClass", + "description": "list or watch objects of kind ClusterRoleBinding", + "operationId": "listClusterRoleBinding", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -76222,14 +79076,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.RuntimeClassList" + "$ref": "#/definitions/v1.ClusterRoleBindingList" } }, "401": { @@ -76240,12 +79096,12 @@ "https" ], "tags": [ - "node_v1" + "rbacAuthorization_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", "version": "v1" } }, @@ -76262,15 +79118,15 @@ "consumes": [ "*/*" ], - "description": "create a RuntimeClass", - "operationId": "createRuntimeClass", + "description": "create a ClusterRoleBinding", + "operationId": "createClusterRoleBinding", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.RuntimeClass" + "$ref": "#/definitions/v1.ClusterRoleBinding" } }, { @@ -76298,25 +79154,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.RuntimeClass" + "$ref": "#/definitions/v1.ClusterRoleBinding" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.RuntimeClass" + "$ref": "#/definitions/v1.ClusterRoleBinding" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.RuntimeClass" + "$ref": "#/definitions/v1.ClusterRoleBinding" } }, "401": { @@ -76327,24 +79184,24 @@ "https" ], "tags": [ - "node_v1" + "rbacAuthorization_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/node.k8s.io/v1/runtimeclasses/{name}": { + "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a RuntimeClass", - "operationId": "deleteRuntimeClass", + "description": "delete a ClusterRoleBinding", + "operationId": "deleteClusterRoleBinding", "parameters": [ { "in": "body", @@ -76367,6 +79224,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -76385,7 +79249,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -76408,12 +79273,12 @@ "https" ], "tags": [ - "node_v1" + "rbacAuthorization_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", "version": "v1" }, "x-codegen-request-body-name": "body" @@ -76422,18 +79287,19 @@ "consumes": [ "*/*" ], - "description": "read the specified RuntimeClass", - "operationId": "readRuntimeClass", + "description": "read the specified ClusterRoleBinding", + "operationId": "readClusterRoleBinding", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.RuntimeClass" + "$ref": "#/definitions/v1.ClusterRoleBinding" } }, "401": { @@ -76444,18 +79310,18 @@ "https" ], "tags": [ - "node_v1" + "rbacAuthorization_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", "version": "v1" } }, "parameters": [ { - "description": "name of the RuntimeClass", + "description": "name of the ClusterRoleBinding", "in": "path", "name": "name", "required": true, @@ -76475,10 +79341,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified RuntimeClass", - "operationId": "patchRuntimeClass", + "description": "partially update the specified ClusterRoleBinding", + "operationId": "patchClusterRoleBinding", "parameters": [ { "in": "body", @@ -76521,19 +79388,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.RuntimeClass" + "$ref": "#/definitions/v1.ClusterRoleBinding" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.RuntimeClass" + "$ref": "#/definitions/v1.ClusterRoleBinding" } }, "401": { @@ -76544,12 +79412,12 @@ "https" ], "tags": [ - "node_v1" + "rbacAuthorization_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", "version": "v1" }, "x-codegen-request-body-name": "body" @@ -76558,15 +79426,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified RuntimeClass", - "operationId": "replaceRuntimeClass", + "description": "replace the specified ClusterRoleBinding", + "operationId": "replaceClusterRoleBinding", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.RuntimeClass" + "$ref": "#/definitions/v1.ClusterRoleBinding" } }, { @@ -76594,19 +79462,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.RuntimeClass" + "$ref": "#/definitions/v1.ClusterRoleBinding" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.RuntimeClass" + "$ref": "#/definitions/v1.ClusterRoleBinding" } }, "401": { @@ -76617,260 +79486,24 @@ "https" ], "tags": [ - "node_v1" + "rbacAuthorization_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "node.k8s.io", - "kind": "RuntimeClass", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/node.k8s.io/v1/watch/runtimeclasses": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/node.k8s.io/v1/watch/runtimeclasses/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the RuntimeClass", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/policy/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy" - ] - } - }, - "/apis/policy/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAPIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "policy_v1" - ] - } - }, - "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets": { + "/apis/rbac.authorization.k8s.io/v1/clusterroles": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of PodDisruptionBudget", - "operationId": "deleteCollectionNamespacedPodDisruptionBudget", + "description": "delete collection of ClusterRole", + "operationId": "deleteCollectionClusterRole", "parameters": [ { "in": "body", @@ -76907,6 +79540,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -76967,7 +79607,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -76984,12 +79625,12 @@ "https" ], "tags": [ - "policy_v1" + "rbacAuthorization_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", "version": "v1" }, "x-codegen-request-body-name": "body" @@ -76998,8 +79639,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind PodDisruptionBudget", - "operationId": "listNamespacedPodDisruptionBudget", + "description": "list or watch objects of kind ClusterRole", + "operationId": "listClusterRole", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -77076,14 +79717,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.PodDisruptionBudgetList" + "$ref": "#/definitions/v1.ClusterRoleList" } }, "401": { @@ -77094,24 +79737,16 @@ "https" ], "tags": [ - "policy_v1" + "rbacAuthorization_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", "version": "v1" } }, "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -77124,15 +79759,15 @@ "consumes": [ "*/*" ], - "description": "create a PodDisruptionBudget", - "operationId": "createNamespacedPodDisruptionBudget", + "description": "create a ClusterRole", + "operationId": "createClusterRole", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.PodDisruptionBudget" + "$ref": "#/definitions/v1.ClusterRole" } }, { @@ -77160,25 +79795,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.PodDisruptionBudget" + "$ref": "#/definitions/v1.ClusterRole" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.PodDisruptionBudget" + "$ref": "#/definitions/v1.ClusterRole" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.PodDisruptionBudget" + "$ref": "#/definitions/v1.ClusterRole" } }, "401": { @@ -77189,24 +79825,24 @@ "https" ], "tags": [ - "policy_v1" + "rbacAuthorization_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets/{name}": { + "/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a PodDisruptionBudget", - "operationId": "deleteNamespacedPodDisruptionBudget", + "description": "delete a ClusterRole", + "operationId": "deleteClusterRole", "parameters": [ { "in": "body", @@ -77229,6 +79865,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -77247,7 +79890,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -77270,12 +79914,12 @@ "https" ], "tags": [ - "policy_v1" + "rbacAuthorization_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", "version": "v1" }, "x-codegen-request-body-name": "body" @@ -77284,18 +79928,19 @@ "consumes": [ "*/*" ], - "description": "read the specified PodDisruptionBudget", - "operationId": "readNamespacedPodDisruptionBudget", + "description": "read the specified ClusterRole", + "operationId": "readClusterRole", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.PodDisruptionBudget" + "$ref": "#/definitions/v1.ClusterRole" } }, "401": { @@ -77306,32 +79951,24 @@ "https" ], "tags": [ - "policy_v1" + "rbacAuthorization_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", "version": "v1" } }, "parameters": [ { - "description": "name of the PodDisruptionBudget", + "description": "name of the ClusterRole", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -77345,10 +79982,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified PodDisruptionBudget", - "operationId": "patchNamespacedPodDisruptionBudget", + "description": "partially update the specified ClusterRole", + "operationId": "patchClusterRole", "parameters": [ { "in": "body", @@ -77391,19 +80029,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.PodDisruptionBudget" + "$ref": "#/definitions/v1.ClusterRole" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.PodDisruptionBudget" + "$ref": "#/definitions/v1.ClusterRole" } }, "401": { @@ -77414,12 +80053,12 @@ "https" ], "tags": [ - "policy_v1" + "rbacAuthorization_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", "version": "v1" }, "x-codegen-request-body-name": "body" @@ -77428,15 +80067,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified PodDisruptionBudget", - "operationId": "replaceNamespacedPodDisruptionBudget", + "description": "replace the specified ClusterRole", + "operationId": "replaceClusterRole", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.PodDisruptionBudget" + "$ref": "#/definitions/v1.ClusterRole" } }, { @@ -77464,19 +80103,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.PodDisruptionBudget" + "$ref": "#/definitions/v1.ClusterRole" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.PodDisruptionBudget" + "$ref": "#/definitions/v1.ClusterRole" } }, "401": { @@ -77487,34 +80127,247 @@ "https" ], "tags": [ - "policy_v1" + "rbacAuthorization_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets/{name}/status": { + "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of RoleBinding", + "operationId": "deleteCollectionNamespacedRoleBinding", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, "get": { "consumes": [ "*/*" ], - "description": "read status of the specified PodDisruptionBudget", - "operationId": "readNamespacedPodDisruptionBudgetStatus", + "description": "list or watch objects of kind RoleBinding", + "operationId": "listNamespacedRoleBinding", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.PodDisruptionBudget" + "$ref": "#/definitions/v1.RoleBindingList" } }, "401": { @@ -77525,24 +80378,16 @@ "https" ], "tags": [ - "policy_v1" + "rbacAuthorization_v1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", "version": "v1" } }, "parameters": [ - { - "description": "name of the PodDisruptionBudget", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "object name and auth scope, such as for teams and projects", "in": "path", @@ -77559,23 +80404,19 @@ "uniqueItems": true } ], - "patch": { + "post": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "*/*" ], - "description": "partially update status of the specified PodDisruptionBudget", - "operationId": "patchNamespacedPodDisruptionBudgetStatus", + "description": "create a RoleBinding", + "operationId": "createNamespacedRoleBinding", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" + "$ref": "#/definitions/v1.RoleBinding" } }, { @@ -77586,7 +80427,7 @@ "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", "in": "query", "name": "fieldManager", "type": "string", @@ -77598,31 +80439,31 @@ "name": "fieldValidation", "type": "string", "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true } ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.PodDisruptionBudget" + "$ref": "#/definitions/v1.RoleBinding" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.PodDisruptionBudget" + "$ref": "#/definitions/v1.RoleBinding" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.RoleBinding" } }, "401": { @@ -77633,29 +80474,30 @@ "https" ], "tags": [ - "policy_v1" + "rbacAuthorization_v1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", "version": "v1" }, "x-codegen-request-body-name": "body" - }, - "put": { + } + }, + "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}": { + "delete": { "consumes": [ "*/*" ], - "description": "replace status of the specified PodDisruptionBudget", - "operationId": "replaceNamespacedPodDisruptionBudgetStatus", + "description": "delete a RoleBinding", + "operationId": "deleteNamespacedRoleBinding", "parameters": [ { "in": "body", "name": "body", - "required": true, "schema": { - "$ref": "#/definitions/v1.PodDisruptionBudget" + "$ref": "#/definitions/v1.DeleteOptions" } }, { @@ -77666,16 +80508,30 @@ "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", "in": "query", - "name": "fieldManager", - "type": "string", + "name": "gracePeriodSeconds", + "type": "integer", "uniqueItems": true }, { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", "in": "query", - "name": "fieldValidation", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", "type": "string", "uniqueItems": true } @@ -77683,19 +80539,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.PodDisruptionBudget" + "$ref": "#/definitions/v1.Status" } }, - "201": { - "description": "Created", + "202": { + "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.PodDisruptionBudget" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -77706,36 +80563,33 @@ "https" ], "tags": [ - "policy_v1" + "rbacAuthorization_v1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", "version": "v1" }, "x-codegen-request-body-name": "body" - } - }, - "/apis/policy/v1/poddisruptionbudgets": { + }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind PodDisruptionBudget", - "operationId": "listPodDisruptionBudgetForAllNamespaces", + "description": "read the specified RoleBinding", + "operationId": "readNamespacedRoleBinding", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.PodDisruptionBudgetList" + "$ref": "#/definitions/v1.RoleBinding" } }, "401": { @@ -77746,381 +80600,106 @@ "https" ], "tags": [ - "policy_v1" + "rbacAuthorization_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", + "description": "name of the RoleBinding", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, "type": "string", "uniqueItems": true }, { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", - "name": "labelSelector", + "name": "pretty", "type": "string", "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/policy/v1/watch/namespaces/{namespace}/poddisruptionbudgets": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/policy/v1/watch/namespaces/{namespace}/poddisruptionbudgets/{name}": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the PodDisruptionBudget", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/policy/v1/watch/poddisruptionbudgets": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/rbac.authorization.k8s.io/": { - "get": { + ], + "patch": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml", + "application/apply-patch+cbor" + ], + "description": "partially update the specified RoleBinding", + "operationId": "patchNamespacedRoleBinding", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } ], - "description": "get information of a group", - "operationId": "getAPIGroup", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIGroup" + "$ref": "#/definitions/v1.RoleBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.RoleBinding" } }, "401": { @@ -78131,29 +80710,70 @@ "https" ], "tags": [ - "rbacAuthorization" - ] - } - }, - "/apis/rbac.authorization.k8s.io/v1/": { - "get": { + "rbacAuthorization_v1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "put": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" + ], + "description": "replace the specified RoleBinding", + "operationId": "replaceNamespacedRoleBinding", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.RoleBinding" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } ], - "description": "get available resources", - "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIResourceList" + "$ref": "#/definitions/v1.RoleBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.RoleBinding" } }, "401": { @@ -78165,16 +80785,23 @@ ], "tags": [ "rbacAuthorization_v1" - ] + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + }, + "x-codegen-request-body-name": "body" } }, - "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings": { + "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of ClusterRoleBinding", - "operationId": "deleteCollectionClusterRoleBinding", + "description": "delete collection of Role", + "operationId": "deleteCollectionNamespacedRole", "parameters": [ { "in": "body", @@ -78211,6 +80838,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -78271,7 +80905,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -78293,7 +80928,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "Role", "version": "v1" }, "x-codegen-request-body-name": "body" @@ -78302,8 +80937,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind ClusterRoleBinding", - "operationId": "listClusterRoleBinding", + "description": "list or watch objects of kind Role", + "operationId": "listNamespacedRole", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -78380,14 +81015,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.ClusterRoleBindingList" + "$ref": "#/definitions/v1.RoleList" } }, "401": { @@ -78403,11 +81040,19 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "Role", "version": "v1" } }, "parameters": [ + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -78420,15 +81065,15 @@ "consumes": [ "*/*" ], - "description": "create a ClusterRoleBinding", - "operationId": "createClusterRoleBinding", + "description": "create a Role", + "operationId": "createNamespacedRole", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.ClusterRoleBinding" + "$ref": "#/definitions/v1.Role" } }, { @@ -78456,25 +81101,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.ClusterRoleBinding" + "$ref": "#/definitions/v1.Role" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.ClusterRoleBinding" + "$ref": "#/definitions/v1.Role" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.ClusterRoleBinding" + "$ref": "#/definitions/v1.Role" } }, "401": { @@ -78490,19 +81136,19 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "Role", "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}": { + "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a ClusterRoleBinding", - "operationId": "deleteClusterRoleBinding", + "description": "delete a Role", + "operationId": "deleteNamespacedRole", "parameters": [ { "in": "body", @@ -78525,6 +81171,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -78543,7 +81196,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -78571,7 +81225,7 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "Role", "version": "v1" }, "x-codegen-request-body-name": "body" @@ -78580,18 +81234,19 @@ "consumes": [ "*/*" ], - "description": "read the specified ClusterRoleBinding", - "operationId": "readClusterRoleBinding", + "description": "read the specified Role", + "operationId": "readNamespacedRole", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.ClusterRoleBinding" + "$ref": "#/definitions/v1.Role" } }, "401": { @@ -78607,19 +81262,27 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "Role", "version": "v1" } }, "parameters": [ { - "description": "name of the ClusterRoleBinding", + "description": "name of the Role", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -78633,10 +81296,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified ClusterRoleBinding", - "operationId": "patchClusterRoleBinding", + "description": "partially update the specified Role", + "operationId": "patchNamespacedRole", "parameters": [ { "in": "body", @@ -78679,19 +81343,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.ClusterRoleBinding" + "$ref": "#/definitions/v1.Role" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.ClusterRoleBinding" + "$ref": "#/definitions/v1.Role" } }, "401": { @@ -78707,7 +81372,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "Role", "version": "v1" }, "x-codegen-request-body-name": "body" @@ -78716,15 +81381,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified ClusterRoleBinding", - "operationId": "replaceClusterRoleBinding", + "description": "replace the specified Role", + "operationId": "replaceNamespacedRole", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.ClusterRoleBinding" + "$ref": "#/definitions/v1.Role" } }, { @@ -78752,19 +81417,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.ClusterRoleBinding" + "$ref": "#/definitions/v1.Role" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.ClusterRoleBinding" + "$ref": "#/definitions/v1.Role" } }, "401": { @@ -78780,232 +81446,33 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "kind": "Role", "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/rbac.authorization.k8s.io/v1/clusterroles": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of ClusterRole", - "operationId": "deleteCollectionClusterRole", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - }, + "/apis/rbac.authorization.k8s.io/v1/rolebindings": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind ClusterRole", - "operationId": "listClusterRole", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], + "description": "list or watch objects of kind RoleBinding", + "operationId": "listRoleBindingForAllNamespaces", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.ClusterRoleList" + "$ref": "#/definitions/v1.RoleBindingList" } }, "401": { @@ -79021,195 +81488,111 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", + "kind": "RoleBinding", "version": "v1" } }, "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a ClusterRole", - "operationId": "createClusterRole", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.ClusterRole" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.ClusterRole" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.ClusterRole" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.ClusterRole" - } - }, - "401": { - "description": "Unauthorized" - } }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a ClusterRole", - "operationId": "deleteClusterRole", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true }, - "x-codegen-request-body-name": "body" - }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/roles": { "get": { "consumes": [ "*/*" ], - "description": "read the specified ClusterRole", - "operationId": "readClusterRole", + "description": "list or watch objects of kind Role", + "operationId": "listRoleForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.ClusterRole" + "$ref": "#/definitions/v1.RoleList" } }, "401": { @@ -79222,1494 +81605,94 @@ "tags": [ "rbacAuthorization_v1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", + "kind": "Role", "version": "v1" } }, "parameters": [ { - "description": "name of the ClusterRole", - "in": "path", - "name": "name", - "required": true, - "type": "string", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "in": "query", - "name": "pretty", + "name": "continue", "type": "string", "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ClusterRole", - "operationId": "patchClusterRole", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.ClusterRole" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.ClusterRole" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ClusterRole", - "operationId": "replaceClusterRole", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.ClusterRole" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.ClusterRole" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.ClusterRole" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of RoleBinding", - "operationId": "deleteCollectionNamespacedRoleBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind RoleBinding", - "operationId": "listNamespacedRoleBinding", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.RoleBindingList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" - } - }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a RoleBinding", - "operationId": "createNamespacedRoleBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.RoleBinding" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.RoleBinding" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.RoleBinding" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.RoleBinding" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a RoleBinding", - "operationId": "deleteNamespacedRoleBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified RoleBinding", - "operationId": "readNamespacedRoleBinding", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.RoleBinding" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the RoleBinding", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified RoleBinding", - "operationId": "patchNamespacedRoleBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.RoleBinding" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.RoleBinding" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified RoleBinding", - "operationId": "replaceNamespacedRoleBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.RoleBinding" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.RoleBinding" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.RoleBinding" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of Role", - "operationId": "deleteCollectionNamespacedRole", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Role", - "operationId": "listNamespacedRole", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.RoleList" - } - }, - "401": { - "description": "Unauthorized" - } }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" - } - }, - "parameters": [ { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", "type": "string", "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", - "name": "pretty", + "name": "labelSelector", "type": "string", "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a Role", - "operationId": "createNamespacedRole", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Role" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Role" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.Role" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.Role" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a Role", - "operationId": "deleteNamespacedRole", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" }, - "x-codegen-request-body-name": "body" - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified Role", - "operationId": "readNamespacedRole", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Role" - } - }, - "401": { - "description": "Unauthorized" - } + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" - } - }, - "parameters": [ { - "description": "name of the Role", - "in": "path", - "name": "name", - "required": true, + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", "type": "string", "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", "type": "string", "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", "in": "query", - "name": "pretty", + "name": "resourceVersionMatch", "type": "string", "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified Role", - "operationId": "patchNamespacedRole", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Role" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.Role" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified Role", - "operationId": "replaceNamespacedRole", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Role" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Role" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.Role" - } - }, - "401": { - "description": "Unauthorized" - } }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/rbac.authorization.k8s.io/v1/rolebindings": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind RoleBinding", - "operationId": "listRoleBindingForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.RoleBindingList" - } - }, - "401": { - "description": "Unauthorized" - } + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - }, + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -80790,44 +81773,7 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/roles": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind Role", - "operationId": "listRoleForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.RoleList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" - } - }, + "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/{name}": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -80864,6 +81810,14 @@ "type": "integer", "uniqueItems": true }, + { + "description": "name of the ClusterRoleBinding", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -80908,7 +81862,7 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings": { + "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -80989,7 +81943,7 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/{name}": { + "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles/{name}": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -81027,7 +81981,7 @@ "uniqueItems": true }, { - "description": "name of the ClusterRoleBinding", + "description": "name of the ClusterRole", "in": "path", "name": "name", "required": true, @@ -81078,7 +82032,7 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles": { + "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -81115,6 +82069,14 @@ "type": "integer", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -81159,7 +82121,7 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles/{name}": { + "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings/{name}": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -81197,13 +82159,21 @@ "uniqueItems": true }, { - "description": "name of the ClusterRole", + "description": "name of the RoleBinding", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -81248,7 +82218,7 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings": { + "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -81337,7 +82307,7 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings/{name}": { + "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles/{name}": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -81375,7 +82345,7 @@ "uniqueItems": true }, { - "description": "name of the RoleBinding", + "description": "name of the Role", "in": "path", "name": "name", "required": true, @@ -81434,7 +82404,7 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles": { + "/apis/rbac.authorization.k8s.io/v1/watch/rolebindings": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -81471,14 +82441,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -81523,7 +82485,7 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles/{name}": { + "/apis/rbac.authorization.k8s.io/v1/watch/roles": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -81560,22 +82522,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "name of the Role", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -81620,187 +82566,620 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/watch/rolebindings": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true + "/apis/resource.k8s.io/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get information of a group", + "operationId": "getAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "resource" + ] + } + }, + "/apis/resource.k8s.io/v1alpha3/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "description": "get available resources", + "operationId": "getAPIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha3" + ] + } + }, + "/apis/resource.k8s.io/v1alpha3/deviceclasses": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of DeviceClass", + "operationId": "deleteCollectionDeviceClass", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha3" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "DeviceClass", + "version": "v1alpha3" }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true + "x-codegen-request-body-name": "body" + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind DeviceClass", + "operationId": "listDeviceClass", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha3.DeviceClassList" + } + }, + "401": { + "description": "Unauthorized" + } }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha3" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "DeviceClass", + "version": "v1alpha3" + } + }, + "parameters": [ { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", "uniqueItems": true + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a DeviceClass", + "operationId": "createDeviceClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha3.DeviceClass" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha3.DeviceClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha3.DeviceClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1alpha3.DeviceClass" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha3" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "DeviceClass", + "version": "v1alpha3" }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true + "x-codegen-request-body-name": "body" + } + }, + "/apis/resource.k8s.io/v1alpha3/deviceclasses/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a DeviceClass", + "operationId": "deleteDeviceClass", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha3.DeviceClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1alpha3.DeviceClass" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha3" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "DeviceClass", + "version": "v1alpha3" }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "x-codegen-request-body-name": "body" + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "read the specified DeviceClass", + "operationId": "readDeviceClass", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha3.DeviceClass" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha3" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "DeviceClass", + "version": "v1alpha3" } - ] - }, - "/apis/rbac.authorization.k8s.io/v1/watch/roles": { + }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "name of the DeviceClass", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/resource.k8s.io/": { - "get": { + ], + "patch": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml", + "application/apply-patch+cbor" + ], + "description": "partially update the specified DeviceClass", + "operationId": "patchDeviceClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } ], - "description": "get information of a group", - "operationId": "getAPIGroup", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIGroup" + "$ref": "#/definitions/v1alpha3.DeviceClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha3.DeviceClass" } }, "401": { @@ -81811,29 +83190,70 @@ "https" ], "tags": [ - "resource" - ] - } - }, - "/apis/resource.k8s.io/v1alpha2/": { - "get": { + "resource_v1alpha3" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "DeviceClass", + "version": "v1alpha3" + }, + "x-codegen-request-body-name": "body" + }, + "put": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" + ], + "description": "replace the specified DeviceClass", + "operationId": "replaceDeviceClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha3.DeviceClass" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } ], - "description": "get available resources", - "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIResourceList" + "$ref": "#/definitions/v1alpha3.DeviceClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha3.DeviceClass" } }, "401": { @@ -81844,17 +83264,24 @@ "https" ], "tags": [ - "resource_v1alpha2" - ] + "resource_v1alpha3" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "DeviceClass", + "version": "v1alpha3" + }, + "x-codegen-request-body-name": "body" } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts": { + "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of PodSchedulingContext", - "operationId": "deleteCollectionNamespacedPodSchedulingContext", + "description": "delete collection of ResourceClaim", + "operationId": "deleteCollectionNamespacedResourceClaim", "parameters": [ { "in": "body", @@ -81891,6 +83318,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -81951,7 +83385,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -81968,13 +83403,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" }, @@ -81982,8 +83417,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind PodSchedulingContext", - "operationId": "listNamespacedPodSchedulingContext", + "description": "list or watch objects of kind ResourceClaim", + "operationId": "listNamespacedResourceClaim", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -82060,14 +83495,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContextList" + "$ref": "#/definitions/v1alpha3.ResourceClaimList" } }, "401": { @@ -82078,13 +83515,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1alpha3" } }, "parameters": [ @@ -82108,15 +83545,15 @@ "consumes": [ "*/*" ], - "description": "create a PodSchedulingContext", - "operationId": "createNamespacedPodSchedulingContext", + "description": "create a ResourceClaim", + "operationId": "createNamespacedResourceClaim", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, { @@ -82144,25 +83581,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "401": { @@ -82173,24 +83611,24 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name}": { + "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a PodSchedulingContext", - "operationId": "deleteNamespacedPodSchedulingContext", + "description": "delete a ResourceClaim", + "operationId": "deleteNamespacedResourceClaim", "parameters": [ { "in": "body", @@ -82213,6 +83651,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -82231,19 +83676,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "401": { @@ -82254,13 +83700,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" }, @@ -82268,18 +83714,19 @@ "consumes": [ "*/*" ], - "description": "read the specified PodSchedulingContext", - "operationId": "readNamespacedPodSchedulingContext", + "description": "read the specified ResourceClaim", + "operationId": "readNamespacedResourceClaim", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "401": { @@ -82290,18 +83737,18 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1alpha3" } }, "parameters": [ { - "description": "name of the PodSchedulingContext", + "description": "name of the ResourceClaim", "in": "path", "name": "name", "required": true, @@ -82329,10 +83776,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified PodSchedulingContext", - "operationId": "patchNamespacedPodSchedulingContext", + "description": "partially update the specified ResourceClaim", + "operationId": "patchNamespacedResourceClaim", "parameters": [ { "in": "body", @@ -82375,19 +83823,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "401": { @@ -82398,13 +83847,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" }, @@ -82412,15 +83861,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified PodSchedulingContext", - "operationId": "replaceNamespacedPodSchedulingContext", + "description": "replace the specified ResourceClaim", + "operationId": "replaceNamespacedResourceClaim", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, { @@ -82448,19 +83897,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "401": { @@ -82471,34 +83921,35 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name}/status": { + "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified PodSchedulingContext", - "operationId": "readNamespacedPodSchedulingContextStatus", + "description": "read status of the specified ResourceClaim", + "operationId": "readNamespacedResourceClaimStatus", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "401": { @@ -82509,18 +83960,18 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1alpha3" } }, "parameters": [ { - "description": "name of the PodSchedulingContext", + "description": "name of the ResourceClaim", "in": "path", "name": "name", "required": true, @@ -82548,10 +83999,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update status of the specified PodSchedulingContext", - "operationId": "patchNamespacedPodSchedulingContextStatus", + "description": "partially update status of the specified ResourceClaim", + "operationId": "patchNamespacedResourceClaimStatus", "parameters": [ { "in": "body", @@ -82594,19 +84046,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "401": { @@ -82617,13 +84070,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" }, @@ -82631,15 +84084,15 @@ "consumes": [ "*/*" ], - "description": "replace status of the specified PodSchedulingContext", - "operationId": "replaceNamespacedPodSchedulingContextStatus", + "description": "replace status of the specified ResourceClaim", + "operationId": "replaceNamespacedResourceClaimStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, { @@ -82667,19 +84120,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/v1alpha3.ResourceClaim" } }, "401": { @@ -82690,24 +84144,24 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters": { + "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of ResourceClaimParameters", - "operationId": "deleteCollectionNamespacedResourceClaimParameters", + "description": "delete collection of ResourceClaimTemplate", + "operationId": "deleteCollectionNamespacedResourceClaimTemplate", "parameters": [ { "in": "body", @@ -82744,6 +84198,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -82804,7 +84265,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -82821,13 +84283,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" + "kind": "ResourceClaimTemplate", + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" }, @@ -82835,8 +84297,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind ResourceClaimParameters", - "operationId": "listNamespacedResourceClaimParameters", + "description": "list or watch objects of kind ResourceClaimTemplate", + "operationId": "listNamespacedResourceClaimTemplate", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -82913,14 +84375,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParametersList" + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplateList" } }, "401": { @@ -82931,13 +84395,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" + "kind": "ResourceClaimTemplate", + "version": "v1alpha3" } }, "parameters": [ @@ -82961,15 +84425,15 @@ "consumes": [ "*/*" ], - "description": "create ResourceClaimParameters", - "operationId": "createNamespacedResourceClaimParameters", + "description": "create a ResourceClaimTemplate", + "operationId": "createNamespacedResourceClaimTemplate", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParameters" + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate" } }, { @@ -82997,25 +84461,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParameters" + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParameters" + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParameters" + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate" } }, "401": { @@ -83026,24 +84491,24 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" + "kind": "ResourceClaimTemplate", + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters/{name}": { + "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete ResourceClaimParameters", - "operationId": "deleteNamespacedResourceClaimParameters", + "description": "delete a ResourceClaimTemplate", + "operationId": "deleteNamespacedResourceClaimTemplate", "parameters": [ { "in": "body", @@ -83066,6 +84531,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -83084,19 +84556,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParameters" + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParameters" + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate" } }, "401": { @@ -83107,13 +84580,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" + "kind": "ResourceClaimTemplate", + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" }, @@ -83121,18 +84594,19 @@ "consumes": [ "*/*" ], - "description": "read the specified ResourceClaimParameters", - "operationId": "readNamespacedResourceClaimParameters", + "description": "read the specified ResourceClaimTemplate", + "operationId": "readNamespacedResourceClaimTemplate", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParameters" + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate" } }, "401": { @@ -83143,18 +84617,18 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" + "kind": "ResourceClaimTemplate", + "version": "v1alpha3" } }, "parameters": [ { - "description": "name of the ResourceClaimParameters", + "description": "name of the ResourceClaimTemplate", "in": "path", "name": "name", "required": true, @@ -83182,10 +84656,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified ResourceClaimParameters", - "operationId": "patchNamespacedResourceClaimParameters", + "description": "partially update the specified ResourceClaimTemplate", + "operationId": "patchNamespacedResourceClaimTemplate", "parameters": [ { "in": "body", @@ -83228,19 +84703,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParameters" + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParameters" + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate" } }, "401": { @@ -83251,13 +84727,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" + "kind": "ResourceClaimTemplate", + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" }, @@ -83265,15 +84741,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified ResourceClaimParameters", - "operationId": "replaceNamespacedResourceClaimParameters", + "description": "replace the specified ResourceClaimTemplate", + "operationId": "replaceNamespacedResourceClaimTemplate", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParameters" + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate" } }, { @@ -83301,19 +84777,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParameters" + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParameters" + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplate" } }, "401": { @@ -83324,24 +84801,264 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" + "kind": "ResourceClaimTemplate", + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims": { + "/apis/resource.k8s.io/v1alpha3/resourceclaims": { + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind ResourceClaim", + "operationId": "listResourceClaimForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha3.ResourceClaimList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha3" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceClaim", + "version": "v1alpha3" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/resource.k8s.io/v1alpha3/resourceclaimtemplates": { + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind ResourceClaimTemplate", + "operationId": "listResourceClaimTemplateForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha3.ResourceClaimTemplateList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha3" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceClaimTemplate", + "version": "v1alpha3" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/resource.k8s.io/v1alpha3/resourceslices": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of ResourceClaim", - "operationId": "deleteCollectionNamespacedResourceClaim", + "description": "delete collection of ResourceSlice", + "operationId": "deleteCollectionResourceSlice", "parameters": [ { "in": "body", @@ -83378,6 +85095,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -83438,7 +85162,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -83455,13 +85180,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaim", - "version": "v1alpha2" + "kind": "ResourceSlice", + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" }, @@ -83469,8 +85194,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind ResourceClaim", - "operationId": "listNamespacedResourceClaim", + "description": "list or watch objects of kind ResourceSlice", + "operationId": "listResourceSlice", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -83547,14 +85272,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimList" + "$ref": "#/definitions/v1alpha3.ResourceSliceList" } }, "401": { @@ -83565,24 +85292,16 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaim", - "version": "v1alpha2" + "kind": "ResourceSlice", + "version": "v1alpha3" } }, - "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, + "parameters": [ { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -83595,15 +85314,15 @@ "consumes": [ "*/*" ], - "description": "create a ResourceClaim", - "operationId": "createNamespacedResourceClaim", + "description": "create a ResourceSlice", + "operationId": "createResourceSlice", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceSlice" } }, { @@ -83631,25 +85350,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceSlice" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceSlice" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceSlice" } }, "401": { @@ -83660,24 +85380,24 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaim", - "version": "v1alpha2" + "kind": "ResourceSlice", + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name}": { + "/apis/resource.k8s.io/v1alpha3/resourceslices/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a ResourceClaim", - "operationId": "deleteNamespacedResourceClaim", + "description": "delete a ResourceSlice", + "operationId": "deleteResourceSlice", "parameters": [ { "in": "body", @@ -83700,6 +85420,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -83718,19 +85445,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceSlice" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceSlice" } }, "401": { @@ -83741,13 +85469,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaim", - "version": "v1alpha2" + "kind": "ResourceSlice", + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" }, @@ -83755,18 +85483,19 @@ "consumes": [ "*/*" ], - "description": "read the specified ResourceClaim", - "operationId": "readNamespacedResourceClaim", + "description": "read the specified ResourceSlice", + "operationId": "readResourceSlice", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceSlice" } }, "401": { @@ -83777,32 +85506,24 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaim", - "version": "v1alpha2" + "kind": "ResourceSlice", + "version": "v1alpha3" } }, "parameters": [ { - "description": "name of the ResourceClaim", + "description": "name of the ResourceSlice", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -83816,10 +85537,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified ResourceClaim", - "operationId": "patchNamespacedResourceClaim", + "description": "partially update the specified ResourceSlice", + "operationId": "patchResourceSlice", "parameters": [ { "in": "body", @@ -83862,19 +85584,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceSlice" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceSlice" } }, "401": { @@ -83885,13 +85608,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaim", - "version": "v1alpha2" + "kind": "ResourceSlice", + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" }, @@ -83899,15 +85622,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified ResourceClaim", - "operationId": "replaceNamespacedResourceClaim", + "description": "replace the specified ResourceSlice", + "operationId": "replaceResourceSlice", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceSlice" } }, { @@ -83935,19 +85658,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceSlice" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" + "$ref": "#/definitions/v1alpha3.ResourceSlice" } }, "401": { @@ -83958,56 +85682,501 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaim", - "version": "v1alpha2" + "kind": "ResourceSlice", + "version": "v1alpha3" }, "x-codegen-request-body-name": "body" } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified ResourceClaim", - "operationId": "readNamespacedResourceClaimStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" - } - }, - "401": { - "description": "Unauthorized" - } + "/apis/resource.k8s.io/v1alpha3/watch/deviceclasses": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaim", - "version": "v1alpha2" + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/resource.k8s.io/v1alpha3/watch/deviceclasses/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the DeviceClass", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaims": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaims/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the ResourceClaim", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaimtemplates": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - }, + ] + }, + "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaimtemplates/{name}": { "parameters": [ { - "description": "name of the ResourceClaim", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the ResourceClaimTemplate", "in": "path", "name": "name", "required": true, @@ -84028,630 +86197,328 @@ "name": "pretty", "type": "string", "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified ResourceClaim", - "operationId": "patchNamespacedResourceClaimStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" - } - }, - "401": { - "description": "Unauthorized" - } }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaim", - "version": "v1alpha2" + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified ResourceClaim", - "operationId": "replaceNamespacedResourceClaimStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" - } - }, - "401": { - "description": "Unauthorized" - } + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaim", - "version": "v1alpha2" + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true }, - "x-codegen-request-body-name": "body" - } + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of ResourceClaimTemplate", - "operationId": "deleteCollectionNamespacedResourceClaimTemplate", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } + "/apis/resource.k8s.io/v1alpha3/watch/resourceclaims": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true }, - "x-codegen-request-body-name": "body" - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ResourceClaimTemplate", - "operationId": "listNamespacedResourceClaimTemplate", - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplateList" - } - }, - "401": { - "description": "Unauthorized" - } + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - }, + ] + }, + "/apis/resource.k8s.io/v1alpha3/watch/resourceclaimtemplates": { "parameters": [ { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", "type": "string", "uniqueItems": true }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", "uniqueItems": true - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a ResourceClaimTemplate", - "operationId": "createNamespacedResourceClaimTemplate", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate" - } - }, - "401": { - "description": "Unauthorized" - } }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true }, - "x-codegen-request-body-name": "body" - } + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a ResourceClaimTemplate", - "operationId": "deleteNamespacedResourceClaimTemplate", - "parameters": [ - { - "in": "body", - "name": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query", - "name": "gracePeriodSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "in": "query", - "name": "orphanDependents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", - "in": "query", - "name": "propagationPolicy", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate" - } - }, - "401": { - "description": "Unauthorized" - } + "/apis/resource.k8s.io/v1alpha3/watch/resourceslices": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true }, - "x-codegen-request-body-name": "body" - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ResourceClaimTemplate", - "operationId": "readNamespacedResourceClaimTemplate", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate" - } - }, - "401": { - "description": "Unauthorized" - } + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true } - }, + ] + }, + "/apis/resource.k8s.io/v1alpha3/watch/resourceslices/{name}": { "parameters": [ { - "description": "name of the ResourceClaimTemplate", - "in": "path", - "name": "name", - "required": true, + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", "type": "string", "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the ResourceSlice", "in": "path", - "name": "namespace", + "name": "name", "required": true, "type": "string", "uniqueItems": true @@ -84662,145 +86529,65 @@ "name": "pretty", "type": "string", "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ResourceClaimTemplate", - "operationId": "patchNamespacedResourceClaimTemplate", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate" - } - }, - "401": { - "description": "Unauthorized" - } }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true }, - "x-codegen-request-body-name": "body" - }, - "put": { + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/resource.k8s.io/v1beta1/": { + "get": { "consumes": [ - "*/*" - ], - "description": "replace the specified ResourceClaimTemplate", - "operationId": "replaceNamespacedResourceClaimTemplate", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" ], + "description": "get available resources", + "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { @@ -84811,24 +86598,17 @@ "https" ], "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaimTemplate", - "version": "v1alpha2" - }, - "x-codegen-request-body-name": "body" + "resource_v1beta1" + ] } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters": { + "/apis/resource.k8s.io/v1beta1/deviceclasses": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of ResourceClassParameters", - "operationId": "deleteCollectionNamespacedResourceClassParameters", + "description": "delete collection of DeviceClass", + "operationId": "deleteCollectionDeviceClass", "parameters": [ { "in": "body", @@ -84865,6 +86645,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -84925,7 +86712,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -84942,13 +86730,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" + "kind": "DeviceClass", + "version": "v1beta1" }, "x-codegen-request-body-name": "body" }, @@ -84956,8 +86744,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind ResourceClassParameters", - "operationId": "listNamespacedResourceClassParameters", + "description": "list or watch objects of kind DeviceClass", + "operationId": "listDeviceClass", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -85034,14 +86822,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassParametersList" + "$ref": "#/definitions/v1beta1.DeviceClassList" } }, "401": { @@ -85052,24 +86842,16 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" + "kind": "DeviceClass", + "version": "v1beta1" } }, "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -85082,15 +86864,15 @@ "consumes": [ "*/*" ], - "description": "create ResourceClassParameters", - "operationId": "createNamespacedResourceClassParameters", + "description": "create a DeviceClass", + "operationId": "createDeviceClass", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassParameters" + "$ref": "#/definitions/v1beta1.DeviceClass" } }, { @@ -85118,25 +86900,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassParameters" + "$ref": "#/definitions/v1beta1.DeviceClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassParameters" + "$ref": "#/definitions/v1beta1.DeviceClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassParameters" + "$ref": "#/definitions/v1beta1.DeviceClass" } }, "401": { @@ -85147,24 +86930,24 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" + "kind": "DeviceClass", + "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters/{name}": { + "/apis/resource.k8s.io/v1beta1/deviceclasses/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete ResourceClassParameters", - "operationId": "deleteNamespacedResourceClassParameters", + "description": "delete a DeviceClass", + "operationId": "deleteDeviceClass", "parameters": [ { "in": "body", @@ -85187,6 +86970,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -85205,19 +86995,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassParameters" + "$ref": "#/definitions/v1beta1.DeviceClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassParameters" + "$ref": "#/definitions/v1beta1.DeviceClass" } }, "401": { @@ -85228,489 +87019,33 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - }, - "x-codegen-request-body-name": "body" - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ResourceClassParameters", - "operationId": "readNamespacedResourceClassParameters", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassParameters" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "description": "name of the ResourceClassParameters", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ResourceClassParameters", - "operationId": "patchNamespacedResourceClassParameters", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassParameters" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassParameters" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ResourceClassParameters", - "operationId": "replaceNamespacedResourceClassParameters", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassParameters" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassParameters" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassParameters" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/resource.k8s.io/v1alpha2/podschedulingcontexts": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind PodSchedulingContext", - "operationId": "listPodSchedulingContextForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.PodSchedulingContextList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/resourceclaimparameters": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ResourceClaimParameters", - "operationId": "listResourceClaimParametersForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimParametersList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/resourceclaims": { + "group": "resource.k8s.io", + "kind": "DeviceClass", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind ResourceClaim", - "operationId": "listResourceClaimForAllNamespaces", + "description": "read the specified DeviceClass", + "operationId": "readDeviceClass", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimList" + "$ref": "#/definitions/v1beta1.DeviceClass" } }, "401": { @@ -85721,114 +87056,98 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaim", - "version": "v1alpha2" + "kind": "DeviceClass", + "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "name of the DeviceClass", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/resource.k8s.io/v1alpha2/resourceclaimtemplates": { - "get": { + ], + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml", + "application/apply-patch+cbor" + ], + "description": "partially update the specified DeviceClass", + "operationId": "patchDeviceClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } ], - "description": "list or watch objects of kind ResourceClaimTemplate", - "operationId": "listResourceClaimTemplateForAllNamespaces", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaimTemplateList" + "$ref": "#/definitions/v1beta1.DeviceClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.DeviceClass" } }, "401": { @@ -85839,102 +87158,98 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaimTemplate", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true + "kind": "DeviceClass", + "version": "v1beta1" }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true + "x-codegen-request-body-name": "body" + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified DeviceClass", + "operationId": "replaceDeviceClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.DeviceClass" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.DeviceClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.DeviceClass" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "resource_v1beta1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "DeviceClass", + "version": "v1beta1" }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] + "x-codegen-request-body-name": "body" + } }, - "/apis/resource.k8s.io/v1alpha2/resourceclasses": { + "/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of ResourceClass", - "operationId": "deleteCollectionResourceClass", + "description": "delete collection of ResourceClaim", + "operationId": "deleteCollectionNamespacedResourceClaim", "parameters": [ { "in": "body", @@ -85971,6 +87286,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -86031,7 +87353,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -86048,13 +87371,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1beta1" }, "x-codegen-request-body-name": "body" }, @@ -86062,8 +87385,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind ResourceClass", - "operationId": "listResourceClass", + "description": "list or watch objects of kind ResourceClaim", + "operationId": "listNamespacedResourceClaim", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -86140,14 +87463,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassList" + "$ref": "#/definitions/v1beta1.ResourceClaimList" } }, "401": { @@ -86158,16 +87483,24 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1beta1" } }, "parameters": [ + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -86180,15 +87513,15 @@ "consumes": [ "*/*" ], - "description": "create a ResourceClass", - "operationId": "createResourceClass", + "description": "create a ResourceClaim", + "operationId": "createNamespacedResourceClaim", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClass" + "$ref": "#/definitions/v1beta1.ResourceClaim" } }, { @@ -86216,25 +87549,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClass" + "$ref": "#/definitions/v1beta1.ResourceClaim" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClass" + "$ref": "#/definitions/v1beta1.ResourceClaim" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClass" + "$ref": "#/definitions/v1beta1.ResourceClaim" } }, "401": { @@ -86245,24 +87579,24 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/resource.k8s.io/v1alpha2/resourceclasses/{name}": { + "/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a ResourceClass", - "operationId": "deleteResourceClass", + "description": "delete a ResourceClaim", + "operationId": "deleteNamespacedResourceClaim", "parameters": [ { "in": "body", @@ -86285,6 +87619,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -86303,19 +87644,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClass" + "$ref": "#/definitions/v1beta1.ResourceClaim" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClass" + "$ref": "#/definitions/v1beta1.ResourceClaim" } }, "401": { @@ -86326,13 +87668,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1beta1" }, "x-codegen-request-body-name": "body" }, @@ -86340,18 +87682,19 @@ "consumes": [ "*/*" ], - "description": "read the specified ResourceClass", - "operationId": "readResourceClass", + "description": "read the specified ResourceClaim", + "operationId": "readNamespacedResourceClaim", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClass" + "$ref": "#/definitions/v1beta1.ResourceClaim" } }, "401": { @@ -86362,24 +87705,32 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1beta1" } }, "parameters": [ { - "description": "name of the ResourceClass", + "description": "name of the ResourceClaim", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -86393,10 +87744,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified ResourceClass", - "operationId": "patchResourceClass", + "description": "partially update the specified ResourceClaim", + "operationId": "patchNamespacedResourceClaim", "parameters": [ { "in": "body", @@ -86439,19 +87791,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClass" + "$ref": "#/definitions/v1beta1.ResourceClaim" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClass" + "$ref": "#/definitions/v1beta1.ResourceClaim" } }, "401": { @@ -86462,13 +87815,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1beta1" }, "x-codegen-request-body-name": "body" }, @@ -86476,15 +87829,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified ResourceClass", - "operationId": "replaceResourceClass", + "description": "replace the specified ResourceClaim", + "operationId": "replaceNamespacedResourceClaim", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClass" + "$ref": "#/definitions/v1beta1.ResourceClaim" } }, { @@ -86512,19 +87865,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClass" + "$ref": "#/definitions/v1beta1.ResourceClaim" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClass" + "$ref": "#/definitions/v1beta1.ResourceClaim" } }, "401": { @@ -86535,36 +87889,35 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/resource.k8s.io/v1alpha2/resourceclassparameters": { + "/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind ResourceClassParameters", - "operationId": "listResourceClassParametersForAllNamespaces", + "description": "read status of the specified ResourceClaim", + "operationId": "readNamespacedResourceClaimStatus", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClassParametersList" + "$ref": "#/definitions/v1beta1.ResourceClaim" } }, "401": { @@ -86575,102 +87928,208 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", + "description": "name of the ResourceClaim", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, "type": "string", "uniqueItems": true }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml", + "application/apply-patch+cbor" + ], + "description": "partially update status of the specified ResourceClaim", + "operationId": "patchNamespacedResourceClaimStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ResourceClaim" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ResourceClaim" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "resource_v1beta1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceClaim", + "version": "v1beta1" }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true + "x-codegen-request-body-name": "body" + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace status of the specified ResourceClaim", + "operationId": "replaceNamespacedResourceClaimStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.ResourceClaim" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ResourceClaim" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ResourceClaim" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "resource_v1beta1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceClaim", + "version": "v1beta1" }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] + "x-codegen-request-body-name": "body" + } }, - "/apis/resource.k8s.io/v1alpha2/resourceslices": { + "/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of ResourceSlice", - "operationId": "deleteCollectionResourceSlice", + "description": "delete collection of ResourceClaimTemplate", + "operationId": "deleteCollectionNamespacedResourceClaimTemplate", "parameters": [ { "in": "body", @@ -86707,6 +88166,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -86767,7 +88233,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -86784,13 +88251,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceSlice", - "version": "v1alpha2" + "kind": "ResourceClaimTemplate", + "version": "v1beta1" }, "x-codegen-request-body-name": "body" }, @@ -86798,8 +88265,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind ResourceSlice", - "operationId": "listResourceSlice", + "description": "list or watch objects of kind ResourceClaimTemplate", + "operationId": "listNamespacedResourceClaimTemplate", "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -86876,14 +88343,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceSliceList" + "$ref": "#/definitions/v1beta1.ResourceClaimTemplateList" } }, "401": { @@ -86894,16 +88363,24 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceSlice", - "version": "v1alpha2" + "kind": "ResourceClaimTemplate", + "version": "v1beta1" } }, "parameters": [ + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -86916,15 +88393,15 @@ "consumes": [ "*/*" ], - "description": "create a ResourceSlice", - "operationId": "createResourceSlice", + "description": "create a ResourceClaimTemplate", + "operationId": "createNamespacedResourceClaimTemplate", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha2.ResourceSlice" + "$ref": "#/definitions/v1beta1.ResourceClaimTemplate" } }, { @@ -86952,25 +88429,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceSlice" + "$ref": "#/definitions/v1beta1.ResourceClaimTemplate" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceSlice" + "$ref": "#/definitions/v1beta1.ResourceClaimTemplate" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceSlice" + "$ref": "#/definitions/v1beta1.ResourceClaimTemplate" } }, "401": { @@ -86981,24 +88459,24 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceSlice", - "version": "v1alpha2" + "kind": "ResourceClaimTemplate", + "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/resource.k8s.io/v1alpha2/resourceslices/{name}": { + "/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a ResourceSlice", - "operationId": "deleteResourceSlice", + "description": "delete a ResourceClaimTemplate", + "operationId": "deleteNamespacedResourceClaimTemplate", "parameters": [ { "in": "body", @@ -87021,6 +88499,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -87039,19 +88524,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceSlice" + "$ref": "#/definitions/v1beta1.ResourceClaimTemplate" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceSlice" + "$ref": "#/definitions/v1beta1.ResourceClaimTemplate" } }, "401": { @@ -87062,13 +88548,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceSlice", - "version": "v1alpha2" + "kind": "ResourceClaimTemplate", + "version": "v1beta1" }, "x-codegen-request-body-name": "body" }, @@ -87076,18 +88562,19 @@ "consumes": [ "*/*" ], - "description": "read the specified ResourceSlice", - "operationId": "readResourceSlice", + "description": "read the specified ResourceClaimTemplate", + "operationId": "readNamespacedResourceClaimTemplate", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha2.ResourceSlice" + "$ref": "#/definitions/v1beta1.ResourceClaimTemplate" } }, "401": { @@ -87098,318 +88585,18 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceSlice", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "description": "name of the ResourceSlice", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true + "kind": "ResourceClaimTemplate", + "version": "v1beta1" } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ResourceSlice", - "operationId": "patchResourceSlice", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceSlice" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceSlice" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceSlice", - "version": "v1alpha2" - }, - "x-codegen-request-body-name": "body" }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ResourceSlice", - "operationId": "replaceResourceSlice", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceSlice" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceSlice" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceSlice" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceSlice", - "version": "v1alpha2" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/podschedulingcontexts": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/podschedulingcontexts/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the PodSchedulingContext", + "description": "name of the ResourceClaimTemplate", "in": "path", "name": "name", "required": true, @@ -87430,134 +88617,209 @@ "name": "pretty", "type": "string", "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml", + "application/apply-patch+cbor" + ], + "description": "partially update the specified ResourceClaimTemplate", + "operationId": "patchNamespacedResourceClaimTemplate", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ResourceClaimTemplate" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ResourceClaimTemplate" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaimparameters": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "resource_v1beta1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceClaimTemplate", + "version": "v1beta1" }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true + "x-codegen-request-body-name": "body" + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified ResourceClaimTemplate", + "operationId": "replaceNamespacedResourceClaimTemplate", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.ResourceClaimTemplate" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ResourceClaimTemplate" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ResourceClaimTemplate" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "resource_v1beta1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceClaimTemplate", + "version": "v1beta1" }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "x-codegen-request-body-name": "body" + } + }, + "/apis/resource.k8s.io/v1beta1/resourceclaims": { + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind ResourceClaim", + "operationId": "listResourceClaimForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ResourceClaimList" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "resource_v1beta1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceClaim", + "version": "v1beta1" } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaimparameters/{name}": { + }, "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -87594,22 +88856,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "name of the ResourceClaimParameters", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -87654,7 +88900,46 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaims": { + "/apis/resource.k8s.io/v1beta1/resourceclaimtemplates": { + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind ResourceClaimTemplate", + "operationId": "listResourceClaimTemplateForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ResourceClaimTemplateList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1beta1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceClaimTemplate", + "version": "v1beta1" + } + }, "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -87691,14 +88976,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -87741,57 +89018,476 @@ "type": "boolean", "uniqueItems": true } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaims/{name}": { + ] + }, + "/apis/resource.k8s.io/v1beta1/resourceslices": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of ResourceSlice", + "operationId": "deleteCollectionResourceSlice", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1beta1" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceSlice", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind ResourceSlice", + "operationId": "listResourceSlice", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ResourceSliceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1beta1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceSlice", + "version": "v1beta1" + } + }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", - "name": "continue", + "name": "pretty", "type": "string", "uniqueItems": true + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a ResourceSlice", + "operationId": "createResourceSlice", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.ResourceSlice" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ResourceSlice" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ResourceSlice" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.ResourceSlice" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "resource_v1beta1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceSlice", + "version": "v1beta1" }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true + "x-codegen-request-body-name": "body" + } + }, + "/apis/resource.k8s.io/v1beta1/resourceslices/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a ResourceSlice", + "operationId": "deleteResourceSlice", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ResourceSlice" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.ResourceSlice" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "resource_v1beta1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceSlice", + "version": "v1beta1" }, - { - "description": "name of the ResourceClaim", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true + "x-codegen-request-body-name": "body" + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "read the specified ResourceSlice", + "operationId": "readResourceSlice", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ResourceSlice" + } + }, + "401": { + "description": "Unauthorized" + } }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1beta1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceSlice", + "version": "v1beta1" + } + }, + "parameters": [ { - "description": "object name and auth scope, such as for teams and projects", + "description": "name of the ResourceSlice", "in": "path", - "name": "namespace", + "name": "name", "required": true, "type": "string", "uniqueItems": true @@ -87802,45 +89498,170 @@ "name": "pretty", "type": "string", "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml", + "application/apply-patch+cbor" + ], + "description": "partially update the specified ResourceSlice", + "operationId": "patchResourceSlice", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ResourceSlice" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ResourceSlice" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "resource_v1beta1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceSlice", + "version": "v1beta1" }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true + "x-codegen-request-body-name": "body" + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified ResourceSlice", + "operationId": "replaceResourceSlice", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.ResourceSlice" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ResourceSlice" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ResourceSlice" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "resource_v1beta1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceSlice", + "version": "v1beta1" }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] + "x-codegen-request-body-name": "body" + } }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaimtemplates": { + "/apis/resource.k8s.io/v1beta1/watch/deviceclasses": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -87877,14 +89698,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -87929,7 +89742,7 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaimtemplates/{name}": { + "/apis/resource.k8s.io/v1beta1/watch/deviceclasses/{name}": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -87967,21 +89780,13 @@ "uniqueItems": true }, { - "description": "name of the ResourceClaimTemplate", + "description": "name of the DeviceClass", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -88026,7 +89831,7 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclassparameters": { + "/apis/resource.k8s.io/v1beta1/watch/namespaces/{namespace}/resourceclaims": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -88115,7 +89920,7 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclassparameters/{name}": { + "/apis/resource.k8s.io/v1beta1/watch/namespaces/{namespace}/resourceclaims/{name}": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -88153,7 +89958,7 @@ "uniqueItems": true }, { - "description": "name of the ResourceClassParameters", + "description": "name of the ResourceClaim", "in": "path", "name": "name", "required": true, @@ -88212,88 +90017,7 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/podschedulingcontexts": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceclaimparameters": { + "/apis/resource.k8s.io/v1beta1/watch/namespaces/{namespace}/resourceclaimtemplates": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -88331,86 +90055,13 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceclaims": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, "type": "string", "uniqueItems": true }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -88455,7 +90106,7 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceclaimtemplates": { + "/apis/resource.k8s.io/v1beta1/watch/namespaces/{namespace}/resourceclaimtemplates/{name}": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -88493,86 +90144,21 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceclasses": { - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", + "description": "name of the ResourceClaimTemplate", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, "type": "string", "uniqueItems": true }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -88617,7 +90203,7 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceclasses/{name}": { + "/apis/resource.k8s.io/v1beta1/watch/resourceclaims": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -88654,14 +90240,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "name of the ResourceClass", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -88706,7 +90284,7 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceclassparameters": { + "/apis/resource.k8s.io/v1beta1/watch/resourceclaimtemplates": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -88787,7 +90365,7 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceslices": { + "/apis/resource.k8s.io/v1beta1/watch/resourceslices": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -88868,7 +90446,7 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceslices/{name}": { + "/apis/resource.k8s.io/v1beta1/watch/resourceslices/{name}": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -88995,14 +90573,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -89066,6 +90646,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -89126,7 +90713,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -89235,8 +90823,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -89311,7 +90901,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -89380,6 +90971,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -89398,7 +90996,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -89440,7 +91039,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -89488,7 +91088,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified PriorityClass", "operationId": "patchPriorityClass", @@ -89534,7 +91135,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -89607,7 +91209,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -89849,14 +91452,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -89920,6 +91525,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -89980,7 +91592,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -90089,8 +91702,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -90165,7 +91780,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -90234,6 +91850,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -90252,7 +91875,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -90294,7 +91918,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -90342,7 +91967,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified CSIDriver", "operationId": "patchCSIDriver", @@ -90388,7 +92014,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -90461,7 +92088,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -90538,6 +92166,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -90598,7 +92233,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -90707,8 +92343,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -90783,7 +92421,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -90852,6 +92491,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -90870,7 +92516,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -90912,7 +92559,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -90960,7 +92608,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified CSINode", "operationId": "patchCSINode", @@ -91006,7 +92655,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -91079,7 +92729,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -91124,8 +92775,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -91274,6 +92927,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -91334,7 +92994,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -91443,8 +93104,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -91527,7 +93190,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -91596,6 +93260,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -91614,7 +93285,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -91656,7 +93328,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -91712,7 +93385,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified CSIStorageCapacity", "operationId": "patchNamespacedCSIStorageCapacity", @@ -91758,7 +93432,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -91831,7 +93506,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -91908,6 +93584,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -91968,7 +93651,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -92077,8 +93761,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -92153,7 +93839,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -92222,6 +93909,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -92240,7 +93934,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -92282,7 +93977,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -92330,7 +94026,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified StorageClass", "operationId": "patchStorageClass", @@ -92376,7 +94073,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -92449,7 +94147,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -92526,6 +94225,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -92586,7 +94292,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -92695,8 +94402,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -92771,7 +94480,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -92840,6 +94550,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -92858,7 +94575,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -92900,7 +94618,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -92948,7 +94667,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified VolumeAttachment", "operationId": "patchVolumeAttachment", @@ -92994,7 +94714,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -93067,7 +94788,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -93111,7 +94833,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -93159,7 +94882,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified VolumeAttachment", "operationId": "patchVolumeAttachmentStatus", @@ -93205,7 +94929,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -93236,83 +94961,254 @@ "kind": "VolumeAttachment", "version": "v1" }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified VolumeAttachment", - "operationId": "replaceVolumeAttachmentStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.VolumeAttachment" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.VolumeAttachment" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1.VolumeAttachment" - } - }, - "401": { - "description": "Unauthorized" - } + "x-codegen-request-body-name": "body" + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace status of the specified VolumeAttachment", + "operationId": "replaceVolumeAttachmentStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.VolumeAttachment" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.VolumeAttachment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + } + }, + "/apis/storage.k8s.io/v1/watch/csidrivers": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/storage.k8s.io/v1/watch/csidrivers/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the CSIDriver", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1" + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true }, - "x-codegen-request-body-name": "body" - } + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] }, - "/apis/storage.k8s.io/v1/watch/csidrivers": { + "/apis/storage.k8s.io/v1/watch/csinodes": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -93393,7 +95289,7 @@ } ] }, - "/apis/storage.k8s.io/v1/watch/csidrivers/{name}": { + "/apis/storage.k8s.io/v1/watch/csinodes/{name}": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -93431,7 +95327,7 @@ "uniqueItems": true }, { - "description": "name of the CSIDriver", + "description": "name of the CSINode", "in": "path", "name": "name", "required": true, @@ -93482,7 +95378,7 @@ } ] }, - "/apis/storage.k8s.io/v1/watch/csinodes": { + "/apis/storage.k8s.io/v1/watch/csistoragecapacities": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -93563,7 +95459,7 @@ } ] }, - "/apis/storage.k8s.io/v1/watch/csinodes/{name}": { + "/apis/storage.k8s.io/v1/watch/namespaces/{namespace}/csistoragecapacities": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -93601,9 +95497,9 @@ "uniqueItems": true }, { - "description": "name of the CSINode", + "description": "object name and auth scope, such as for teams and projects", "in": "path", - "name": "name", + "name": "namespace", "required": true, "type": "string", "uniqueItems": true @@ -93652,7 +95548,7 @@ } ] }, - "/apis/storage.k8s.io/v1/watch/csistoragecapacities": { + "/apis/storage.k8s.io/v1/watch/namespaces/{namespace}/csistoragecapacities/{name}": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -93689,6 +95585,22 @@ "type": "integer", "uniqueItems": true }, + { + "description": "name of the CSIStorageCapacity", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -93733,7 +95645,7 @@ } ] }, - "/apis/storage.k8s.io/v1/watch/namespaces/{namespace}/csistoragecapacities": { + "/apis/storage.k8s.io/v1/watch/storageclasses": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -93770,14 +95682,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -93822,7 +95726,7 @@ } ] }, - "/apis/storage.k8s.io/v1/watch/namespaces/{namespace}/csistoragecapacities/{name}": { + "/apis/storage.k8s.io/v1/watch/storageclasses/{name}": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -93860,21 +95764,13 @@ "uniqueItems": true }, { - "description": "name of the CSIStorageCapacity", + "description": "name of the StorageClass", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", @@ -93919,7 +95815,7 @@ } ] }, - "/apis/storage.k8s.io/v1/watch/storageclasses": { + "/apis/storage.k8s.io/v1/watch/volumeattachments": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -94000,7 +95896,7 @@ } ] }, - "/apis/storage.k8s.io/v1/watch/storageclasses/{name}": { + "/apis/storage.k8s.io/v1/watch/volumeattachments/{name}": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -94017,28 +95913,579 @@ "uniqueItems": true }, { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the VolumeAttachment", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/storage.k8s.io/v1alpha1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "description": "get available resources", + "operationId": "getAPIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1alpha1" + ] + } + }, + "/apis/storage.k8s.io/v1alpha1/volumeattributesclasses": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of VolumeAttributesClass", + "operationId": "deleteCollectionVolumeAttributesClass", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1alpha1" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind VolumeAttributesClass", + "operationId": "listVolumeAttributesClass", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.VolumeAttributesClassList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1alpha1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", - "name": "fieldSelector", + "name": "pretty", "type": "string", "uniqueItems": true + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a VolumeAttributesClass", + "operationId": "createVolumeAttributesClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "storage_v1alpha1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1alpha1" }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true + "x-codegen-request-body-name": "body" + } + }, + "/apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a VolumeAttributesClass", + "operationId": "deleteVolumeAttributesClass", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1alpha1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "read the specified VolumeAttributesClass", + "operationId": "readVolumeAttributesClass", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + } + }, + "401": { + "description": "Unauthorized" + } }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1alpha1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1alpha1" + } + }, + "parameters": [ { - "description": "name of the StorageClass", + "description": "name of the VolumeAttributesClass", "in": "path", "name": "name", "required": true, @@ -94051,45 +96498,170 @@ "name": "pretty", "type": "string", "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml", + "application/apply-patch+cbor" + ], + "description": "partially update the specified VolumeAttributesClass", + "operationId": "patchVolumeAttributesClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "storage_v1alpha1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1alpha1" }, - { - "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", - "in": "query", - "name": "sendInitialEvents", - "type": "boolean", - "uniqueItems": true + "x-codegen-request-body-name": "body" + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified VolumeAttributesClass", + "operationId": "replaceVolumeAttributesClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "storage_v1alpha1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1alpha1" }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] + "x-codegen-request-body-name": "body" + } }, - "/apis/storage.k8s.io/v1/watch/volumeattachments": { + "/apis/storage.k8s.io/v1alpha1/watch/volumeattributesclasses": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -94170,7 +96742,7 @@ } ] }, - "/apis/storage.k8s.io/v1/watch/volumeattachments/{name}": { + "/apis/storage.k8s.io/v1alpha1/watch/volumeattributesclasses/{name}": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -94208,7 +96780,7 @@ "uniqueItems": true }, { - "description": "name of the VolumeAttachment", + "description": "name of the VolumeAttributesClass", "in": "path", "name": "name", "required": true, @@ -94259,19 +96831,21 @@ } ] }, - "/apis/storage.k8s.io/v1alpha1/": { + "/apis/storage.k8s.io/v1beta1/": { "get": { "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -94288,11 +96862,11 @@ "https" ], "tags": [ - "storage_v1alpha1" + "storage_v1beta1" ] } }, - "/apis/storage.k8s.io/v1alpha1/volumeattributesclasses": { + "/apis/storage.k8s.io/v1beta1/volumeattributesclasses": { "delete": { "consumes": [ "*/*" @@ -94335,6 +96909,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -94395,7 +96976,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -94412,13 +96994,13 @@ "https" ], "tags": [ - "storage_v1alpha1" + "storage_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", "kind": "VolumeAttributesClass", - "version": "v1alpha1" + "version": "v1beta1" }, "x-codegen-request-body-name": "body" }, @@ -94504,14 +97086,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.VolumeAttributesClassList" + "$ref": "#/definitions/v1beta1.VolumeAttributesClassList" } }, "401": { @@ -94522,13 +97106,13 @@ "https" ], "tags": [ - "storage_v1alpha1" + "storage_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", "kind": "VolumeAttributesClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -94552,7 +97136,7 @@ "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + "$ref": "#/definitions/v1beta1.VolumeAttributesClass" } }, { @@ -94580,25 +97164,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + "$ref": "#/definitions/v1beta1.VolumeAttributesClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + "$ref": "#/definitions/v1beta1.VolumeAttributesClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + "$ref": "#/definitions/v1beta1.VolumeAttributesClass" } }, "401": { @@ -94609,18 +97194,18 @@ "https" ], "tags": [ - "storage_v1alpha1" + "storage_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", "kind": "VolumeAttributesClass", - "version": "v1alpha1" + "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name}": { + "/apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name}": { "delete": { "consumes": [ "*/*" @@ -94649,6 +97234,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -94667,19 +97259,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + "$ref": "#/definitions/v1beta1.VolumeAttributesClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + "$ref": "#/definitions/v1beta1.VolumeAttributesClass" } }, "401": { @@ -94690,13 +97283,13 @@ "https" ], "tags": [ - "storage_v1alpha1" + "storage_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", "kind": "VolumeAttributesClass", - "version": "v1alpha1" + "version": "v1beta1" }, "x-codegen-request-body-name": "body" }, @@ -94709,13 +97302,14 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + "$ref": "#/definitions/v1beta1.VolumeAttributesClass" } }, "401": { @@ -94726,13 +97320,13 @@ "https" ], "tags": [ - "storage_v1alpha1" + "storage_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", "kind": "VolumeAttributesClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -94757,7 +97351,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified VolumeAttributesClass", "operationId": "patchVolumeAttributesClass", @@ -94803,19 +97398,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + "$ref": "#/definitions/v1beta1.VolumeAttributesClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + "$ref": "#/definitions/v1beta1.VolumeAttributesClass" } }, "401": { @@ -94826,13 +97422,13 @@ "https" ], "tags": [ - "storage_v1alpha1" + "storage_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", "kind": "VolumeAttributesClass", - "version": "v1alpha1" + "version": "v1beta1" }, "x-codegen-request-body-name": "body" }, @@ -94848,7 +97444,7 @@ "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + "$ref": "#/definitions/v1beta1.VolumeAttributesClass" } }, { @@ -94876,19 +97472,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + "$ref": "#/definitions/v1beta1.VolumeAttributesClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + "$ref": "#/definitions/v1beta1.VolumeAttributesClass" } }, "401": { @@ -94899,18 +97496,18 @@ "https" ], "tags": [ - "storage_v1alpha1" + "storage_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", "kind": "VolumeAttributesClass", - "version": "v1alpha1" + "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/storage.k8s.io/v1alpha1/watch/volumeattributesclasses": { + "/apis/storage.k8s.io/v1beta1/watch/volumeattributesclasses": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -94991,7 +97588,7 @@ } ] }, - "/apis/storage.k8s.io/v1alpha1/watch/volumeattributesclasses/{name}": { + "/apis/storage.k8s.io/v1beta1/watch/volumeattributesclasses/{name}": { "parameters": [ { "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.", @@ -95118,14 +97715,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -95189,6 +97788,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", "in": "query", @@ -95249,7 +97855,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -95358,8 +97965,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -95434,7 +98043,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -95503,6 +98113,13 @@ "type": "integer", "uniqueItems": true }, + { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, { "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", "in": "query", @@ -95521,7 +98138,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -95563,7 +98181,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -95611,7 +98230,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified StorageVersionMigration", "operationId": "patchStorageVersionMigration", @@ -95657,7 +98277,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -95730,7 +98351,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -95774,7 +98396,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -95822,7 +98445,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified StorageVersionMigration", "operationId": "patchStorageVersionMigrationStatus", @@ -95868,7 +98492,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -95941,7 +98566,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { diff --git a/src/gen/swagger.json.unprocessed b/src/gen/swagger.json.unprocessed index 38a0006c3c8..ad115fd0ad4 100644 --- a/src/gen/swagger.json.unprocessed +++ b/src/gen/swagger.json.unprocessed @@ -497,6 +497,9 @@ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { @@ -522,7 +525,7 @@ "type": "string" }, "validationActions": { - "description": "validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.\n\nFailures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.\n\nvalidationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.\n\nThe supported actions values are:\n\n\"Deny\" specifies that a validation failure results in a denied request.\n\n\"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.\n\n\"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\"message\": \"Invalid value\", {\"policy\": \"policy.example.com\", {\"binding\": \"policybinding.example.com\", {\"expressionIndex\": \"1\", {\"validationActions\": [\"Audit\"]}]\"`\n\nClients should expect to handle additional values by ignoring any values not recognized.\n\n\"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.\n\nRequired.", + "description": "validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.\n\nFailures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.\n\nvalidationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.\n\nThe supported actions values are:\n\n\"Deny\" specifies that a validation failure results in a denied request.\n\n\"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.\n\n\"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\\\"message\\\": \\\"Invalid value\\\", {\\\"policy\\\": \\\"policy.example.com\\\", {\\\"binding\\\": \\\"policybinding.example.com\\\", {\\\"expressionIndex\\\": \\\"1\\\", {\\\"validationActions\\\": [\\\"Audit\\\"]}]\"`\n\nClients should expect to handle additional values by ignoring any values not recognized.\n\n\"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.\n\nRequired.", "items": { "type": "string" }, @@ -555,6 +558,9 @@ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { @@ -860,40 +866,24 @@ }, "type": "object" }, - "io.k8s.api.admissionregistration.v1alpha1.AuditAnnotation": { - "description": "AuditAnnotation describes how to produce an audit annotation for an API request.", + "io.k8s.api.admissionregistration.v1alpha1.ApplyConfiguration": { + "description": "ApplyConfiguration defines the desired configuration values of an object.", "properties": { - "key": { - "description": "key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.\n\nThe key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: \"{ValidatingAdmissionPolicy name}/{key}\".\n\nIf an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded.\n\nRequired.", - "type": "string" - }, - "valueExpression": { - "description": "valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.\n\nIf multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list.\n\nRequired.", + "expression": { + "description": "expression will be evaluated by CEL to create an apply configuration. ref: https://github.com/google/cel-spec\n\nApply configurations are declared in CEL using object initialization. For example, this CEL expression returns an apply configuration to set a single field:\n\n\tObject{\n\t spec: Object.spec{\n\t serviceAccountName: \"example\"\n\t }\n\t}\n\nApply configurations may not modify atomic structs, maps or arrays due to the risk of accidental deletion of values not included in the apply configuration.\n\nCEL expressions have access to the object types needed to create apply configurations:\n\n- 'Object' - CEL type of the resource object. - 'Object.' - CEL type of object field (such as 'Object.spec') - 'Object.....` - CEL type of nested field (such as 'Object.spec.containers')\n\nCEL expressions have access to the contents of the API request, organized into CEL variables as well as some other useful variables:\n\n- 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.\n For example, a variable named 'foo' can be accessed as 'variables.foo'.\n- 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n- 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible.\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Required.", "type": "string" } }, - "required": [ - "key", - "valueExpression" - ], "type": "object" }, - "io.k8s.api.admissionregistration.v1alpha1.ExpressionWarning": { - "description": "ExpressionWarning is a warning information that targets a specific expression.", + "io.k8s.api.admissionregistration.v1alpha1.JSONPatch": { + "description": "JSONPatch defines a JSON Patch.", "properties": { - "fieldRef": { - "description": "The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is \"spec.validations[0].expression\"", - "type": "string" - }, - "warning": { - "description": "The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.", + "expression": { + "description": "expression will be evaluated by CEL to create a [JSON patch](https://jsonpatch.com/). ref: https://github.com/google/cel-spec\n\nexpression must return an array of JSONPatch values.\n\nFor example, this CEL expression returns a JSON patch to conditionally modify a value:\n\n\t [\n\t JSONPatch{op: \"test\", path: \"/spec/example\", value: \"Red\"},\n\t JSONPatch{op: \"replace\", path: \"/spec/example\", value: \"Green\"}\n\t ]\n\nTo define an object for the patch value, use Object types. For example:\n\n\t [\n\t JSONPatch{\n\t op: \"add\",\n\t path: \"/spec/selector\",\n\t value: Object.spec.selector{matchLabels: {\"environment\": \"test\"}}\n\t }\n\t ]\n\nTo use strings containing '/' and '~' as JSONPatch path keys, use \"jsonpatch.escapeKey\". For example:\n\n\t [\n\t JSONPatch{\n\t op: \"add\",\n\t path: \"/metadata/labels/\" + jsonpatch.escapeKey(\"example.com/environment\"),\n\t value: \"test\"\n\t },\n\t ]\n\nCEL expressions have access to the types needed to create JSON patches and objects:\n\n- 'JSONPatch' - CEL type of JSON Patch operations. JSONPatch has the fields 'op', 'from', 'path' and 'value'.\n See [JSON patch](https://jsonpatch.com/) for more details. The 'value' field may be set to any of: string,\n integer, array, map or object. If set, the 'path' and 'from' fields must be set to a\n [JSON pointer](https://datatracker.ietf.org/doc/html/rfc6901/) string, where the 'jsonpatch.escapeKey()' CEL\n function may be used to escape path keys containing '/' and '~'.\n- 'Object' - CEL type of the resource object. - 'Object.' - CEL type of object field (such as 'Object.spec') - 'Object.....` - CEL type of nested field (such as 'Object.spec.containers')\n\nCEL expressions have access to the contents of the API request, organized into CEL variables as well as some other useful variables:\n\n- 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.\n For example, a variable named 'foo' can be accessed as 'variables.foo'.\n- 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n- 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\n\nCEL expressions have access to [Kubernetes CEL function libraries](https://kubernetes.io/docs/reference/using-api/cel/#cel-options-language-features-and-libraries) as well as:\n\n- 'jsonpatch.escapeKey' - Performs JSONPatch key escaping. '~' and '/' are escaped as '~0' and `~1' respectively).\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Required.", "type": "string" } }, - "required": [ - "fieldRef", - "warning" - ], "type": "object" }, "io.k8s.api.admissionregistration.v1alpha1.MatchCondition": { @@ -948,111 +938,8 @@ "type": "object", "x-kubernetes-map-type": "atomic" }, - "io.k8s.api.admissionregistration.v1alpha1.NamedRuleWithOperations": { - "description": "NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.", - "properties": { - "apiGroups": { - "description": "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "apiVersions": { - "description": "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "operations": { - "description": "Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "resourceNames": { - "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "resources": { - "description": "Resources is a list of resources this rule applies to.\n\nFor example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not overlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed. Required.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "scope": { - "description": "scope specifies the scope of this rule. Valid values are \"Cluster\", \"Namespaced\", and \"*\" \"Cluster\" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. \"Namespaced\" means that only namespaced resources will match this rule. \"*\" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is \"*\".", - "type": "string" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "io.k8s.api.admissionregistration.v1alpha1.ParamKind": { - "description": "ParamKind is a tuple of Group Kind and Version.", - "properties": { - "apiVersion": { - "description": "APIVersion is the API group version the resources belong to. In format of \"group/version\". Required.", - "type": "string" - }, - "kind": { - "description": "Kind is the API kind the resources belong to. Required.", - "type": "string" - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "io.k8s.api.admissionregistration.v1alpha1.ParamRef": { - "description": "ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.", - "properties": { - "name": { - "description": "`name` is the name of the resource being referenced.\n\n`name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.", - "type": "string" - }, - "namespace": { - "description": "namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.\n\nA per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.\n\n- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.\n\n- If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error.", - "type": "string" - }, - "parameterNotFoundAction": { - "description": "`parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.\n\nAllowed values are `Allow` or `Deny` Default to `Deny`", - "type": "string" - }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind.\n\nIf multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset." - } - }, - "type": "object", - "x-kubernetes-map-type": "atomic" - }, - "io.k8s.api.admissionregistration.v1alpha1.TypeChecking": { - "description": "TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy", - "properties": { - "expressionWarnings": { - "description": "The type checking warnings for each expression.", - "items": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ExpressionWarning" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicy": { - "description": "ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.", + "io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicy": { + "description": "MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -1067,25 +954,21 @@ "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicySpec", - "description": "Specification of the desired behavior of the ValidatingAdmissionPolicy." - }, - "status": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicyStatus", - "description": "The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only." + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicySpec", + "description": "Specification of the desired behavior of the MutatingAdmissionPolicy." } }, "type": "object", "x-kubernetes-group-version-kind": [ { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicy", + "kind": "MutatingAdmissionPolicy", "version": "v1alpha1" } ] }, - "io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBinding": { - "description": "ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.\n\nFor a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.\n\nThe CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.", + "io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyBinding": { + "description": "MutatingAdmissionPolicyBinding binds the MutatingAdmissionPolicy with parametrized resources. MutatingAdmissionPolicyBinding and the optional parameter resource together define how cluster administrators configure policies for clusters.\n\nFor a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding. Each evaluation is constrained by a [runtime cost budget](https://kubernetes.io/docs/reference/using-api/cel/#runtime-cost-budget).\n\nAdding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -1100,21 +983,21 @@ "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." }, "spec": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBindingSpec", - "description": "Specification of the desired behavior of the ValidatingAdmissionPolicyBinding." + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyBindingSpec", + "description": "Specification of the desired behavior of the MutatingAdmissionPolicyBinding." } }, "type": "object", "x-kubernetes-group-version-kind": [ { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicyBinding", + "kind": "MutatingAdmissionPolicyBinding", "version": "v1alpha1" } ] }, - "io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBindingList": { - "description": "ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding.", + "io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyBindingList": { + "description": "MutatingAdmissionPolicyBindingList is a list of MutatingAdmissionPolicyBinding.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -1123,7 +1006,7 @@ "items": { "description": "List of PolicyBinding.", "items": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBinding" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyBinding" }, "type": "array" }, @@ -1136,43 +1019,38 @@ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicyBindingList", + "kind": "MutatingAdmissionPolicyBindingList", "version": "v1alpha1" } ] }, - "io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBindingSpec": { - "description": "ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.", + "io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyBindingSpec": { + "description": "MutatingAdmissionPolicyBindingSpec is the specification of the MutatingAdmissionPolicyBinding.", "properties": { "matchResources": { "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MatchResources", - "description": "MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required." + "description": "matchResources limits what resources match this binding and may be mutated by it. Note that if matchResources matches a resource, the resource must also match a policy's matchConstraints and matchConditions before the resource may be mutated. When matchResources is unset, it does not constrain resource matching, and only the policy's matchConstraints and matchConditions must match for the resource to be mutated. Additionally, matchResources.resourceRules are optional and do not constraint matching when unset. Note that this is differs from MutatingAdmissionPolicy matchConstraints, where resourceRules are required. The CREATE, UPDATE and CONNECT operations are allowed. The DELETE operation may not be matched. '*' matches CREATE, UPDATE and CONNECT." }, "paramRef": { "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ParamRef", - "description": "paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param." + "description": "paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in spec.ParamKind of the bound MutatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the MutatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param." }, "policyName": { - "description": "PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.", + "description": "policyName references a MutatingAdmissionPolicy name which the MutatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.", "type": "string" - }, - "validationActions": { - "description": "validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.\n\nFailures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.\n\nvalidationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.\n\nThe supported actions values are:\n\n\"Deny\" specifies that a validation failure results in a denied request.\n\n\"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.\n\n\"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\"message\": \"Invalid value\", {\"policy\": \"policy.example.com\", {\"binding\": \"policybinding.example.com\", {\"expressionIndex\": \"1\", {\"validationActions\": [\"Audit\"]}]\"`\n\nClients should expect to handle additional values by ignoring any values not recognized.\n\n\"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.\n\nRequired.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "set" } }, "type": "object" }, - "io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicyList": { - "description": "ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy.", + "io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyList": { + "description": "MutatingAdmissionPolicyList is a list of MutatingAdmissionPolicy.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -1181,7 +1059,7 @@ "items": { "description": "List of ValidatingAdmissionPolicy.", "items": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicy" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicy" }, "type": "array" }, @@ -1194,32 +1072,27 @@ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicyList", + "kind": "MutatingAdmissionPolicyList", "version": "v1alpha1" } ] }, - "io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicySpec": { - "description": "ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.", + "io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicySpec": { + "description": "MutatingAdmissionPolicySpec is the specification of the desired behavior of the admission policy.", "properties": { - "auditAnnotations": { - "description": "auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.", - "items": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.AuditAnnotation" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, "failurePolicy": { - "description": "failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.\n\nA policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource.\n\nfailurePolicy does not define how validations that evaluate to false are handled.\n\nWhen failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions define how failures are enforced.\n\nAllowed values are Ignore or Fail. Defaults to Fail.", + "description": "failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.\n\nA policy is invalid if paramKind refers to a non-existent Kind. A binding is invalid if paramRef.name refers to a non-existent resource.\n\nfailurePolicy does not define how validations that evaluate to false are handled.\n\nAllowed values are Ignore or Fail. Defaults to Fail.", "type": "string" }, "matchConditions": { - "description": "MatchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nIf a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the policy is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the policy is evaluated.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the policy is skipped", + "description": "matchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the matchConstraints. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nIf a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the policy is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the policy is evaluated.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the policy is skipped", "items": { "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MatchCondition" }, @@ -1233,86 +1106,144 @@ }, "matchConstraints": { "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MatchResources", - "description": "MatchConstraints specifies what resources this policy is designed to validate. The AdmissionPolicy cares about a request if it matches _all_ Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API ValidatingAdmissionPolicy cannot match ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding. Required." - }, - "paramKind": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ParamKind", - "description": "ParamKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If ParamKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in ValidatingAdmissionPolicyBinding, the params variable will be null." + "description": "matchConstraints specifies what resources this policy is designed to validate. The MutatingAdmissionPolicy cares about a request if it matches _all_ Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API MutatingAdmissionPolicy cannot match MutatingAdmissionPolicy and MutatingAdmissionPolicyBinding. The CREATE, UPDATE and CONNECT operations are allowed. The DELETE operation may not be matched. '*' matches CREATE, UPDATE and CONNECT. Required." }, - "validations": { - "description": "Validations contain CEL expressions which is used to apply the validation. Validations and AuditAnnotations may not both be empty; a minimum of one Validations or AuditAnnotations is required.", + "mutations": { + "description": "mutations contain operations to perform on matching objects. mutations may not be empty; a minimum of one mutation is required. mutations are evaluated in order, and are reinvoked according to the reinvocationPolicy. The mutations of a policy are invoked for each binding of this policy and reinvocation of mutations occurs on a per binding basis.", "items": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.Validation" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.Mutation" }, "type": "array", "x-kubernetes-list-type": "atomic" }, + "paramKind": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ParamKind", + "description": "paramKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If paramKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in MutatingAdmissionPolicyBinding, the params variable will be null." + }, + "reinvocationPolicy": { + "description": "reinvocationPolicy indicates whether mutations may be called multiple times per MutatingAdmissionPolicyBinding as part of a single admission evaluation. Allowed values are \"Never\" and \"IfNeeded\".\n\nNever: These mutations will not be called more than once per binding in a single admission evaluation.\n\nIfNeeded: These mutations may be invoked more than once per binding for a single admission request and there is no guarantee of order with respect to other admission plugins, admission webhooks, bindings of this policy and admission policies. Mutations are only reinvoked when mutations change the object after this mutation is invoked. Required.", + "type": "string" + }, "variables": { - "description": "Variables contain definitions of variables that can be used in composition of other expressions. Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except MatchConditions because MatchConditions are evaluated before the rest of the policy.\n\nThe expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, Variables must be sorted by the order of first appearance and acyclic.", + "description": "variables contain definitions of variables that can be used in composition of other expressions. Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except matchConditions because matchConditions are evaluated before the rest of the policy.\n\nThe expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, variables must be sorted by the order of first appearance and acyclic.", "items": { "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.Variable" }, "type": "array", - "x-kubernetes-list-map-keys": [ - "name" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" + "x-kubernetes-list-type": "atomic" } }, "type": "object" }, - "io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicyStatus": { - "description": "ValidatingAdmissionPolicyStatus represents the status of a ValidatingAdmissionPolicy.", + "io.k8s.api.admissionregistration.v1alpha1.Mutation": { + "description": "Mutation specifies the CEL expression which is used to apply the Mutation.", "properties": { - "conditions": { - "description": "The conditions represent the latest available observations of a policy's current state.", + "applyConfiguration": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ApplyConfiguration", + "description": "applyConfiguration defines the desired configuration values of an object. The configuration is applied to the admission object using [structured merge diff](https://github.com/kubernetes-sigs/structured-merge-diff). A CEL expression is used to create apply configuration." + }, + "jsonPatch": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.JSONPatch", + "description": "jsonPatch defines a [JSON patch](https://jsonpatch.com/) operation to perform a mutation to the object. A CEL expression is used to create the JSON patch." + }, + "patchType": { + "description": "patchType indicates the patch strategy used. Allowed values are \"ApplyConfiguration\" and \"JSONPatch\". Required.", + "type": "string" + } + }, + "required": [ + "patchType" + ], + "type": "object" + }, + "io.k8s.api.admissionregistration.v1alpha1.NamedRuleWithOperations": { + "description": "NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.", + "properties": { + "apiGroups": { + "description": "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.", "items": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Condition" + "type": "string" }, "type": "array", - "x-kubernetes-list-map-keys": [ - "type" - ], - "x-kubernetes-list-type": "map" + "x-kubernetes-list-type": "atomic" }, - "observedGeneration": { - "description": "The generation observed by the controller.", - "format": "int64", - "type": "integer" + "apiVersions": { + "description": "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "typeChecking": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.TypeChecking", - "description": "The results of type checking for each expression. Presence of this field indicates the completion of the type checking." + "operations": { + "description": "Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "resourceNames": { + "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "description": "Resources is a list of resources this rule applies to.\n\nFor example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not overlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed. Required.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "scope": { + "description": "scope specifies the scope of this rule. Valid values are \"Cluster\", \"Namespaced\", and \"*\" \"Cluster\" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. \"Namespaced\" means that only namespaced resources will match this rule. \"*\" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is \"*\".", + "type": "string" } }, - "type": "object" + "type": "object", + "x-kubernetes-map-type": "atomic" }, - "io.k8s.api.admissionregistration.v1alpha1.Validation": { - "description": "Validation specifies the CEL expression which is used to apply the validation.", + "io.k8s.api.admissionregistration.v1alpha1.ParamKind": { + "description": "ParamKind is a tuple of Group Kind and Version.", "properties": { - "expression": { - "description": "Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:\n\n- 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.\n For example, a variable named 'foo' can be accessed as 'variables.foo'.\n- 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n- 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible.\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:\n\t \"true\", \"false\", \"null\", \"in\", \"as\", \"break\", \"const\", \"continue\", \"else\", \"for\", \"function\", \"if\",\n\t \"import\", \"let\", \"loop\", \"package\", \"namespace\", \"return\".\nExamples:\n - Expression accessing a property named \"namespace\": {\"Expression\": \"object.__namespace__ > 0\"}\n - Expression accessing a property named \"x-prop\": {\"Expression\": \"object.x__dash__prop > 0\"}\n - Expression accessing a property named \"redact__d\": {\"Expression\": \"object.redact__underscores__d > 0\"}\n\nEquality on arrays with list type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type:\n - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and\n non-intersecting elements in `Y` are appended, retaining their partial order.\n - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values\n are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with\n non-intersecting keys are appended, retaining their partial order.\nRequired.", + "apiVersion": { + "description": "APIVersion is the API group version the resources belong to. In format of \"group/version\". Required.", "type": "string" }, - "message": { - "description": "Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is \"failed rule: {Rule}\". e.g. \"must be a URL with the host matching spec.host\" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is \"failed Expression: {Expression}\".", + "kind": { + "description": "Kind is the API kind the resources belong to. Required.", + "type": "string" + } + }, + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.admissionregistration.v1alpha1.ParamRef": { + "description": "ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.", + "properties": { + "name": { + "description": "`name` is the name of the resource being referenced.\n\n`name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.", "type": "string" }, - "messageExpression": { - "description": "messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: \"object.x must be less than max (\"+string(params.max)+\")\"", + "namespace": { + "description": "namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.\n\nA per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.\n\n- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.\n\n- If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error.", "type": "string" }, - "reason": { - "description": "Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: \"Unauthorized\", \"Forbidden\", \"Invalid\", \"RequestEntityTooLarge\". If not set, StatusReasonInvalid is used in the response to the client.", + "parameterNotFoundAction": { + "description": "`parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.\n\nAllowed values are `Allow` or `Deny` Default to `Deny`", "type": "string" + }, + "selector": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", + "description": "selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind.\n\nIf multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset." } }, - "required": [ - "expression" - ], - "type": "object" + "type": "object", + "x-kubernetes-map-type": "atomic" }, "io.k8s.api.admissionregistration.v1alpha1.Variable": { "description": "Variable is the definition of a variable that is used for composition.", @@ -1609,6 +1540,9 @@ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { @@ -1634,7 +1568,7 @@ "type": "string" }, "validationActions": { - "description": "validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.\n\nFailures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.\n\nvalidationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.\n\nThe supported actions values are:\n\n\"Deny\" specifies that a validation failure results in a denied request.\n\n\"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.\n\n\"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\"message\": \"Invalid value\", {\"policy\": \"policy.example.com\", {\"binding\": \"policybinding.example.com\", {\"expressionIndex\": \"1\", {\"validationActions\": [\"Audit\"]}]\"`\n\nClients should expect to handle additional values by ignoring any values not recognized.\n\n\"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.\n\nRequired.", + "description": "validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.\n\nFailures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.\n\nvalidationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.\n\nThe supported actions values are:\n\n\"Deny\" specifies that a validation failure results in a denied request.\n\n\"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.\n\n\"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\\\"message\\\": \\\"Invalid value\\\", {\\\"policy\\\": \\\"policy.example.com\\\", {\\\"binding\\\": \\\"policybinding.example.com\\\", {\\\"expressionIndex\\\": \\\"1\\\", {\\\"validationActions\\\": [\\\"Audit\\\"]}]\"`\n\nClients should expect to handle additional values by ignoring any values not recognized.\n\n\"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.\n\nRequired.", "items": { "type": "string" }, @@ -1667,6 +1601,9 @@ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { @@ -2832,11 +2769,11 @@ }, "ordinals": { "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetOrdinals", - "description": "ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a \"0\" index to the first replica and increments the index by one for each additional replica requested. Using the ordinals field requires the StatefulSetStartOrdinal feature gate to be enabled, which is beta." + "description": "ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a \"0\" index to the first replica and increments the index by one for each additional replica requested." }, "persistentVolumeClaimRetentionPolicy": { "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetPersistentVolumeClaimRetentionPolicy", - "description": "persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down. This requires the StatefulSetAutoDeletePVC feature gate to be enabled, which is alpha. +optional" + "description": "persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down." }, "podManagementPolicy": { "description": "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.", @@ -3216,7 +3153,7 @@ }, "type": "object" }, - "io.k8s.api.authentication.v1alpha1.SelfSubjectReview": { + "io.k8s.api.authentication.v1beta1.SelfSubjectReview": { "description": "SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.", "properties": { "apiVersion": { @@ -3232,7 +3169,7 @@ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "status": { - "$ref": "#/definitions/io.k8s.api.authentication.v1alpha1.SelfSubjectReviewStatus", + "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.SelfSubjectReviewStatus", "description": "Status is filled in by the server with the user attributes." } }, @@ -3241,11 +3178,11 @@ { "group": "authentication.k8s.io", "kind": "SelfSubjectReview", - "version": "v1alpha1" + "version": "v1beta1" } ] }, - "io.k8s.api.authentication.v1alpha1.SelfSubjectReviewStatus": { + "io.k8s.api.authentication.v1beta1.SelfSubjectReviewStatus": { "description": "SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.", "properties": { "userInfo": { @@ -3255,41 +3192,38 @@ }, "type": "object" }, - "io.k8s.api.authentication.v1beta1.SelfSubjectReview": { - "description": "SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.", + "io.k8s.api.authorization.v1.FieldSelectorAttributes": { + "description": "FieldSelectorAttributes indicates a field limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "rawSelector": { + "description": "rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSelector. The kube-apiserver's *SubjectAccessReview will parse the rawSelector as long as the requirements are not present.", "type": "string" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.authentication.v1beta1.SelfSubjectReviewStatus", - "description": "Status is filled in by the server with the user attributes." + "requirements": { + "description": "requirements is the parsed interpretation of a field selector. All requirements must be met for a resource instance to match the selector. Webhook implementations should handle requirements, but how to handle them is up to the webhook. Since requirements can only limit the request, it is safe to authorize as unlimited request if the requirements are not understood.", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.FieldSelectorRequirement" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "authentication.k8s.io", - "kind": "SelfSubjectReview", - "version": "v1beta1" - } - ] + "type": "object" }, - "io.k8s.api.authentication.v1beta1.SelfSubjectReviewStatus": { - "description": "SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.", + "io.k8s.api.authorization.v1.LabelSelectorAttributes": { + "description": "LabelSelectorAttributes indicates a label limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.", "properties": { - "userInfo": { - "$ref": "#/definitions/io.k8s.api.authentication.v1.UserInfo", - "description": "User attributes of the user making this request." + "rawSelector": { + "description": "rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSelector. The kube-apiserver's *SubjectAccessReview will parse the rawSelector as long as the requirements are not present.", + "type": "string" + }, + "requirements": { + "description": "requirements is the parsed interpretation of a label selector. All requirements must be met for a resource instance to match the selector. Webhook implementations should handle requirements, but how to handle them is up to the webhook. Since requirements can only limit the request, it is safe to authorize as unlimited request if the requirements are not understood.", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "type": "object" @@ -3372,10 +3306,18 @@ "io.k8s.api.authorization.v1.ResourceAttributes": { "description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface", "properties": { + "fieldSelector": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.FieldSelectorAttributes", + "description": "fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it.\n\nThis field is alpha-level. To use this field, you must enable the `AuthorizeWithSelectors` feature gate (disabled by default)." + }, "group": { "description": "Group is the API Group of the Resource. \"*\" means all.", "type": "string" }, + "labelSelector": { + "$ref": "#/definitions/io.k8s.api.authorization.v1.LabelSelectorAttributes", + "description": "labelSelector describes the limitation on access based on labels. It can only limit access, not broaden it.\n\nThis field is alpha-level. To use this field, you must enable the `AuthorizeWithSelectors` feature gate (disabled by default)." + }, "name": { "description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.", "type": "string" @@ -4263,7 +4205,7 @@ "properties": { "containerResource": { "$ref": "#/definitions/io.k8s.api.autoscaling.v2.ContainerResourceMetricSource", - "description": "containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag." + "description": "containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source." }, "external": { "$ref": "#/definitions/io.k8s.api.autoscaling.v2.ExternalMetricSource", @@ -4282,7 +4224,7 @@ "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source." }, "type": { - "description": "type is the type of metric source. It should be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object. Note: \"ContainerResource\" type is available on when the feature-gate HPAContainerMetrics is enabled", + "description": "type is the type of metric source. It should be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object.", "type": "string" } }, @@ -4315,7 +4257,7 @@ "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source." }, "type": { - "description": "type is the type of metric source. It will be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object. Note: \"ContainerResource\" type is available on when the feature-gate HPAContainerMetrics is enabled", + "description": "type is the type of metric source. It will be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object.", "type": "string" } }, @@ -4752,7 +4694,7 @@ "type": "integer" }, "managedBy": { - "description": "ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first \"/\" must be a valid subdomain as defined by RFC 1123. All characters trailing the first \"/\" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 64 characters.\n\nThis field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default).", + "description": "ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first \"/\" must be a valid subdomain as defined by RFC 1123. All characters trailing the first \"/\" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.\n\nThis field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).", "type": "string" }, "manualSelector": { @@ -4771,7 +4713,7 @@ }, "podFailurePolicy": { "$ref": "#/definitions/io.k8s.api.batch.v1.PodFailurePolicy", - "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.\n\nThis field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default)." + "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure." }, "podReplacementPolicy": { "description": "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods\n when they are terminating (has a metadata.deletionTimestamp) or failed.\n- Failed means to wait until a previously created Pod is fully terminated (has phase\n Failed or Succeeded) before creating a replacement Pod.\n\nWhen using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.", @@ -4783,7 +4725,7 @@ }, "successPolicy": { "$ref": "#/definitions/io.k8s.api.batch.v1.SuccessPolicy", - "description": "successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.\n\nThis field is alpha-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (disabled by default)." + "description": "successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.\n\nThis field is beta-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (enabled by default)." }, "suspend": { "description": "suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.", @@ -4840,7 +4782,7 @@ "type": "string" }, "ready": { - "description": "The number of pods which have a Ready condition.", + "description": "The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).", "format": "int32", "type": "integer" }, @@ -5361,11 +5303,11 @@ "description": "acquireTime is a time when the current lease was acquired." }, "holderIdentity": { - "description": "holderIdentity contains the identity of the holder of a current lease.", + "description": "holderIdentity contains the identity of the holder of a current lease. If Coordinated Leader Election is used, the holder identity must be equal to the elected LeaseCandidate.metadata.name field.", "type": "string" }, "leaseDurationSeconds": { - "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed renewTime.", + "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measured against the time of last observed renewTime.", "format": "int32", "type": "integer" }, @@ -5374,11 +5316,118 @@ "format": "int32", "type": "integer" }, + "preferredHolder": { + "description": "PreferredHolder signals to a lease holder that the lease has a more optimal holder and should be given up. This field can only be set if Strategy is also set.", + "type": "string" + }, "renewTime": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", "description": "renewTime is a time when the current holder of a lease has last updated the lease." + }, + "strategy": { + "description": "Strategy indicates the strategy for picking the leader for coordinated leader election. If the field is not specified, there is no active coordination for this lease. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.", + "type": "string" + } + }, + "type": "object" + }, + "io.k8s.api.coordination.v1alpha2.LeaseCandidate": { + "description": "LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "spec": { + "$ref": "#/definitions/io.k8s.api.coordination.v1alpha2.LeaseCandidateSpec", + "description": "spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + } + }, + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha2" + } + ] + }, + "io.k8s.api.coordination.v1alpha2.LeaseCandidateList": { + "description": "LeaseCandidateList is a list of Lease objects.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is a list of schema objects.", + "items": { + "$ref": "#/definitions/io.k8s.api.coordination.v1alpha2.LeaseCandidate" + }, + "type": "array" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "coordination.k8s.io", + "kind": "LeaseCandidateList", + "version": "v1alpha2" + } + ] + }, + "io.k8s.api.coordination.v1alpha2.LeaseCandidateSpec": { + "description": "LeaseCandidateSpec is a specification of a Lease.", + "properties": { + "binaryVersion": { + "description": "BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required.", + "type": "string" + }, + "emulationVersion": { + "description": "EmulationVersion is the emulation version. It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is \"OldestEmulationVersion\"", + "type": "string" + }, + "leaseName": { + "description": "LeaseName is the name of the lease for which this candidate is contending. This field is immutable.", + "type": "string" + }, + "pingTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", + "description": "PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime." + }, + "renewTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime", + "description": "RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates." + }, + "strategy": { + "description": "Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.", + "type": "string" } }, + "required": [ + "leaseName", + "binaryVersion", + "strategy" + ], "type": "object" }, "io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource": { @@ -5551,7 +5600,7 @@ "type": "object" }, "io.k8s.api.core.v1.Binding": { - "description": "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.", + "description": "Binding ties one object to another; for example, a pod is bound to a node by a scheduler.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -5583,7 +5632,7 @@ ] }, "io.k8s.api.core.v1.CSIPersistentVolumeSource": { - "description": "Represents storage that is managed by an external CSI volume driver (Beta feature)", + "description": "Represents storage that is managed by an external CSI volume driver", "properties": { "controllerExpandSecretRef": { "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", @@ -5813,20 +5862,6 @@ ], "type": "object" }, - "io.k8s.api.core.v1.ClaimSource": { - "description": "ClaimSource describes a reference to a ResourceClaim.\n\nExactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.", - "properties": { - "resourceClaimName": { - "description": "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.", - "type": "string" - }, - "resourceClaimTemplateName": { - "description": "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.\n\nThe template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.\n\nThis field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.", - "type": "string" - } - }, - "type": "object" - }, "io.k8s.api.core.v1.ClientIPConfig": { "description": "ClientIPConfig represents the configurations of Client IP based session affinity.", "properties": { @@ -6478,6 +6513,19 @@ "description": "AllocatedResources represents the compute resources allocated for this container by the node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission and after successfully admitting desired pod resize.", "type": "object" }, + "allocatedResourcesStatus": { + "description": "AllocatedResourcesStatus represents the status of various resources allocated for this Pod.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceStatus" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "name" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, "containerID": { "description": "ContainerID is the ID of the container in the format '://'. Where type is a container runtime identifier, returned from Version call of CRI API (for example \"containerd\").", "type": "string" @@ -6519,6 +6567,10 @@ "$ref": "#/definitions/io.k8s.api.core.v1.ContainerState", "description": "State holds details about the container's current condition." }, + "user": { + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerUser", + "description": "User represents user identity information initially attached to the first process of the container" + }, "volumeMounts": { "description": "Status of volume mounts.", "items": { @@ -6542,6 +6594,16 @@ ], "type": "object" }, + "io.k8s.api.core.v1.ContainerUser": { + "description": "ContainerUser represents user identity information", + "properties": { + "linux": { + "$ref": "#/definitions/io.k8s.api.core.v1.LinuxContainerUser", + "description": "Linux holds user identity information initially attached to the first process of the containers in Linux. Note that the actual running identity can be changed if the process has enough privilege to do so." + } + }, + "type": "object" + }, "io.k8s.api.core.v1.DaemonEndpoint": { "description": "DaemonEndpoint contains information about a single Daemon endpoint.", "properties": { @@ -7317,6 +7379,7 @@ "type": "object" }, "io.k8s.api.core.v1.GRPCAction": { + "description": "GRPCAction specifies an action involving a GRPC service.", "properties": { "port": { "description": "Port number of the gRPC service. Number must be in the range 1 to 65535.", @@ -7482,6 +7545,9 @@ "type": "string" } }, + "required": [ + "ip" + ], "type": "object" }, "io.k8s.api.core.v1.HostPathVolumeSource": { @@ -7621,6 +7687,20 @@ ], "type": "object" }, + "io.k8s.api.core.v1.ImageVolumeSource": { + "description": "ImageVolumeSource represents a image volume resource.", + "properties": { + "pullPolicy": { + "description": "Policy for pulling OCI objects. Possible values are: Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.", + "type": "string" + }, + "reference": { + "description": "Required: Image or artifact reference to be used. Behaves in the same way as pod.spec.containers[*].image. Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.", + "type": "string" + } + }, + "type": "object" + }, "io.k8s.api.core.v1.KeyToPath": { "description": "Maps a string key to a path within a volume.", "properties": { @@ -7663,19 +7743,19 @@ "properties": { "exec": { "$ref": "#/definitions/io.k8s.api.core.v1.ExecAction", - "description": "Exec specifies the action to take." + "description": "Exec specifies a command to execute in the container." }, "httpGet": { "$ref": "#/definitions/io.k8s.api.core.v1.HTTPGetAction", - "description": "HTTPGet specifies the http request to perform." + "description": "HTTPGet specifies an HTTP GET request to perform." }, "sleep": { "$ref": "#/definitions/io.k8s.api.core.v1.SleepAction", - "description": "Sleep represents the duration that the container should sleep before being terminated." + "description": "Sleep represents a duration that the container should sleep." }, "tcpSocket": { "$ref": "#/definitions/io.k8s.api.core.v1.TCPSocketAction", - "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified." + "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for backward compatibility. There is no validation of this field and lifecycle hooks will fail at runtime when it is specified." } }, "type": "object" @@ -7809,6 +7889,35 @@ ], "type": "object" }, + "io.k8s.api.core.v1.LinuxContainerUser": { + "description": "LinuxContainerUser represents user identity information in Linux containers", + "properties": { + "gid": { + "description": "GID is the primary gid initially attached to the first process in the container", + "format": "int64", + "type": "integer" + }, + "supplementalGroups": { + "description": "SupplementalGroups are the supplemental groups initially attached to the first process in the container", + "items": { + "format": "int64", + "type": "integer" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "uid": { + "description": "UID is the primary uid initially attached to the first process in the container", + "format": "int64", + "type": "integer" + } + }, + "required": [ + "uid", + "gid" + ], + "type": "object" + }, "io.k8s.api.core.v1.LoadBalancerIngress": { "description": "LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.", "properties": { @@ -7861,7 +7970,7 @@ "x-kubernetes-map-type": "atomic" }, "io.k8s.api.core.v1.LocalVolumeSource": { - "description": "Local represents directly-attached storage with node affinity (Beta feature)", + "description": "Local represents directly-attached storage with node affinity", "properties": { "fsType": { "description": "fsType is the filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a filesystem if unspecified.", @@ -7953,12 +8062,15 @@ "description": "NamespaceCondition contains details about state of namespace.", "properties": { "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "Last time the condition transitioned from one status to another." }, "message": { + "description": "Human-readable message indicating details about last transition.", "type": "string" }, "reason": { + "description": "Unique, one-word, CamelCase reason for the condition's last transition.", "type": "string" }, "status": { @@ -8193,6 +8305,16 @@ }, "type": "object" }, + "io.k8s.api.core.v1.NodeFeatures": { + "description": "NodeFeatures describes the set of features implemented by the CRI implementation. The features contained in the NodeFeatures should depend only on the cri implementation independent of runtime handlers.", + "properties": { + "supplementalGroupsPolicy": { + "description": "SupplementalGroupsPolicy is set to true if the runtime supports SupplementalGroupsPolicy and ContainerUser.", + "type": "boolean" + } + }, + "type": "object" + }, "io.k8s.api.core.v1.NodeList": { "description": "NodeList is the whole list of all Nodes which have been registered with master.", "properties": { @@ -8243,11 +8365,15 @@ "type": "object" }, "io.k8s.api.core.v1.NodeRuntimeHandlerFeatures": { - "description": "NodeRuntimeHandlerFeatures is a set of runtime features.", + "description": "NodeRuntimeHandlerFeatures is a set of features implemented by the runtime handler.", "properties": { "recursiveReadOnlyMounts": { "description": "RecursiveReadOnlyMounts is set to true if the runtime handler supports RecursiveReadOnlyMounts.", "type": "boolean" + }, + "userNamespaces": { + "description": "UserNamespaces is set to true if the runtime handler supports UserNamespaces, including for volumes.", + "type": "boolean" } }, "type": "object" @@ -8366,7 +8492,7 @@ "description": "NodeStatus is information about the current status of a node.", "properties": { "addresses": { - "description": "List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node's address in its own status or consumers of the downward API (status.hostIP).", + "description": "List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/reference/node/node-status/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node's address in its own status or consumers of the downward API (status.hostIP).", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.NodeAddress" }, @@ -8389,11 +8515,11 @@ "additionalProperties": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" }, - "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", + "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacity", "type": "object" }, "conditions": { - "description": "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition", + "description": "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/reference/node/node-status/#condition", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.NodeCondition" }, @@ -8413,6 +8539,10 @@ "$ref": "#/definitions/io.k8s.api.core.v1.NodeDaemonEndpoints", "description": "Endpoints of daemons running on the Node." }, + "features": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeFeatures", + "description": "Features describes the set of features implemented by the CRI implementation." + }, "images": { "description": "List of container images on this node", "items": { @@ -8423,7 +8553,7 @@ }, "nodeInfo": { "$ref": "#/definitions/io.k8s.api.core.v1.NodeSystemInfo", - "description": "Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info" + "description": "Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/reference/node/node-status/#info" }, "phase": { "description": "NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated.", @@ -8476,7 +8606,7 @@ "type": "string" }, "kubeProxyVersion": { - "description": "KubeProxy Version reported by the node.", + "description": "Deprecated: KubeProxy Version reported by the node.", "type": "string" }, "kubeletVersion": { @@ -8653,9 +8783,11 @@ "type": "string" }, "status": { + "description": "Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=state%20of%20pvc-,conditions.status,-(string)%2C%20required", "type": "string" }, "type": { + "description": "Type is the type of the condition. More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=set%20to%20%27ResizeStarted%27.-,PersistentVolumeClaimCondition,-contains%20details%20about", "type": "string" } }, @@ -8732,7 +8864,7 @@ "type": "string" }, "volumeAttributesClassName": { - "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.", + "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).", "type": "string" }, "volumeMode": { @@ -8793,12 +8925,12 @@ "x-kubernetes-patch-strategy": "merge" }, "currentVolumeAttributesClassName": { - "description": "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is an alpha field and requires enabling VolumeAttributesClass feature.", + "description": "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is a beta field and requires enabling VolumeAttributesClass feature (off by default).", "type": "string" }, "modifyVolumeStatus": { "$ref": "#/definitions/io.k8s.api.core.v1.ModifyVolumeStatus", - "description": "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is an alpha field and requires enabling VolumeAttributesClass feature." + "description": "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is a beta field and requires enabling VolumeAttributesClass feature (off by default)." }, "phase": { "description": "phase represents the current phase of PersistentVolumeClaim.", @@ -8889,15 +9021,15 @@ }, "awsElasticBlockStore": { "$ref": "#/definitions/io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource", - "description": "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + "description": "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" }, "azureDisk": { "$ref": "#/definitions/io.k8s.api.core.v1.AzureDiskVolumeSource", - "description": "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod." + "description": "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver." }, "azureFile": { "$ref": "#/definitions/io.k8s.api.core.v1.AzureFilePersistentVolumeSource", - "description": "azureFile represents an Azure File Service mount on the host and bind mount to the pod." + "description": "azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver." }, "capacity": { "additionalProperties": { @@ -8908,11 +9040,11 @@ }, "cephfs": { "$ref": "#/definitions/io.k8s.api.core.v1.CephFSPersistentVolumeSource", - "description": "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime" + "description": "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported." }, "cinder": { "$ref": "#/definitions/io.k8s.api.core.v1.CinderPersistentVolumeSource", - "description": "cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + "description": "cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" }, "claimRef": { "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", @@ -8921,7 +9053,7 @@ }, "csi": { "$ref": "#/definitions/io.k8s.api.core.v1.CSIPersistentVolumeSource", - "description": "csi represents storage that is handled by an external CSI driver (Beta feature)." + "description": "csi represents storage that is handled by an external CSI driver." }, "fc": { "$ref": "#/definitions/io.k8s.api.core.v1.FCVolumeSource", @@ -8929,19 +9061,19 @@ }, "flexVolume": { "$ref": "#/definitions/io.k8s.api.core.v1.FlexPersistentVolumeSource", - "description": "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin." + "description": "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead." }, "flocker": { "$ref": "#/definitions/io.k8s.api.core.v1.FlockerVolumeSource", - "description": "flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running" + "description": "flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported." }, "gcePersistentDisk": { "$ref": "#/definitions/io.k8s.api.core.v1.GCEPersistentDiskVolumeSource", - "description": "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + "description": "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" }, "glusterfs": { "$ref": "#/definitions/io.k8s.api.core.v1.GlusterfsPersistentVolumeSource", - "description": "glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md" + "description": "glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md" }, "hostPath": { "$ref": "#/definitions/io.k8s.api.core.v1.HostPathVolumeSource", @@ -8977,23 +9109,23 @@ }, "photonPersistentDisk": { "$ref": "#/definitions/io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource", - "description": "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine" + "description": "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported." }, "portworxVolume": { "$ref": "#/definitions/io.k8s.api.core.v1.PortworxVolumeSource", - "description": "portworxVolume represents a portworx volume attached and mounted on kubelets host machine" + "description": "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on." }, "quobyte": { "$ref": "#/definitions/io.k8s.api.core.v1.QuobyteVolumeSource", - "description": "quobyte represents a Quobyte mount on the host that shares a pod's lifetime" + "description": "quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported." }, "rbd": { "$ref": "#/definitions/io.k8s.api.core.v1.RBDPersistentVolumeSource", - "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md" + "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md" }, "scaleIO": { "$ref": "#/definitions/io.k8s.api.core.v1.ScaleIOPersistentVolumeSource", - "description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes." + "description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported." }, "storageClassName": { "description": "storageClassName is the name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.", @@ -9001,10 +9133,10 @@ }, "storageos": { "$ref": "#/definitions/io.k8s.api.core.v1.StorageOSPersistentVolumeSource", - "description": "storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md" + "description": "storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. More info: https://examples.k8s.io/volumes/storageos/README.md" }, "volumeAttributesClassName": { - "description": "Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is an alpha field and requires enabling VolumeAttributesClass feature.", + "description": "Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is a beta field and requires enabling VolumeAttributesClass feature (off by default).", "type": "string" }, "volumeMode": { @@ -9013,7 +9145,7 @@ }, "vsphereVolume": { "$ref": "#/definitions/io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource", - "description": "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine" + "description": "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver." } }, "type": "object" @@ -9023,7 +9155,7 @@ "properties": { "lastPhaseTransitionTime": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default)." + "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions." }, "message": { "description": "message is a human-readable message indicating details about why the volume is in this state.", @@ -9120,7 +9252,7 @@ "description": "A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods." }, "matchLabelKeys": { - "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.", + "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", "items": { "type": "string" }, @@ -9128,7 +9260,7 @@ "x-kubernetes-list-type": "atomic" }, "mismatchLabelKeys": { - "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.", + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).", "items": { "type": "string" }, @@ -9247,10 +9379,11 @@ "description": "PodDNSConfigOption defines DNS resolver options of a pod.", "properties": { "name": { - "description": "Required.", + "description": "Name is this DNS resolver option's name. Required.", "type": "string" }, "value": { + "description": "Value is this DNS resolver option's value.", "type": "string" } }, @@ -9264,6 +9397,9 @@ "type": "string" } }, + "required": [ + "ip" + ], "type": "object" }, "io.k8s.api.core.v1.PodList": { @@ -9328,15 +9464,19 @@ "type": "object" }, "io.k8s.api.core.v1.PodResourceClaim": { - "description": "PodResourceClaim references exactly one ResourceClaim through a ClaimSource. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.", + "description": "PodResourceClaim references exactly one ResourceClaim, either directly or by naming a ResourceClaimTemplate which is then turned into a ResourceClaim for the pod.\n\nIt adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.", "properties": { "name": { "description": "Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL.", "type": "string" }, - "source": { - "$ref": "#/definitions/io.k8s.api.core.v1.ClaimSource", - "description": "Source describes where to find the ResourceClaim." + "resourceClaimName": { + "description": "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.\n\nExactly one of ResourceClaimName and ResourceClaimTemplateName must be set.", + "type": "string" + }, + "resourceClaimTemplateName": { + "description": "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.\n\nThe template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.\n\nThis field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.\n\nExactly one of ResourceClaimName and ResourceClaimTemplateName must be set.", + "type": "string" } }, "required": [ @@ -9352,7 +9492,7 @@ "type": "string" }, "resourceClaimName": { - "description": "ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. It this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case.", + "description": "ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. If this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case.", "type": "string" } }, @@ -9404,6 +9544,10 @@ "format": "int64", "type": "integer" }, + "seLinuxChangePolicy": { + "description": "seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod. It has no effect on nodes that do not support SELinux or to volumes does not support SELinux. Valid values are \"MountOption\" and \"Recursive\".\n\n\"Recursive\" means relabeling of all files on all Pod volumes by the container runtime. This may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node.\n\n\"MountOption\" mounts all eligible Pod volumes with `-o context` mount option. This requires all Pods that share the same volume to use the same SELinux label. It is not possible to share the same volume among privileged and unprivileged Pods. Eligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes whose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their CSIDriver instance. Other volumes are always re-labelled recursively. \"MountOption\" value is allowed only when SELinuxMount feature gate is enabled.\n\nIf not specified and SELinuxMount feature gate is enabled, \"MountOption\" is used. If not specified and SELinuxMount feature gate is disabled, \"MountOption\" is used for ReadWriteOncePod volumes and \"Recursive\" for all other volumes.\n\nThis field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers.\n\nAll Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state. Note that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, "seLinuxOptions": { "$ref": "#/definitions/io.k8s.api.core.v1.SELinuxOptions", "description": "The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows." @@ -9413,7 +9557,7 @@ "description": "The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows." }, "supplementalGroups": { - "description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. If unspecified, no additional groups are added to any container. Note that group memberships defined in the container image for the uid of the container process are still effective, even if they are not included in this list. Note that this field cannot be set when spec.os.name is windows.", + "description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID and fsGroup (if specified). If the SupplementalGroupsPolicy feature is enabled, the supplementalGroupsPolicy field determines whether these are in addition to or instead of any group memberships defined in the container image. If unspecified, no additional groups are added, though group memberships defined in the container image may still be used, depending on the supplementalGroupsPolicy field. Note that this field cannot be set when spec.os.name is windows.", "items": { "format": "int64", "type": "integer" @@ -9421,6 +9565,10 @@ "type": "array", "x-kubernetes-list-type": "atomic" }, + "supplementalGroupsPolicy": { + "description": "Defines how supplemental groups of the first container processes are calculated. Valid values are \"Merge\" and \"Strict\". If not specified, \"Merge\" is used. (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled and the container runtime must implement support for this feature. Note that this field cannot be set when spec.os.name is windows.", + "type": "string" + }, "sysctls": { "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows.", "items": { @@ -9550,7 +9698,7 @@ "x-kubernetes-patch-strategy": "merge" }, "nodeName": { - "description": "NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements.", + "description": "NodeName indicates in which node this pod is scheduled. If empty, this pod is a candidate for scheduling by the scheduler defined in schedulerName. Once this field is set, the kubelet for this node becomes responsible for the lifecycle of this pod. This field should not be used to express a desire for the pod to be scheduled on a specific node. https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodename", "type": "string" }, "nodeSelector": { @@ -9563,7 +9711,7 @@ }, "os": { "$ref": "#/definitions/io.k8s.api.core.v1.PodOS", - "description": "Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set.\n\nIf the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions\n\nIf the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.containers[*].securityContext.appArmorProfile - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup" + "description": "Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set.\n\nIf the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions\n\nIf the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.securityContext.supplementalGroupsPolicy - spec.containers[*].securityContext.appArmorProfile - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup" }, "overhead": { "additionalProperties": { @@ -9606,6 +9754,10 @@ "x-kubernetes-patch-merge-key": "name", "x-kubernetes-patch-strategy": "merge,retainKeys" }, + "resources": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements", + "description": "Resources is the total amount of CPU and Memory resources required by all containers in the pod. It supports specifying Requests and Limits for \"cpu\" and \"memory\" resource names only. ResourceClaims are not supported.\n\nThis field enables fine-grained control over resource allocation for the entire pod, allowing resource sharing among containers in a pod.\n\nThis is an alpha field and requires enabling the PodLevelResources feature gate." + }, "restartPolicy": { "description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. In some contexts, only a subset of those values may be permitted. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy", "type": "string" @@ -9644,7 +9796,7 @@ "type": "string" }, "setHostnameAsFQDN": { - "description": "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false.", + "description": "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\\\SYSTEM\\\\CurrentControlSet\\\\Services\\\\Tcpip\\\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false.", "type": "boolean" }, "shareProcessNamespace": { @@ -9718,7 +9870,7 @@ "x-kubernetes-patch-strategy": "merge" }, "containerStatuses": { - "description": "The list has one entry per container in the manifest. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status", + "description": "Statuses of containers in this pod. Each container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStatus" }, @@ -9726,7 +9878,7 @@ "x-kubernetes-list-type": "atomic" }, "ephemeralContainerStatuses": { - "description": "Status for any ephemeral containers that have run in this pod.", + "description": "Statuses for any ephemeral containers that have run in this pod. Each ephemeral container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStatus" }, @@ -9748,7 +9900,7 @@ "x-kubernetes-patch-strategy": "merge" }, "initContainerStatuses": { - "description": "The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status", + "description": "Statuses of init containers in this pod. The most recent successful non-restartable init container will have ready = true, the most recently started container will have startTime set. Each init container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-and-container-status", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStatus" }, @@ -9895,6 +10047,7 @@ "type": "object" }, "io.k8s.api.core.v1.PortStatus": { + "description": "PortStatus represents the error condition of a service port", "properties": { "error": { "description": "Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use\n CamelCase names\n- cloud provider specific error values must have names that comply with the\n format foo.example.com/CamelCase.", @@ -9961,7 +10114,7 @@ "properties": { "exec": { "$ref": "#/definitions/io.k8s.api.core.v1.ExecAction", - "description": "Exec specifies the action to take." + "description": "Exec specifies a command to execute in the container." }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", @@ -9970,11 +10123,11 @@ }, "grpc": { "$ref": "#/definitions/io.k8s.api.core.v1.GRPCAction", - "description": "GRPC specifies an action involving a GRPC port." + "description": "GRPC specifies a GRPC HealthCheckRequest." }, "httpGet": { "$ref": "#/definitions/io.k8s.api.core.v1.HTTPGetAction", - "description": "HTTPGet specifies the http request to perform." + "description": "HTTPGet specifies an HTTP GET request to perform." }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", @@ -9993,7 +10146,7 @@ }, "tcpSocket": { "$ref": "#/definitions/io.k8s.api.core.v1.TCPSocketAction", - "description": "TCPSocket specifies an action involving a TCP port." + "description": "TCPSocket specifies a connection to a TCP port." }, "terminationGracePeriodSeconds": { "description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.", @@ -10017,7 +10170,7 @@ "type": "integer" }, "sources": { - "description": "sources is the list of volume projections", + "description": "sources is the list of volume projections. Each entry in this list handles one source.", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.VolumeProjection" }, @@ -10332,6 +10485,10 @@ "name": { "description": "Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.", "type": "string" + }, + "request": { + "description": "Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.", + "type": "string" } }, "required": [ @@ -10361,6 +10518,23 @@ "type": "object", "x-kubernetes-map-type": "atomic" }, + "io.k8s.api.core.v1.ResourceHealth": { + "description": "ResourceHealth represents the health of a resource. It has the latest device health information. This is a part of KEP https://kep.k8s.io/4680.", + "properties": { + "health": { + "description": "Health of the resource. can be one of:\n - Healthy: operates as normal\n - Unhealthy: reported unhealthy. We consider this a temporary health issue\n since we do not have a mechanism today to distinguish\n temporary and permanent issues.\n - Unknown: The status cannot be determined.\n For example, Device Plugin got unregistered and hasn't been re-registered since.\n\nIn future we may want to introduce the PermanentlyUnhealthy Status.", + "type": "string" + }, + "resourceID": { + "description": "ResourceID is the unique identifier of the resource. See the ResourceID type for more information.", + "type": "string" + } + }, + "required": [ + "resourceID" + ], + "type": "object" + }, "io.k8s.api.core.v1.ResourceQuota": { "description": "ResourceQuota sets aggregate quota restrictions enforced per namespace", "properties": { @@ -10505,6 +10679,30 @@ }, "type": "object" }, + "io.k8s.api.core.v1.ResourceStatus": { + "description": "ResourceStatus represents the status of a single resource allocated to a Pod.", + "properties": { + "name": { + "description": "Name of the resource. Must be unique within the pod and in case of non-DRA resource, match one of the resources from the pod spec. For DRA resources, the value must be \"claim:/\". When this status is reported about a container, the \"claim_name\" and \"request\" must match one of the claims of this container.", + "type": "string" + }, + "resources": { + "description": "List of unique resources health. Each element in the list contains an unique resource ID and its health. At a minimum, for the lifetime of a Pod, resource ID must uniquely identify the resource allocated to the Pod on the Node. If other Pod on the same Node reports the status with the same resource ID, it must be the same resource they share. See ResourceID type definition for a specific format it has in various use cases.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceHealth" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "resourceID" + ], + "x-kubernetes-list-type": "map" + } + }, + "required": [ + "name" + ], + "type": "object" + }, "io.k8s.api.core.v1.SELinuxOptions": { "description": "SELinuxOptions are the labels to be applied to the container", "properties": { @@ -10898,7 +11096,7 @@ "type": "boolean" }, "procMount": { - "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.", + "description": "procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.", "type": "string" }, "readOnlyRootFilesystem": { @@ -10995,7 +11193,7 @@ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "secrets": { - "description": "Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a \"kubernetes.io/enforce-mountable-secrets\" annotation set to \"true\". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret", + "description": "Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a \"kubernetes.io/enforce-mountable-secrets\" annotation set to \"true\". The \"kubernetes.io/enforce-mountable-secrets\" annotation is deprecated since v1.32. Prefer separate namespaces to isolate access to mounted secrets. This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" }, @@ -11251,7 +11449,7 @@ "description": "sessionAffinityConfig contains the configurations of session affinity." }, "trafficDistribution": { - "description": "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.", + "description": "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 a beta field and requires enabling ServiceTrafficDistribution feature.", "type": "string" }, "type": { @@ -11558,6 +11756,7 @@ "x-kubernetes-map-type": "atomic" }, "io.k8s.api.core.v1.TypedObjectReference": { + "description": "TypedObjectReference contains enough information to let you locate the typed referenced object", "properties": { "apiGroup": { "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", @@ -11587,23 +11786,23 @@ "properties": { "awsElasticBlockStore": { "$ref": "#/definitions/io.k8s.api.core.v1.AWSElasticBlockStoreVolumeSource", - "description": "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" + "description": "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" }, "azureDisk": { "$ref": "#/definitions/io.k8s.api.core.v1.AzureDiskVolumeSource", - "description": "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod." + "description": "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver." }, "azureFile": { "$ref": "#/definitions/io.k8s.api.core.v1.AzureFileVolumeSource", - "description": "azureFile represents an Azure File Service mount on the host and bind mount to the pod." + "description": "azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver." }, "cephfs": { "$ref": "#/definitions/io.k8s.api.core.v1.CephFSVolumeSource", - "description": "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime" + "description": "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported." }, "cinder": { "$ref": "#/definitions/io.k8s.api.core.v1.CinderVolumeSource", - "description": "cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" + "description": "cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md" }, "configMap": { "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapVolumeSource", @@ -11611,7 +11810,7 @@ }, "csi": { "$ref": "#/definitions/io.k8s.api.core.v1.CSIVolumeSource", - "description": "csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature)." + "description": "csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers." }, "downwardAPI": { "$ref": "#/definitions/io.k8s.api.core.v1.DownwardAPIVolumeSource", @@ -11631,28 +11830,32 @@ }, "flexVolume": { "$ref": "#/definitions/io.k8s.api.core.v1.FlexVolumeSource", - "description": "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin." + "description": "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead." }, "flocker": { "$ref": "#/definitions/io.k8s.api.core.v1.FlockerVolumeSource", - "description": "flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running" + "description": "flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported." }, "gcePersistentDisk": { "$ref": "#/definitions/io.k8s.api.core.v1.GCEPersistentDiskVolumeSource", - "description": "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" + "description": "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" }, "gitRepo": { "$ref": "#/definitions/io.k8s.api.core.v1.GitRepoVolumeSource", - "description": "gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container." + "description": "gitRepo represents a git repository at a particular revision. Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container." }, "glusterfs": { "$ref": "#/definitions/io.k8s.api.core.v1.GlusterfsVolumeSource", - "description": "glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md" + "description": "glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md" }, "hostPath": { "$ref": "#/definitions/io.k8s.api.core.v1.HostPathVolumeSource", "description": "hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" }, + "image": { + "$ref": "#/definitions/io.k8s.api.core.v1.ImageVolumeSource", + "description": "image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided:\n\n- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\n\nThe volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath). The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type." + }, "iscsi": { "$ref": "#/definitions/io.k8s.api.core.v1.ISCSIVolumeSource", "description": "iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md" @@ -11671,11 +11874,11 @@ }, "photonPersistentDisk": { "$ref": "#/definitions/io.k8s.api.core.v1.PhotonPersistentDiskVolumeSource", - "description": "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine" + "description": "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported." }, "portworxVolume": { "$ref": "#/definitions/io.k8s.api.core.v1.PortworxVolumeSource", - "description": "portworxVolume represents a portworx volume attached and mounted on kubelets host machine" + "description": "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on." }, "projected": { "$ref": "#/definitions/io.k8s.api.core.v1.ProjectedVolumeSource", @@ -11683,15 +11886,15 @@ }, "quobyte": { "$ref": "#/definitions/io.k8s.api.core.v1.QuobyteVolumeSource", - "description": "quobyte represents a Quobyte mount on the host that shares a pod's lifetime" + "description": "quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported." }, "rbd": { "$ref": "#/definitions/io.k8s.api.core.v1.RBDVolumeSource", - "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md" + "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md" }, "scaleIO": { "$ref": "#/definitions/io.k8s.api.core.v1.ScaleIOVolumeSource", - "description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes." + "description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported." }, "secret": { "$ref": "#/definitions/io.k8s.api.core.v1.SecretVolumeSource", @@ -11699,11 +11902,11 @@ }, "storageos": { "$ref": "#/definitions/io.k8s.api.core.v1.StorageOSVolumeSource", - "description": "storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes." + "description": "storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported." }, "vsphereVolume": { "$ref": "#/definitions/io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource", - "description": "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine" + "description": "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver." } }, "required": [ @@ -11804,7 +12007,7 @@ "type": "object" }, "io.k8s.api.core.v1.VolumeProjection": { - "description": "Projection that may be projected along with other supported volume types", + "description": "Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.", "properties": { "clusterTrustBundle": { "$ref": "#/definitions/io.k8s.api.core.v1.ClusterTrustBundleProjection", @@ -12839,37 +13042,68 @@ ], "type": "object" }, - "io.k8s.api.flowcontrol.v1beta3.ExemptPriorityLevelConfiguration": { - "description": "ExemptPriorityLevelConfiguration describes the configurable aspects of the handling of exempt requests. In the mandatory exempt configuration object the values in the fields here can be modified by authorized users, unlike the rest of the `spec`.", + "io.k8s.api.networking.v1.HTTPIngressPath": { + "description": "HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.", "properties": { - "lendablePercent": { - "description": "`lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. This value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.\n\nLendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )", - "format": "int32", - "type": "integer" + "backend": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressBackend", + "description": "backend defines the referenced service endpoint to which the traffic will be forwarded to." }, - "nominalConcurrencyShares": { - "description": "`nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats nominally reserved for this priority level. This DOES NOT limit the dispatching from this priority level but affects the other priority levels through the borrowing mechanism. The server's concurrency limit (ServerCL) is divided among all the priority levels in proportion to their NCS values:\n\nNominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)\n\nBigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level. This field has a default value of zero.", - "format": "int32", - "type": "integer" + "path": { + "description": "path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/' and must be present when using PathType with value \"Exact\" or \"Prefix\".", + "type": "string" + }, + "pathType": { + "description": "pathType determines the interpretation of the path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is\n done on a path element by element basis. A path element refers is the\n list of labels in the path split by the '/' separator. A request is a\n match for path p if every p is an element-wise prefix of p of the\n request path. Note that if the last element of the path is a substring\n of the last element in request path, it is not a match (e.g. /foo/bar\n matches /foo/bar/baz, but does not match /foo/barbaz).\n* ImplementationSpecific: Interpretation of the Path matching is up to\n the IngressClass. Implementations can treat this as a separate PathType\n or treat it identically to Prefix or Exact path types.\nImplementations are required to support all path types.", + "type": "string" } }, + "required": [ + "pathType", + "backend" + ], "type": "object" }, - "io.k8s.api.flowcontrol.v1beta3.FlowDistinguisherMethod": { - "description": "FlowDistinguisherMethod specifies the method of a flow distinguisher.", + "io.k8s.api.networking.v1.HTTPIngressRuleValue": { + "description": "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.", "properties": { - "type": { - "description": "`type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required.", + "paths": { + "description": "paths is a collection of paths that map requests to backends.", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.HTTPIngressPath" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "paths" + ], + "type": "object" + }, + "io.k8s.api.networking.v1.IPBlock": { + "description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.", + "properties": { + "cidr": { + "description": "cidr is a string representing the IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"", "type": "string" + }, + "except": { + "description": "except is a slice of CIDRs that should not be included within an IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\" Except values will be rejected if they are outside the cidr range", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "required": [ - "type" + "cidr" ], "type": "object" }, - "io.k8s.api.flowcontrol.v1beta3.FlowSchema": { - "description": "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", + "io.k8s.api.networking.v1.Ingress": { + "description": "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -12881,63 +13115,80 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchemaSpec", - "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressSpec", + "description": "spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchemaStatus", - "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressStatus", + "description": "status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" } ] }, - "io.k8s.api.flowcontrol.v1beta3.FlowSchemaCondition": { - "description": "FlowSchemaCondition describes conditions for a FlowSchema.", + "io.k8s.api.networking.v1.IngressBackend": { + "description": "IngressBackend describes all endpoints for a given service and port.", "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another." + "resource": { + "$ref": "#/definitions/io.k8s.api.core.v1.TypedLocalObjectReference", + "description": "resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with \"Service\"." }, - "message": { - "description": "`message` is a human-readable message indicating details about last transition.", + "service": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressServiceBackend", + "description": "service references a service as a backend. This is a mutually exclusive setting with \"Resource\"." + } + }, + "type": "object" + }, + "io.k8s.api.networking.v1.IngressClass": { + "description": "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, - "reason": { - "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition.", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "status": { - "description": "`status` is the status of the condition. Can be True, False, Unknown. Required.", - "type": "string" + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "type": { - "description": "`type` is the type of the condition. Required.", - "type": "string" + "spec": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClassSpec", + "description": "spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" + } + ] }, - "io.k8s.api.flowcontrol.v1beta3.FlowSchemaList": { - "description": "FlowSchemaList is a list of FlowSchema objects.", + "io.k8s.api.networking.v1.IngressClassList": { + "description": "IngressClassList is a collection of IngressClasses.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "`items` is a list of FlowSchemas.", + "description": "items is the list of IngressClasses.", "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" }, "type": "array" }, @@ -12947,7 +13198,7 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard list metadata." } }, "required": [ @@ -12956,185 +13207,240 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchemaList", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "IngressClassList", + "version": "v1" } ] }, - "io.k8s.api.flowcontrol.v1beta3.FlowSchemaSpec": { - "description": "FlowSchemaSpec describes how the FlowSchema's specification looks like.", + "io.k8s.api.networking.v1.IngressClassParametersReference": { + "description": "IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.", "properties": { - "distinguisherMethod": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowDistinguisherMethod", - "description": "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string." + "apiGroup": { + "description": "apiGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", + "type": "string" }, - "matchingPrecedence": { - "description": "`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default.", - "format": "int32", - "type": "integer" + "kind": { + "description": "kind is the type of resource being referenced.", + "type": "string" }, - "priorityLevelConfiguration": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfigurationReference", - "description": "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required." + "name": { + "description": "name is the name of resource being referenced.", + "type": "string" }, - "rules": { - "description": "`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.", - "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PolicyRulesWithSubjects" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "namespace": { + "description": "namespace is the namespace of the resource being referenced. This field is required when scope is set to \"Namespace\" and must be unset when scope is set to \"Cluster\".", + "type": "string" + }, + "scope": { + "description": "scope represents if this refers to a cluster or namespace scoped resource. This may be set to \"Cluster\" (default) or \"Namespace\".", + "type": "string" } }, "required": [ - "priorityLevelConfiguration" + "kind", + "name" ], "type": "object" }, - "io.k8s.api.flowcontrol.v1beta3.FlowSchemaStatus": { - "description": "FlowSchemaStatus represents the current state of a FlowSchema.", + "io.k8s.api.networking.v1.IngressClassSpec": { + "description": "IngressClassSpec provides information about the class of an Ingress.", "properties": { - "conditions": { - "description": "`conditions` is a list of the current states of FlowSchema.", - "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchemaCondition" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "type" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" + "controller": { + "description": "controller refers to the name of the controller that should handle this class. This allows for different \"flavors\" that are controlled by the same controller. For example, you may have different parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. \"acme.io/ingress-controller\". This field is immutable.", + "type": "string" + }, + "parameters": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClassParametersReference", + "description": "parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters." } }, "type": "object" }, - "io.k8s.api.flowcontrol.v1beta3.GroupSubject": { - "description": "GroupSubject holds detailed information for group-kind subject.", + "io.k8s.api.networking.v1.IngressList": { + "description": "IngressList is a collection of Ingress.", "properties": { - "name": { - "description": "name is the user group that matches, or \"*\" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required.", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is the list of Ingress.", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + }, + "type": "array" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ - "name" + "items" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "networking.k8s.io", + "kind": "IngressList", + "version": "v1" + } + ] }, - "io.k8s.api.flowcontrol.v1beta3.LimitResponse": { - "description": "LimitResponse defines how to handle requests that can not be executed right now.", + "io.k8s.api.networking.v1.IngressLoadBalancerIngress": { + "description": "IngressLoadBalancerIngress represents the status of a load-balancer ingress point.", "properties": { - "queuing": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.QueuingConfiguration", - "description": "`queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `\"Queue\"`." + "hostname": { + "description": "hostname is set for load-balancer ingress points that are DNS based.", + "type": "string" }, - "type": { - "description": "`type` is \"Queue\" or \"Reject\". \"Queue\" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. \"Reject\" means that requests that can not be executed upon arrival are rejected. Required.", + "ip": { + "description": "ip is set for load-balancer ingress points that are IP based.", "type": "string" + }, + "ports": { + "description": "ports provides information about the ports exposed by this LoadBalancer.", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressPortStatus" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, - "required": [ - "type" - ], - "type": "object", - "x-kubernetes-unions": [ - { - "discriminator": "type", - "fields-to-discriminateBy": { - "queuing": "Queuing" - } + "type": "object" + }, + "io.k8s.api.networking.v1.IngressLoadBalancerStatus": { + "description": "IngressLoadBalancerStatus represents the status of a load-balancer.", + "properties": { + "ingress": { + "description": "ingress is a list containing ingress points for the load-balancer.", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressLoadBalancerIngress" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } - ] + }, + "type": "object" }, - "io.k8s.api.flowcontrol.v1beta3.LimitedPriorityLevelConfiguration": { - "description": "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n - How are requests for this priority level limited?\n - What should be done with requests that exceed the limit?", + "io.k8s.api.networking.v1.IngressPortStatus": { + "description": "IngressPortStatus represents the error condition of a service port", "properties": { - "borrowingLimitPercent": { - "description": "`borrowingLimitPercent`, if present, configures a limit on how many seats this priority level can borrow from other priority levels. The limit is known as this level's BorrowingConcurrencyLimit (BorrowingCL) and is a limit on the total number of seats that this level may borrow at any one time. This field holds the ratio of that limit to the level's nominal concurrency limit. When this field is non-nil, it must hold a non-negative integer and the limit is calculated as follows.\n\nBorrowingCL(i) = round( NominalCL(i) * borrowingLimitPercent(i)/100.0 )\n\nThe value of this field can be more than 100, implying that this priority level can borrow a number of seats that is greater than its own nominal concurrency limit (NominalCL). When this field is left `nil`, the limit is effectively infinite.", - "format": "int32", - "type": "integer" + "error": { + "description": "error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use\n CamelCase names\n- cloud provider specific error values must have names that comply with the\n format foo.example.com/CamelCase.", + "type": "string" }, - "lendablePercent": { - "description": "`lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. The value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.\n\nLendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )", + "port": { + "description": "port is the port number of the ingress port.", "format": "int32", "type": "integer" }, - "limitResponse": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.LimitResponse", - "description": "`limitResponse` indicates what to do with requests that can not be executed right now" + "protocol": { + "description": "protocol is the protocol of the ingress port. The supported values are: \"TCP\", \"UDP\", \"SCTP\"", + "type": "string" + } + }, + "required": [ + "port", + "protocol" + ], + "type": "object" + }, + "io.k8s.api.networking.v1.IngressRule": { + "description": "IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.", + "properties": { + "host": { + "description": "host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to\n the IP in the Spec of the parent Ingress.\n2. The `:` delimiter is not respected because ports are not allowed.\n\t Currently the port of an Ingress is implicitly :80 for http and\n\t :443 for https.\nBoth these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.\n\nhost can be \"precise\" which is a domain name without the terminating dot of a network host (e.g. \"foo.bar.com\") or \"wildcard\", which is a domain name prefixed with a single wildcard label (e.g. \"*.foo.com\"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == \"*\"). Requests will be matched against the Host field in the following way: 1. If host is precise, the request matches this rule if the http host header is equal to Host. 2. If host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.", + "type": "string" }, - "nominalConcurrencyShares": { - "description": "`nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats available at this priority level. This is used both for requests dispatched from this priority level as well as requests dispatched from other priority levels borrowing seats from this level. The server's concurrency limit (ServerCL) is divided among the Limited priority levels in proportion to their NCS values:\n\nNominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)\n\nBigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level. This field has a default value of 30.", - "format": "int32", - "type": "integer" + "http": { + "$ref": "#/definitions/io.k8s.api.networking.v1.HTTPIngressRuleValue" } }, "type": "object" }, - "io.k8s.api.flowcontrol.v1beta3.NonResourcePolicyRule": { - "description": "NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.", + "io.k8s.api.networking.v1.IngressServiceBackend": { + "description": "IngressServiceBackend references a Kubernetes Service as a Backend.", "properties": { - "nonResourceURLs": { - "description": "`nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. For example:\n - \"/healthz\" is legal\n - \"/hea*\" is illegal\n - \"/hea\" is legal but matches nothing\n - \"/hea/*\" also matches nothing\n - \"/healthz/*\" matches all per-component health checks.\n\"*\" matches all non-resource urls. if it is present, it must be the only entry. Required.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "set" + "name": { + "description": "name is the referenced service. The service must exist in the same namespace as the Ingress object.", + "type": "string" }, - "verbs": { - "description": "`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs. If it is present, it must be the only entry. Required.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "set" + "port": { + "$ref": "#/definitions/io.k8s.api.networking.v1.ServiceBackendPort", + "description": "port of the referenced service. A port name or port number is required for a IngressServiceBackend." } }, "required": [ - "verbs", - "nonResourceURLs" + "name" ], "type": "object" }, - "io.k8s.api.flowcontrol.v1beta3.PolicyRulesWithSubjects": { - "description": "PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.", + "io.k8s.api.networking.v1.IngressSpec": { + "description": "IngressSpec describes the Ingress the user wishes to exist.", "properties": { - "nonResourceRules": { - "description": "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL.", + "defaultBackend": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressBackend", + "description": "defaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller." + }, + "ingressClassName": { + "description": "ingressClassName is the name of an IngressClass cluster resource. Ingress controller implementations use this field to know whether they should be serving this Ingress resource, by a transitive connection (controller -> IngressClass -> Ingress resource). Although the `kubernetes.io/ingress.class` annotation (simple constant name) was never formally defined, it was widely supported by Ingress controllers to create a direct binding between Ingress controller and Ingress resources. Newly created Ingress resources should prefer using the field. However, even though the annotation is officially deprecated, for backwards compatibility reasons, ingress controllers should still honor that annotation if present.", + "type": "string" + }, + "rules": { + "description": "rules is a list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.", "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.NonResourcePolicyRule" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressRule" }, "type": "array", "x-kubernetes-list-type": "atomic" }, - "resourceRules": { - "description": "`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty.", + "tls": { + "description": "tls represents the TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.", "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.ResourcePolicyRule" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressTLS" }, "type": "array", "x-kubernetes-list-type": "atomic" - }, - "subjects": { - "description": "subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required.", + } + }, + "type": "object" + }, + "io.k8s.api.networking.v1.IngressStatus": { + "description": "IngressStatus describe the current state of the Ingress.", + "properties": { + "loadBalancer": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressLoadBalancerStatus", + "description": "loadBalancer contains the current status of the load-balancer." + } + }, + "type": "object" + }, + "io.k8s.api.networking.v1.IngressTLS": { + "description": "IngressTLS describes the transport layer security associated with an ingress.", + "properties": { + "hosts": { + "description": "hosts is a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.", "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.Subject" + "type": "string" }, "type": "array", "x-kubernetes-list-type": "atomic" + }, + "secretName": { + "description": "secretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the \"Host\" header is used for routing.", + "type": "string" } }, - "required": [ - "subjects" - ], "type": "object" }, - "io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration": { - "description": "PriorityLevelConfiguration represents the configuration of a priority level.", + "io.k8s.api.networking.v1.NetworkPolicy": { + "description": "NetworkPolicy describes what network traffic is allowed for a set of Pods", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -13146,63 +13452,77 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfigurationSpec", - "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfigurationStatus", - "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicySpec", + "description": "spec represents the specification of the desired behavior for this NetworkPolicy." } }, "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" } ] }, - "io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfigurationCondition": { - "description": "PriorityLevelConfigurationCondition defines the condition of priority level.", + "io.k8s.api.networking.v1.NetworkPolicyEgressRule": { + "description": "NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8", "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", - "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another." - }, - "message": { - "description": "`message` is a human-readable message indicating details about last transition.", - "type": "string" - }, - "reason": { - "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition.", - "type": "string" + "ports": { + "description": "ports is a list of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyPort" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "status": { - "description": "`status` is the status of the condition. Can be True, False, Unknown. Required.", - "type": "string" + "to": { + "description": "to is a list of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list.", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyPeer" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "io.k8s.api.networking.v1.NetworkPolicyIngressRule": { + "description": "NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.", + "properties": { + "from": { + "description": "from is a list of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list.", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyPeer" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "type": { - "description": "`type` is the type of the condition. Required.", - "type": "string" + "ports": { + "description": "ports is a list of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyPort" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "type": "object" }, - "io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfigurationList": { - "description": "PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects.", + "io.k8s.api.networking.v1.NetworkPolicyList": { + "description": "NetworkPolicyList is a list of NetworkPolicy objects.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "`items` is a list of request-priorities.", + "description": "items is a list of schema objects.", "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" }, "type": "array" }, @@ -13212,7 +13532,7 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ @@ -13221,270 +13541,207 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfigurationList", - "version": "v1beta3" + "group": "networking.k8s.io", + "kind": "NetworkPolicyList", + "version": "v1" } ] }, - "io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfigurationReference": { - "description": "PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.", + "io.k8s.api.networking.v1.NetworkPolicyPeer": { + "description": "NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed", "properties": { - "name": { - "description": "`name` is the name of the priority level configuration being referenced Required.", - "type": "string" + "ipBlock": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IPBlock", + "description": "ipBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be." + }, + "namespaceSelector": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", + "description": "namespaceSelector selects namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.\n\nIf podSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the namespaces selected by namespaceSelector. Otherwise it selects all pods in the namespaces selected by namespaceSelector." + }, + "podSelector": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", + "description": "podSelector is a label selector which selects pods. This field follows standard label selector semantics; if present but empty, it selects all pods.\n\nIf namespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the pods matching podSelector in the policy's own namespace." } }, - "required": [ - "name" - ], "type": "object" }, - "io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfigurationSpec": { - "description": "PriorityLevelConfigurationSpec specifies the configuration of a priority level.", + "io.k8s.api.networking.v1.NetworkPolicyPort": { + "description": "NetworkPolicyPort describes a port to allow traffic on", "properties": { - "exempt": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.ExemptPriorityLevelConfiguration", - "description": "`exempt` specifies how requests are handled for an exempt priority level. This field MUST be empty if `type` is `\"Limited\"`. This field MAY be non-empty if `type` is `\"Exempt\"`. If empty and `type` is `\"Exempt\"` then the default values for `ExemptPriorityLevelConfiguration` apply." + "endPort": { + "description": "endPort indicates that the range of ports from port to endPort if set, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port.", + "format": "int32", + "type": "integer" }, - "limited": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.LimitedPriorityLevelConfiguration", - "description": "`limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `\"Limited\"`." + "port": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", + "description": "port represents the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched." }, - "type": { - "description": "`type` indicates whether this priority level is subject to limitation on request execution. A value of `\"Exempt\"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `\"Limited\"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required.", + "protocol": { + "description": "protocol represents the protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.", "type": "string" } }, - "required": [ - "type" - ], - "type": "object", - "x-kubernetes-unions": [ - { - "discriminator": "type", - "fields-to-discriminateBy": { - "exempt": "Exempt", - "limited": "Limited" - } - } - ] - }, - "io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfigurationStatus": { - "description": "PriorityLevelConfigurationStatus represents the current state of a \"request-priority\".", - "properties": { - "conditions": { - "description": "`conditions` is the current state of \"request-priority\".", - "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfigurationCondition" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "type" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - } - }, - "type": "object" - }, - "io.k8s.api.flowcontrol.v1beta3.QueuingConfiguration": { - "description": "QueuingConfiguration holds the configuration parameters for queuing", - "properties": { - "handSize": { - "description": "`handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8.", - "format": "int32", - "type": "integer" - }, - "queueLengthLimit": { - "description": "`queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50.", - "format": "int32", - "type": "integer" - }, - "queues": { - "description": "`queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64.", - "format": "int32", - "type": "integer" - } - }, "type": "object" }, - "io.k8s.api.flowcontrol.v1beta3.ResourcePolicyRule": { - "description": "ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) either (d1) the request does not specify a namespace (i.e., `Namespace==\"\"`) and clusterScope is true or (d2) the request specifies a namespace and least one member of namespaces matches the request's namespace.", + "io.k8s.api.networking.v1.NetworkPolicySpec": { + "description": "NetworkPolicySpec provides the specification of a NetworkPolicy", "properties": { - "apiGroups": { - "description": "`apiGroups` is a list of matching API groups and may not be empty. \"*\" matches all API groups and, if present, must be the only entry. Required.", + "egress": { + "description": "egress is a list of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8", "items": { - "type": "string" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyEgressRule" }, "type": "array", - "x-kubernetes-list-type": "set" - }, - "clusterScope": { - "description": "`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list.", - "type": "boolean" + "x-kubernetes-list-type": "atomic" }, - "namespaces": { - "description": "`namespaces` is a list of target namespaces that restricts matches. A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains \"*\". Note that \"*\" matches any specified namespace but does not match a request that _does not specify_ a namespace (see the `clusterScope` field for that). This list may be empty, but only if `clusterScope` is true.", + "ingress": { + "description": "ingress is a list of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)", "items": { - "type": "string" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyIngressRule" }, "type": "array", - "x-kubernetes-list-type": "set" + "x-kubernetes-list-type": "atomic" }, - "resources": { - "description": "`resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ \"services\", \"nodes/status\" ]. This list may not be empty. \"*\" matches all resources and, if present, must be the only entry. Required.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "set" + "podSelector": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", + "description": "podSelector selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace." }, - "verbs": { - "description": "`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs and, if present, must be the only entry. Required.", + "policyTypes": { + "description": "policyTypes is a list of rule types that the NetworkPolicy relates to. Valid options are [\"Ingress\"], [\"Egress\"], or [\"Ingress\", \"Egress\"]. If this field is not specified, it will default based on the existence of ingress or egress rules; policies that contain an egress section are assumed to affect egress, and all policies (whether or not they contain an ingress section) are assumed to affect ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8", "items": { "type": "string" }, "type": "array", - "x-kubernetes-list-type": "set" + "x-kubernetes-list-type": "atomic" } }, "required": [ - "verbs", - "apiGroups", - "resources" + "podSelector" ], "type": "object" }, - "io.k8s.api.flowcontrol.v1beta3.ServiceAccountSubject": { - "description": "ServiceAccountSubject holds detailed information for service-account-kind subject.", + "io.k8s.api.networking.v1.ServiceBackendPort": { + "description": "ServiceBackendPort is the service port being referenced.", "properties": { "name": { - "description": "`name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required.", + "description": "name is the name of the port on the Service. This is a mutually exclusive setting with \"Number\".", "type": "string" }, - "namespace": { - "description": "`namespace` is the namespace of matching ServiceAccount objects. Required.", - "type": "string" + "number": { + "description": "number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with \"Name\".", + "format": "int32", + "type": "integer" } }, - "required": [ - "namespace", - "name" - ], - "type": "object" + "type": "object", + "x-kubernetes-map-type": "atomic" }, - "io.k8s.api.flowcontrol.v1beta3.Subject": { - "description": "Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.", + "io.k8s.api.networking.v1beta1.IPAddress": { + "description": "IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1", "properties": { - "group": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.GroupSubject", - "description": "`group` matches based on user group name." + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" }, "kind": { - "description": "`kind` indicates which one of the other fields is non-empty. Required", + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "serviceAccount": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.ServiceAccountSubject", - "description": "`serviceAccount` matches ServiceAccounts." + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "user": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.UserSubject", - "description": "`user` matches based on username." + "spec": { + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddressSpec", + "description": "spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, - "required": [ - "kind" - ], "type": "object", - "x-kubernetes-unions": [ + "x-kubernetes-group-version-kind": [ { - "discriminator": "kind", - "fields-to-discriminateBy": { - "group": "Group", - "serviceAccount": "ServiceAccount", - "user": "User" - } + "group": "networking.k8s.io", + "kind": "IPAddress", + "version": "v1beta1" } ] }, - "io.k8s.api.flowcontrol.v1beta3.UserSubject": { - "description": "UserSubject holds detailed information for user-kind subject.", + "io.k8s.api.networking.v1beta1.IPAddressList": { + "description": "IPAddressList contains a list of IPAddress.", "properties": { - "name": { - "description": "`name` is the username that matches, or \"*\" to match all usernames. Required.", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "io.k8s.api.networking.v1.HTTPIngressPath": { - "description": "HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.", - "properties": { - "backend": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressBackend", - "description": "backend defines the referenced service endpoint to which the traffic will be forwarded to." }, - "path": { - "description": "path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/' and must be present when using PathType with value \"Exact\" or \"Prefix\".", - "type": "string" + "items": { + "description": "items is the list of IPAddresses.", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress" + }, + "type": "array" }, - "pathType": { - "description": "pathType determines the interpretation of the path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is\n done on a path element by element basis. A path element refers is the\n list of labels in the path split by the '/' separator. A request is a\n match for path p if every p is an element-wise prefix of p of the\n request path. Note that if the last element of the path is a substring\n of the last element in request path, it is not a match (e.g. /foo/bar\n matches /foo/bar/baz, but does not match /foo/barbaz).\n* ImplementationSpecific: Interpretation of the Path matching is up to\n the IngressClass. Implementations can treat this as a separate PathType\n or treat it identically to Prefix or Exact path types.\nImplementations are required to support all path types.", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ - "pathType", - "backend" + "items" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "networking.k8s.io", + "kind": "IPAddressList", + "version": "v1beta1" + } + ] }, - "io.k8s.api.networking.v1.HTTPIngressRuleValue": { - "description": "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.", + "io.k8s.api.networking.v1beta1.IPAddressSpec": { + "description": "IPAddressSpec describe the attributes in an IP Address.", "properties": { - "paths": { - "description": "paths is a collection of paths that map requests to backends.", - "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.HTTPIngressPath" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "parentRef": { + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ParentReference", + "description": "ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object." } }, "required": [ - "paths" + "parentRef" ], "type": "object" }, - "io.k8s.api.networking.v1.IPBlock": { - "description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.", + "io.k8s.api.networking.v1beta1.ParentReference": { + "description": "ParentReference describes a reference to a parent object.", "properties": { - "cidr": { - "description": "cidr is a string representing the IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"", + "group": { + "description": "Group is the group of the object being referenced.", "type": "string" }, - "except": { - "description": "except is a slice of CIDRs that should not be included within an IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\" Except values will be rejected if they are outside the cidr range", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "name": { + "description": "Name is the name of the object being referenced.", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of the object being referenced.", + "type": "string" + }, + "resource": { + "description": "Resource is the resource of the object being referenced.", + "type": "string" } }, "required": [ - "cidr" + "resource", + "name" ], "type": "object" }, - "io.k8s.api.networking.v1.Ingress": { - "description": "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.", + "io.k8s.api.networking.v1beta1.ServiceCIDR": { + "description": "ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -13499,77 +13756,155 @@ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressSpec", - "description": "spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDRSpec", + "description": "spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressStatus", - "description": "status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDRStatus", + "description": "status represents the current state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "x-kubernetes-group-version-kind": [ { "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1" + "kind": "ServiceCIDR", + "version": "v1beta1" } ] }, - "io.k8s.api.networking.v1.IngressBackend": { - "description": "IngressBackend describes all endpoints for a given service and port.", + "io.k8s.api.networking.v1beta1.ServiceCIDRList": { + "description": "ServiceCIDRList contains a list of ServiceCIDR objects.", "properties": { - "resource": { - "$ref": "#/definitions/io.k8s.api.core.v1.TypedLocalObjectReference", - "description": "resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with \"Service\"." + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "service": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressServiceBackend", - "description": "service references a service as a backend. This is a mutually exclusive setting with \"Resource\"." + "items": { + "description": "items is the list of ServiceCIDRs.", + "items": { + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" + }, + "type": "array" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "networking.k8s.io", + "kind": "ServiceCIDRList", + "version": "v1beta1" + } + ] + }, + "io.k8s.api.networking.v1beta1.ServiceCIDRSpec": { + "description": "ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.", + "properties": { + "cidrs": { + "description": "CIDRs defines the IP blocks in CIDR notation (e.g. \"192.168.0.0/24\" or \"2001:db8::/64\") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "type": "object" }, - "io.k8s.api.networking.v1.IngressClass": { - "description": "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.", + "io.k8s.api.networking.v1beta1.ServiceCIDRStatus": { + "description": "ServiceCIDRStatus describes the current state of the ServiceCIDR.", + "properties": { + "conditions": { + "description": "conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Condition" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + } + }, + "type": "object" + }, + "io.k8s.api.node.v1.Overhead": { + "description": "Overhead structure represents the resource overhead associated with running a pod.", + "properties": { + "podFixed": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "description": "podFixed represents the fixed resource overhead associated with running a pod.", + "type": "object" + } + }, + "type": "object" + }, + "io.k8s.api.node.v1.RuntimeClass": { + "description": "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, + "handler": { + "description": "handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.", + "type": "string" + }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, - "spec": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClassSpec", - "description": "spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "overhead": { + "$ref": "#/definitions/io.k8s.api.node.v1.Overhead", + "description": "overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see\n https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/" + }, + "scheduling": { + "$ref": "#/definitions/io.k8s.api.node.v1.Scheduling", + "description": "scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes." } }, + "required": [ + "handler" + ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "networking.k8s.io", - "kind": "IngressClass", + "group": "node.k8s.io", + "kind": "RuntimeClass", "version": "v1" } ] }, - "io.k8s.api.networking.v1.IngressClassList": { - "description": "IngressClassList is a collection of IngressClasses.", + "io.k8s.api.node.v1.RuntimeClassList": { + "description": "RuntimeClassList is a list of RuntimeClass objects.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "items is the list of IngressClasses.", + "description": "items is a list of schema objects.", "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" }, "type": "array" }, @@ -13579,7 +13914,7 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata." + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ @@ -13588,67 +13923,107 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "networking.k8s.io", - "kind": "IngressClassList", + "group": "node.k8s.io", + "kind": "RuntimeClassList", "version": "v1" } ] }, - "io.k8s.api.networking.v1.IngressClassParametersReference": { - "description": "IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.", + "io.k8s.api.node.v1.Scheduling": { + "description": "Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.", "properties": { - "apiGroup": { - "description": "apiGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", - "type": "string" + "nodeSelector": { + "additionalProperties": { + "type": "string" + }, + "description": "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission.", + "type": "object", + "x-kubernetes-map-type": "atomic" }, - "kind": { - "description": "kind is the type of resource being referenced.", + "tolerations": { + "description": "tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.", + "items": { + "$ref": "#/definitions/io.k8s.api.core.v1.Toleration" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "io.k8s.api.policy.v1.Eviction": { + "description": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, - "name": { - "description": "name is the name of resource being referenced.", - "type": "string" + "deleteOptions": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions", + "description": "DeleteOptions may be provided" }, - "namespace": { - "description": "namespace is the namespace of the resource being referenced. This field is required when scope is set to \"Namespace\" and must be unset when scope is set to \"Cluster\".", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "scope": { - "description": "scope represents if this refers to a cluster or namespace scoped resource. This may be set to \"Cluster\" (default) or \"Namespace\".", - "type": "string" + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "ObjectMeta describes the pod that is being evicted." } }, - "required": [ - "kind", - "name" - ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "policy", + "kind": "Eviction", + "version": "v1" + } + ] }, - "io.k8s.api.networking.v1.IngressClassSpec": { - "description": "IngressClassSpec provides information about the class of an Ingress.", + "io.k8s.api.policy.v1.PodDisruptionBudget": { + "description": "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods", "properties": { - "controller": { - "description": "controller refers to the name of the controller that should handle this class. This allows for different \"flavors\" that are controlled by the same controller. For example, you may have different parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. \"acme.io/ingress-controller\". This field is immutable.", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, - "parameters": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClassParametersReference", - "description": "parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters." + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "spec": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudgetSpec", + "description": "Specification of the desired behavior of the PodDisruptionBudget." + }, + "status": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudgetStatus", + "description": "Most recently observed status of the PodDisruptionBudget." } }, - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1" + } + ] }, - "io.k8s.api.networking.v1.IngressList": { - "description": "IngressList is a collection of Ingress.", + "io.k8s.api.policy.v1.PodDisruptionBudgetList": { + "description": "PodDisruptionBudgetList is a collection of PodDisruptionBudgets.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "items is the list of Ingress.", + "description": "Items is a list of PodDisruptionBudgets", "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" }, "type": "array" }, @@ -13667,124 +14042,99 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "networking.k8s.io", - "kind": "IngressList", + "group": "policy", + "kind": "PodDisruptionBudgetList", "version": "v1" } ] }, - "io.k8s.api.networking.v1.IngressLoadBalancerIngress": { - "description": "IngressLoadBalancerIngress represents the status of a load-balancer ingress point.", + "io.k8s.api.policy.v1.PodDisruptionBudgetSpec": { + "description": "PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.", "properties": { - "hostname": { - "description": "hostname is set for load-balancer ingress points that are DNS based.", - "type": "string" + "maxUnavailable": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", + "description": "An eviction is allowed if at most \"maxUnavailable\" pods selected by \"selector\" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with \"minAvailable\"." }, - "ip": { - "description": "ip is set for load-balancer ingress points that are IP based.", - "type": "string" + "minAvailable": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", + "description": "An eviction is allowed if at least \"minAvailable\" pods selected by \"selector\" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying \"100%\"." }, - "ports": { - "description": "ports provides information about the ports exposed by this LoadBalancer.", - "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressPortStatus" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "selector": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", + "description": "Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace.", + "x-kubernetes-patch-strategy": "replace" + }, + "unhealthyPodEvictionPolicy": { + "description": "UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type=\"Ready\",status=\"True\".\n\nValid policies are IfHealthyBudget and AlwaysAllow. If no policy is specified, the default behavior will be used, which corresponds to the IfHealthyBudget policy.\n\nIfHealthyBudget policy means that running pods (status.phase=\"Running\"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction.\n\nAlwaysAllow policy means that all running pods (status.phase=\"Running\"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction.\n\nAdditional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field.\n\nThis field is beta-level. The eviction API uses this field when the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).", + "type": "string" } }, "type": "object" }, - "io.k8s.api.networking.v1.IngressLoadBalancerStatus": { - "description": "IngressLoadBalancerStatus represents the status of a load-balancer.", + "io.k8s.api.policy.v1.PodDisruptionBudgetStatus": { + "description": "PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.", "properties": { - "ingress": { - "description": "ingress is a list containing ingress points for the load-balancer.", + "conditions": { + "description": "Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute\n the number of allowed disruptions. Therefore no disruptions are\n allowed and the status of the condition will be False.\n- InsufficientPods: The number of pods are either at or below the number\n required by the PodDisruptionBudget. No disruptions are\n allowed and the status of the condition will be False.\n- SufficientPods: There are more pods than required by the PodDisruptionBudget.\n The condition will be True, and the number of allowed\n disruptions are provided by the disruptionsAllowed property.", "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressLoadBalancerIngress" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Condition" }, "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "io.k8s.api.networking.v1.IngressPortStatus": { - "description": "IngressPortStatus represents the error condition of a service port", - "properties": { - "error": { - "description": "error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use\n CamelCase names\n- cloud provider specific error values must have names that comply with the\n format foo.example.com/CamelCase.", - "type": "string" + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, - "port": { - "description": "port is the port number of the ingress port.", + "currentHealthy": { + "description": "current number of healthy pods", "format": "int32", "type": "integer" }, - "protocol": { - "description": "protocol is the protocol of the ingress port. The supported values are: \"TCP\", \"UDP\", \"SCTP\"", - "type": "string" - } - }, - "required": [ - "port", - "protocol" - ], - "type": "object" - }, - "io.k8s.api.networking.v1.IngressRule": { - "description": "IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.", - "properties": { - "host": { - "description": "host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to\n the IP in the Spec of the parent Ingress.\n2. The `:` delimiter is not respected because ports are not allowed.\n\t Currently the port of an Ingress is implicitly :80 for http and\n\t :443 for https.\nBoth these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.\n\nhost can be \"precise\" which is a domain name without the terminating dot of a network host (e.g. \"foo.bar.com\") or \"wildcard\", which is a domain name prefixed with a single wildcard label (e.g. \"*.foo.com\"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == \"*\"). Requests will be matched against the Host field in the following way: 1. If host is precise, the request matches this rule if the http host header is equal to Host. 2. If host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.", - "type": "string" + "desiredHealthy": { + "description": "minimum desired number of healthy pods", + "format": "int32", + "type": "integer" }, - "http": { - "$ref": "#/definitions/io.k8s.api.networking.v1.HTTPIngressRuleValue" - } - }, - "type": "object" - }, - "io.k8s.api.networking.v1.IngressServiceBackend": { - "description": "IngressServiceBackend references a Kubernetes Service as a Backend.", - "properties": { - "name": { - "description": "name is the referenced service. The service must exist in the same namespace as the Ingress object.", - "type": "string" + "disruptedPods": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", + "type": "object" }, - "port": { - "$ref": "#/definitions/io.k8s.api.networking.v1.ServiceBackendPort", - "description": "port of the referenced service. A port name or port number is required for a IngressServiceBackend." + "disruptionsAllowed": { + "description": "Number of pod disruptions that are currently allowed.", + "format": "int32", + "type": "integer" + }, + "expectedPods": { + "description": "total number of pods counted by this disruption budget", + "format": "int32", + "type": "integer" + }, + "observedGeneration": { + "description": "Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation.", + "format": "int64", + "type": "integer" } }, "required": [ - "name" + "disruptionsAllowed", + "currentHealthy", + "desiredHealthy", + "expectedPods" ], "type": "object" }, - "io.k8s.api.networking.v1.IngressSpec": { - "description": "IngressSpec describes the Ingress the user wishes to exist.", + "io.k8s.api.rbac.v1.AggregationRule": { + "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole", "properties": { - "defaultBackend": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressBackend", - "description": "defaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller." - }, - "ingressClassName": { - "description": "ingressClassName is the name of an IngressClass cluster resource. Ingress controller implementations use this field to know whether they should be serving this Ingress resource, by a transitive connection (controller -> IngressClass -> Ingress resource). Although the `kubernetes.io/ingress.class` annotation (simple constant name) was never formally defined, it was widely supported by Ingress controllers to create a direct binding between Ingress controller and Ingress resources. Newly created Ingress resources should prefer using the field. However, even though the annotation is officially deprecated, for backwards compatibility reasons, ingress controllers should still honor that annotation if present.", - "type": "string" - }, - "rules": { - "description": "rules is a list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.", - "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressRule" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "tls": { - "description": "tls represents the TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.", + "clusterRoleSelectors": { + "description": "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added", "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressTLS" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" }, "type": "array", "x-kubernetes-list-type": "atomic" @@ -13792,37 +14142,13 @@ }, "type": "object" }, - "io.k8s.api.networking.v1.IngressStatus": { - "description": "IngressStatus describe the current state of the Ingress.", - "properties": { - "loadBalancer": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressLoadBalancerStatus", - "description": "loadBalancer contains the current status of the load-balancer." - } - }, - "type": "object" - }, - "io.k8s.api.networking.v1.IngressTLS": { - "description": "IngressTLS describes the transport layer security associated with an ingress.", + "io.k8s.api.rbac.v1.ClusterRole": { + "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", "properties": { - "hosts": { - "description": "hosts is a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "aggregationRule": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.AggregationRule", + "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller." }, - "secretName": { - "description": "secretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the \"Host\" header is used for routing.", - "type": "string" - } - }, - "type": "object" - }, - "io.k8s.api.networking.v1.NetworkPolicy": { - "description": "NetworkPolicy describes what network traffic is allowed for a set of Pods", - "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" @@ -13833,77 +14159,77 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard object's metadata." }, - "spec": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicySpec", - "description": "spec represents the specification of the desired behavior for this NetworkPolicy." + "rules": { + "description": "Rules holds all the PolicyRules for this ClusterRole", + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.PolicyRule" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", "version": "v1" } ] }, - "io.k8s.api.networking.v1.NetworkPolicyEgressRule": { - "description": "NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8", + "io.k8s.api.rbac.v1.ClusterRoleBinding": { + "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", "properties": { - "ports": { - "description": "ports is a list of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.", - "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyPort" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "to": { - "description": "to is a list of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list.", - "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyPeer" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - } - }, - "type": "object" - }, - "io.k8s.api.networking.v1.NetworkPolicyIngressRule": { - "description": "NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.", - "properties": { - "from": { - "description": "from is a list of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list.", - "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyPeer" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" }, - "ports": { - "description": "ports is a list of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.", + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata." + }, + "roleRef": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleRef", + "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable." + }, + "subjects": { + "description": "Subjects holds references to the objects the role applies to.", "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyPort" + "$ref": "#/definitions/io.k8s.api.rbac.v1.Subject" }, "type": "array", "x-kubernetes-list-type": "atomic" } }, - "type": "object" + "required": [ + "roleRef" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + } + ] }, - "io.k8s.api.networking.v1.NetworkPolicyList": { - "description": "NetworkPolicyList is a list of NetworkPolicy objects.", + "io.k8s.api.rbac.v1.ClusterRoleBindingList": { + "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "items is a list of schema objects.", + "description": "Items is a list of ClusterRoleBindings", "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" }, "type": "array" }, @@ -13913,7 +14239,7 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard object's metadata." } }, "required": [ @@ -13922,74 +14248,84 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "networking.k8s.io", - "kind": "NetworkPolicyList", + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBindingList", "version": "v1" } ] }, - "io.k8s.api.networking.v1.NetworkPolicyPeer": { - "description": "NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed", - "properties": { - "ipBlock": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IPBlock", - "description": "ipBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be." - }, - "namespaceSelector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "namespaceSelector selects namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.\n\nIf podSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the namespaces selected by namespaceSelector. Otherwise it selects all pods in the namespaces selected by namespaceSelector." - }, - "podSelector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "podSelector is a label selector which selects pods. This field follows standard label selector semantics; if present but empty, it selects all pods.\n\nIf namespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the pods matching podSelector in the policy's own namespace." - } - }, - "type": "object" - }, - "io.k8s.api.networking.v1.NetworkPolicyPort": { - "description": "NetworkPolicyPort describes a port to allow traffic on", + "io.k8s.api.rbac.v1.ClusterRoleList": { + "description": "ClusterRoleList is a collection of ClusterRoles", "properties": { - "endPort": { - "description": "endPort indicates that the range of ports from port to endPort if set, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port.", - "format": "int32", - "type": "integer" + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" }, - "port": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "description": "port represents the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched." + "items": { + "description": "Items is a list of ClusterRoles", + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + }, + "type": "array" }, - "protocol": { - "description": "protocol represents the protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard object's metadata." } }, - "type": "object" + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleList", + "version": "v1" + } + ] }, - "io.k8s.api.networking.v1.NetworkPolicySpec": { - "description": "NetworkPolicySpec provides the specification of a NetworkPolicy", + "io.k8s.api.rbac.v1.PolicyRule": { + "description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.", "properties": { - "egress": { - "description": "egress is a list of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8", + "apiGroups": { + "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"\" represents the core API group and \"*\" represents all API groups.", "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyEgressRule" + "type": "string" }, "type": "array", "x-kubernetes-list-type": "atomic" }, - "ingress": { - "description": "ingress is a list of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)", + "nonResourceURLs": { + "description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.", "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyIngressRule" + "type": "string" }, "type": "array", "x-kubernetes-list-type": "atomic" }, - "podSelector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "podSelector selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace." + "resourceNames": { + "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "policyTypes": { - "description": "policyTypes is a list of rule types that the NetworkPolicy relates to. Valid options are [\"Ingress\"], [\"Egress\"], or [\"Ingress\", \"Egress\"]. If this field is not specified, it will default based on the existence of ingress or egress rules; policies that contain an egress section are assumed to affect egress, and all policies (whether or not they contain an ingress section) are assumed to affect ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8", + "resources": { + "description": "Resources is a list of resources this rule applies to. '*' represents all resources.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "verbs": { + "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.", "items": { "type": "string" }, @@ -13998,27 +14334,12 @@ } }, "required": [ - "podSelector" + "verbs" ], "type": "object" }, - "io.k8s.api.networking.v1.ServiceBackendPort": { - "description": "ServiceBackendPort is the service port being referenced.", - "properties": { - "name": { - "description": "name is the name of the port on the Service. This is a mutually exclusive setting with \"Number\".", - "type": "string" - }, - "number": { - "description": "number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with \"Name\".", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "io.k8s.api.networking.v1alpha1.IPAddress": { - "description": "IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1", + "io.k8s.api.rbac.v1.Role": { + "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -14030,140 +14351,112 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard object's metadata." }, - "spec": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddressSpec", - "description": "spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "rules": { + "description": "Rules holds all the PolicyRules for this Role", + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.PolicyRule" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "networking.k8s.io", - "kind": "IPAddress", - "version": "v1alpha1" + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" } ] }, - "io.k8s.api.networking.v1alpha1.IPAddressList": { - "description": "IPAddressList contains a list of IPAddress.", + "io.k8s.api.rbac.v1.RoleBinding": { + "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, - "items": { - "description": "items is the list of IPAddresses.", - "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" - }, - "type": "array" - }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata." + }, + "roleRef": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleRef", + "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable." + }, + "subjects": { + "description": "Subjects holds references to the objects the role applies to.", + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Subject" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "required": [ - "items" + "roleRef" ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "networking.k8s.io", - "kind": "IPAddressList", - "version": "v1alpha1" + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" } ] }, - "io.k8s.api.networking.v1alpha1.IPAddressSpec": { - "description": "IPAddressSpec describe the attributes in an IP Address.", - "properties": { - "parentRef": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ParentReference", - "description": "ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object." - } - }, - "required": [ - "parentRef" - ], - "type": "object" - }, - "io.k8s.api.networking.v1alpha1.ParentReference": { - "description": "ParentReference describes a reference to a parent object.", - "properties": { - "group": { - "description": "Group is the group of the object being referenced.", - "type": "string" - }, - "name": { - "description": "Name is the name of the object being referenced.", - "type": "string" - }, - "namespace": { - "description": "Namespace is the namespace of the object being referenced.", - "type": "string" - }, - "resource": { - "description": "Resource is the resource of the object being referenced.", - "type": "string" - } - }, - "required": [ - "resource", - "name" - ], - "type": "object" - }, - "io.k8s.api.networking.v1alpha1.ServiceCIDR": { - "description": "ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.", + "io.k8s.api.rbac.v1.RoleBindingList": { + "description": "RoleBindingList is a collection of RoleBindings", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, + "items": { + "description": "Items is a list of RoleBindings", + "items": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + }, + "type": "array" + }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDRSpec", - "description": "spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" - }, - "status": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDRStatus", - "description": "status represents the current state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard object's metadata." } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "networking.k8s.io", - "kind": "ServiceCIDR", - "version": "v1alpha1" + "group": "rbac.authorization.k8s.io", + "kind": "RoleBindingList", + "version": "v1" } ] }, - "io.k8s.api.networking.v1alpha1.ServiceCIDRList": { - "description": "ServiceCIDRList contains a list of ServiceCIDR objects.", + "io.k8s.api.rbac.v1.RoleList": { + "description": "RoleList is a collection of Roles", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "items is the list of ServiceCIDRs.", + "description": "Items is a list of Roles", "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" }, "type": "array" }, @@ -14173,7 +14466,7 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard object's metadata." } }, "required": [ @@ -14182,31 +14475,68 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "networking.k8s.io", - "kind": "ServiceCIDRList", - "version": "v1alpha1" + "group": "rbac.authorization.k8s.io", + "kind": "RoleList", + "version": "v1" } ] }, - "io.k8s.api.networking.v1alpha1.ServiceCIDRSpec": { - "description": "ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.", + "io.k8s.api.rbac.v1.RoleRef": { + "description": "RoleRef contains information that points to the role being used", "properties": { - "cidrs": { - "description": "CIDRs defines the IP blocks in CIDR notation (e.g. \"192.168.0.0/24\" or \"2001:db8::/64\") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" } }, - "type": "object" + "required": [ + "apiGroup", + "kind", + "name" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" }, - "io.k8s.api.networking.v1alpha1.ServiceCIDRStatus": { - "description": "ServiceCIDRStatus describes the current state of the ServiceCIDR.", + "io.k8s.api.rbac.v1.Subject": { + "description": "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.", + "properties": { + "apiGroup": { + "description": "APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects.", + "type": "string" + }, + "kind": { + "description": "Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.", + "type": "string" + }, + "name": { + "description": "Name of the object being referenced.", + "type": "string" + }, + "namespace": { + "description": "Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error.", + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object", + "x-kubernetes-map-type": "atomic" + }, + "io.k8s.api.resource.v1alpha3.AllocatedDeviceStatus": { + "description": "AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.", "properties": { "conditions": { - "description": "conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state", + "description": "Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.", "items": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Condition" }, @@ -14214,116 +14544,140 @@ "x-kubernetes-list-map-keys": [ "type" ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" + "x-kubernetes-list-type": "map" + }, + "data": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension", + "description": "Data contains arbitrary driver-specific data.\n\nThe length of the raw data must be smaller or equal to 10 Ki." + }, + "device": { + "description": "Device references one device instance via its name in the driver's resource pool. It must be a DNS label.", + "type": "string" + }, + "driver": { + "description": "Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.", + "type": "string" + }, + "networkData": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.NetworkDeviceData", + "description": "NetworkData contains network-related information specific to the device." + }, + "pool": { + "description": "This name together with the driver name and the device name field identify which device was allocated (`//`).\n\nMust not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.", + "type": "string" + } + }, + "required": [ + "driver", + "pool", + "device" + ], + "type": "object" + }, + "io.k8s.api.resource.v1alpha3.AllocationResult": { + "description": "AllocationResult contains attributes of an allocated resource.", + "properties": { + "devices": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceAllocationResult", + "description": "Devices is the result of allocating devices." + }, + "nodeSelector": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelector", + "description": "NodeSelector defines where the allocated resources are available. If unset, they are available everywhere." } }, "type": "object" }, - "io.k8s.api.node.v1.Overhead": { - "description": "Overhead structure represents the resource overhead associated with running a pod.", + "io.k8s.api.resource.v1alpha3.BasicDevice": { + "description": "BasicDevice defines one device instance.", "properties": { - "podFixed": { + "attributes": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceAttribute" + }, + "description": "Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.", + "type": "object" + }, + "capacity": { "additionalProperties": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" }, - "description": "podFixed represents the fixed resource overhead associated with running a pod.", + "description": "Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.", "type": "object" } }, "type": "object" }, - "io.k8s.api.node.v1.RuntimeClass": { - "description": "RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/", + "io.k8s.api.resource.v1alpha3.CELDeviceSelector": { + "description": "CELDeviceSelector contains a CEL expression for selecting a device.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "handler": { - "description": "handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.", + "expression": { + "description": "Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.\n\nThe expression's input is an object named \"device\", which carries the following properties:\n - driver (string): the name of the driver which defines this device.\n - attributes (map[string]object): the device's attributes, grouped by prefix\n (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all\n of the attributes which were prefixed by \"dra.example.com\".\n - capacity (map[string]object): the device's capacities, grouped by prefix.\n\nExample: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields:\n\n device.driver\n device.attributes[\"dra.example.com\"].model\n device.attributes[\"ext.example.com\"].family\n device.capacity[\"dra.example.com\"].modules\n\nThe device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.\n\nThe value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.\n\nIf an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.\n\nA robust expression should check for the existence of attributes before referencing them.\n\nFor ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:\n\n cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool)\n\nThe length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps.", "type": "string" + } + }, + "required": [ + "expression" + ], + "type": "object" + }, + "io.k8s.api.resource.v1alpha3.Device": { + "description": "Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.", + "properties": { + "basic": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.BasicDevice", + "description": "Basic defines one device instance." }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "name": { + "description": "Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.", "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "overhead": { - "$ref": "#/definitions/io.k8s.api.node.v1.Overhead", - "description": "overhead represents the resource overhead associated with running a pod for a given RuntimeClass. For more details, see\n https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/" - }, - "scheduling": { - "$ref": "#/definitions/io.k8s.api.node.v1.Scheduling", - "description": "scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes." } }, "required": [ - "handler" + "name" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "node.k8s.io", - "kind": "RuntimeClass", - "version": "v1" - } - ] + "type": "object" }, - "io.k8s.api.node.v1.RuntimeClassList": { - "description": "RuntimeClassList is a list of RuntimeClass objects.", + "io.k8s.api.resource.v1alpha3.DeviceAllocationConfiguration": { + "description": "DeviceAllocationConfiguration gets embedded in an AllocationResult.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" + "opaque": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.OpaqueDeviceConfiguration", + "description": "Opaque provides driver-specific configuration parameters." }, - "items": { - "description": "items is a list of schema objects.", + "requests": { + "description": "Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.", "items": { - "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" + "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "source": { + "description": "Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.", "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ - "items" + "source" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "node.k8s.io", - "kind": "RuntimeClassList", - "version": "v1" - } - ] + "type": "object" }, - "io.k8s.api.node.v1.Scheduling": { - "description": "Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.", + "io.k8s.api.resource.v1alpha3.DeviceAllocationResult": { + "description": "DeviceAllocationResult is the result of allocating devices.", "properties": { - "nodeSelector": { - "additionalProperties": { - "type": "string" + "config": { + "description": "This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag.\n\nThis includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters.", + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceAllocationConfiguration" }, - "description": "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission.", - "type": "object", - "x-kubernetes-map-type": "atomic" + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "tolerations": { - "description": "tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.", + "results": { + "description": "Results lists all allocated devices.", "items": { - "$ref": "#/definitions/io.k8s.api.core.v1.Toleration" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceRequestAllocationResult" }, "type": "array", "x-kubernetes-list-type": "atomic" @@ -14331,37 +14685,79 @@ }, "type": "object" }, - "io.k8s.api.policy.v1.Eviction": { - "description": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions.", + "io.k8s.api.resource.v1alpha3.DeviceAttribute": { + "description": "DeviceAttribute must have exactly one field set.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" + "bool": { + "description": "BoolValue is a true/false value.", + "type": "boolean" }, - "deleteOptions": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions", - "description": "DeleteOptions may be provided" + "int": { + "description": "IntValue is a number.", + "format": "int64", + "type": "integer" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "string": { + "description": "StringValue is a string. Must not be longer than 64 characters.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "ObjectMeta describes the pod that is being evicted." + "version": { + "description": "VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.", + "type": "string" } }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "policy", - "kind": "Eviction", - "version": "v1" + "type": "object" + }, + "io.k8s.api.resource.v1alpha3.DeviceClaim": { + "description": "DeviceClaim defines how to request devices with a ResourceClaim.", + "properties": { + "config": { + "description": "This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.", + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClaimConfiguration" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "constraints": { + "description": "These constraints must be satisfied by the set of devices that get allocated for the claim.", + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceConstraint" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "requests": { + "description": "Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.", + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceRequest" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } - ] + }, + "type": "object" }, - "io.k8s.api.policy.v1.PodDisruptionBudget": { - "description": "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods", + "io.k8s.api.resource.v1alpha3.DeviceClaimConfiguration": { + "description": "DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.", + "properties": { + "opaque": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.OpaqueDeviceConfiguration", + "description": "Opaque provides driver-specific configuration parameters." + }, + "requests": { + "description": "Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "io.k8s.api.resource.v1alpha3.DeviceClass": { + "description": "DeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors. It can be referenced in the device requests of a claim to apply these presets. Cluster scoped.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -14373,37 +14769,46 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard object metadata" }, "spec": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudgetSpec", - "description": "Specification of the desired behavior of the PodDisruptionBudget." - }, - "status": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudgetStatus", - "description": "Most recently observed status of the PodDisruptionBudget." + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClassSpec", + "description": "Spec defines what can be allocated and how to configure it.\n\nThis is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.\n\nChanging the spec automatically increments the metadata.generation number." } }, + "required": [ + "spec" + ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1" + "group": "resource.k8s.io", + "kind": "DeviceClass", + "version": "v1alpha3" } ] }, - "io.k8s.api.policy.v1.PodDisruptionBudgetList": { - "description": "PodDisruptionBudgetList is a collection of PodDisruptionBudgets.", + "io.k8s.api.resource.v1alpha3.DeviceClassConfiguration": { + "description": "DeviceClassConfiguration is used in DeviceClass.", + "properties": { + "opaque": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.OpaqueDeviceConfiguration", + "description": "Opaque provides driver-specific configuration parameters." + } + }, + "type": "object" + }, + "io.k8s.api.resource.v1alpha3.DeviceClassList": { + "description": "DeviceClassList is a collection of classes.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is a list of PodDisruptionBudgets", + "description": "Items is the list of resource classes.", "items": { - "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClass" }, "type": "array" }, @@ -14413,7 +14818,7 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "description": "Standard list metadata" } }, "required": [ @@ -14422,145 +14827,175 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "policy", - "kind": "PodDisruptionBudgetList", - "version": "v1" + "group": "resource.k8s.io", + "kind": "DeviceClassList", + "version": "v1alpha3" } ] }, - "io.k8s.api.policy.v1.PodDisruptionBudgetSpec": { - "description": "PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.", + "io.k8s.api.resource.v1alpha3.DeviceClassSpec": { + "description": "DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it.", "properties": { - "maxUnavailable": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "description": "An eviction is allowed if at most \"maxUnavailable\" pods selected by \"selector\" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with \"minAvailable\"." - }, - "minAvailable": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString", - "description": "An eviction is allowed if at least \"minAvailable\" pods selected by \"selector\" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying \"100%\"." - }, - "selector": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace.", - "x-kubernetes-patch-strategy": "replace" + "config": { + "description": "Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver.\n\nThey are passed to the driver, but are not considered while allocating the claim.", + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClassConfiguration" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "unhealthyPodEvictionPolicy": { - "description": "UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type=\"Ready\",status=\"True\".\n\nValid policies are IfHealthyBudget and AlwaysAllow. If no policy is specified, the default behavior will be used, which corresponds to the IfHealthyBudget policy.\n\nIfHealthyBudget policy means that running pods (status.phase=\"Running\"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction.\n\nAlwaysAllow policy means that all running pods (status.phase=\"Running\"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction.\n\nAdditional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field.\n\nThis field is beta-level. The eviction API uses this field when the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).", - "type": "string" + "selectors": { + "description": "Each selector must be satisfied by a device which is claimed via this class.", + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceSelector" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "type": "object" }, - "io.k8s.api.policy.v1.PodDisruptionBudgetStatus": { - "description": "PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.", + "io.k8s.api.resource.v1alpha3.DeviceConstraint": { + "description": "DeviceConstraint must have exactly one field set besides Requests.", "properties": { - "conditions": { - "description": "Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute\n the number of allowed disruptions. Therefore no disruptions are\n allowed and the status of the condition will be False.\n- InsufficientPods: The number of pods are either at or below the number\n required by the PodDisruptionBudget. No disruptions are\n allowed and the status of the condition will be False.\n- SufficientPods: There are more pods than required by the PodDisruptionBudget.\n The condition will be True, and the number of allowed\n disruptions are provided by the disruptionsAllowed property.", + "matchAttribute": { + "description": "MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.\n\nFor example, if you specified \"dra.example.com/numa\" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen.\n\nMust include the domain qualifier.", + "type": "string" + }, + "requests": { + "description": "Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.", "items": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Condition" + "type": "string" }, "type": "array", - "x-kubernetes-list-map-keys": [ - "type" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "io.k8s.api.resource.v1alpha3.DeviceRequest": { + "description": "DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices.\n\nA DeviceClassName is currently required. Clients must check that it is indeed set. It's absence indicates that something changed in a way that is not supported by the client yet, in which case it must refuse to handle the request.", + "properties": { + "adminAccess": { + "description": "AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations.\n\nThis is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.", + "type": "boolean" }, - "currentHealthy": { - "description": "current number of healthy pods", - "format": "int32", - "type": "integer" + "allocationMode": { + "description": "AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This request is for all of the matching devices in a pool.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AlloctionMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.", + "type": "string" }, - "desiredHealthy": { - "description": "minimum desired number of healthy pods", - "format": "int32", + "count": { + "description": "Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.", + "format": "int64", "type": "integer" }, - "disruptedPods": { - "additionalProperties": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + "deviceClassName": { + "description": "DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.\n\nA class is required. Which classes are available depends on the cluster.\n\nAdministrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.", + "type": "string" + }, + "name": { + "description": "Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.\n\nMust be a DNS label.", + "type": "string" + }, + "selectors": { + "description": "Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.", + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceSelector" }, - "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", - "type": "object" + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "name", + "deviceClassName" + ], + "type": "object" + }, + "io.k8s.api.resource.v1alpha3.DeviceRequestAllocationResult": { + "description": "DeviceRequestAllocationResult contains the allocation result for one request.", + "properties": { + "adminAccess": { + "description": "AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode.\n\nThis is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.", + "type": "boolean" }, - "disruptionsAllowed": { - "description": "Number of pod disruptions that are currently allowed.", - "format": "int32", - "type": "integer" + "device": { + "description": "Device references one device instance via its name in the driver's resource pool. It must be a DNS label.", + "type": "string" }, - "expectedPods": { - "description": "total number of pods counted by this disruption budget", - "format": "int32", - "type": "integer" + "driver": { + "description": "Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.", + "type": "string" }, - "observedGeneration": { - "description": "Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation.", - "format": "int64", - "type": "integer" + "pool": { + "description": "This name together with the driver name and the device name field identify which device was allocated (`//`).\n\nMust not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.", + "type": "string" + }, + "request": { + "description": "Request is the name of the request in the claim which caused this device to be allocated. Multiple devices may have been allocated per request.", + "type": "string" } }, "required": [ - "disruptionsAllowed", - "currentHealthy", - "desiredHealthy", - "expectedPods" + "request", + "driver", + "pool", + "device" ], "type": "object" }, - "io.k8s.api.rbac.v1.AggregationRule": { - "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole", + "io.k8s.api.resource.v1alpha3.DeviceSelector": { + "description": "DeviceSelector must have exactly one field set.", "properties": { - "clusterRoleSelectors": { - "description": "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added", - "items": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "cel": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.CELDeviceSelector", + "description": "CEL contains a CEL expression for selecting a device." } }, "type": "object" }, - "io.k8s.api.rbac.v1.ClusterRole": { - "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", + "io.k8s.api.resource.v1alpha3.NetworkDeviceData": { + "description": "NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context.", "properties": { - "aggregationRule": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.AggregationRule", - "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller." - }, - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "hardwareAddress": { + "description": "HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.\n\nMust not be longer than 128 characters.", "type": "string" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "interfaceName": { + "description": "InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod.\n\nMust not be longer than 256 characters.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata." - }, - "rules": { - "description": "Rules holds all the PolicyRules for this ClusterRole", + "ips": { + "description": "IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: \"192.0.2.5/24\" for IPv4 and \"2001:db8::5/64\" for IPv6.", "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.PolicyRule" + "type": "string" }, "type": "array", "x-kubernetes-list-type": "atomic" } }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" + "type": "object" + }, + "io.k8s.api.resource.v1alpha3.OpaqueDeviceConfiguration": { + "description": "OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.", + "properties": { + "driver": { + "description": "Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.\n\nAn admission policy provided by the driver developer could use this to decide whether it needs to validate them.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.", + "type": "string" + }, + "parameters": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension", + "description": "Parameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version (\"kind\" + \"apiVersion\" for Kubernetes types), with conversion between different versions.\n\nThe length of the raw data must be smaller or equal to 10 Ki." } - ] + }, + "required": [ + "driver", + "parameters" + ], + "type": "object" }, - "io.k8s.api.rbac.v1.ClusterRoleBinding": { - "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", + "io.k8s.api.resource.v1alpha3.ResourceClaim": { + "description": "ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -14572,79 +15007,67 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata." + "description": "Standard object metadata" }, - "roleRef": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleRef", - "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable." + "spec": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimSpec", + "description": "Spec describes what is being requested and how to configure it. The spec is immutable." }, - "subjects": { - "description": "Subjects holds references to the objects the role applies to.", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Subject" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "status": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimStatus", + "description": "Status describes whether the claim is ready to use and what has been allocated." } }, "required": [ - "roleRef" + "spec" ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1" + "group": "resource.k8s.io", + "kind": "ResourceClaim", + "version": "v1alpha3" } ] }, - "io.k8s.api.rbac.v1.ClusterRoleBindingList": { - "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings", + "io.k8s.api.resource.v1alpha3.ResourceClaimConsumerReference": { + "description": "ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.", "type": "string" }, - "items": { - "description": "Items is a list of ClusterRoleBindings", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" - }, - "type": "array" + "name": { + "description": "Name is the name of resource being referenced.", + "type": "string" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "resource": { + "description": "Resource is the type of resource being referenced, for example \"pods\".", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata." + "uid": { + "description": "UID identifies exactly one incarnation of the resource.", + "type": "string" } }, "required": [ - "items" + "resource", + "name", + "uid" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBindingList", - "version": "v1" - } - ] + "type": "object" }, - "io.k8s.api.rbac.v1.ClusterRoleList": { - "description": "ClusterRoleList is a collection of ClusterRoles", + "io.k8s.api.resource.v1alpha3.ResourceClaimList": { + "description": "ResourceClaimList is a collection of claims.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is a list of ClusterRoles", + "description": "Items is the list of resource claims.", "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" }, "type": "array" }, @@ -14654,7 +15077,7 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata." + "description": "Standard list metadata" } }, "required": [ @@ -14663,63 +15086,60 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleList", - "version": "v1" + "group": "resource.k8s.io", + "kind": "ResourceClaimList", + "version": "v1alpha3" } ] }, - "io.k8s.api.rbac.v1.PolicyRule": { - "description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.", + "io.k8s.api.resource.v1alpha3.ResourceClaimSpec": { + "description": "ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.", "properties": { - "apiGroups": { - "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"\" represents the core API group and \"*\" represents all API groups.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "devices": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClaim", + "description": "Devices defines how to request devices." + } + }, + "type": "object" + }, + "io.k8s.api.resource.v1alpha3.ResourceClaimStatus": { + "description": "ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was.", + "properties": { + "allocation": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.AllocationResult", + "description": "Allocation is set once the claim has been allocated successfully." }, - "nonResourceURLs": { - "description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.", + "devices": { + "description": "Devices contains the status of each device allocated for this claim, as reported by the driver. This can include driver-specific information. Entries are owned by their respective drivers.", "items": { - "type": "string" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.AllocatedDeviceStatus" }, "type": "array", - "x-kubernetes-list-type": "atomic" + "x-kubernetes-list-map-keys": [ + "driver", + "device", + "pool" + ], + "x-kubernetes-list-type": "map" }, - "resourceNames": { - "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", + "reservedFor": { + "description": "ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated.\n\nIn a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled.\n\nBoth schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again.\n\nThere can be at most 32 such reservations. This may get increased in the future, but not reduced.", "items": { - "type": "string" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimConsumerReference" }, "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "resources": { - "description": "Resources is a list of resources this rule applies to. '*' represents all resources.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "verbs": { - "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "x-kubernetes-list-map-keys": [ + "uid" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "uid", + "x-kubernetes-patch-strategy": "merge" } }, - "required": [ - "verbs" - ], "type": "object" }, - "io.k8s.api.rbac.v1.Role": { - "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.", + "io.k8s.api.resource.v1alpha3.ResourceClaimTemplate": { + "description": "ResourceClaimTemplate is used to produce ResourceClaim objects.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -14731,112 +15151,145 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata." + "description": "Standard object metadata" }, - "rules": { - "description": "Rules holds all the PolicyRules for this Role", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.PolicyRule" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "spec": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplateSpec", + "description": "Describes the ResourceClaim that is to be generated.\n\nThis field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore." } }, + "required": [ + "spec" + ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" + "group": "resource.k8s.io", + "kind": "ResourceClaimTemplate", + "version": "v1alpha3" } ] }, - "io.k8s.api.rbac.v1.RoleBinding": { - "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", + "io.k8s.api.resource.v1alpha3.ResourceClaimTemplateList": { + "description": "ResourceClaimTemplateList is a collection of claim templates.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, + "items": { + "description": "Items is the list of resource claim templates.", + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplate" + }, + "type": "array" + }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object's metadata." - }, - "roleRef": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleRef", - "description": "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable." - }, - "subjects": { - "description": "Subjects holds references to the objects the role applies to.", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Subject" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata" } }, "required": [ - "roleRef" + "items" ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" + "group": "resource.k8s.io", + "kind": "ResourceClaimTemplateList", + "version": "v1alpha3" } ] }, - "io.k8s.api.rbac.v1.RoleBindingList": { - "description": "RoleBindingList is a collection of RoleBindings", + "io.k8s.api.resource.v1alpha3.ResourceClaimTemplateSpec": { + "description": "ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.", + "properties": { + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation." + }, + "spec": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimSpec", + "description": "Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here." + } + }, + "required": [ + "spec" + ], + "type": "object" + }, + "io.k8s.api.resource.v1alpha3.ResourcePool": { + "description": "ResourcePool describes the pool that ResourceSlices belong to.", + "properties": { + "generation": { + "description": "Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.\n\nCombined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state.", + "format": "int64", + "type": "integer" + }, + "name": { + "description": "Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required.\n\nIt must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable.", + "type": "string" + }, + "resourceSliceCount": { + "description": "ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.\n\nConsumers can use this to check whether they have seen all ResourceSlices belonging to the same pool.", + "format": "int64", + "type": "integer" + } + }, + "required": [ + "name", + "generation", + "resourceSliceCount" + ], + "type": "object" + }, + "io.k8s.api.resource.v1alpha3.ResourceSlice": { + "description": "ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver.\n\nAt the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple , , .\n\nWhenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others.\n\nWhen allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool.\n\nFor resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, - "items": { - "description": "Items is a list of RoleBindings", - "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" - }, - "type": "array" - }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata." + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object metadata" + }, + "spec": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSliceSpec", + "description": "Contains the information published by the driver.\n\nChanging the spec automatically increments the metadata.generation number." } }, "required": [ - "items" + "spec" ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBindingList", - "version": "v1" + "group": "resource.k8s.io", + "kind": "ResourceSlice", + "version": "v1alpha3" } ] }, - "io.k8s.api.rbac.v1.RoleList": { - "description": "RoleList is a collection of Roles", + "io.k8s.api.resource.v1alpha3.ResourceSliceList": { + "description": "ResourceSliceList is a collection of ResourceSlices.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is a list of Roles", + "description": "Items is the list of resource ResourceSlices.", "items": { - "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSlice" }, "type": "array" }, @@ -14846,7 +15299,7 @@ }, "metadata": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard object's metadata." + "description": "Standard list metadata" } }, "required": [ @@ -14855,263 +15308,278 @@ "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "rbac.authorization.k8s.io", - "kind": "RoleList", - "version": "v1" + "group": "resource.k8s.io", + "kind": "ResourceSliceList", + "version": "v1alpha3" } ] }, - "io.k8s.api.rbac.v1.RoleRef": { - "description": "RoleRef contains information that points to the role being used", + "io.k8s.api.resource.v1alpha3.ResourceSliceSpec": { + "description": "ResourceSliceSpec contains the information published by the driver in one ResourceSlice.", "properties": { - "apiGroup": { - "description": "APIGroup is the group for the resource being referenced", - "type": "string" + "allNodes": { + "description": "AllNodes indicates that all nodes have access to the resources in the pool.\n\nExactly one of NodeName, NodeSelector and AllNodes must be set.", + "type": "boolean" }, - "kind": { - "description": "Kind is the type of resource being referenced", + "devices": { + "description": "Devices lists some or all of the devices in this pool.\n\nMust not have more than 128 entries.", + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.Device" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "driver": { + "description": "Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable.", "type": "string" }, - "name": { - "description": "Name is the name of resource being referenced", + "nodeName": { + "description": "NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.\n\nThis field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available.\n\nExactly one of NodeName, NodeSelector and AllNodes must be set. This field is immutable.", "type": "string" + }, + "nodeSelector": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelector", + "description": "NodeSelector defines which nodes have access to the resources in the pool, when that pool is not limited to a single node.\n\nMust use exactly one term.\n\nExactly one of NodeName, NodeSelector and AllNodes must be set." + }, + "pool": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourcePool", + "description": "Pool describes the pool that this ResourceSlice belongs to." } }, "required": [ - "apiGroup", - "kind", - "name" + "driver", + "pool" ], - "type": "object", - "x-kubernetes-map-type": "atomic" + "type": "object" }, - "io.k8s.api.rbac.v1.Subject": { - "description": "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.", + "io.k8s.api.resource.v1beta1.AllocatedDeviceStatus": { + "description": "AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.", "properties": { - "apiGroup": { - "description": "APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects.", - "type": "string" + "conditions": { + "description": "Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Condition" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" }, - "kind": { - "description": "Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.", + "data": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension", + "description": "Data contains arbitrary driver-specific data.\n\nThe length of the raw data must be smaller or equal to 10 Ki." + }, + "device": { + "description": "Device references one device instance via its name in the driver's resource pool. It must be a DNS label.", "type": "string" }, - "name": { - "description": "Name of the object being referenced.", + "driver": { + "description": "Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.", "type": "string" }, - "namespace": { - "description": "Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error.", + "networkData": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.NetworkDeviceData", + "description": "NetworkData contains network-related information specific to the device." + }, + "pool": { + "description": "This name together with the driver name and the device name field identify which device was allocated (`//`).\n\nMust not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.", "type": "string" } }, "required": [ - "kind", - "name" + "driver", + "pool", + "device" ], - "type": "object", - "x-kubernetes-map-type": "atomic" + "type": "object" }, - "io.k8s.api.resource.v1alpha2.AllocationResult": { + "io.k8s.api.resource.v1beta1.AllocationResult": { "description": "AllocationResult contains attributes of an allocated resource.", "properties": { - "availableOnNodes": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelector", - "description": "This field will get set by the resource driver after it has allocated the resource to inform the scheduler where it can schedule Pods using the ResourceClaim.\n\nSetting this field is optional. If null, the resource is available everywhere." + "devices": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.DeviceAllocationResult", + "description": "Devices is the result of allocating devices." }, - "resourceHandles": { - "description": "ResourceHandles contain the state associated with an allocation that should be maintained throughout the lifetime of a claim. Each ResourceHandle contains data that should be passed to a specific kubelet plugin once it lands on a node. This data is returned by the driver after a successful allocation and is opaque to Kubernetes. Driver documentation may explain to users how to interpret this data if needed.\n\nSetting this field is optional. It has a maximum size of 32 entries. If null (or empty), it is assumed this allocation will be processed by a single kubelet plugin with no ResourceHandle data attached. The name of the kubelet plugin invoked will match the DriverName set in the ResourceClaimStatus this AllocationResult is embedded in.", - "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceHandle" + "nodeSelector": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelector", + "description": "NodeSelector defines where the allocated resources are available. If unset, they are available everywhere." + } + }, + "type": "object" + }, + "io.k8s.api.resource.v1beta1.BasicDevice": { + "description": "BasicDevice defines one device instance.", + "properties": { + "attributes": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.DeviceAttribute" }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "description": "Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.", + "type": "object" }, - "shareable": { - "description": "Shareable determines whether the resource supports more than one consumer at a time.", - "type": "boolean" + "capacity": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.DeviceCapacity" + }, + "description": "Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.", + "type": "object" } }, "type": "object" }, - "io.k8s.api.resource.v1alpha2.DriverAllocationResult": { - "description": "DriverAllocationResult contains vendor parameters and the allocation result for one request.", + "io.k8s.api.resource.v1beta1.CELDeviceSelector": { + "description": "CELDeviceSelector contains a CEL expression for selecting a device.", "properties": { - "namedResources": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.NamedResourcesAllocationResult", - "description": "NamedResources describes the allocation result when using the named resources model." - }, - "vendorRequestParameters": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension", - "description": "VendorRequestParameters are the per-request configuration parameters from the time that the claim was allocated." + "expression": { + "description": "Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.\n\nThe expression's input is an object named \"device\", which carries the following properties:\n - driver (string): the name of the driver which defines this device.\n - attributes (map[string]object): the device's attributes, grouped by prefix\n (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all\n of the attributes which were prefixed by \"dra.example.com\".\n - capacity (map[string]object): the device's capacities, grouped by prefix.\n\nExample: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields:\n\n device.driver\n device.attributes[\"dra.example.com\"].model\n device.attributes[\"ext.example.com\"].family\n device.capacity[\"dra.example.com\"].modules\n\nThe device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.\n\nThe value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.\n\nIf an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.\n\nA robust expression should check for the existence of attributes before referencing them.\n\nFor ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:\n\n cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool)\n\nThe length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps.", + "type": "string" } }, + "required": [ + "expression" + ], "type": "object" }, - "io.k8s.api.resource.v1alpha2.DriverRequests": { - "description": "DriverRequests describes all resources that are needed from one particular driver.", + "io.k8s.api.resource.v1beta1.Device": { + "description": "Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.", "properties": { - "driverName": { - "description": "DriverName is the name used by the DRA driver kubelet plugin.", + "basic": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.BasicDevice", + "description": "Basic defines one device instance." + }, + "name": { + "description": "Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.", "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "io.k8s.api.resource.v1beta1.DeviceAllocationConfiguration": { + "description": "DeviceAllocationConfiguration gets embedded in an AllocationResult.", + "properties": { + "opaque": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.OpaqueDeviceConfiguration", + "description": "Opaque provides driver-specific configuration parameters." }, "requests": { - "description": "Requests describes all resources that are needed from the driver.", + "description": "Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.", "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceRequest" + "type": "string" }, "type": "array", "x-kubernetes-list-type": "atomic" }, - "vendorParameters": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension", - "description": "VendorParameters are arbitrary setup parameters for all requests of the claim. They are ignored while allocating the claim." + "source": { + "description": "Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.", + "type": "string" } }, + "required": [ + "source" + ], "type": "object" }, - "io.k8s.api.resource.v1alpha2.NamedResourcesAllocationResult": { - "description": "NamedResourcesAllocationResult is used in AllocationResultModel.", + "io.k8s.api.resource.v1beta1.DeviceAllocationResult": { + "description": "DeviceAllocationResult is the result of allocating devices.", "properties": { - "name": { - "description": "Name is the name of the selected resource instance.", - "type": "string" + "config": { + "description": "This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag.\n\nThis includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters.", + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.DeviceAllocationConfiguration" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "results": { + "description": "Results lists all allocated devices.", + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.DeviceRequestAllocationResult" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, - "required": [ - "name" - ], "type": "object" }, - "io.k8s.api.resource.v1alpha2.NamedResourcesAttribute": { - "description": "NamedResourcesAttribute is a combination of an attribute name and its value.", + "io.k8s.api.resource.v1beta1.DeviceAttribute": { + "description": "DeviceAttribute must have exactly one field set.", "properties": { "bool": { "description": "BoolValue is a true/false value.", "type": "boolean" }, "int": { - "description": "IntValue is a 64-bit integer.", + "description": "IntValue is a number.", "format": "int64", "type": "integer" }, - "intSlice": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.NamedResourcesIntSlice", - "description": "IntSliceValue is an array of 64-bit integers." - }, - "name": { - "description": "Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain.", - "type": "string" - }, - "quantity": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", - "description": "QuantityValue is a quantity." - }, "string": { - "description": "StringValue is a string.", + "description": "StringValue is a string. Must not be longer than 64 characters.", "type": "string" }, - "stringSlice": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.NamedResourcesStringSlice", - "description": "StringSliceValue is an array of strings." - }, "version": { - "description": "VersionValue is a semantic version according to semver.org spec 2.0.0.", + "description": "VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.", "type": "string" } }, - "required": [ - "name" - ], "type": "object" }, - "io.k8s.api.resource.v1alpha2.NamedResourcesFilter": { - "description": "NamedResourcesFilter is used in ResourceFilterModel.", + "io.k8s.api.resource.v1beta1.DeviceCapacity": { + "description": "DeviceCapacity describes a quantity associated with a device.", "properties": { - "selector": { - "description": "Selector is a CEL expression which must evaluate to true if a resource instance is suitable. The language is as defined in https://kubernetes.io/docs/reference/using-api/cel/\n\nIn addition, for each type NamedResourcesin AttributeValue there is a map that resolves to the corresponding value of the instance under evaluation. For example:\n\n attributes.quantity[\"a\"].isGreaterThan(quantity(\"0\")) &&\n attributes.stringslice[\"b\"].isSorted()", - "type": "string" + "value": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity", + "description": "Value defines how much of a certain device capacity is available." } }, "required": [ - "selector" + "value" ], "type": "object" }, - "io.k8s.api.resource.v1alpha2.NamedResourcesInstance": { - "description": "NamedResourcesInstance represents one individual hardware instance that can be selected based on its attributes.", + "io.k8s.api.resource.v1beta1.DeviceClaim": { + "description": "DeviceClaim defines how to request devices with a ResourceClaim.", "properties": { - "attributes": { - "description": "Attributes defines the attributes of this resource instance. The name of each attribute must be unique.", + "config": { + "description": "This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.", "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.NamedResourcesAttribute" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.DeviceClaimConfiguration" }, "type": "array", "x-kubernetes-list-type": "atomic" }, - "name": { - "description": "Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "io.k8s.api.resource.v1alpha2.NamedResourcesIntSlice": { - "description": "NamedResourcesIntSlice contains a slice of 64-bit integers.", - "properties": { - "ints": { - "description": "Ints is the slice of 64-bit integers.", + "constraints": { + "description": "These constraints must be satisfied by the set of devices that get allocated for the claim.", "items": { - "format": "int64", - "type": "integer" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.DeviceConstraint" }, "type": "array", "x-kubernetes-list-type": "atomic" - } - }, - "required": [ - "ints" - ], - "type": "object" - }, - "io.k8s.api.resource.v1alpha2.NamedResourcesRequest": { - "description": "NamedResourcesRequest is used in ResourceRequestModel.", - "properties": { - "selector": { - "description": "Selector is a CEL expression which must evaluate to true if a resource instance is suitable. The language is as defined in https://kubernetes.io/docs/reference/using-api/cel/\n\nIn addition, for each type NamedResourcesin AttributeValue there is a map that resolves to the corresponding value of the instance under evaluation. For example:\n\n attributes.quantity[\"a\"].isGreaterThan(quantity(\"0\")) &&\n attributes.stringslice[\"b\"].isSorted()", - "type": "string" - } - }, - "required": [ - "selector" - ], - "type": "object" - }, - "io.k8s.api.resource.v1alpha2.NamedResourcesResources": { - "description": "NamedResourcesResources is used in ResourceModel.", - "properties": { - "instances": { - "description": "The list of all individual resources instances currently available.", + }, + "requests": { + "description": "Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.", "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.NamedResourcesInstance" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.DeviceRequest" }, "type": "array", "x-kubernetes-list-type": "atomic" } }, - "required": [ - "instances" - ], "type": "object" }, - "io.k8s.api.resource.v1alpha2.NamedResourcesStringSlice": { - "description": "NamedResourcesStringSlice contains a slice of strings.", + "io.k8s.api.resource.v1beta1.DeviceClaimConfiguration": { + "description": "DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.", "properties": { - "strings": { - "description": "Strings is the slice of strings.", + "opaque": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.OpaqueDeviceConfiguration", + "description": "Opaque provides driver-specific configuration parameters." + }, + "requests": { + "description": "Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.", "items": { "type": "string" }, @@ -15119,13 +15587,10 @@ "x-kubernetes-list-type": "atomic" } }, - "required": [ - "strings" - ], "type": "object" }, - "io.k8s.api.resource.v1alpha2.PodSchedulingContext": { - "description": "PodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use \"WaitForFirstConsumer\" allocation mode.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", + "io.k8s.api.resource.v1beta1.DeviceClass": { + "description": "DeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors. It can be referenced in the device requests of a claim to apply these presets. Cluster scoped.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -15140,12 +15605,8 @@ "description": "Standard object metadata" }, "spec": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContextSpec", - "description": "Spec describes where resources for the Pod are needed." - }, - "status": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContextStatus", - "description": "Status describes where resources for the Pod can be allocated." + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.DeviceClassSpec", + "description": "Spec defines what can be allocated and how to configure it.\n\nThis is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.\n\nChanging the spec automatically increments the metadata.generation number." } }, "required": [ @@ -15155,22 +15616,32 @@ "x-kubernetes-group-version-kind": [ { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "DeviceClass", + "version": "v1beta1" } ] }, - "io.k8s.api.resource.v1alpha2.PodSchedulingContextList": { - "description": "PodSchedulingContextList is a collection of Pod scheduling objects.", + "io.k8s.api.resource.v1beta1.DeviceClassConfiguration": { + "description": "DeviceClassConfiguration is used in DeviceClass.", + "properties": { + "opaque": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.OpaqueDeviceConfiguration", + "description": "Opaque provides driver-specific configuration parameters." + } + }, + "type": "object" + }, + "io.k8s.api.resource.v1beta1.DeviceClassList": { + "description": "DeviceClassList is a collection of classes.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is the list of PodSchedulingContext objects.", + "description": "Items is the list of resource classes.", "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.DeviceClass" }, "type": "array" }, @@ -15190,48 +15661,174 @@ "x-kubernetes-group-version-kind": [ { "group": "resource.k8s.io", - "kind": "PodSchedulingContextList", - "version": "v1alpha2" + "kind": "DeviceClassList", + "version": "v1beta1" } ] }, - "io.k8s.api.resource.v1alpha2.PodSchedulingContextSpec": { - "description": "PodSchedulingContextSpec describes where resources for the Pod are needed.", + "io.k8s.api.resource.v1beta1.DeviceClassSpec": { + "description": "DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it.", + "properties": { + "config": { + "description": "Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver.\n\nThey are passed to the driver, but are not considered while allocating the claim.", + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.DeviceClassConfiguration" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "selectors": { + "description": "Each selector must be satisfied by a device which is claimed via this class.", + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.DeviceSelector" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "io.k8s.api.resource.v1beta1.DeviceConstraint": { + "description": "DeviceConstraint must have exactly one field set besides Requests.", "properties": { - "potentialNodes": { - "description": "PotentialNodes lists nodes where the Pod might be able to run.\n\nThe size of this field is limited to 128. This is large enough for many clusters. Larger clusters may need more attempts to find a node that suits all pending resources. This may get increased in the future, but not reduced.", + "matchAttribute": { + "description": "MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.\n\nFor example, if you specified \"dra.example.com/numa\" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen.\n\nMust include the domain qualifier.", + "type": "string" + }, + "requests": { + "description": "Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.", "items": { "type": "string" }, "type": "array", "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "io.k8s.api.resource.v1beta1.DeviceRequest": { + "description": "DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices.\n\nA DeviceClassName is currently required. Clients must check that it is indeed set. It's absence indicates that something changed in a way that is not supported by the client yet, in which case it must refuse to handle the request.", + "properties": { + "adminAccess": { + "description": "AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations.\n\nThis is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.", + "type": "boolean" + }, + "allocationMode": { + "description": "AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This request is for all of the matching devices in a pool.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AlloctionMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.", + "type": "string" }, - "selectedNode": { - "description": "SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use \"WaitForFirstConsumer\" allocation is to be attempted.", + "count": { + "description": "Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.", + "format": "int64", + "type": "integer" + }, + "deviceClassName": { + "description": "DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.\n\nA class is required. Which classes are available depends on the cluster.\n\nAdministrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.", "type": "string" + }, + "name": { + "description": "Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.\n\nMust be a DNS label.", + "type": "string" + }, + "selectors": { + "description": "Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.", + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.DeviceSelector" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, + "required": [ + "name", + "deviceClassName" + ], "type": "object" }, - "io.k8s.api.resource.v1alpha2.PodSchedulingContextStatus": { - "description": "PodSchedulingContextStatus describes where resources for the Pod can be allocated.", + "io.k8s.api.resource.v1beta1.DeviceRequestAllocationResult": { + "description": "DeviceRequestAllocationResult contains the allocation result for one request.", "properties": { - "resourceClaims": { - "description": "ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses \"WaitForFirstConsumer\" allocation mode.", + "adminAccess": { + "description": "AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode.\n\nThis is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.", + "type": "boolean" + }, + "device": { + "description": "Device references one device instance via its name in the driver's resource pool. It must be a DNS label.", + "type": "string" + }, + "driver": { + "description": "Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.", + "type": "string" + }, + "pool": { + "description": "This name together with the driver name and the device name field identify which device was allocated (`//`).\n\nMust not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.", + "type": "string" + }, + "request": { + "description": "Request is the name of the request in the claim which caused this device to be allocated. Multiple devices may have been allocated per request.", + "type": "string" + } + }, + "required": [ + "request", + "driver", + "pool", + "device" + ], + "type": "object" + }, + "io.k8s.api.resource.v1beta1.DeviceSelector": { + "description": "DeviceSelector must have exactly one field set.", + "properties": { + "cel": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.CELDeviceSelector", + "description": "CEL contains a CEL expression for selecting a device." + } + }, + "type": "object" + }, + "io.k8s.api.resource.v1beta1.NetworkDeviceData": { + "description": "NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context.", + "properties": { + "hardwareAddress": { + "description": "HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.\n\nMust not be longer than 128 characters.", + "type": "string" + }, + "interfaceName": { + "description": "InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod.\n\nMust not be longer than 256 characters.", + "type": "string" + }, + "ips": { + "description": "IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: \"192.0.2.5/24\" for IPv4 and \"2001:db8::5/64\" for IPv6.", "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimSchedulingStatus" + "type": "string" }, "type": "array", - "x-kubernetes-list-map-keys": [ - "name" - ], - "x-kubernetes-list-type": "map" + "x-kubernetes-list-type": "atomic" + } + }, + "type": "object" + }, + "io.k8s.api.resource.v1beta1.OpaqueDeviceConfiguration": { + "description": "OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.", + "properties": { + "driver": { + "description": "Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.\n\nAn admission policy provided by the driver developer could use this to decide whether it needs to validate them.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.", + "type": "string" + }, + "parameters": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension", + "description": "Parameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version (\"kind\" + \"apiVersion\" for Kubernetes types), with conversion between different versions.\n\nThe length of the raw data must be smaller or equal to 10 Ki." } }, + "required": [ + "driver", + "parameters" + ], "type": "object" }, - "io.k8s.api.resource.v1alpha2.ResourceClaim": { - "description": "ResourceClaim describes which resources are needed by a resource consumer. Its status tracks whether the resource has been allocated and what the resulting attributes are.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", + "io.k8s.api.resource.v1beta1.ResourceClaim": { + "description": "ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -15246,12 +15843,12 @@ "description": "Standard object metadata" }, "spec": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimSpec", - "description": "Spec describes the desired attributes of a resource that then needs to be allocated. It can only be set once when creating the ResourceClaim." + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaimSpec", + "description": "Spec describes what is being requested and how to configure it. The spec is immutable." }, "status": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimStatus", - "description": "Status describes whether the resource is available and with which attributes." + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaimStatus", + "description": "Status describes whether the claim is ready to use and what has been allocated." } }, "required": [ @@ -15262,11 +15859,11 @@ { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1beta1" } ] }, - "io.k8s.api.resource.v1alpha2.ResourceClaimConsumerReference": { + "io.k8s.api.resource.v1beta1.ResourceClaimConsumerReference": { "description": "ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.", "properties": { "apiGroup": { @@ -15293,7 +15890,7 @@ ], "type": "object" }, - "io.k8s.api.resource.v1alpha2.ResourceClaimList": { + "io.k8s.api.resource.v1beta1.ResourceClaimList": { "description": "ResourceClaimList is a collection of claims.", "properties": { "apiVersion": { @@ -15303,7 +15900,7 @@ "items": { "description": "Items is the list of resource claims.", "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaim" }, "type": "array" }, @@ -15324,28 +15921,62 @@ { "group": "resource.k8s.io", "kind": "ResourceClaimList", - "version": "v1alpha2" + "version": "v1beta1" } ] }, - "io.k8s.api.resource.v1alpha2.ResourceClaimParameters": { - "description": "ResourceClaimParameters defines resource requests for a ResourceClaim in an in-tree format understood by Kubernetes.", + "io.k8s.api.resource.v1beta1.ResourceClaimSpec": { + "description": "ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" + "devices": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.DeviceClaim", + "description": "Devices defines how to request devices." + } + }, + "type": "object" + }, + "io.k8s.api.resource.v1beta1.ResourceClaimStatus": { + "description": "ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was.", + "properties": { + "allocation": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.AllocationResult", + "description": "Allocation is set once the claim has been allocated successfully." }, - "driverRequests": { - "description": "DriverRequests describes all resources that are needed for the allocated claim. A single claim may use resources coming from different drivers. For each driver, this array has at most one entry which then may have one or more per-driver requests.\n\nMay be empty, in which case the claim can always be allocated.", + "devices": { + "description": "Devices contains the status of each device allocated for this claim, as reported by the driver. This can include driver-specific information. Entries are owned by their respective drivers.", "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.DriverRequests" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.AllocatedDeviceStatus" }, "type": "array", - "x-kubernetes-list-type": "atomic" + "x-kubernetes-list-map-keys": [ + "driver", + "device", + "pool" + ], + "x-kubernetes-list-type": "map" }, - "generatedFrom": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParametersReference", - "description": "If this object was created from some other resource, then this links back to that resource. This field is used to find the in-tree representation of the claim parameters when the parameter reference of the claim refers to some unknown type." + "reservedFor": { + "description": "ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated.\n\nIn a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled.\n\nBoth schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again.\n\nThere can be at most 32 such reservations. This may get increased in the future, but not reduced.", + "items": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaimConsumerReference" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "uid" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "uid", + "x-kubernetes-patch-strategy": "merge" + } + }, + "type": "object" + }, + "io.k8s.api.resource.v1beta1.ResourceClaimTemplate": { + "description": "ResourceClaimTemplate is used to produce ResourceClaim objects.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", @@ -15355,31 +15986,34 @@ "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", "description": "Standard object metadata" }, - "shareable": { - "description": "Shareable indicates whether the allocated claim is meant to be shareable by multiple consumers at the same time.", - "type": "boolean" + "spec": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaimTemplateSpec", + "description": "Describes the ResourceClaim that is to be generated.\n\nThis field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore." } }, + "required": [ + "spec" + ], "type": "object", "x-kubernetes-group-version-kind": [ { "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" + "kind": "ResourceClaimTemplate", + "version": "v1beta1" } ] }, - "io.k8s.api.resource.v1alpha2.ResourceClaimParametersList": { - "description": "ResourceClaimParametersList is a collection of ResourceClaimParameters.", + "io.k8s.api.resource.v1beta1.ResourceClaimTemplateList": { + "description": "ResourceClaimTemplateList is a collection of claim templates.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is the list of node resource capacity objects.", + "description": "Items is the list of resource claim templates.", "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParameters" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaimTemplate" }, "type": "array" }, @@ -15399,146 +16033,96 @@ "x-kubernetes-group-version-kind": [ { "group": "resource.k8s.io", - "kind": "ResourceClaimParametersList", - "version": "v1alpha2" + "kind": "ResourceClaimTemplateList", + "version": "v1beta1" } ] }, - "io.k8s.api.resource.v1alpha2.ResourceClaimParametersReference": { - "description": "ResourceClaimParametersReference contains enough information to let you locate the parameters for a ResourceClaim. The object must be in the same namespace as the ResourceClaim.", + "io.k8s.api.resource.v1beta1.ResourceClaimTemplateSpec": { + "description": "ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.", "properties": { - "apiGroup": { - "description": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.", - "type": "string" - }, - "kind": { - "description": "Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata, for example \"ConfigMap\".", - "type": "string" + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation." }, - "name": { - "description": "Name is the name of resource being referenced.", - "type": "string" + "spec": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaimSpec", + "description": "Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here." } }, "required": [ - "kind", - "name" + "spec" ], "type": "object" }, - "io.k8s.api.resource.v1alpha2.ResourceClaimSchedulingStatus": { - "description": "ResourceClaimSchedulingStatus contains information about one particular ResourceClaim with \"WaitForFirstConsumer\" allocation mode.", + "io.k8s.api.resource.v1beta1.ResourcePool": { + "description": "ResourcePool describes the pool that ResourceSlices belong to.", "properties": { + "generation": { + "description": "Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.\n\nCombined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state.", + "format": "int64", + "type": "integer" + }, "name": { - "description": "Name matches the pod.spec.resourceClaims[*].Name field.", + "description": "Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required.\n\nIt must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable.", "type": "string" }, - "unsuitableNodes": { - "description": "UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.\n\nThe size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "resourceSliceCount": { + "description": "ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.\n\nConsumers can use this to check whether they have seen all ResourceSlices belonging to the same pool.", + "format": "int64", + "type": "integer" } }, + "required": [ + "name", + "generation", + "resourceSliceCount" + ], "type": "object" }, - "io.k8s.api.resource.v1alpha2.ResourceClaimSpec": { - "description": "ResourceClaimSpec defines how a resource is to be allocated.", + "io.k8s.api.resource.v1beta1.ResourceSlice": { + "description": "ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver.\n\nAt the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple , , .\n\nWhenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others.\n\nWhen allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool.\n\nFor resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", "properties": { - "allocationMode": { - "description": "Allocation can start immediately or when a Pod wants to use the resource. \"WaitForFirstConsumer\" is the default.", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, - "parametersRef": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParametersReference", - "description": "ParametersRef references a separate object with arbitrary parameters that will be used by the driver when allocating a resource for the claim.\n\nThe object must be in the same namespace as the ResourceClaim." - }, - "resourceClassName": { - "description": "ResourceClassName references the driver and additional parameters via the name of a ResourceClass that was created as part of the driver deployment.", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object metadata" + }, + "spec": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceSliceSpec", + "description": "Contains the information published by the driver.\n\nChanging the spec automatically increments the metadata.generation number." } }, "required": [ - "resourceClassName" - ], - "type": "object" - }, - "io.k8s.api.resource.v1alpha2.ResourceClaimStatus": { - "description": "ResourceClaimStatus tracks whether the resource has been allocated and what the resulting attributes are.", - "properties": { - "allocation": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.AllocationResult", - "description": "Allocation is set by the resource driver once a resource or set of resources has been allocated successfully. If this is not specified, the resources have not been allocated yet." - }, - "deallocationRequested": { - "description": "DeallocationRequested indicates that a ResourceClaim is to be deallocated.\n\nThe driver then must deallocate this claim and reset the field together with clearing the Allocation field.\n\nWhile DeallocationRequested is set, no new consumers may be added to ReservedFor.", - "type": "boolean" - }, - "driverName": { - "description": "DriverName is a copy of the driver name from the ResourceClass at the time when allocation started.", - "type": "string" - }, - "reservedFor": { - "description": "ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started.\n\nThere can be at most 32 such reservations. This may get increased in the future, but not reduced.", - "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimConsumerReference" - }, - "type": "array", - "x-kubernetes-list-map-keys": [ - "uid" - ], - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "uid", - "x-kubernetes-patch-strategy": "merge" - } - }, - "type": "object" - }, - "io.k8s.api.resource.v1alpha2.ResourceClaimTemplate": { - "description": "ResourceClaimTemplate is used to produce ResourceClaim objects.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata" - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplateSpec", - "description": "Describes the ResourceClaim that is to be generated.\n\nThis field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore." - } - }, - "required": [ - "spec" + "spec" ], "type": "object", "x-kubernetes-group-version-kind": [ { "group": "resource.k8s.io", - "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "kind": "ResourceSlice", + "version": "v1beta1" } ] }, - "io.k8s.api.resource.v1alpha2.ResourceClaimTemplateList": { - "description": "ResourceClaimTemplateList is a collection of claim templates.", + "io.k8s.api.resource.v1beta1.ResourceSliceList": { + "description": "ResourceSliceList is a collection of ResourceSlices.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "Items is the list of resource claim templates.", + "description": "Items is the list of resource ResourceSlices.", "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceSlice" }, "type": "array" }, @@ -15558,377 +16142,49 @@ "x-kubernetes-group-version-kind": [ { "group": "resource.k8s.io", - "kind": "ResourceClaimTemplateList", - "version": "v1alpha2" + "kind": "ResourceSliceList", + "version": "v1beta1" } ] }, - "io.k8s.api.resource.v1alpha2.ResourceClaimTemplateSpec": { - "description": "ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.", - "properties": { - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "ObjectMeta may contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation." - }, - "spec": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimSpec", - "description": "Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here." - } - }, - "required": [ - "spec" - ], - "type": "object" - }, - "io.k8s.api.resource.v1alpha2.ResourceClass": { - "description": "ResourceClass is used by administrators to influence how resources are allocated.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.", + "io.k8s.api.resource.v1beta1.ResourceSliceSpec": { + "description": "ResourceSliceSpec contains the information published by the driver in one ResourceSlice.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "driverName": { - "description": "DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class.\n\nResource drivers have a unique name in forward domain order (acme.example.com).", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata" - }, - "parametersRef": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParametersReference", - "description": "ParametersRef references an arbitrary separate object that may hold parameters that will be used by the driver when allocating a resource that uses this class. A dynamic resource driver can distinguish between parameters stored here and and those stored in ResourceClaimSpec." - }, - "structuredParameters": { - "description": "If and only if allocation of claims using this class is handled via structured parameters, then StructuredParameters must be set to true.", + "allNodes": { + "description": "AllNodes indicates that all nodes have access to the resources in the pool.\n\nExactly one of NodeName, NodeSelector and AllNodes must be set.", "type": "boolean" }, - "suitableNodes": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelector", - "description": "Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a ResourceClaim that has not been allocated yet.\n\nSetting this field is optional. If null, all nodes are candidates." - } - }, - "required": [ - "driverName" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" - } - ] - }, - "io.k8s.api.resource.v1alpha2.ResourceClassList": { - "description": "ResourceClassList is a collection of classes.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of resource classes.", - "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClass" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "resource.k8s.io", - "kind": "ResourceClassList", - "version": "v1alpha2" - } - ] - }, - "io.k8s.api.resource.v1alpha2.ResourceClassParameters": { - "description": "ResourceClassParameters defines resource requests for a ResourceClass in an in-tree format understood by Kubernetes.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "filters": { - "description": "Filters describes additional contraints that must be met when using the class.", - "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceFilter" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "generatedFrom": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParametersReference", - "description": "If this object was created from some other resource, then this links back to that resource. This field is used to find the in-tree representation of the class parameters when the parameter reference of the class refers to some unknown type." - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata" - }, - "vendorParameters": { - "description": "VendorParameters are arbitrary setup parameters for all claims using this class. They are ignored while allocating the claim. There must not be more than one entry per driver.", + "devices": { + "description": "Devices lists some or all of the devices in this pool.\n\nMust not have more than 128 entries.", "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.VendorParameters" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.Device" }, "type": "array", "x-kubernetes-list-type": "atomic" - } - }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - } - ] - }, - "io.k8s.api.resource.v1alpha2.ResourceClassParametersList": { - "description": "ResourceClassParametersList is a collection of ResourceClassParameters.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" }, - "items": { - "description": "Items is the list of node resource capacity objects.", - "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParameters" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "resource.k8s.io", - "kind": "ResourceClassParametersList", - "version": "v1alpha2" - } - ] - }, - "io.k8s.api.resource.v1alpha2.ResourceClassParametersReference": { - "description": "ResourceClassParametersReference contains enough information to let you locate the parameters for a ResourceClass.", - "properties": { - "apiGroup": { - "description": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.", - "type": "string" - }, - "kind": { - "description": "Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata.", - "type": "string" - }, - "name": { - "description": "Name is the name of resource being referenced.", - "type": "string" - }, - "namespace": { - "description": "Namespace that contains the referenced resource. Must be empty for cluster-scoped resources and non-empty for namespaced resources.", - "type": "string" - } - }, - "required": [ - "kind", - "name" - ], - "type": "object" - }, - "io.k8s.api.resource.v1alpha2.ResourceFilter": { - "description": "ResourceFilter is a filter for resources from one particular driver.", - "properties": { - "driverName": { - "description": "DriverName is the name used by the DRA driver kubelet plugin.", - "type": "string" - }, - "namedResources": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.NamedResourcesFilter", - "description": "NamedResources describes a resource filter using the named resources model." - } - }, - "type": "object" - }, - "io.k8s.api.resource.v1alpha2.ResourceHandle": { - "description": "ResourceHandle holds opaque resource data for processing by a specific kubelet plugin.", - "properties": { - "data": { - "description": "Data contains the opaque data associated with this ResourceHandle. It is set by the controller component of the resource driver whose name matches the DriverName set in the ResourceClaimStatus this ResourceHandle is embedded in. It is set at allocation time and is intended for processing by the kubelet plugin whose name matches the DriverName set in this ResourceHandle.\n\nThe maximum size of this field is 16KiB. This may get increased in the future, but not reduced.", - "type": "string" - }, - "driverName": { - "description": "DriverName specifies the name of the resource driver whose kubelet plugin should be invoked to process this ResourceHandle's data once it lands on a node. This may differ from the DriverName set in ResourceClaimStatus this ResourceHandle is embedded in.", - "type": "string" - }, - "structuredData": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.StructuredResourceHandle", - "description": "If StructuredData is set, then it needs to be used instead of Data." - } - }, - "type": "object" - }, - "io.k8s.api.resource.v1alpha2.ResourceRequest": { - "description": "ResourceRequest is a request for resources from one particular driver.", - "properties": { - "namedResources": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.NamedResourcesRequest", - "description": "NamedResources describes a request for resources with the named resources model." - }, - "vendorParameters": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension", - "description": "VendorParameters are arbitrary setup parameters for the requested resource. They are ignored while allocating a claim." - } - }, - "type": "object" - }, - "io.k8s.api.resource.v1alpha2.ResourceSlice": { - "description": "ResourceSlice provides information about available resources on individual nodes.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "driverName": { - "description": "DriverName identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", - "description": "Standard object metadata" - }, - "namedResources": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.NamedResourcesResources", - "description": "NamedResources describes available resources using the named resources model." - }, - "nodeName": { - "description": "NodeName identifies the node which provides the resources if they are local to a node.\n\nA field selector can be used to list only ResourceSlice objects with a certain node name.", - "type": "string" - } - }, - "required": [ - "driverName" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "resource.k8s.io", - "kind": "ResourceSlice", - "version": "v1alpha2" - } - ] - }, - "io.k8s.api.resource.v1alpha2.ResourceSliceList": { - "description": "ResourceSliceList is a collection of ResourceSlices.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of node resource capacity objects.", - "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceSlice" - }, - "type": "array" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "driver": { + "description": "Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", - "description": "Standard list metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "resource.k8s.io", - "kind": "ResourceSliceList", - "version": "v1alpha2" - } - ] - }, - "io.k8s.api.resource.v1alpha2.StructuredResourceHandle": { - "description": "StructuredResourceHandle is the in-tree representation of the allocation result.", - "properties": { "nodeName": { - "description": "NodeName is the name of the node providing the necessary resources if the resources are local to a node.", + "description": "NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.\n\nThis field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available.\n\nExactly one of NodeName, NodeSelector and AllNodes must be set. This field is immutable.", "type": "string" }, - "results": { - "description": "Results lists all allocated driver resources.", - "items": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.DriverAllocationResult" - }, - "type": "array", - "x-kubernetes-list-type": "atomic" - }, - "vendorClaimParameters": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension", - "description": "VendorClaimParameters are the per-claim configuration parameters from the resource claim parameters at the time that the claim was allocated." + "nodeSelector": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelector", + "description": "NodeSelector defines which nodes have access to the resources in the pool, when that pool is not limited to a single node.\n\nMust use exactly one term.\n\nExactly one of NodeName, NodeSelector and AllNodes must be set." }, - "vendorClassParameters": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension", - "description": "VendorClassParameters are the per-claim configuration parameters from the resource class at the time that the claim was allocated." + "pool": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourcePool", + "description": "Pool describes the pool that this ResourceSlice belongs to." } }, "required": [ - "results" + "driver", + "pool" ], "type": "object" }, - "io.k8s.api.resource.v1alpha2.VendorParameters": { - "description": "VendorParameters are opaque parameters for one particular driver.", - "properties": { - "driverName": { - "description": "DriverName is the name used by the DRA driver kubelet plugin.", - "type": "string" - }, - "parameters": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension", - "description": "Parameters can be arbitrary setup parameters. They are ignored while allocating a claim." - } - }, - "type": "object" - }, "io.k8s.api.scheduling.v1.PriorityClass": { "description": "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", "properties": { @@ -16512,7 +16768,7 @@ ] }, "io.k8s.api.storage.v1.VolumeAttachmentSource": { - "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.", + "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.", "properties": { "inlineVolumeSpec": { "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeSpec", @@ -16675,6 +16931,80 @@ } ] }, + "io.k8s.api.storage.v1beta1.VolumeAttributesClass": { + "description": "VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "driverName": { + "description": "Name of the CSI driver This field is immutable.", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "parameters": { + "additionalProperties": { + "type": "string" + }, + "description": "parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.\n\nThis field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field.", + "type": "object" + } + }, + "required": [ + "driverName" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1beta1" + } + ] + }, + "io.k8s.api.storage.v1beta1.VolumeAttributesClassList": { + "description": "VolumeAttributesClassList is a collection of VolumeAttributesClass objects.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is the list of VolumeAttributesClass objects.", + "items": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttributesClass" + }, + "type": "array" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClassList", + "version": "v1beta1" + } + ] + }, "io.k8s.api.storagemigration.v1alpha1.GroupVersionResource": { "description": "The names of the group, the version, and the resource.", "properties": { @@ -17290,7 +17620,7 @@ "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ExternalDocumentation" }, "format": { - "description": "format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339.", + "description": "format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\\\d{3})\\\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\\\d{3}[- ]?\\\\d{2}[- ]?\\\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339.", "type": "string" }, "id": { @@ -17408,7 +17738,7 @@ "type": "boolean" }, "x-kubernetes-validations": { - "description": "x-kubernetes-validations describes a list of validation rules written in the CEL expression language. This field is an alpha-level. Using this field requires the feature gate `CustomResourceValidationExpressions` to be enabled.", + "description": "x-kubernetes-validations describes a list of validation rules written in the CEL expression language.", "items": { "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ValidationRule" }, @@ -17830,6 +18160,10 @@ "format": "int64", "type": "integer" }, + "ignoreStoreReadErrorWithClusterBreakingPotential": { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "type": "boolean" + }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" @@ -17989,6 +18323,11 @@ "kind": "DeleteOptions", "version": "v1" }, + { + "group": "coordination.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha2" + }, { "group": "coordination.k8s.io", "kind": "DeleteOptions", @@ -18107,7 +18446,12 @@ { "group": "resource.k8s.io", "kind": "DeleteOptions", - "version": "v1alpha2" + "version": "v1alpha3" + }, + { + "group": "resource.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" }, { "group": "scheduling.k8s.io", @@ -18146,6 +18490,32 @@ } ] }, + "io.k8s.apimachinery.pkg.apis.meta.v1.FieldSelectorRequirement": { + "description": "FieldSelectorRequirement is a selector that contains values, a key, and an operator that relates the key and values.", + "properties": { + "key": { + "description": "key is the field selector key that the requirement applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. The list of operators may grow in the future.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + } + }, + "required": [ + "key", + "operator" + ], + "type": "object" + }, "io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1": { "description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:', where is the name of a field in a struct, or key in a map 'v:', where is the exact json formatted value of a list item 'i:', where is position of a item in a list 'k:', where is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff", "type": "object" @@ -18487,11 +18857,6 @@ "group": "", "kind": "Status", "version": "v1" - }, - { - "group": "resource.k8s.io", - "kind": "Status", - "version": "v1alpha2" } ] }, @@ -18710,6 +19075,11 @@ "kind": "WatchEvent", "version": "v1" }, + { + "group": "coordination.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha2" + }, { "group": "coordination.k8s.io", "kind": "WatchEvent", @@ -18828,7 +19198,12 @@ { "group": "resource.k8s.io", "kind": "WatchEvent", - "version": "v1alpha2" + "version": "v1alpha3" + }, + { + "group": "resource.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" }, { "group": "scheduling.k8s.io", @@ -19203,6 +19578,13 @@ "type": "integer", "uniqueItems": true }, + "ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj": { + "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it", + "in": "query", + "name": "ignoreStoreReadErrorWithClusterBreakingPotential", + "type": "boolean", + "uniqueItems": true + }, "insecureSkipTLSVerifyBackend-gM00jVbe": { "description": "insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet).", "in": "query", @@ -19381,8 +19763,15 @@ "type": "boolean", "uniqueItems": true }, - "tailLines-2fRTNzbP": { - "description": "If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime", + "stream-l-48cgXv": { + "description": "Specify which container log stream to return to the client. Acceptable values are \"All\", \"Stdout\" and \"Stderr\". If not specified, \"All\" is used, and both stdout and stderr are returned interleaved. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\".", + "in": "query", + "name": "stream", + "type": "string", + "uniqueItems": true + }, + "tailLines-9xQLWHMV": { + "description": "If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\".", "in": "query", "name": "tailLines", "type": "integer", @@ -19489,14 +19878,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getCoreV1APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -19528,8 +19919,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -19601,7 +19994,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -19652,8 +20046,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -19726,8 +20122,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -19800,8 +20198,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -19874,8 +20274,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -19980,8 +20382,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -20048,7 +20452,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -20132,7 +20537,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -20198,6 +20604,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -20226,7 +20635,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -20294,8 +20704,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -20365,7 +20777,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -20425,6 +20838,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -20435,7 +20851,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -20476,7 +20893,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -20523,7 +20941,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified ConfigMap", "operationId": "patchCoreV1NamespacedConfigMap", @@ -20555,7 +20974,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -20623,7 +21043,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -20683,6 +21104,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -20711,7 +21135,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -20779,8 +21204,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -20850,7 +21277,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -20910,6 +21338,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -20920,7 +21351,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -20961,7 +21393,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -21008,7 +21441,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified Endpoints", "operationId": "patchCoreV1NamespacedEndpoints", @@ -21040,7 +21474,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -21108,7 +21543,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -21168,6 +21604,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -21196,7 +21635,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -21264,8 +21704,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -21335,7 +21777,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -21395,6 +21838,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -21405,7 +21851,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -21446,7 +21893,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -21493,7 +21941,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified Event", "operationId": "patchCoreV1NamespacedEvent", @@ -21525,7 +21974,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -21593,7 +22043,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -21653,6 +22104,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -21681,7 +22135,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -21749,8 +22204,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -21820,7 +22277,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -21880,6 +22338,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -21890,7 +22351,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -21931,7 +22393,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -21978,7 +22441,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified LimitRange", "operationId": "patchCoreV1NamespacedLimitRange", @@ -22010,7 +22474,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -22078,7 +22543,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -22138,6 +22604,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -22166,7 +22635,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -22234,8 +22704,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -22305,7 +22777,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -22365,6 +22838,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -22375,7 +22851,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -22416,7 +22893,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -22463,7 +22941,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified PersistentVolumeClaim", "operationId": "patchCoreV1NamespacedPersistentVolumeClaim", @@ -22495,7 +22974,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -22563,7 +23043,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -22606,7 +23087,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -22653,7 +23135,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified PersistentVolumeClaim", "operationId": "patchCoreV1NamespacedPersistentVolumeClaimStatus", @@ -22685,7 +23168,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -22753,7 +23237,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -22813,6 +23298,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -22841,7 +23329,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -22909,8 +23398,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -22980,7 +23471,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -23040,6 +23532,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -23050,7 +23545,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -23091,7 +23587,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -23138,7 +23635,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified Pod", "operationId": "patchCoreV1NamespacedPod", @@ -23170,7 +23668,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -23238,7 +23737,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -23420,7 +23920,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -23469,7 +23970,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -23516,7 +24018,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update ephemeralcontainers of the specified Pod", "operationId": "patchCoreV1NamespacedPodEphemeralcontainers", @@ -23548,7 +24051,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -23616,7 +24120,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -23702,7 +24207,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -23851,7 +24357,8 @@ "text/plain", "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -23911,7 +24418,10 @@ "$ref": "#/parameters/sinceSeconds-vE2NLdnP" }, { - "$ref": "#/parameters/tailLines-2fRTNzbP" + "$ref": "#/parameters/stream-l-48cgXv" + }, + { + "$ref": "#/parameters/tailLines-9xQLWHMV" }, { "$ref": "#/parameters/timestamps-c17fW1w_" @@ -24503,17 +25013,18 @@ } } }, - "/api/v1/namespaces/{namespace}/pods/{name}/status": { + "/api/v1/namespaces/{namespace}/pods/{name}/resize": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified Pod", - "operationId": "readCoreV1NamespacedPodStatus", + "description": "read resize of the specified Pod", + "operationId": "readCoreV1NamespacedPodResize", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -24560,7 +25071,202 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" + ], + "description": "partially update resize of the specified Pod", + "operationId": "patchCoreV1NamespacedPodResize", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" + } + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace resize of the specified Pod", + "operationId": "replaceCoreV1NamespacedPodResize", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" + } + } + }, + "/api/v1/namespaces/{namespace}/pods/{name}/status": { + "get": { + "consumes": [ + "*/*" + ], + "description": "read status of the specified Pod", + "operationId": "readCoreV1NamespacedPodStatus", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "core_v1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "", + "kind": "Pod", + "version": "v1" + } + }, + "parameters": [ + { + "description": "name of the Pod", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified Pod", "operationId": "patchCoreV1NamespacedPodStatus", @@ -24592,7 +25298,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -24660,7 +25367,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -24720,6 +25428,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -24748,7 +25459,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -24816,8 +25528,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -24887,7 +25601,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -24947,6 +25662,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -24957,7 +25675,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -24998,7 +25717,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -25045,7 +25765,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified PodTemplate", "operationId": "patchCoreV1NamespacedPodTemplate", @@ -25077,7 +25798,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -25145,7 +25867,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -25205,6 +25928,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -25233,7 +25959,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -25301,8 +26028,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -25372,7 +26101,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -25432,6 +26162,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -25442,7 +26175,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -25483,7 +26217,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -25530,7 +26265,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified ReplicationController", "operationId": "patchCoreV1NamespacedReplicationController", @@ -25562,7 +26298,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -25630,7 +26367,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -25673,7 +26411,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -25720,7 +26459,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update scale of the specified ReplicationController", "operationId": "patchCoreV1NamespacedReplicationControllerScale", @@ -25752,7 +26492,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -25820,7 +26561,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -25863,7 +26605,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -25910,7 +26653,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified ReplicationController", "operationId": "patchCoreV1NamespacedReplicationControllerStatus", @@ -25942,7 +26686,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -26010,7 +26755,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -26070,6 +26816,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -26098,7 +26847,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -26166,8 +26916,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -26237,7 +26989,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -26297,6 +27050,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -26307,7 +27063,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -26348,7 +27105,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -26395,7 +27153,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified ResourceQuota", "operationId": "patchCoreV1NamespacedResourceQuota", @@ -26427,7 +27186,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -26495,7 +27255,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -26538,7 +27299,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -26585,7 +27347,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified ResourceQuota", "operationId": "patchCoreV1NamespacedResourceQuotaStatus", @@ -26617,7 +27380,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -26685,7 +27449,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -26745,6 +27510,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -26773,7 +27541,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -26841,8 +27610,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -26912,7 +27683,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -26972,6 +27744,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -26982,7 +27757,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -27023,7 +27799,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -27070,7 +27847,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified Secret", "operationId": "patchCoreV1NamespacedSecret", @@ -27102,7 +27880,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -27170,7 +27949,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -27230,6 +28010,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -27258,7 +28041,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -27326,8 +28110,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -27397,7 +28183,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -27457,6 +28244,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -27467,7 +28257,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -27508,7 +28299,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -27555,7 +28347,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified ServiceAccount", "operationId": "patchCoreV1NamespacedServiceAccount", @@ -27587,7 +28380,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -27655,7 +28449,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -27741,7 +28536,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -27807,6 +28603,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -27835,7 +28634,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -27903,8 +28703,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -27974,7 +28776,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -28034,6 +28837,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -28044,7 +28850,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -28085,7 +28892,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -28132,7 +28940,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified Service", "operationId": "patchCoreV1NamespacedService", @@ -28164,7 +28973,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -28232,7 +29042,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -28776,7 +29587,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -28823,7 +29635,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified Service", "operationId": "patchCoreV1NamespacedServiceStatus", @@ -28855,7 +29668,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -28923,7 +29737,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -28977,6 +29792,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -28987,7 +29805,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -29028,7 +29847,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -29072,7 +29892,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified Namespace", "operationId": "patchCoreV1Namespace", @@ -29104,7 +29925,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -29172,7 +29994,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -29255,7 +30078,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -29298,7 +30122,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -29342,7 +30167,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified Namespace", "operationId": "patchCoreV1NamespaceStatus", @@ -29374,7 +30200,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -29442,7 +30269,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -29502,6 +30330,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -29530,7 +30361,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -29598,8 +30430,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -29666,7 +30500,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -29726,6 +30561,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -29736,7 +30574,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -29777,7 +30616,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -29821,7 +30661,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified Node", "operationId": "patchCoreV1Node", @@ -29853,7 +30694,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -29921,7 +30763,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -30459,7 +31302,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -30503,7 +31347,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified Node", "operationId": "patchCoreV1NodeStatus", @@ -30535,7 +31380,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -30603,7 +31449,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -30647,8 +31494,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -30737,6 +31586,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -30765,7 +31617,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -30833,8 +31686,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -30901,7 +31756,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -30961,6 +31817,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -30971,7 +31830,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -31012,7 +31872,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -31056,7 +31917,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified PersistentVolume", "operationId": "patchCoreV1PersistentVolume", @@ -31088,7 +31950,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -31156,7 +32019,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -31199,7 +32063,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -31243,7 +32108,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified PersistentVolume", "operationId": "patchCoreV1PersistentVolumeStatus", @@ -31275,7 +32141,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -31343,7 +32210,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -31387,8 +32255,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -31461,8 +32331,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -31535,8 +32407,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -31609,8 +32483,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -31683,8 +32559,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -31757,8 +32635,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -31831,8 +32711,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -31905,8 +32787,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -31979,8 +32863,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -32053,8 +32939,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -32127,8 +33015,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -32201,8 +33091,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -32275,8 +33167,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -32352,8 +33246,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -32437,8 +33333,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -32514,8 +33412,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -32599,8 +33499,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -32676,8 +33578,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -32761,8 +33665,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -32838,8 +33744,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -32923,8 +33831,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -33000,8 +33910,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -33085,8 +33997,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -33162,8 +34076,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -33247,8 +34163,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -33324,8 +34242,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -33409,8 +34329,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -33486,8 +34408,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -33571,8 +34495,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -33648,8 +34574,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -33733,8 +34661,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -33810,8 +34740,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -33895,8 +34827,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -33972,8 +34906,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -34057,8 +34993,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -34134,8 +35072,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -34219,8 +35159,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -34301,8 +35243,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -34375,8 +35319,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -34457,8 +35403,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -34531,8 +35479,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -34605,8 +35555,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -34687,8 +35639,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -34761,8 +35715,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -34835,8 +35791,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -34909,8 +35867,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -34983,8 +35943,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -35057,8 +36019,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -35131,8 +36095,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -35265,14 +36231,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAdmissionregistrationV1APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -35320,6 +36288,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -35348,7 +36319,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -35416,8 +36388,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -35484,7 +36458,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -35544,6 +36519,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -35554,7 +36532,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -35595,7 +36574,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -35639,7 +36619,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified MutatingWebhookConfiguration", "operationId": "patchAdmissionregistrationV1MutatingWebhookConfiguration", @@ -35671,7 +36652,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -35739,7 +36721,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -35799,6 +36782,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -35827,7 +36813,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -35895,8 +36882,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -35963,7 +36952,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -36023,6 +37013,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -36033,7 +37026,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -36074,7 +37068,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -36118,7 +37113,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified ValidatingAdmissionPolicy", "operationId": "patchAdmissionregistrationV1ValidatingAdmissionPolicy", @@ -36150,7 +37146,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -36218,7 +37215,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -36261,7 +37259,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -36305,7 +37304,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified ValidatingAdmissionPolicy", "operationId": "patchAdmissionregistrationV1ValidatingAdmissionPolicyStatus", @@ -36337,7 +37337,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -36405,7 +37406,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -36465,6 +37467,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -36493,7 +37498,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -36561,8 +37567,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -36629,7 +37637,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -36689,6 +37698,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -36699,7 +37711,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -36740,7 +37753,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -36784,7 +37798,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified ValidatingAdmissionPolicyBinding", "operationId": "patchAdmissionregistrationV1ValidatingAdmissionPolicyBinding", @@ -36816,7 +37831,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -36884,7 +37900,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -36944,6 +37961,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -36972,7 +37992,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -37040,8 +38061,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -37108,7 +38131,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -37168,6 +38192,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -37178,7 +38205,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -37219,7 +38247,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -37263,7 +38292,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified ValidatingWebhookConfiguration", "operationId": "patchAdmissionregistrationV1ValidatingWebhookConfiguration", @@ -37295,7 +38325,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -37363,7 +38394,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -37407,8 +38439,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -37481,8 +38515,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -37563,8 +38599,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -37637,8 +38675,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -37719,8 +38759,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -37793,8 +38835,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -37875,8 +38919,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -37949,8 +38995,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -38025,14 +39073,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAdmissionregistrationV1alpha1APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -38053,13 +39103,13 @@ ] } }, - "/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies": { + "/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of ValidatingAdmissionPolicy", - "operationId": "deleteAdmissionregistrationV1alpha1CollectionValidatingAdmissionPolicy", + "description": "delete collection of MutatingAdmissionPolicy", + "operationId": "deleteAdmissionregistrationV1alpha1CollectionMutatingAdmissionPolicy", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -38080,6 +39130,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -38108,7 +39161,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -38130,7 +39184,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicy", + "kind": "MutatingAdmissionPolicy", "version": "v1alpha1" } }, @@ -38138,8 +39192,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind ValidatingAdmissionPolicy", - "operationId": "listAdmissionregistrationV1alpha1ValidatingAdmissionPolicy", + "description": "list or watch objects of kind MutatingAdmissionPolicy", + "operationId": "listAdmissionregistrationV1alpha1MutatingAdmissionPolicy", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -38176,14 +39230,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicyList" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyList" } }, "401": { @@ -38199,7 +39255,7 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicy", + "kind": "MutatingAdmissionPolicy", "version": "v1alpha1" } }, @@ -38212,15 +39268,15 @@ "consumes": [ "*/*" ], - "description": "create a ValidatingAdmissionPolicy", - "operationId": "createAdmissionregistrationV1alpha1ValidatingAdmissionPolicy", + "description": "create a MutatingAdmissionPolicy", + "operationId": "createAdmissionregistrationV1alpha1MutatingAdmissionPolicy", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicy" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicy" } }, { @@ -38244,25 +39300,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicy" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicy" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicy" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicy" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicy" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicy" } }, "401": { @@ -38278,18 +39335,18 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicy", + "kind": "MutatingAdmissionPolicy", "version": "v1alpha1" } } }, - "/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies/{name}": { + "/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a ValidatingAdmissionPolicy", - "operationId": "deleteAdmissionregistrationV1alpha1ValidatingAdmissionPolicy", + "description": "delete a MutatingAdmissionPolicy", + "operationId": "deleteAdmissionregistrationV1alpha1MutatingAdmissionPolicy", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -38304,6 +39361,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -38314,7 +39374,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -38342,7 +39403,7 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicy", + "kind": "MutatingAdmissionPolicy", "version": "v1alpha1" } }, @@ -38350,18 +39411,19 @@ "consumes": [ "*/*" ], - "description": "read the specified ValidatingAdmissionPolicy", - "operationId": "readAdmissionregistrationV1alpha1ValidatingAdmissionPolicy", + "description": "read the specified MutatingAdmissionPolicy", + "operationId": "readAdmissionregistrationV1alpha1MutatingAdmissionPolicy", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicy" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicy" } }, "401": { @@ -38377,13 +39439,13 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicy", + "kind": "MutatingAdmissionPolicy", "version": "v1alpha1" } }, "parameters": [ { - "description": "name of the ValidatingAdmissionPolicy", + "description": "name of the MutatingAdmissionPolicy", "in": "path", "name": "name", "required": true, @@ -38399,10 +39461,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified ValidatingAdmissionPolicy", - "operationId": "patchAdmissionregistrationV1alpha1ValidatingAdmissionPolicy", + "description": "partially update the specified MutatingAdmissionPolicy", + "operationId": "patchAdmissionregistrationV1alpha1MutatingAdmissionPolicy", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -38431,19 +39494,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicy" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicy" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicy" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicy" } }, "401": { @@ -38459,7 +39523,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicy", + "kind": "MutatingAdmissionPolicy", "version": "v1alpha1" } }, @@ -38467,15 +39531,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified ValidatingAdmissionPolicy", - "operationId": "replaceAdmissionregistrationV1alpha1ValidatingAdmissionPolicy", + "description": "replace the specified MutatingAdmissionPolicy", + "operationId": "replaceAdmissionregistrationV1alpha1MutatingAdmissionPolicy", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicy" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicy" } }, { @@ -38499,19 +39563,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicy" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicy" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicy" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicy" } }, "401": { @@ -38527,28 +39592,77 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicy", + "kind": "MutatingAdmissionPolicy", "version": "v1alpha1" } } }, - "/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies/{name}/status": { - "get": { + "/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings": { + "delete": { "consumes": [ "*/*" ], - "description": "read status of the specified ValidatingAdmissionPolicy", - "operationId": "readAdmissionregistrationV1alpha1ValidatingAdmissionPolicyStatus", + "description": "delete collection of MutatingAdmissionPolicyBinding", + "operationId": "deleteAdmissionregistrationV1alpha1CollectionMutatingAdmissionPolicyBinding", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicy" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -38561,76 +39675,65 @@ "tags": [ "admissionregistration_v1alpha1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicy", + "kind": "MutatingAdmissionPolicyBinding", "version": "v1alpha1" } }, - "parameters": [ - { - "description": "name of the ValidatingAdmissionPolicy", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - } - ], - "patch": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "*/*" ], - "description": "partially update status of the specified ValidatingAdmissionPolicy", - "operationId": "patchAdmissionregistrationV1alpha1ValidatingAdmissionPolicyStatus", + "description": "list or watch objects of kind MutatingAdmissionPolicyBinding", + "operationId": "listAdmissionregistrationV1alpha1MutatingAdmissionPolicyBinding", "parameters": [ { - "$ref": "#/parameters/body-78PwaGsr" + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" }, { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true + "$ref": "#/parameters/continue-QfD61s0i" }, { - "$ref": "#/parameters/fieldManager-7c6nTn1T" + "$ref": "#/parameters/fieldSelector-xIcQKXFG" }, { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true + "$ref": "#/parameters/labelSelector-5Zw57w4C" }, { - "$ref": "#/parameters/force-tOGGb0Yi" + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" } ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicy" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicy" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyBindingList" } }, "401": { @@ -38643,26 +39746,31 @@ "tags": [ "admissionregistration_v1alpha1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicy", + "kind": "MutatingAdmissionPolicyBinding", "version": "v1alpha1" } }, - "put": { + "parameters": [ + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ], + "post": { "consumes": [ "*/*" ], - "description": "replace status of the specified ValidatingAdmissionPolicy", - "operationId": "replaceAdmissionregistrationV1alpha1ValidatingAdmissionPolicyStatus", + "description": "create a MutatingAdmissionPolicyBinding", + "operationId": "createAdmissionregistrationV1alpha1MutatingAdmissionPolicyBinding", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicy" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyBinding" } }, { @@ -38683,252 +39791,29 @@ "uniqueItems": true } ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicy" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicy" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1alpha1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicy", - "version": "v1alpha1" - } - } - }, - "/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicybindings": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of ValidatingAdmissionPolicyBinding", - "operationId": "deleteAdmissionregistrationV1alpha1CollectionValidatingAdmissionPolicyBinding", - "parameters": [ - { - "$ref": "#/parameters/body-2Y1dVQaQ" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/orphanDependents-uRB25kX5" - }, - { - "$ref": "#/parameters/propagationPolicy-6jk3prlO" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1alpha1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicyBinding", - "version": "v1alpha1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ValidatingAdmissionPolicyBinding", - "operationId": "listAdmissionregistrationV1alpha1ValidatingAdmissionPolicyBinding", - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ], "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBindingList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration_v1alpha1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicyBinding", - "version": "v1alpha1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/pretty-tJGM1-ng" - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a ValidatingAdmissionPolicyBinding", - "operationId": "createAdmissionregistrationV1alpha1ValidatingAdmissionPolicyBinding", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBinding" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBinding" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyBinding" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBinding" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyBinding" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBinding" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyBinding" } }, "401": { @@ -38944,18 +39829,18 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicyBinding", + "kind": "MutatingAdmissionPolicyBinding", "version": "v1alpha1" } } }, - "/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicybindings/{name}": { + "/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a ValidatingAdmissionPolicyBinding", - "operationId": "deleteAdmissionregistrationV1alpha1ValidatingAdmissionPolicyBinding", + "description": "delete a MutatingAdmissionPolicyBinding", + "operationId": "deleteAdmissionregistrationV1alpha1MutatingAdmissionPolicyBinding", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -38970,6 +39855,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -38980,7 +39868,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -39008,7 +39897,7 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicyBinding", + "kind": "MutatingAdmissionPolicyBinding", "version": "v1alpha1" } }, @@ -39016,18 +39905,19 @@ "consumes": [ "*/*" ], - "description": "read the specified ValidatingAdmissionPolicyBinding", - "operationId": "readAdmissionregistrationV1alpha1ValidatingAdmissionPolicyBinding", + "description": "read the specified MutatingAdmissionPolicyBinding", + "operationId": "readAdmissionregistrationV1alpha1MutatingAdmissionPolicyBinding", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBinding" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyBinding" } }, "401": { @@ -39043,13 +39933,13 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicyBinding", + "kind": "MutatingAdmissionPolicyBinding", "version": "v1alpha1" } }, "parameters": [ { - "description": "name of the ValidatingAdmissionPolicyBinding", + "description": "name of the MutatingAdmissionPolicyBinding", "in": "path", "name": "name", "required": true, @@ -39065,10 +39955,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified ValidatingAdmissionPolicyBinding", - "operationId": "patchAdmissionregistrationV1alpha1ValidatingAdmissionPolicyBinding", + "description": "partially update the specified MutatingAdmissionPolicyBinding", + "operationId": "patchAdmissionregistrationV1alpha1MutatingAdmissionPolicyBinding", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -39097,19 +39988,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBinding" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyBinding" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBinding" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyBinding" } }, "401": { @@ -39125,7 +40017,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicyBinding", + "kind": "MutatingAdmissionPolicyBinding", "version": "v1alpha1" } }, @@ -39133,15 +40025,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified ValidatingAdmissionPolicyBinding", - "operationId": "replaceAdmissionregistrationV1alpha1ValidatingAdmissionPolicyBinding", + "description": "replace the specified MutatingAdmissionPolicyBinding", + "operationId": "replaceAdmissionregistrationV1alpha1MutatingAdmissionPolicyBinding", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBinding" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyBinding" } }, { @@ -39165,19 +40057,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBinding" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyBinding" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.ValidatingAdmissionPolicyBinding" + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyBinding" } }, "401": { @@ -39193,24 +40086,26 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicyBinding", + "kind": "MutatingAdmissionPolicyBinding", "version": "v1alpha1" } } }, - "/apis/admissionregistration.k8s.io/v1alpha1/watch/validatingadmissionpolicies": { + "/apis/admissionregistration.k8s.io/v1alpha1/watch/mutatingadmissionpolicies": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ValidatingAdmissionPolicy. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAdmissionregistrationV1alpha1ValidatingAdmissionPolicyList", + "description": "watch individual changes to a list of MutatingAdmissionPolicy. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchAdmissionregistrationV1alpha1MutatingAdmissionPolicyList", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -39232,7 +40127,7 @@ "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicy", + "kind": "MutatingAdmissionPolicy", "version": "v1alpha1" } }, @@ -39272,19 +40167,21 @@ } ] }, - "/apis/admissionregistration.k8s.io/v1alpha1/watch/validatingadmissionpolicies/{name}": { + "/apis/admissionregistration.k8s.io/v1alpha1/watch/mutatingadmissionpolicies/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind ValidatingAdmissionPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAdmissionregistrationV1alpha1ValidatingAdmissionPolicy", + "description": "watch changes to an object of kind MutatingAdmissionPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchAdmissionregistrationV1alpha1MutatingAdmissionPolicy", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -39306,7 +40203,7 @@ "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicy", + "kind": "MutatingAdmissionPolicy", "version": "v1alpha1" } }, @@ -39327,7 +40224,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "description": "name of the ValidatingAdmissionPolicy", + "description": "name of the MutatingAdmissionPolicy", "in": "path", "name": "name", "required": true, @@ -39354,19 +40251,21 @@ } ] }, - "/apis/admissionregistration.k8s.io/v1alpha1/watch/validatingadmissionpolicybindings": { + "/apis/admissionregistration.k8s.io/v1alpha1/watch/mutatingadmissionpolicybindings": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ValidatingAdmissionPolicyBinding. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchAdmissionregistrationV1alpha1ValidatingAdmissionPolicyBindingList", + "description": "watch individual changes to a list of MutatingAdmissionPolicyBinding. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchAdmissionregistrationV1alpha1MutatingAdmissionPolicyBindingList", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -39388,7 +40287,7 @@ "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicyBinding", + "kind": "MutatingAdmissionPolicyBinding", "version": "v1alpha1" } }, @@ -39428,19 +40327,21 @@ } ] }, - "/apis/admissionregistration.k8s.io/v1alpha1/watch/validatingadmissionpolicybindings/{name}": { + "/apis/admissionregistration.k8s.io/v1alpha1/watch/mutatingadmissionpolicybindings/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind ValidatingAdmissionPolicyBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchAdmissionregistrationV1alpha1ValidatingAdmissionPolicyBinding", + "description": "watch changes to an object of kind MutatingAdmissionPolicyBinding. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchAdmissionregistrationV1alpha1MutatingAdmissionPolicyBinding", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -39462,7 +40363,7 @@ "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ValidatingAdmissionPolicyBinding", + "kind": "MutatingAdmissionPolicyBinding", "version": "v1alpha1" } }, @@ -39483,7 +40384,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "description": "name of the ValidatingAdmissionPolicyBinding", + "description": "name of the MutatingAdmissionPolicyBinding", "in": "path", "name": "name", "required": true, @@ -39515,14 +40416,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAdmissionregistrationV1beta1APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -39570,6 +40473,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -39598,7 +40504,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -39666,8 +40573,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -39734,7 +40643,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -39794,6 +40704,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -39804,7 +40717,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -39845,7 +40759,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -39889,7 +40804,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified ValidatingAdmissionPolicy", "operationId": "patchAdmissionregistrationV1beta1ValidatingAdmissionPolicy", @@ -39921,7 +40837,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -39989,7 +40906,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -40032,7 +40950,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -40076,7 +40995,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified ValidatingAdmissionPolicy", "operationId": "patchAdmissionregistrationV1beta1ValidatingAdmissionPolicyStatus", @@ -40108,7 +41028,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -40176,7 +41097,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -40236,6 +41158,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -40264,7 +41189,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -40332,8 +41258,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -40400,7 +41328,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -40460,6 +41389,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -40470,7 +41402,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -40511,7 +41444,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -40555,7 +41489,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified ValidatingAdmissionPolicyBinding", "operationId": "patchAdmissionregistrationV1beta1ValidatingAdmissionPolicyBinding", @@ -40587,7 +41522,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -40655,7 +41591,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -40699,8 +41636,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -40773,8 +41712,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -40855,8 +41796,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -40929,8 +41872,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -41038,14 +41983,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getApiextensionsV1APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -41093,6 +42040,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -41121,7 +42071,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -41189,8 +42140,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -41257,7 +42210,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -41317,6 +42271,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -41327,7 +42284,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -41368,7 +42326,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -41412,7 +42371,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified CustomResourceDefinition", "operationId": "patchApiextensionsV1CustomResourceDefinition", @@ -41444,7 +42404,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -41512,7 +42473,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -41555,7 +42517,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -41599,7 +42562,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified CustomResourceDefinition", "operationId": "patchApiextensionsV1CustomResourceDefinitionStatus", @@ -41631,7 +42595,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -41699,7 +42664,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -41743,8 +42709,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -41817,8 +42785,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -41926,14 +42896,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getApiregistrationV1APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -41981,6 +42953,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -42009,7 +42984,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -42077,8 +43053,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -42145,7 +43123,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -42205,6 +43184,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -42215,7 +43197,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -42256,7 +43239,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -42300,7 +43284,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified APIService", "operationId": "patchApiregistrationV1APIService", @@ -42332,7 +43317,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -42400,7 +43386,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -42443,7 +43430,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -42487,7 +43475,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified APIService", "operationId": "patchApiregistrationV1APIServiceStatus", @@ -42519,7 +43508,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -42587,7 +43577,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -42631,8 +43622,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -42705,8 +43698,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -42814,14 +43809,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAppsV1APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -42853,8 +43850,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -42927,8 +43926,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -43001,8 +44002,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -43091,6 +44094,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -43119,7 +44125,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -43187,8 +44194,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -43258,7 +44267,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -43318,6 +44328,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -43328,7 +44341,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -43369,7 +44383,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -43416,7 +44431,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified ControllerRevision", "operationId": "patchAppsV1NamespacedControllerRevision", @@ -43448,7 +44464,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -43516,7 +44533,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -43576,6 +44594,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -43604,7 +44625,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -43672,8 +44694,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -43743,7 +44767,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -43803,6 +44828,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -43813,7 +44841,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -43854,7 +44883,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -43901,7 +44931,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified DaemonSet", "operationId": "patchAppsV1NamespacedDaemonSet", @@ -43933,7 +44964,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -44001,7 +45033,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -44044,7 +45077,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -44091,7 +45125,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified DaemonSet", "operationId": "patchAppsV1NamespacedDaemonSetStatus", @@ -44123,7 +45158,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -44191,7 +45227,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -44251,6 +45288,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -44279,7 +45319,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -44347,8 +45388,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -44418,7 +45461,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -44478,6 +45522,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -44488,7 +45535,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -44529,7 +45577,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -44576,7 +45625,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified Deployment", "operationId": "patchAppsV1NamespacedDeployment", @@ -44608,7 +45658,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -44676,7 +45727,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -44719,7 +45771,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -44766,7 +45819,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update scale of the specified Deployment", "operationId": "patchAppsV1NamespacedDeploymentScale", @@ -44798,7 +45852,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -44866,7 +45921,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -44909,7 +45965,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -44956,7 +46013,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified Deployment", "operationId": "patchAppsV1NamespacedDeploymentStatus", @@ -44988,7 +46046,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -45056,7 +46115,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -45116,6 +46176,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -45144,7 +46207,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -45212,8 +46276,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -45283,7 +46349,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -45343,6 +46410,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -45353,7 +46423,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -45394,7 +46465,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -45441,7 +46513,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified ReplicaSet", "operationId": "patchAppsV1NamespacedReplicaSet", @@ -45473,7 +46546,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -45541,7 +46615,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -45584,7 +46659,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -45631,7 +46707,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update scale of the specified ReplicaSet", "operationId": "patchAppsV1NamespacedReplicaSetScale", @@ -45663,7 +46740,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -45731,7 +46809,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -45774,7 +46853,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -45821,7 +46901,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified ReplicaSet", "operationId": "patchAppsV1NamespacedReplicaSetStatus", @@ -45853,7 +46934,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -45921,7 +47003,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -45981,6 +47064,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -46009,7 +47095,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -46077,8 +47164,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -46148,7 +47237,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -46208,6 +47298,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -46218,7 +47311,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -46259,7 +47353,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -46306,7 +47401,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified StatefulSet", "operationId": "patchAppsV1NamespacedStatefulSet", @@ -46338,7 +47434,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -46406,7 +47503,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -46449,7 +47547,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -46496,7 +47595,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update scale of the specified StatefulSet", "operationId": "patchAppsV1NamespacedStatefulSetScale", @@ -46528,7 +47628,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -46596,7 +47697,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -46639,7 +47741,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -46686,7 +47789,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified StatefulSet", "operationId": "patchAppsV1NamespacedStatefulSetStatus", @@ -46718,7 +47822,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -46786,7 +47891,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -46830,8 +47936,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -46904,8 +48012,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -46978,8 +48088,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -47052,8 +48164,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -47126,8 +48240,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -47200,8 +48316,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -47277,8 +48395,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -47362,8 +48482,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -47439,8 +48561,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -47524,8 +48648,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -47601,8 +48727,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -47686,8 +48814,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -47763,8 +48893,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -47848,8 +48980,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -47925,8 +49059,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -48010,8 +49146,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -48084,8 +49222,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -48185,14 +49325,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAuthenticationV1APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -48255,7 +49397,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -48336,7 +49479,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -48375,133 +49519,21 @@ } } }, - "/apis/authentication.k8s.io/v1alpha1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getAuthenticationV1alpha1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authentication_v1alpha1" - ] - } - }, - "/apis/authentication.k8s.io/v1alpha1/selfsubjectreviews": { - "parameters": [ - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create a SelfSubjectReview", - "operationId": "createAuthenticationV1alpha1SelfSubjectReview", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1alpha1.SelfSubjectReview" - } - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1alpha1.SelfSubjectReview" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1alpha1.SelfSubjectReview" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.authentication.v1alpha1.SelfSubjectReview" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "authentication_v1alpha1" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "authentication.k8s.io", - "kind": "SelfSubjectReview", - "version": "v1alpha1" - } - } - }, "/apis/authentication.k8s.io/v1beta1/": { "get": { "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAuthenticationV1beta1APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -48564,7 +49596,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -48641,14 +49674,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAuthorizationV1APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -48714,7 +49749,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -48795,7 +49831,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -48876,7 +49913,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -48957,7 +49995,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -49034,14 +50073,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAutoscalingV1APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -49073,8 +50114,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -49163,6 +50206,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -49191,7 +50237,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -49259,8 +50306,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -49330,7 +50379,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -49390,6 +50440,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -49400,7 +50453,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -49441,7 +50495,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -49488,7 +50543,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified HorizontalPodAutoscaler", "operationId": "patchAutoscalingV1NamespacedHorizontalPodAutoscaler", @@ -49520,7 +50576,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -49588,7 +50645,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -49631,7 +50689,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -49678,7 +50737,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified HorizontalPodAutoscaler", "operationId": "patchAutoscalingV1NamespacedHorizontalPodAutoscalerStatus", @@ -49710,7 +50770,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -49778,7 +50839,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -49822,8 +50884,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -49896,8 +50960,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -49973,8 +51039,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -50052,14 +51120,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getAutoscalingV2APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -50091,8 +51161,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -50181,6 +51253,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -50209,7 +51284,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -50277,8 +51353,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -50348,7 +51426,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -50408,6 +51487,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -50418,7 +51500,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -50459,7 +51542,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -50506,7 +51590,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified HorizontalPodAutoscaler", "operationId": "patchAutoscalingV2NamespacedHorizontalPodAutoscaler", @@ -50538,7 +51623,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -50606,7 +51692,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -50649,7 +51736,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -50696,7 +51784,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified HorizontalPodAutoscaler", "operationId": "patchAutoscalingV2NamespacedHorizontalPodAutoscalerStatus", @@ -50728,7 +51817,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -50796,7 +51886,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -50840,8 +51931,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -50914,8 +52007,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -50991,8 +52086,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -51103,14 +52200,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getBatchV1APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -51142,8 +52241,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -51216,8 +52317,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -51306,6 +52409,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -51334,7 +52440,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -51402,8 +52509,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -51473,7 +52582,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -51533,6 +52643,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -51543,7 +52656,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -51584,7 +52698,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -51631,7 +52746,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified CronJob", "operationId": "patchBatchV1NamespacedCronJob", @@ -51663,7 +52779,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -51731,7 +52848,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -51774,7 +52892,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -51821,7 +52940,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified CronJob", "operationId": "patchBatchV1NamespacedCronJobStatus", @@ -51853,7 +52973,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -51921,7 +53042,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -51981,6 +53103,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -52009,7 +53134,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -52077,8 +53203,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -52148,7 +53276,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -52208,6 +53337,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -52218,7 +53350,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -52259,7 +53392,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -52306,7 +53440,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified Job", "operationId": "patchBatchV1NamespacedJob", @@ -52338,7 +53473,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -52406,7 +53542,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -52449,7 +53586,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -52496,7 +53634,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified Job", "operationId": "patchBatchV1NamespacedJobStatus", @@ -52528,7 +53667,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -52596,7 +53736,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -52640,8 +53781,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -52714,8 +53857,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -52788,8 +53933,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -52865,8 +54012,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -52950,8 +54099,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -53027,8 +54178,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -53139,14 +54292,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getCertificatesV1APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -53194,6 +54349,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -53222,7 +54380,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -53290,8 +54449,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -53358,7 +54519,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -53418,6 +54580,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -53428,7 +54593,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -53469,7 +54635,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -53513,7 +54680,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified CertificateSigningRequest", "operationId": "patchCertificatesV1CertificateSigningRequest", @@ -53545,7 +54713,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -53613,7 +54782,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -53656,7 +54826,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -53700,7 +54871,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update approval of the specified CertificateSigningRequest", "operationId": "patchCertificatesV1CertificateSigningRequestApproval", @@ -53732,7 +54904,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -53800,7 +54973,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -53843,7 +55017,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -53887,7 +55062,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified CertificateSigningRequest", "operationId": "patchCertificatesV1CertificateSigningRequestStatus", @@ -53919,7 +55095,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -53987,7 +55164,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -54031,8 +55209,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -54105,8 +55285,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -54181,14 +55363,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getCertificatesV1alpha1APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -54236,6 +55420,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -54264,7 +55451,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -54332,8 +55520,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -54400,7 +55590,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -54460,6 +55651,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -54470,7 +55664,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -54511,7 +55706,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -54555,7 +55751,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified ClusterTrustBundle", "operationId": "patchCertificatesV1alpha1ClusterTrustBundle", @@ -54587,7 +55784,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -54655,7 +55853,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -54699,8 +55898,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -54773,8 +55974,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -54882,14 +56085,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getCoordinationV1APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -54921,8 +56126,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -55011,6 +56218,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -55039,7 +56249,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -55107,8 +56318,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -55178,7 +56391,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -55238,6 +56452,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -55248,7 +56465,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -55289,7 +56507,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -55336,7 +56555,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified Lease", "operationId": "patchCoordinationV1NamespacedLease", @@ -55368,7 +56588,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -55436,7 +56657,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -55480,8 +56702,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -55554,8 +56778,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -55631,8 +56857,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -55705,52 +56933,21 @@ } ] }, - "/apis/discovery.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getDiscoveryAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "discovery" - ] - } - }, - "/apis/discovery.k8s.io/v1/": { + "/apis/coordination.k8s.io/v1alpha2/": { "get": { "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", - "operationId": "getDiscoveryV1APIResources", + "operationId": "getCoordinationV1alpha2APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -55767,29 +56964,31 @@ "https" ], "tags": [ - "discovery_v1" + "coordination_v1alpha2" ] } }, - "/apis/discovery.k8s.io/v1/endpointslices": { + "/apis/coordination.k8s.io/v1alpha2/leasecandidates": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind EndpointSlice", - "operationId": "listDiscoveryV1EndpointSliceForAllNamespaces", + "description": "list or watch objects of kind LeaseCandidate", + "operationId": "listCoordinationV1alpha2LeaseCandidateForAllNamespaces", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSliceList" + "$ref": "#/definitions/io.k8s.api.coordination.v1alpha2.LeaseCandidateList" } }, "401": { @@ -55800,13 +56999,13 @@ "https" ], "tags": [ - "discovery_v1" + "coordination_v1alpha2" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha2" } }, "parameters": [ @@ -55845,13 +57044,13 @@ } ] }, - "/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices": { + "/apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of EndpointSlice", - "operationId": "deleteDiscoveryV1CollectionNamespacedEndpointSlice", + "description": "delete collection of LeaseCandidate", + "operationId": "deleteCoordinationV1alpha2CollectionNamespacedLeaseCandidate", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -55872,6 +57071,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -55900,7 +57102,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -55917,21 +57120,21 @@ "https" ], "tags": [ - "discovery_v1" + "coordination_v1alpha2" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha2" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind EndpointSlice", - "operationId": "listDiscoveryV1NamespacedEndpointSlice", + "description": "list or watch objects of kind LeaseCandidate", + "operationId": "listCoordinationV1alpha2NamespacedLeaseCandidate", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -55968,14 +57171,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSliceList" + "$ref": "#/definitions/io.k8s.api.coordination.v1alpha2.LeaseCandidateList" } }, "401": { @@ -55986,13 +57191,13 @@ "https" ], "tags": [ - "discovery_v1" + "coordination_v1alpha2" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha2" } }, "parameters": [ @@ -56007,15 +57212,15 @@ "consumes": [ "*/*" ], - "description": "create an EndpointSlice", - "operationId": "createDiscoveryV1NamespacedEndpointSlice", + "description": "create a LeaseCandidate", + "operationId": "createCoordinationV1alpha2NamespacedLeaseCandidate", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.coordination.v1alpha2.LeaseCandidate" } }, { @@ -56039,25 +57244,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.coordination.v1alpha2.LeaseCandidate" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.coordination.v1alpha2.LeaseCandidate" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.coordination.v1alpha2.LeaseCandidate" } }, "401": { @@ -56068,23 +57274,23 @@ "https" ], "tags": [ - "discovery_v1" + "coordination_v1alpha2" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha2" } } }, - "/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices/{name}": { + "/apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete an EndpointSlice", - "operationId": "deleteDiscoveryV1NamespacedEndpointSlice", + "description": "delete a LeaseCandidate", + "operationId": "deleteCoordinationV1alpha2NamespacedLeaseCandidate", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -56099,6 +57305,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -56109,7 +57318,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -56132,31 +57342,32 @@ "https" ], "tags": [ - "discovery_v1" + "coordination_v1alpha2" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha2" } }, "get": { "consumes": [ "*/*" ], - "description": "read the specified EndpointSlice", - "operationId": "readDiscoveryV1NamespacedEndpointSlice", + "description": "read the specified LeaseCandidate", + "operationId": "readCoordinationV1alpha2NamespacedLeaseCandidate", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.coordination.v1alpha2.LeaseCandidate" } }, "401": { @@ -56167,18 +57378,18 @@ "https" ], "tags": [ - "discovery_v1" + "coordination_v1alpha2" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha2" } }, "parameters": [ { - "description": "name of the EndpointSlice", + "description": "name of the LeaseCandidate", "in": "path", "name": "name", "required": true, @@ -56197,10 +57408,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified EndpointSlice", - "operationId": "patchDiscoveryV1NamespacedEndpointSlice", + "description": "partially update the specified LeaseCandidate", + "operationId": "patchCoordinationV1alpha2NamespacedLeaseCandidate", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -56229,19 +57441,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.coordination.v1alpha2.LeaseCandidate" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.coordination.v1alpha2.LeaseCandidate" } }, "401": { @@ -56252,28 +57465,28 @@ "https" ], "tags": [ - "discovery_v1" + "coordination_v1alpha2" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha2" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified EndpointSlice", - "operationId": "replaceDiscoveryV1NamespacedEndpointSlice", + "description": "replace the specified LeaseCandidate", + "operationId": "replaceCoordinationV1alpha2NamespacedLeaseCandidate", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.coordination.v1alpha2.LeaseCandidate" } }, { @@ -56297,19 +57510,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.coordination.v1alpha2.LeaseCandidate" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.coordination.v1alpha2.LeaseCandidate" } }, "401": { @@ -56320,29 +57534,31 @@ "https" ], "tags": [ - "discovery_v1" + "coordination_v1alpha2" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha2" } } }, - "/apis/discovery.k8s.io/v1/watch/endpointslices": { + "/apis/coordination.k8s.io/v1alpha2/watch/leasecandidates": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchDiscoveryV1EndpointSliceListForAllNamespaces", + "description": "watch individual changes to a list of LeaseCandidate. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoordinationV1alpha2LeaseCandidateListForAllNamespaces", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -56359,13 +57575,13 @@ "https" ], "tags": [ - "discovery_v1" + "coordination_v1alpha2" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha2" } }, "parameters": [ @@ -56404,19 +57620,21 @@ } ] }, - "/apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices": { + "/apis/coordination.k8s.io/v1alpha2/watch/namespaces/{namespace}/leasecandidates": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchDiscoveryV1NamespacedEndpointSliceList", + "description": "watch individual changes to a list of LeaseCandidate. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchCoordinationV1alpha2NamespacedLeaseCandidateList", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -56433,13 +57651,13 @@ "https" ], "tags": [ - "discovery_v1" + "coordination_v1alpha2" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha2" } }, "parameters": [ @@ -56481,19 +57699,21 @@ } ] }, - "/apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices/{name}": { + "/apis/coordination.k8s.io/v1alpha2/watch/namespaces/{namespace}/leasecandidates/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchDiscoveryV1NamespacedEndpointSlice", + "description": "watch changes to an object of kind LeaseCandidate. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchCoordinationV1alpha2NamespacedLeaseCandidate", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -56510,13 +57730,13 @@ "https" ], "tags": [ - "discovery_v1" + "coordination_v1alpha2" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1" + "group": "coordination.k8s.io", + "kind": "LeaseCandidate", + "version": "v1alpha2" } }, "parameters": [ @@ -56536,7 +57756,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "description": "name of the EndpointSlice", + "description": "name of the LeaseCandidate", "in": "path", "name": "name", "required": true, @@ -56566,7 +57786,7 @@ } ] }, - "/apis/events.k8s.io/": { + "/apis/discovery.k8s.io/": { "get": { "consumes": [ "application/json", @@ -56574,7 +57794,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get information of a group", - "operationId": "getEventsAPIGroup", + "operationId": "getDiscoveryAPIGroup", "produces": [ "application/json", "application/yaml", @@ -56595,23 +57815,25 @@ "https" ], "tags": [ - "events" + "discovery" ] } }, - "/apis/events.k8s.io/v1/": { + "/apis/discovery.k8s.io/v1/": { "get": { "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", - "operationId": "getEventsV1APIResources", + "operationId": "getDiscoveryV1APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -56628,29 +57850,31 @@ "https" ], "tags": [ - "events_v1" + "discovery_v1" ] } }, - "/apis/events.k8s.io/v1/events": { + "/apis/discovery.k8s.io/v1/endpointslices": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind Event", - "operationId": "listEventsV1EventForAllNamespaces", + "description": "list or watch objects of kind EndpointSlice", + "operationId": "listDiscoveryV1EndpointSliceForAllNamespaces", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1.EventList" + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSliceList" } }, "401": { @@ -56661,12 +57885,12 @@ "https" ], "tags": [ - "events_v1" + "discovery_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1" } }, @@ -56706,13 +57930,13 @@ } ] }, - "/apis/events.k8s.io/v1/namespaces/{namespace}/events": { + "/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of Event", - "operationId": "deleteEventsV1CollectionNamespacedEvent", + "description": "delete collection of EndpointSlice", + "operationId": "deleteDiscoveryV1CollectionNamespacedEndpointSlice", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -56733,6 +57957,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -56761,7 +57988,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -56778,12 +58006,12 @@ "https" ], "tags": [ - "events_v1" + "discovery_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1" } }, @@ -56791,8 +58019,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind Event", - "operationId": "listEventsV1NamespacedEvent", + "description": "list or watch objects of kind EndpointSlice", + "operationId": "listDiscoveryV1NamespacedEndpointSlice", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -56829,14 +58057,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1.EventList" + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSliceList" } }, "401": { @@ -56847,12 +58077,12 @@ "https" ], "tags": [ - "events_v1" + "discovery_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1" } }, @@ -56868,15 +58098,15 @@ "consumes": [ "*/*" ], - "description": "create an Event", - "operationId": "createEventsV1NamespacedEvent", + "description": "create an EndpointSlice", + "operationId": "createDiscoveryV1NamespacedEndpointSlice", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1.Event" + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" } }, { @@ -56900,25 +58130,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1.Event" + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1.Event" + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1.Event" + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" } }, "401": { @@ -56929,23 +58160,23 @@ "https" ], "tags": [ - "events_v1" + "discovery_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1" } } }, - "/apis/events.k8s.io/v1/namespaces/{namespace}/events/{name}": { + "/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete an Event", - "operationId": "deleteEventsV1NamespacedEvent", + "description": "delete an EndpointSlice", + "operationId": "deleteDiscoveryV1NamespacedEndpointSlice", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -56960,6 +58191,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -56970,7 +58204,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -56993,12 +58228,12 @@ "https" ], "tags": [ - "events_v1" + "discovery_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1" } }, @@ -57006,18 +58241,19 @@ "consumes": [ "*/*" ], - "description": "read the specified Event", - "operationId": "readEventsV1NamespacedEvent", + "description": "read the specified EndpointSlice", + "operationId": "readDiscoveryV1NamespacedEndpointSlice", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1.Event" + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" } }, "401": { @@ -57028,18 +58264,18 @@ "https" ], "tags": [ - "events_v1" + "discovery_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1" } }, "parameters": [ { - "description": "name of the Event", + "description": "name of the EndpointSlice", "in": "path", "name": "name", "required": true, @@ -57058,10 +58294,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified Event", - "operationId": "patchEventsV1NamespacedEvent", + "description": "partially update the specified EndpointSlice", + "operationId": "patchDiscoveryV1NamespacedEndpointSlice", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -57090,19 +58327,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1.Event" + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1.Event" + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" } }, "401": { @@ -57113,12 +58351,12 @@ "https" ], "tags": [ - "events_v1" + "discovery_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1" } }, @@ -57126,15 +58364,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified Event", - "operationId": "replaceEventsV1NamespacedEvent", + "description": "replace the specified EndpointSlice", + "operationId": "replaceDiscoveryV1NamespacedEndpointSlice", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1.Event" + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" } }, { @@ -57158,19 +58396,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1.Event" + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.events.v1.Event" + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" } }, "401": { @@ -57181,29 +58420,31 @@ "https" ], "tags": [ - "events_v1" + "discovery_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1" } } }, - "/apis/events.k8s.io/v1/watch/events": { + "/apis/discovery.k8s.io/v1/watch/endpointslices": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchEventsV1EventListForAllNamespaces", + "description": "watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchDiscoveryV1EndpointSliceListForAllNamespaces", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -57220,12 +58461,12 @@ "https" ], "tags": [ - "events_v1" + "discovery_v1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1" } }, @@ -57265,19 +58506,21 @@ } ] }, - "/apis/events.k8s.io/v1/watch/namespaces/{namespace}/events": { + "/apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchEventsV1NamespacedEventList", + "description": "watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchDiscoveryV1NamespacedEndpointSliceList", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -57294,12 +58537,12 @@ "https" ], "tags": [ - "events_v1" + "discovery_v1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1" } }, @@ -57342,19 +58585,21 @@ } ] }, - "/apis/events.k8s.io/v1/watch/namespaces/{namespace}/events/{name}": { + "/apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind Event. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchEventsV1NamespacedEvent", + "description": "watch changes to an object of kind EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchDiscoveryV1NamespacedEndpointSlice", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -57371,12 +58616,12 @@ "https" ], "tags": [ - "events_v1" + "discovery_v1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "events.k8s.io", - "kind": "Event", + "group": "discovery.k8s.io", + "kind": "EndpointSlice", "version": "v1" } }, @@ -57397,7 +58642,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "description": "name of the Event", + "description": "name of the EndpointSlice", "in": "path", "name": "name", "required": true, @@ -57427,7 +58672,7 @@ } ] }, - "/apis/flowcontrol.apiserver.k8s.io/": { + "/apis/events.k8s.io/": { "get": { "consumes": [ "application/json", @@ -57435,7 +58680,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get information of a group", - "operationId": "getFlowcontrolApiserverAPIGroup", + "operationId": "getEventsAPIGroup", "produces": [ "application/json", "application/yaml", @@ -57456,23 +58701,25 @@ "https" ], "tags": [ - "flowcontrolApiserver" + "events" ] } }, - "/apis/flowcontrol.apiserver.k8s.io/v1/": { + "/apis/events.k8s.io/v1/": { "get": { "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", - "operationId": "getFlowcontrolApiserverV1APIResources", + "operationId": "getEventsV1APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -57489,17 +58736,93 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1" + "events_v1" ] } }, - "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas": { + "/apis/events.k8s.io/v1/events": { + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind Event", + "operationId": "listEventsV1EventForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.events.v1.EventList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "events_v1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/events.k8s.io/v1/namespaces/{namespace}/events": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of FlowSchema", - "operationId": "deleteFlowcontrolApiserverV1CollectionFlowSchema", + "description": "delete collection of Event", + "operationId": "deleteEventsV1CollectionNamespacedEvent", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -57520,6 +58843,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -57548,7 +58874,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -57565,12 +58892,12 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1" + "events_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", + "group": "events.k8s.io", + "kind": "Event", "version": "v1" } }, @@ -57578,8 +58905,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind FlowSchema", - "operationId": "listFlowcontrolApiserverV1FlowSchema", + "description": "list or watch objects of kind Event", + "operationId": "listEventsV1NamespacedEvent", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -57616,14 +58943,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchemaList" + "$ref": "#/definitions/io.k8s.api.events.v1.EventList" } }, "401": { @@ -57634,16 +58963,19 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1" + "events_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", + "group": "events.k8s.io", + "kind": "Event", "version": "v1" } }, "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, { "$ref": "#/parameters/pretty-tJGM1-ng" } @@ -57652,15 +58984,15 @@ "consumes": [ "*/*" ], - "description": "create a FlowSchema", - "operationId": "createFlowcontrolApiserverV1FlowSchema", + "description": "create an Event", + "operationId": "createEventsV1NamespacedEvent", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + "$ref": "#/definitions/io.k8s.api.events.v1.Event" } }, { @@ -57684,25 +59016,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + "$ref": "#/definitions/io.k8s.api.events.v1.Event" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + "$ref": "#/definitions/io.k8s.api.events.v1.Event" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + "$ref": "#/definitions/io.k8s.api.events.v1.Event" } }, "401": { @@ -57713,23 +59046,23 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1" + "events_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", + "group": "events.k8s.io", + "kind": "Event", "version": "v1" } } }, - "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}": { + "/apis/events.k8s.io/v1/namespaces/{namespace}/events/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a FlowSchema", - "operationId": "deleteFlowcontrolApiserverV1FlowSchema", + "description": "delete an Event", + "operationId": "deleteEventsV1NamespacedEvent", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -57744,6 +59077,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -57754,7 +59090,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -57777,12 +59114,12 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1" + "events_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", + "group": "events.k8s.io", + "kind": "Event", "version": "v1" } }, @@ -57790,18 +59127,19 @@ "consumes": [ "*/*" ], - "description": "read the specified FlowSchema", - "operationId": "readFlowcontrolApiserverV1FlowSchema", + "description": "read the specified Event", + "operationId": "readEventsV1NamespacedEvent", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + "$ref": "#/definitions/io.k8s.api.events.v1.Event" } }, "401": { @@ -57812,24 +59150,27 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1" + "events_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", + "group": "events.k8s.io", + "kind": "Event", "version": "v1" } }, "parameters": [ { - "description": "name of the FlowSchema", + "description": "name of the Event", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, { "$ref": "#/parameters/pretty-tJGM1-ng" } @@ -57839,10 +59180,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified FlowSchema", - "operationId": "patchFlowcontrolApiserverV1FlowSchema", + "description": "partially update the specified Event", + "operationId": "patchEventsV1NamespacedEvent", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -57871,19 +59213,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + "$ref": "#/definitions/io.k8s.api.events.v1.Event" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + "$ref": "#/definitions/io.k8s.api.events.v1.Event" } }, "401": { @@ -57894,12 +59237,12 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1" + "events_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", + "group": "events.k8s.io", + "kind": "Event", "version": "v1" } }, @@ -57907,15 +59250,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified FlowSchema", - "operationId": "replaceFlowcontrolApiserverV1FlowSchema", + "description": "replace the specified Event", + "operationId": "replaceEventsV1NamespacedEvent", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + "$ref": "#/definitions/io.k8s.api.events.v1.Event" } }, { @@ -57939,19 +59282,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + "$ref": "#/definitions/io.k8s.api.events.v1.Event" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + "$ref": "#/definitions/io.k8s.api.events.v1.Event" } }, "401": { @@ -57962,33 +59306,37 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1" + "events_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", + "group": "events.k8s.io", + "kind": "Event", "version": "v1" } } }, - "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}/status": { + "/apis/events.k8s.io/v1/watch/events": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified FlowSchema", - "operationId": "readFlowcontrolApiserverV1FlowSchemaStatus", + "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchEventsV1EventListForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -57999,78 +59347,72 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1" + "events_v1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", + "group": "events.k8s.io", + "kind": "Event", "version": "v1" } }, "parameters": [ { - "description": "name of the FlowSchema", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" }, { "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" } - ], - "patch": { + ] + }, + "/apis/events.k8s.io/v1/watch/namespaces/{namespace}/events": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified FlowSchema", - "operationId": "patchFlowcontrolApiserverV1FlowSchemaStatus", - "parameters": [ - { - "$ref": "#/parameters/body-78PwaGsr" - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldManager-7c6nTn1T" - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/force-tOGGb0Yi" - } + "*/*" ], + "description": "watch individual changes to a list of Event. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchEventsV1NamespacedEventList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -58081,48 +59423,150 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1" + "events_v1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", + "group": "events.k8s.io", + "kind": "Event", "version": "v1" } }, - "put": { + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/events.k8s.io/v1/watch/namespaces/{namespace}/events/{name}": { + "get": { "consumes": [ "*/*" ], - "description": "replace status of the specified FlowSchema", - "operationId": "replaceFlowcontrolApiserverV1FlowSchemaStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, + "description": "watch changes to an object of kind Event. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchEventsV1NamespacedEvent", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true + "401": { + "description": "Unauthorized" } + }, + "schemes": [ + "https" + ], + "tags": [ + "events_v1" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "description": "name of the Event", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/flowcontrol.apiserver.k8s.io/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], + "description": "get information of a group", + "operationId": "getFlowcontrolApiserverAPIGroup", "produces": [ "application/json", "application/yaml", @@ -58132,13 +59576,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" } }, "401": { @@ -58149,24 +59587,53 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1" - } + "flowcontrolApiserver" + ] } }, - "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations": { - "delete": { + "/apis/flowcontrol.apiserver.k8s.io/v1/": { + "get": { "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" ], - "description": "delete collection of PriorityLevelConfiguration", - "operationId": "deleteFlowcontrolApiserverV1CollectionPriorityLevelConfiguration", - "parameters": [ + "description": "get available resources", + "operationId": "getFlowcontrolApiserverV1APIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ] + } + }, + "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of FlowSchema", + "operationId": "deleteFlowcontrolApiserverV1CollectionFlowSchema", + "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" }, @@ -58186,6 +59653,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -58214,7 +59684,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -58236,7 +59707,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", + "kind": "FlowSchema", "version": "v1" } }, @@ -58244,8 +59715,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind PriorityLevelConfiguration", - "operationId": "listFlowcontrolApiserverV1PriorityLevelConfiguration", + "description": "list or watch objects of kind FlowSchema", + "operationId": "listFlowcontrolApiserverV1FlowSchema", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -58282,14 +59753,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationList" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchemaList" } }, "401": { @@ -58305,7 +59778,7 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", + "kind": "FlowSchema", "version": "v1" } }, @@ -58318,15 +59791,15 @@ "consumes": [ "*/*" ], - "description": "create a PriorityLevelConfiguration", - "operationId": "createFlowcontrolApiserverV1PriorityLevelConfiguration", + "description": "create a FlowSchema", + "operationId": "createFlowcontrolApiserverV1FlowSchema", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, { @@ -58350,25 +59823,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, "401": { @@ -58384,18 +59858,18 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", + "kind": "FlowSchema", "version": "v1" } } }, - "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}": { + "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a PriorityLevelConfiguration", - "operationId": "deleteFlowcontrolApiserverV1PriorityLevelConfiguration", + "description": "delete a FlowSchema", + "operationId": "deleteFlowcontrolApiserverV1FlowSchema", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -58410,6 +59884,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -58420,7 +59897,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -58448,7 +59926,7 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", + "kind": "FlowSchema", "version": "v1" } }, @@ -58456,18 +59934,19 @@ "consumes": [ "*/*" ], - "description": "read the specified PriorityLevelConfiguration", - "operationId": "readFlowcontrolApiserverV1PriorityLevelConfiguration", + "description": "read the specified FlowSchema", + "operationId": "readFlowcontrolApiserverV1FlowSchema", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, "401": { @@ -58483,13 +59962,13 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", + "kind": "FlowSchema", "version": "v1" } }, "parameters": [ { - "description": "name of the PriorityLevelConfiguration", + "description": "name of the FlowSchema", "in": "path", "name": "name", "required": true, @@ -58505,10 +59984,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified PriorityLevelConfiguration", - "operationId": "patchFlowcontrolApiserverV1PriorityLevelConfiguration", + "description": "partially update the specified FlowSchema", + "operationId": "patchFlowcontrolApiserverV1FlowSchema", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -58537,19 +60017,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, "401": { @@ -58565,7 +60046,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", + "kind": "FlowSchema", "version": "v1" } }, @@ -58573,15 +60054,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified PriorityLevelConfiguration", - "operationId": "replaceFlowcontrolApiserverV1PriorityLevelConfiguration", + "description": "replace the specified FlowSchema", + "operationId": "replaceFlowcontrolApiserverV1FlowSchema", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, { @@ -58605,19 +60086,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, "401": { @@ -58633,28 +60115,29 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", + "kind": "FlowSchema", "version": "v1" } } }, - "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}/status": { + "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified PriorityLevelConfiguration", - "operationId": "readFlowcontrolApiserverV1PriorityLevelConfigurationStatus", + "description": "read status of the specified FlowSchema", + "operationId": "readFlowcontrolApiserverV1FlowSchemaStatus", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, "401": { @@ -58670,13 +60153,13 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", + "kind": "FlowSchema", "version": "v1" } }, "parameters": [ { - "description": "name of the PriorityLevelConfiguration", + "description": "name of the FlowSchema", "in": "path", "name": "name", "required": true, @@ -58692,10 +60175,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update status of the specified PriorityLevelConfiguration", - "operationId": "patchFlowcontrolApiserverV1PriorityLevelConfigurationStatus", + "description": "partially update status of the specified FlowSchema", + "operationId": "patchFlowcontrolApiserverV1FlowSchemaStatus", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -58724,19 +60208,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, "401": { @@ -58752,7 +60237,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", + "kind": "FlowSchema", "version": "v1" } }, @@ -58760,15 +60245,15 @@ "consumes": [ "*/*" ], - "description": "replace status of the specified PriorityLevelConfiguration", - "operationId": "replaceFlowcontrolApiserverV1PriorityLevelConfigurationStatus", + "description": "replace status of the specified FlowSchema", + "operationId": "replaceFlowcontrolApiserverV1FlowSchemaStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, { @@ -58792,19 +60277,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, "401": { @@ -58818,365 +60304,20 @@ "flowcontrolApiserver_v1" ], "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1" - } - } - }, - "/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of FlowSchema. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchFlowcontrolApiserverV1FlowSchemaList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind FlowSchema. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchFlowcontrolApiserverV1FlowSchema", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1" - ], - "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchema", "version": "v1" } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "description": "name of the FlowSchema", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of PriorityLevelConfiguration. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchFlowcontrolApiserverV1PriorityLevelConfigurationList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind PriorityLevelConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchFlowcontrolApiserverV1PriorityLevelConfiguration", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "description": "name of the PriorityLevelConfiguration", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getFlowcontrolApiserverV1beta3APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta3" - ] } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/flowschemas": { + "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of FlowSchema", - "operationId": "deleteFlowcontrolApiserverV1beta3CollectionFlowSchema", + "description": "delete collection of PriorityLevelConfiguration", + "operationId": "deleteFlowcontrolApiserverV1CollectionPriorityLevelConfiguration", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -59197,6 +60338,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -59225,7 +60369,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -59242,21 +60387,21 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "kind": "PriorityLevelConfiguration", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind FlowSchema", - "operationId": "listFlowcontrolApiserverV1beta3FlowSchema", + "description": "list or watch objects of kind PriorityLevelConfiguration", + "operationId": "listFlowcontrolApiserverV1PriorityLevelConfiguration", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -59293,14 +60438,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchemaList" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationList" } }, "401": { @@ -59311,13 +60458,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "kind": "PriorityLevelConfiguration", + "version": "v1" } }, "parameters": [ @@ -59329,15 +60476,15 @@ "consumes": [ "*/*" ], - "description": "create a FlowSchema", - "operationId": "createFlowcontrolApiserverV1beta3FlowSchema", + "description": "create a PriorityLevelConfiguration", + "operationId": "createFlowcontrolApiserverV1PriorityLevelConfiguration", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, { @@ -59361,25 +60508,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, "401": { @@ -59390,23 +60538,23 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "kind": "PriorityLevelConfiguration", + "version": "v1" } } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/flowschemas/{name}": { + "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a FlowSchema", - "operationId": "deleteFlowcontrolApiserverV1beta3FlowSchema", + "description": "delete a PriorityLevelConfiguration", + "operationId": "deleteFlowcontrolApiserverV1PriorityLevelConfiguration", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -59421,6 +60569,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -59431,7 +60582,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -59454,31 +60606,32 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "kind": "PriorityLevelConfiguration", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "read the specified FlowSchema", - "operationId": "readFlowcontrolApiserverV1beta3FlowSchema", + "description": "read the specified PriorityLevelConfiguration", + "operationId": "readFlowcontrolApiserverV1PriorityLevelConfiguration", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, "401": { @@ -59489,18 +60642,18 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "kind": "PriorityLevelConfiguration", + "version": "v1" } }, "parameters": [ { - "description": "name of the FlowSchema", + "description": "name of the PriorityLevelConfiguration", "in": "path", "name": "name", "required": true, @@ -59516,10 +60669,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified FlowSchema", - "operationId": "patchFlowcontrolApiserverV1beta3FlowSchema", + "description": "partially update the specified PriorityLevelConfiguration", + "operationId": "patchFlowcontrolApiserverV1PriorityLevelConfiguration", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -59548,19 +60702,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, "401": { @@ -59571,28 +60726,28 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "kind": "PriorityLevelConfiguration", + "version": "v1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified FlowSchema", - "operationId": "replaceFlowcontrolApiserverV1beta3FlowSchema", + "description": "replace the specified PriorityLevelConfiguration", + "operationId": "replaceFlowcontrolApiserverV1PriorityLevelConfiguration", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, { @@ -59616,19 +60771,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, "401": { @@ -59639,33 +60795,34 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "kind": "PriorityLevelConfiguration", + "version": "v1" } } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/flowschemas/{name}/status": { + "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified FlowSchema", - "operationId": "readFlowcontrolApiserverV1beta3FlowSchemaStatus", + "description": "read status of the specified PriorityLevelConfiguration", + "operationId": "readFlowcontrolApiserverV1PriorityLevelConfigurationStatus", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, "401": { @@ -59676,18 +60833,18 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "kind": "PriorityLevelConfiguration", + "version": "v1" } }, "parameters": [ { - "description": "name of the FlowSchema", + "description": "name of the PriorityLevelConfiguration", "in": "path", "name": "name", "required": true, @@ -59703,10 +60860,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update status of the specified FlowSchema", - "operationId": "patchFlowcontrolApiserverV1beta3FlowSchemaStatus", + "description": "partially update status of the specified PriorityLevelConfiguration", + "operationId": "patchFlowcontrolApiserverV1PriorityLevelConfigurationStatus", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -59735,19 +60893,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, "401": { @@ -59758,28 +60917,28 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" + "kind": "PriorityLevelConfiguration", + "version": "v1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace status of the specified FlowSchema", - "operationId": "replaceFlowcontrolApiserverV1beta3FlowSchemaStatus", + "description": "replace status of the specified PriorityLevelConfiguration", + "operationId": "replaceFlowcontrolApiserverV1PriorityLevelConfigurationStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, { @@ -59803,19 +60962,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, "401": { @@ -59826,23 +60986,411 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1" + } + } + }, + "/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of FlowSchema. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchFlowcontrolApiserverV1FlowSchemaList", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ], + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchema", - "version": "v1beta3" + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas/{name}": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch changes to an object of kind FlowSchema. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchFlowcontrolApiserverV1FlowSchema", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "description": "name of the FlowSchema", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" } + ] + }, + "/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of PriorityLevelConfiguration. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchFlowcontrolApiserverV1PriorityLevelConfigurationList", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations/{name}": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch changes to an object of kind PriorityLevelConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchFlowcontrolApiserverV1PriorityLevelConfiguration", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "description": "name of the PriorityLevelConfiguration", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/internal.apiserver.k8s.io/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get information of a group", + "operationId": "getInternalApiserverAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "internalApiserver" + ] + } + }, + "/apis/internal.apiserver.k8s.io/v1alpha1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "description": "get available resources", + "operationId": "getInternalApiserverV1alpha1APIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "internalApiserver_v1alpha1" + ] } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/prioritylevelconfigurations": { + "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of PriorityLevelConfiguration", - "operationId": "deleteFlowcontrolApiserverV1beta3CollectionPriorityLevelConfiguration", + "description": "delete collection of StorageVersion", + "operationId": "deleteInternalApiserverV1alpha1CollectionStorageVersion", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -59863,6 +61411,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -59891,7 +61442,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -59908,21 +61460,21 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "internalApiserver_v1alpha1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "internal.apiserver.k8s.io", + "kind": "StorageVersion", + "version": "v1alpha1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind PriorityLevelConfiguration", - "operationId": "listFlowcontrolApiserverV1beta3PriorityLevelConfiguration", + "description": "list or watch objects of kind StorageVersion", + "operationId": "listInternalApiserverV1alpha1StorageVersion", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -59959,14 +61511,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfigurationList" + "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersionList" } }, "401": { @@ -59977,13 +61531,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "internalApiserver_v1alpha1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "internal.apiserver.k8s.io", + "kind": "StorageVersion", + "version": "v1alpha1" } }, "parameters": [ @@ -59995,15 +61549,15 @@ "consumes": [ "*/*" ], - "description": "create a PriorityLevelConfiguration", - "operationId": "createFlowcontrolApiserverV1beta3PriorityLevelConfiguration", + "description": "create a StorageVersion", + "operationId": "createInternalApiserverV1alpha1StorageVersion", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" } }, { @@ -60027,25 +61581,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" } }, "401": { @@ -60056,23 +61611,23 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "internalApiserver_v1alpha1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "internal.apiserver.k8s.io", + "kind": "StorageVersion", + "version": "v1alpha1" } } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/prioritylevelconfigurations/{name}": { + "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a PriorityLevelConfiguration", - "operationId": "deleteFlowcontrolApiserverV1beta3PriorityLevelConfiguration", + "description": "delete a StorageVersion", + "operationId": "deleteInternalApiserverV1alpha1StorageVersion", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -60087,6 +61642,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -60097,7 +61655,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -60120,31 +61679,32 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "internalApiserver_v1alpha1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "internal.apiserver.k8s.io", + "kind": "StorageVersion", + "version": "v1alpha1" } }, "get": { "consumes": [ "*/*" ], - "description": "read the specified PriorityLevelConfiguration", - "operationId": "readFlowcontrolApiserverV1beta3PriorityLevelConfiguration", + "description": "read the specified StorageVersion", + "operationId": "readInternalApiserverV1alpha1StorageVersion", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" } }, "401": { @@ -60155,18 +61715,18 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "internalApiserver_v1alpha1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "internal.apiserver.k8s.io", + "kind": "StorageVersion", + "version": "v1alpha1" } }, "parameters": [ { - "description": "name of the PriorityLevelConfiguration", + "description": "name of the StorageVersion", "in": "path", "name": "name", "required": true, @@ -60182,10 +61742,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified PriorityLevelConfiguration", - "operationId": "patchFlowcontrolApiserverV1beta3PriorityLevelConfiguration", + "description": "partially update the specified StorageVersion", + "operationId": "patchInternalApiserverV1alpha1StorageVersion", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -60214,19 +61775,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" } }, "401": { @@ -60237,28 +61799,28 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "internalApiserver_v1alpha1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "internal.apiserver.k8s.io", + "kind": "StorageVersion", + "version": "v1alpha1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified PriorityLevelConfiguration", - "operationId": "replaceFlowcontrolApiserverV1beta3PriorityLevelConfiguration", + "description": "replace the specified StorageVersion", + "operationId": "replaceInternalApiserverV1alpha1StorageVersion", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" } }, { @@ -60282,19 +61844,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" } }, "401": { @@ -60305,33 +61868,34 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "internalApiserver_v1alpha1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "internal.apiserver.k8s.io", + "kind": "StorageVersion", + "version": "v1alpha1" } } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/prioritylevelconfigurations/{name}/status": { + "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified PriorityLevelConfiguration", - "operationId": "readFlowcontrolApiserverV1beta3PriorityLevelConfigurationStatus", + "description": "read status of the specified StorageVersion", + "operationId": "readInternalApiserverV1alpha1StorageVersionStatus", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" } }, "401": { @@ -60342,18 +61906,18 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "internalApiserver_v1alpha1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "internal.apiserver.k8s.io", + "kind": "StorageVersion", + "version": "v1alpha1" } }, "parameters": [ { - "description": "name of the PriorityLevelConfiguration", + "description": "name of the StorageVersion", "in": "path", "name": "name", "required": true, @@ -60369,10 +61933,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update status of the specified PriorityLevelConfiguration", - "operationId": "patchFlowcontrolApiserverV1beta3PriorityLevelConfigurationStatus", + "description": "partially update status of the specified StorageVersion", + "operationId": "patchInternalApiserverV1alpha1StorageVersionStatus", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -60401,19 +61966,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" } }, "401": { @@ -60424,28 +61990,28 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "internalApiserver_v1alpha1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "internal.apiserver.k8s.io", + "kind": "StorageVersion", + "version": "v1alpha1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace status of the specified PriorityLevelConfiguration", - "operationId": "replaceFlowcontrolApiserverV1beta3PriorityLevelConfigurationStatus", + "description": "replace status of the specified StorageVersion", + "operationId": "replaceInternalApiserverV1alpha1StorageVersionStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" } }, { @@ -60469,19 +62035,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" } }, "401": { @@ -60492,185 +62059,31 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "internalApiserver_v1alpha1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "internal.apiserver.k8s.io", + "kind": "StorageVersion", + "version": "v1alpha1" } } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/watch/flowschemas": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of FlowSchema. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchFlowcontrolApiserverV1beta3FlowSchemaList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta3" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/watch/flowschemas/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind FlowSchema. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchFlowcontrolApiserverV1beta3FlowSchema", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "flowcontrolApiserver_v1beta3" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "FlowSchema", - "version": "v1beta3" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "description": "name of the FlowSchema", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/watch/prioritylevelconfigurations": { + "/apis/internal.apiserver.k8s.io/v1alpha1/watch/storageversions": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of PriorityLevelConfiguration. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchFlowcontrolApiserverV1beta3PriorityLevelConfigurationList", + "description": "watch individual changes to a list of StorageVersion. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchInternalApiserverV1alpha1StorageVersionList", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -60687,13 +62100,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "internalApiserver_v1alpha1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "internal.apiserver.k8s.io", + "kind": "StorageVersion", + "version": "v1alpha1" } }, "parameters": [ @@ -60732,19 +62145,21 @@ } ] }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta3/watch/prioritylevelconfigurations/{name}": { + "/apis/internal.apiserver.k8s.io/v1alpha1/watch/storageversions/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind PriorityLevelConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchFlowcontrolApiserverV1beta3PriorityLevelConfiguration", + "description": "watch changes to an object of kind StorageVersion. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchInternalApiserverV1alpha1StorageVersion", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -60761,13 +62176,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta3" + "internalApiserver_v1alpha1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { - "group": "flowcontrol.apiserver.k8s.io", - "kind": "PriorityLevelConfiguration", - "version": "v1beta3" + "group": "internal.apiserver.k8s.io", + "kind": "StorageVersion", + "version": "v1alpha1" } }, "parameters": [ @@ -60787,7 +62202,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "description": "name of the PriorityLevelConfiguration", + "description": "name of the StorageVersion", "in": "path", "name": "name", "required": true, @@ -60814,7 +62229,7 @@ } ] }, - "/apis/internal.apiserver.k8s.io/": { + "/apis/networking.k8s.io/": { "get": { "consumes": [ "application/json", @@ -60822,7 +62237,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get information of a group", - "operationId": "getInternalApiserverAPIGroup", + "operationId": "getNetworkingAPIGroup", "produces": [ "application/json", "application/yaml", @@ -60843,23 +62258,25 @@ "https" ], "tags": [ - "internalApiserver" + "networking" ] } }, - "/apis/internal.apiserver.k8s.io/v1alpha1/": { + "/apis/networking.k8s.io/v1/": { "get": { "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", - "operationId": "getInternalApiserverV1alpha1APIResources", + "operationId": "getNetworkingV1APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -60876,17 +62293,17 @@ "https" ], "tags": [ - "internalApiserver_v1alpha1" + "networking_v1" ] } }, - "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions": { + "/apis/networking.k8s.io/v1/ingressclasses": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of StorageVersion", - "operationId": "deleteInternalApiserverV1alpha1CollectionStorageVersion", + "description": "delete collection of IngressClass", + "operationId": "deleteNetworkingV1CollectionIngressClass", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -60907,6 +62324,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -60935,7 +62355,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -60952,21 +62373,21 @@ "https" ], "tags": [ - "internalApiserver_v1alpha1" + "networking_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "internal.apiserver.k8s.io", - "kind": "StorageVersion", - "version": "v1alpha1" + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind StorageVersion", - "operationId": "listInternalApiserverV1alpha1StorageVersion", + "description": "list or watch objects of kind IngressClass", + "operationId": "listNetworkingV1IngressClass", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -61003,14 +62424,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersionList" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClassList" } }, "401": { @@ -61021,13 +62444,13 @@ "https" ], "tags": [ - "internalApiserver_v1alpha1" + "networking_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "internal.apiserver.k8s.io", - "kind": "StorageVersion", - "version": "v1alpha1" + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" } }, "parameters": [ @@ -61039,15 +62462,15 @@ "consumes": [ "*/*" ], - "description": "create a StorageVersion", - "operationId": "createInternalApiserverV1alpha1StorageVersion", + "description": "create an IngressClass", + "operationId": "createNetworkingV1IngressClass", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" } }, { @@ -61071,25 +62494,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" } }, "401": { @@ -61100,23 +62524,23 @@ "https" ], "tags": [ - "internalApiserver_v1alpha1" + "networking_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "internal.apiserver.k8s.io", - "kind": "StorageVersion", - "version": "v1alpha1" + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" } } }, - "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}": { + "/apis/networking.k8s.io/v1/ingressclasses/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a StorageVersion", - "operationId": "deleteInternalApiserverV1alpha1StorageVersion", + "description": "delete an IngressClass", + "operationId": "deleteNetworkingV1IngressClass", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -61131,6 +62555,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -61141,7 +62568,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -61164,218 +62592,32 @@ "https" ], "tags": [ - "internalApiserver_v1alpha1" + "networking_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "internal.apiserver.k8s.io", - "kind": "StorageVersion", - "version": "v1alpha1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified StorageVersion", - "operationId": "readInternalApiserverV1alpha1StorageVersion", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "internalApiserver_v1alpha1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "internal.apiserver.k8s.io", - "kind": "StorageVersion", - "version": "v1alpha1" - } - }, - "parameters": [ - { - "description": "name of the StorageVersion", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified StorageVersion", - "operationId": "patchInternalApiserverV1alpha1StorageVersion", - "parameters": [ - { - "$ref": "#/parameters/body-78PwaGsr" - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldManager-7c6nTn1T" - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/force-tOGGb0Yi" - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "internalApiserver_v1alpha1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "internal.apiserver.k8s.io", - "kind": "StorageVersion", - "version": "v1alpha1" + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" } }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified StorageVersion", - "operationId": "replaceInternalApiserverV1alpha1StorageVersion", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "internalApiserver_v1alpha1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "internal.apiserver.k8s.io", - "kind": "StorageVersion", - "version": "v1alpha1" - } - } - }, - "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified StorageVersion", - "operationId": "readInternalApiserverV1alpha1StorageVersionStatus", + "description": "read the specified IngressClass", + "operationId": "readNetworkingV1IngressClass", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" } }, "401": { @@ -61386,18 +62628,18 @@ "https" ], "tags": [ - "internalApiserver_v1alpha1" + "networking_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "internal.apiserver.k8s.io", - "kind": "StorageVersion", - "version": "v1alpha1" + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" } }, "parameters": [ { - "description": "name of the StorageVersion", + "description": "name of the IngressClass", "in": "path", "name": "name", "required": true, @@ -61413,10 +62655,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update status of the specified StorageVersion", - "operationId": "patchInternalApiserverV1alpha1StorageVersionStatus", + "description": "partially update the specified IngressClass", + "operationId": "patchNetworkingV1IngressClass", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -61445,19 +62688,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" } }, "401": { @@ -61468,28 +62712,28 @@ "https" ], "tags": [ - "internalApiserver_v1alpha1" + "networking_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "internal.apiserver.k8s.io", - "kind": "StorageVersion", - "version": "v1alpha1" + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace status of the specified StorageVersion", - "operationId": "replaceInternalApiserverV1alpha1StorageVersionStatus", + "description": "replace the specified IngressClass", + "operationId": "replaceNetworkingV1IngressClass", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" } }, { @@ -61513,19 +62757,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" } }, "401": { @@ -61536,109 +62781,37 @@ "https" ], "tags": [ - "internalApiserver_v1alpha1" + "networking_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "internal.apiserver.k8s.io", - "kind": "StorageVersion", - "version": "v1alpha1" + "group": "networking.k8s.io", + "kind": "IngressClass", + "version": "v1" } } }, - "/apis/internal.apiserver.k8s.io/v1alpha1/watch/storageversions": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of StorageVersion. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchInternalApiserverV1alpha1StorageVersionList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "internalApiserver_v1alpha1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "internal.apiserver.k8s.io", - "kind": "StorageVersion", - "version": "v1alpha1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/internal.apiserver.k8s.io/v1alpha1/watch/storageversions/{name}": { + "/apis/networking.k8s.io/v1/ingresses": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind StorageVersion. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchInternalApiserverV1alpha1StorageVersion", + "description": "list or watch objects of kind Ingress", + "operationId": "listNetworkingV1IngressForAllNamespaces", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressList" } }, "401": { @@ -61649,13 +62822,13 @@ "https" ], "tags": [ - "internalApiserver_v1alpha1" + "networking_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "internal.apiserver.k8s.io", - "kind": "StorageVersion", - "version": "v1alpha1" + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" } }, "parameters": [ @@ -61674,14 +62847,6 @@ { "$ref": "#/parameters/limit-1NfNmdNH" }, - { - "description": "name of the StorageVersion", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, { "$ref": "#/parameters/pretty-tJGM1-ng" }, @@ -61702,79 +62867,13 @@ } ] }, - "/apis/networking.k8s.io/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get information of a group", - "operationId": "getNetworkingAPIGroup", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking" - ] - } - }, - "/apis/networking.k8s.io/v1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getNetworkingV1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ] - } - }, - "/apis/networking.k8s.io/v1/ingressclasses": { + "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of IngressClass", - "operationId": "deleteNetworkingV1CollectionIngressClass", + "description": "delete collection of Ingress", + "operationId": "deleteNetworkingV1CollectionNamespacedIngress", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -61795,6 +62894,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -61823,7 +62925,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -61845,7 +62948,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IngressClass", + "kind": "Ingress", "version": "v1" } }, @@ -61853,8 +62956,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind IngressClass", - "operationId": "listNetworkingV1IngressClass", + "description": "list or watch objects of kind Ingress", + "operationId": "listNetworkingV1NamespacedIngress", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -61891,14 +62994,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClassList" + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressList" } }, "401": { @@ -61914,11 +63019,14 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IngressClass", + "kind": "Ingress", "version": "v1" } }, "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, { "$ref": "#/parameters/pretty-tJGM1-ng" } @@ -61927,15 +63035,15 @@ "consumes": [ "*/*" ], - "description": "create an IngressClass", - "operationId": "createNetworkingV1IngressClass", + "description": "create an Ingress", + "operationId": "createNetworkingV1NamespacedIngress", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" } }, { @@ -61959,25 +63067,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" } }, "401": { @@ -61993,18 +63102,18 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IngressClass", + "kind": "Ingress", "version": "v1" } } }, - "/apis/networking.k8s.io/v1/ingressclasses/{name}": { + "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete an IngressClass", - "operationId": "deleteNetworkingV1IngressClass", + "description": "delete an Ingress", + "operationId": "deleteNetworkingV1NamespacedIngress", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -62019,6 +63128,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -62029,7 +63141,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -62057,7 +63170,7 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IngressClass", + "kind": "Ingress", "version": "v1" } }, @@ -62065,18 +63178,19 @@ "consumes": [ "*/*" ], - "description": "read the specified IngressClass", - "operationId": "readNetworkingV1IngressClass", + "description": "read the specified Ingress", + "operationId": "readNetworkingV1NamespacedIngress", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" } }, "401": { @@ -62092,19 +63206,22 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IngressClass", + "kind": "Ingress", "version": "v1" } }, "parameters": [ { - "description": "name of the IngressClass", + "description": "name of the Ingress", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, { "$ref": "#/parameters/pretty-tJGM1-ng" } @@ -62114,10 +63231,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified IngressClass", - "operationId": "patchNetworkingV1IngressClass", + "description": "partially update the specified Ingress", + "operationId": "patchNetworkingV1NamespacedIngress", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -62146,19 +63264,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" } }, "401": { @@ -62174,7 +63293,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IngressClass", + "kind": "Ingress", "version": "v1" } }, @@ -62182,15 +63301,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified IngressClass", - "operationId": "replaceNetworkingV1IngressClass", + "description": "replace the specified Ingress", + "operationId": "replaceNetworkingV1NamespacedIngress", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" } }, { @@ -62214,19 +63333,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" } }, "401": { @@ -62242,30 +63362,29 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IngressClass", + "kind": "Ingress", "version": "v1" } } }, - "/apis/networking.k8s.io/v1/ingresses": { + "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind Ingress", - "operationId": "listNetworkingV1IngressForAllNamespaces", + "description": "read status of the specified Ingress", + "operationId": "readNetworkingV1NamespacedIngressStatus", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressList" + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" } }, "401": { @@ -62278,7 +63397,7 @@ "tags": [ "networking_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "Ingress", @@ -62287,47 +63406,168 @@ }, "parameters": [ { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" + "description": "name of the Ingress", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true }, { - "$ref": "#/parameters/limit-1NfNmdNH" + "$ref": "#/parameters/namespace-vgWSWtn3" }, { "$ref": "#/parameters/pretty-tJGM1-ng" + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml", + "application/apply-patch+cbor" + ], + "description": "partially update status of the specified Ingress", + "operationId": "patchNetworkingV1NamespacedIngressStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" + } + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace status of the specified Ingress", + "operationId": "replaceNetworkingV1NamespacedIngressStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "$ref": "#/parameters/watch-XNNPZGbK" + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "Ingress", + "version": "v1" } - ] + } }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses": { + "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of Ingress", - "operationId": "deleteNetworkingV1CollectionNamespacedIngress", + "description": "delete collection of NetworkPolicy", + "operationId": "deleteNetworkingV1CollectionNamespacedNetworkPolicy", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -62348,6 +63588,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -62376,7 +63619,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -62398,7 +63642,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "Ingress", + "kind": "NetworkPolicy", "version": "v1" } }, @@ -62406,8 +63650,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind Ingress", - "operationId": "listNetworkingV1NamespacedIngress", + "description": "list or watch objects of kind NetworkPolicy", + "operationId": "listNetworkingV1NamespacedNetworkPolicy", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -62444,14 +63688,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.IngressList" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyList" } }, "401": { @@ -62467,7 +63713,7 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "Ingress", + "kind": "NetworkPolicy", "version": "v1" } }, @@ -62483,15 +63729,15 @@ "consumes": [ "*/*" ], - "description": "create an Ingress", - "operationId": "createNetworkingV1NamespacedIngress", + "description": "create a NetworkPolicy", + "operationId": "createNetworkingV1NamespacedNetworkPolicy", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } }, { @@ -62515,25 +63761,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } }, "401": { @@ -62549,18 +63796,18 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "Ingress", + "kind": "NetworkPolicy", "version": "v1" } } }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}": { + "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete an Ingress", - "operationId": "deleteNetworkingV1NamespacedIngress", + "description": "delete a NetworkPolicy", + "operationId": "deleteNetworkingV1NamespacedNetworkPolicy", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -62575,6 +63822,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -62585,7 +63835,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -62613,7 +63864,7 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "Ingress", + "kind": "NetworkPolicy", "version": "v1" } }, @@ -62621,18 +63872,19 @@ "consumes": [ "*/*" ], - "description": "read the specified Ingress", - "operationId": "readNetworkingV1NamespacedIngress", + "description": "read the specified NetworkPolicy", + "operationId": "readNetworkingV1NamespacedNetworkPolicy", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } }, "401": { @@ -62648,13 +63900,13 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "Ingress", + "kind": "NetworkPolicy", "version": "v1" } }, "parameters": [ { - "description": "name of the Ingress", + "description": "name of the NetworkPolicy", "in": "path", "name": "name", "required": true, @@ -62673,10 +63925,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified Ingress", - "operationId": "patchNetworkingV1NamespacedIngress", + "description": "partially update the specified NetworkPolicy", + "operationId": "patchNetworkingV1NamespacedNetworkPolicy", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -62705,19 +63958,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } }, "401": { @@ -62733,7 +63987,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "Ingress", + "kind": "NetworkPolicy", "version": "v1" } }, @@ -62741,15 +63995,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified Ingress", - "operationId": "replaceNetworkingV1NamespacedIngress", + "description": "replace the specified NetworkPolicy", + "operationId": "replaceNetworkingV1NamespacedNetworkPolicy", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } }, { @@ -62773,19 +64027,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } }, "401": { @@ -62801,28 +64056,32 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "Ingress", + "kind": "NetworkPolicy", "version": "v1" } } }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status": { + "/apis/networking.k8s.io/v1/networkpolicies": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified Ingress", - "operationId": "readNetworkingV1NamespacedIngressStatus", + "description": "list or watch objects of kind NetworkPolicy", + "operationId": "listNetworkingV1NetworkPolicyForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyList" } }, "401": { @@ -62835,79 +64094,70 @@ "tags": [ "networking_v1" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "Ingress", + "kind": "NetworkPolicy", "version": "v1" } }, "parameters": [ { - "description": "name of the Ingress", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" }, { - "$ref": "#/parameters/namespace-vgWSWtn3" + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" }, { "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" } - ], - "patch": { + ] + }, + "/apis/networking.k8s.io/v1/watch/ingressclasses": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified Ingress", - "operationId": "patchNetworkingV1NamespacedIngressStatus", - "parameters": [ - { - "$ref": "#/parameters/body-78PwaGsr" - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldManager-7c6nTn1T" - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/force-tOGGb0Yi" - } + "*/*" ], + "description": "watch individual changes to a list of IngressClass. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchNetworkingV1IngressClassList", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -62920,62 +64170,70 @@ "tags": [ "networking_v1" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "Ingress", + "kind": "IngressClass", "version": "v1" } }, - "put": { + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/networking.k8s.io/v1/watch/ingressclasses/{name}": { + "get": { "consumes": [ "*/*" ], - "description": "replace status of the specified Ingress", - "operationId": "replaceNetworkingV1NamespacedIngressStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], + "description": "watch changes to an object of kind IngressClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchNetworkingV1IngressClass", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -62988,76 +64246,78 @@ "tags": [ "networking_v1" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "Ingress", + "kind": "IngressClass", "version": "v1" } - } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "description": "name of the IngressClass", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies": { - "delete": { + "/apis/networking.k8s.io/v1/watch/ingresses": { + "get": { "consumes": [ "*/*" ], - "description": "delete collection of NetworkPolicy", - "operationId": "deleteNetworkingV1CollectionNamespacedNetworkPolicy", - "parameters": [ - { - "$ref": "#/parameters/body-2Y1dVQaQ" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/orphanDependents-uRB25kX5" - }, - { - "$ref": "#/parameters/propagationPolicy-6jk3prlO" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - } - ], + "description": "watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchNetworkingV1IngressListForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -63070,63 +64330,70 @@ "tags": [ "networking_v1" ], - "x-kubernetes-action": "deletecollection", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "NetworkPolicy", + "kind": "Ingress", "version": "v1" } }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/ingresses": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind NetworkPolicy", - "operationId": "listNetworkingV1NamespacedNetworkPolicy", - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ], + "description": "watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchNetworkingV1NamespacedIngressList", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -63139,76 +64406,73 @@ "tags": [ "networking_v1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "NetworkPolicy", + "kind": "Ingress", "version": "v1" } }, "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, { "$ref": "#/parameters/namespace-vgWSWtn3" }, { "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" } - ], - "post": { + ] + }, + "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/ingresses/{name}": { + "get": { "consumes": [ "*/*" ], - "description": "create a NetworkPolicy", - "operationId": "createNetworkingV1NamespacedNetworkPolicy", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], + "description": "watch changes to an object of kind Ingress. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchNetworkingV1NamespacedIngress", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -63221,301 +64485,10 @@ "tags": [ "networking_v1" ], - "x-kubernetes-action": "post", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - } - }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete a NetworkPolicy", - "operationId": "deleteNetworkingV1NamespacedNetworkPolicy", - "parameters": [ - { - "$ref": "#/parameters/body-2Y1dVQaQ" - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" - }, - { - "$ref": "#/parameters/orphanDependents-uRB25kX5" - }, - { - "$ref": "#/parameters/propagationPolicy-6jk3prlO" - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified NetworkPolicy", - "operationId": "readNetworkingV1NamespacedNetworkPolicy", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - }, - "parameters": [ - { - "description": "name of the NetworkPolicy", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified NetworkPolicy", - "operationId": "patchNetworkingV1NamespacedNetworkPolicy", - "parameters": [ - { - "$ref": "#/parameters/body-78PwaGsr" - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldManager-7c6nTn1T" - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/force-tOGGb0Yi" - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified NetworkPolicy", - "operationId": "replaceNetworkingV1NamespacedNetworkPolicy", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - } - }, - "/apis/networking.k8s.io/v1/networkpolicies": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind NetworkPolicy", - "operationId": "listNetworkingV1NetworkPolicyForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", + "kind": "Ingress", "version": "v1" } }, @@ -63535,6 +64508,17 @@ { "$ref": "#/parameters/limit-1NfNmdNH" }, + { + "description": "name of the Ingress", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, { "$ref": "#/parameters/pretty-tJGM1-ng" }, @@ -63555,19 +64539,21 @@ } ] }, - "/apis/networking.k8s.io/v1/watch/ingressclasses": { + "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of IngressClass. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchNetworkingV1IngressClassList", + "description": "watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchNetworkingV1NamespacedNetworkPolicyList", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -63589,7 +64575,7 @@ "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IngressClass", + "kind": "NetworkPolicy", "version": "v1" } }, @@ -63609,6 +64595,9 @@ { "$ref": "#/parameters/limit-1NfNmdNH" }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, { "$ref": "#/parameters/pretty-tJGM1-ng" }, @@ -63629,19 +64618,21 @@ } ] }, - "/apis/networking.k8s.io/v1/watch/ingressclasses/{name}": { + "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind IngressClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchNetworkingV1IngressClass", + "description": "watch changes to an object of kind NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchNetworkingV1NamespacedNetworkPolicy", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -63663,7 +64654,7 @@ "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IngressClass", + "kind": "NetworkPolicy", "version": "v1" } }, @@ -63684,13 +64675,16 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "description": "name of the IngressClass", + "description": "name of the NetworkPolicy", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, { "$ref": "#/parameters/pretty-tJGM1-ng" }, @@ -63711,19 +64705,21 @@ } ] }, - "/apis/networking.k8s.io/v1/watch/ingresses": { + "/apis/networking.k8s.io/v1/watch/networkpolicies": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchNetworkingV1IngressListForAllNamespaces", + "description": "watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchNetworkingV1NetworkPolicyListForAllNamespaces", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -63745,7 +64741,7 @@ "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "Ingress", + "kind": "NetworkPolicy", "version": "v1" } }, @@ -63785,25 +64781,107 @@ } ] }, - "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/ingresses": { + "/apis/networking.k8s.io/v1beta1/": { "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "description": "get available resources", + "operationId": "getNetworkingV1beta1APIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1beta1" + ] + } + }, + "/apis/networking.k8s.io/v1beta1/ipaddresses": { + "delete": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of Ingress. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchNetworkingV1NamespacedIngressList", + "description": "delete collection of IPAddress", + "operationId": "deleteNetworkingV1beta1CollectionIPAddress", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -63814,73 +64892,67 @@ "https" ], "tags": [ - "networking_v1" + "networking_v1beta1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1" + "kind": "IPAddress", + "version": "v1beta1" } }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/ingresses/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind Ingress. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchNetworkingV1NamespacedIngress", + "description": "list or watch objects of kind IPAddress", + "operationId": "listNetworkingV1beta1IPAddress", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddressList" } }, "401": { @@ -63891,479 +64963,13 @@ "https" ], "tags": [ - "networking_v1" + "networking_v1beta1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "Ingress", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "description": "name of the Ingress", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchNetworkingV1NamespacedNetworkPolicyList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchNetworkingV1NamespacedNetworkPolicy", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "description": "name of the NetworkPolicy", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/networking.k8s.io/v1/watch/networkpolicies": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of NetworkPolicy. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchNetworkingV1NetworkPolicyListForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/networking.k8s.io/v1alpha1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "description": "get available resources", - "operationId": "getNetworkingV1alpha1APIResources", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1alpha1" - ] - } - }, - "/apis/networking.k8s.io/v1alpha1/ipaddresses": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of IPAddress", - "operationId": "deleteNetworkingV1alpha1CollectionIPAddress", - "parameters": [ - { - "$ref": "#/parameters/body-2Y1dVQaQ" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/orphanDependents-uRB25kX5" - }, - { - "$ref": "#/parameters/propagationPolicy-6jk3prlO" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1alpha1" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IPAddress", - "version": "v1alpha1" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind IPAddress", - "operationId": "listNetworkingV1alpha1IPAddress", - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddressList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "networking_v1alpha1" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "IPAddress", - "version": "v1alpha1" + "kind": "IPAddress", + "version": "v1beta1" } }, "parameters": [ @@ -64376,14 +64982,14 @@ "*/*" ], "description": "create an IPAddress", - "operationId": "createNetworkingV1alpha1IPAddress", + "operationId": "createNetworkingV1beta1IPAddress", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress" } }, { @@ -64407,25 +65013,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress" } }, "401": { @@ -64436,23 +65043,23 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "IPAddress", - "version": "v1alpha1" + "version": "v1beta1" } } }, - "/apis/networking.k8s.io/v1alpha1/ipaddresses/{name}": { + "/apis/networking.k8s.io/v1beta1/ipaddresses/{name}": { "delete": { "consumes": [ "*/*" ], "description": "delete an IPAddress", - "operationId": "deleteNetworkingV1alpha1IPAddress", + "operationId": "deleteNetworkingV1beta1IPAddress", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -64467,6 +65074,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -64477,7 +65087,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -64500,13 +65111,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "IPAddress", - "version": "v1alpha1" + "version": "v1beta1" } }, "get": { @@ -64514,17 +65125,18 @@ "*/*" ], "description": "read the specified IPAddress", - "operationId": "readNetworkingV1alpha1IPAddress", + "operationId": "readNetworkingV1beta1IPAddress", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress" } }, "401": { @@ -64535,13 +65147,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "IPAddress", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -64562,10 +65174,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified IPAddress", - "operationId": "patchNetworkingV1alpha1IPAddress", + "operationId": "patchNetworkingV1beta1IPAddress", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -64594,19 +65207,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress" } }, "401": { @@ -64617,13 +65231,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "IPAddress", - "version": "v1alpha1" + "version": "v1beta1" } }, "put": { @@ -64631,14 +65245,14 @@ "*/*" ], "description": "replace the specified IPAddress", - "operationId": "replaceNetworkingV1alpha1IPAddress", + "operationId": "replaceNetworkingV1beta1IPAddress", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress" } }, { @@ -64662,19 +65276,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress" } }, "401": { @@ -64685,23 +65300,23 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "IPAddress", - "version": "v1alpha1" + "version": "v1beta1" } } }, - "/apis/networking.k8s.io/v1alpha1/servicecidrs": { + "/apis/networking.k8s.io/v1beta1/servicecidrs": { "delete": { "consumes": [ "*/*" ], "description": "delete collection of ServiceCIDR", - "operationId": "deleteNetworkingV1alpha1CollectionServiceCIDR", + "operationId": "deleteNetworkingV1beta1CollectionServiceCIDR", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -64722,6 +65337,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -64750,7 +65368,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -64767,13 +65386,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" } }, "get": { @@ -64781,7 +65400,7 @@ "*/*" ], "description": "list or watch objects of kind ServiceCIDR", - "operationId": "listNetworkingV1alpha1ServiceCIDR", + "operationId": "listNetworkingV1beta1ServiceCIDR", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -64818,14 +65437,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDRList" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDRList" } }, "401": { @@ -64836,13 +65457,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -64855,14 +65476,14 @@ "*/*" ], "description": "create a ServiceCIDR", - "operationId": "createNetworkingV1alpha1ServiceCIDR", + "operationId": "createNetworkingV1beta1ServiceCIDR", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, { @@ -64886,25 +65507,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, "401": { @@ -64915,23 +65537,23 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" } } }, - "/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}": { + "/apis/networking.k8s.io/v1beta1/servicecidrs/{name}": { "delete": { "consumes": [ "*/*" ], "description": "delete a ServiceCIDR", - "operationId": "deleteNetworkingV1alpha1ServiceCIDR", + "operationId": "deleteNetworkingV1beta1ServiceCIDR", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -64946,6 +65568,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -64956,7 +65581,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -64979,13 +65605,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" } }, "get": { @@ -64993,17 +65619,18 @@ "*/*" ], "description": "read the specified ServiceCIDR", - "operationId": "readNetworkingV1alpha1ServiceCIDR", + "operationId": "readNetworkingV1beta1ServiceCIDR", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, "401": { @@ -65014,13 +65641,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -65041,10 +65668,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified ServiceCIDR", - "operationId": "patchNetworkingV1alpha1ServiceCIDR", + "operationId": "patchNetworkingV1beta1ServiceCIDR", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -65073,19 +65701,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, "401": { @@ -65096,13 +65725,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" } }, "put": { @@ -65110,14 +65739,14 @@ "*/*" ], "description": "replace the specified ServiceCIDR", - "operationId": "replaceNetworkingV1alpha1ServiceCIDR", + "operationId": "replaceNetworkingV1beta1ServiceCIDR", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, { @@ -65141,19 +65770,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, "401": { @@ -65164,33 +65794,34 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" } } }, - "/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status": { + "/apis/networking.k8s.io/v1beta1/servicecidrs/{name}/status": { "get": { "consumes": [ "*/*" ], "description": "read status of the specified ServiceCIDR", - "operationId": "readNetworkingV1alpha1ServiceCIDRStatus", + "operationId": "readNetworkingV1beta1ServiceCIDRStatus", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, "401": { @@ -65201,13 +65832,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -65228,10 +65859,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified ServiceCIDR", - "operationId": "patchNetworkingV1alpha1ServiceCIDRStatus", + "operationId": "patchNetworkingV1beta1ServiceCIDRStatus", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -65260,19 +65892,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, "401": { @@ -65283,13 +65916,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" } }, "put": { @@ -65297,14 +65930,14 @@ "*/*" ], "description": "replace status of the specified ServiceCIDR", - "operationId": "replaceNetworkingV1alpha1ServiceCIDRStatus", + "operationId": "replaceNetworkingV1beta1ServiceCIDRStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, { @@ -65328,19 +65961,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR" } }, "401": { @@ -65351,29 +65985,31 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" } } }, - "/apis/networking.k8s.io/v1alpha1/watch/ipaddresses": { + "/apis/networking.k8s.io/v1beta1/watch/ipaddresses": { "get": { "consumes": [ "*/*" ], "description": "watch individual changes to a list of IPAddress. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchNetworkingV1alpha1IPAddressList", + "operationId": "watchNetworkingV1beta1IPAddressList", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -65390,13 +66026,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "IPAddress", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -65435,19 +66071,21 @@ } ] }, - "/apis/networking.k8s.io/v1alpha1/watch/ipaddresses/{name}": { + "/apis/networking.k8s.io/v1beta1/watch/ipaddresses/{name}": { "get": { "consumes": [ "*/*" ], "description": "watch changes to an object of kind IPAddress. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchNetworkingV1alpha1IPAddress", + "operationId": "watchNetworkingV1beta1IPAddress", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -65464,13 +66102,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "IPAddress", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -65517,19 +66155,21 @@ } ] }, - "/apis/networking.k8s.io/v1alpha1/watch/servicecidrs": { + "/apis/networking.k8s.io/v1beta1/watch/servicecidrs": { "get": { "consumes": [ "*/*" ], "description": "watch individual changes to a list of ServiceCIDR. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchNetworkingV1alpha1ServiceCIDRList", + "operationId": "watchNetworkingV1beta1ServiceCIDRList", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -65546,13 +66186,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -65591,19 +66231,21 @@ } ] }, - "/apis/networking.k8s.io/v1alpha1/watch/servicecidrs/{name}": { + "/apis/networking.k8s.io/v1beta1/watch/servicecidrs/{name}": { "get": { "consumes": [ "*/*" ], "description": "watch changes to an object of kind ServiceCIDR. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchNetworkingV1alpha1ServiceCIDR", + "operationId": "watchNetworkingV1beta1ServiceCIDR", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -65620,13 +66262,13 @@ "https" ], "tags": [ - "networking_v1alpha1" + "networking_v1beta1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", "kind": "ServiceCIDR", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -65711,14 +66353,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getNodeV1APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -65766,6 +66410,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -65794,7 +66441,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -65862,8 +66510,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -65930,7 +66580,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -65990,6 +66641,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -66000,7 +66654,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -66041,7 +66696,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -66085,7 +66741,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified RuntimeClass", "operationId": "patchNodeV1RuntimeClass", @@ -66117,7 +66774,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -66185,7 +66843,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -66229,8 +66888,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -66303,8 +66964,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -66412,14 +67075,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getPolicyV1APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -66467,6 +67132,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -66495,7 +67163,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -66563,8 +67232,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -66634,7 +67305,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -66694,6 +67366,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -66704,7 +67379,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -66745,7 +67421,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -66792,7 +67469,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified PodDisruptionBudget", "operationId": "patchPolicyV1NamespacedPodDisruptionBudget", @@ -66824,7 +67502,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -66892,7 +67571,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -66935,7 +67615,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -66982,7 +67663,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified PodDisruptionBudget", "operationId": "patchPolicyV1NamespacedPodDisruptionBudgetStatus", @@ -67014,7 +67696,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -67082,7 +67765,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -67126,8 +67810,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -67200,8 +67886,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -67277,8 +67965,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -67362,8 +68052,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -67463,14 +68155,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getRbacAuthorizationV1APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -67518,6 +68212,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -67546,7 +68243,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -67614,8 +68312,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -67682,7 +68382,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -67742,6 +68443,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -67752,7 +68456,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -67793,7 +68498,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -67837,7 +68543,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified ClusterRoleBinding", "operationId": "patchRbacAuthorizationV1ClusterRoleBinding", @@ -67869,7 +68576,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -67937,7 +68645,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -67997,6 +68706,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -68025,7 +68737,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -68093,8 +68806,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -68161,7 +68876,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -68221,6 +68937,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -68231,7 +68950,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -68272,7 +68992,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -68316,7 +69037,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified ClusterRole", "operationId": "patchRbacAuthorizationV1ClusterRole", @@ -68348,7 +69070,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -68416,7 +69139,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -68476,6 +69200,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -68504,7 +69231,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -68572,8 +69300,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -68643,7 +69373,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -68703,6 +69434,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -68713,7 +69447,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -68754,7 +69489,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -68801,7 +69537,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified RoleBinding", "operationId": "patchRbacAuthorizationV1NamespacedRoleBinding", @@ -68833,7 +69570,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -68901,7 +69639,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -68961,6 +69700,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -68989,7 +69731,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -69057,8 +69800,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -69128,7 +69873,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -69188,6 +69934,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -69198,7 +69947,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -69239,7 +69989,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -69286,7 +70037,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified Role", "operationId": "patchRbacAuthorizationV1NamespacedRole", @@ -69318,7 +70070,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -69386,7 +70139,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -69430,8 +70184,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -69504,8 +70260,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -69578,8 +70336,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -69652,8 +70412,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -69734,8 +70496,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -69808,8 +70572,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -69890,8 +70656,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -69967,8 +70735,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -70052,8 +70822,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -70129,8 +70901,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -70214,8 +70988,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -70288,8 +71064,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -70384,19 +71162,21 @@ ] } }, - "/apis/resource.k8s.io/v1alpha2/": { + "/apis/resource.k8s.io/v1alpha3/": { "get": { "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", - "operationId": "getResourceV1alpha2APIResources", + "operationId": "getResourceV1alpha3APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -70413,17 +71193,17 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ] } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts": { + "/apis/resource.k8s.io/v1alpha3/deviceclasses": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of PodSchedulingContext", - "operationId": "deleteResourceV1alpha2CollectionNamespacedPodSchedulingContext", + "description": "delete collection of DeviceClass", + "operationId": "deleteResourceV1alpha3CollectionDeviceClass", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -70444,6 +71224,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -70472,7 +71255,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -70489,21 +71273,21 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "DeviceClass", + "version": "v1alpha3" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind PodSchedulingContext", - "operationId": "listResourceV1alpha2NamespacedPodSchedulingContext", + "description": "list or watch objects of kind DeviceClass", + "operationId": "listResourceV1alpha3DeviceClass", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -70540,14 +71324,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContextList" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClassList" } }, "401": { @@ -70558,19 +71344,16 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "DeviceClass", + "version": "v1alpha3" } }, "parameters": [ - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, { "$ref": "#/parameters/pretty-tJGM1-ng" } @@ -70579,15 +71362,15 @@ "consumes": [ "*/*" ], - "description": "create a PodSchedulingContext", - "operationId": "createResourceV1alpha2NamespacedPodSchedulingContext", + "description": "create a DeviceClass", + "operationId": "createResourceV1alpha3DeviceClass", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClass" } }, { @@ -70611,25 +71394,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClass" } }, "401": { @@ -70640,23 +71424,23 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "DeviceClass", + "version": "v1alpha3" } } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name}": { + "/apis/resource.k8s.io/v1alpha3/deviceclasses/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a PodSchedulingContext", - "operationId": "deleteResourceV1alpha2NamespacedPodSchedulingContext", + "description": "delete a DeviceClass", + "operationId": "deleteResourceV1alpha3DeviceClass", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -70671,6 +71455,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -70681,19 +71468,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClass" } }, "401": { @@ -70704,31 +71492,32 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "DeviceClass", + "version": "v1alpha3" } }, "get": { "consumes": [ "*/*" ], - "description": "read the specified PodSchedulingContext", - "operationId": "readResourceV1alpha2NamespacedPodSchedulingContext", + "description": "read the specified DeviceClass", + "operationId": "readResourceV1alpha3DeviceClass", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClass" } }, "401": { @@ -70739,27 +71528,24 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "DeviceClass", + "version": "v1alpha3" } }, "parameters": [ { - "description": "name of the PodSchedulingContext", + "description": "name of the DeviceClass", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, { "$ref": "#/parameters/pretty-tJGM1-ng" } @@ -70769,10 +71555,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified PodSchedulingContext", - "operationId": "patchResourceV1alpha2NamespacedPodSchedulingContext", + "description": "partially update the specified DeviceClass", + "operationId": "patchResourceV1alpha3DeviceClass", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -70801,19 +71588,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClass" } }, "401": { @@ -70824,28 +71612,28 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "DeviceClass", + "version": "v1alpha3" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified PodSchedulingContext", - "operationId": "replaceResourceV1alpha2NamespacedPodSchedulingContext", + "description": "replace the specified DeviceClass", + "operationId": "replaceResourceV1alpha3DeviceClass", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClass" } }, { @@ -70869,19 +71657,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.DeviceClass" } }, "401": { @@ -70892,33 +71681,82 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "DeviceClass", + "version": "v1alpha3" } } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name}/status": { - "get": { + "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims": { + "delete": { "consumes": [ "*/*" ], - "description": "read status of the specified PodSchedulingContext", - "operationId": "readResourceV1alpha2NamespacedPodSchedulingContextStatus", + "description": "delete collection of ResourceClaim", + "operationId": "deleteResourceV1alpha3CollectionNamespacedResourceClaim", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -70929,81 +71767,67 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1alpha3" } }, - "parameters": [ - { - "description": "name of the PodSchedulingContext", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - } - ], - "patch": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "*/*" ], - "description": "partially update status of the specified PodSchedulingContext", - "operationId": "patchResourceV1alpha2NamespacedPodSchedulingContextStatus", + "description": "list or watch objects of kind ResourceClaim", + "operationId": "listResourceV1alpha3NamespacedResourceClaim", "parameters": [ { - "$ref": "#/parameters/body-78PwaGsr" + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" }, { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true + "$ref": "#/parameters/continue-QfD61s0i" }, { - "$ref": "#/parameters/fieldManager-7c6nTn1T" + "$ref": "#/parameters/fieldSelector-xIcQKXFG" }, { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true + "$ref": "#/parameters/labelSelector-5Zw57w4C" }, { - "$ref": "#/parameters/force-tOGGb0Yi" + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" } ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimList" } }, "401": { @@ -71014,28 +71838,36 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1alpha3" } }, - "put": { + "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ], + "post": { "consumes": [ "*/*" ], - "description": "replace status of the specified PodSchedulingContext", - "operationId": "replaceResourceV1alpha2NamespacedPodSchedulingContextStatus", + "description": "create a ResourceClaim", + "operationId": "createResourceV1alpha3NamespacedResourceClaim", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, { @@ -71059,19 +71891,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContext" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, "401": { @@ -71082,30 +71921,27 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], - "x-kubernetes-action": "put", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1alpha3" } } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters": { + "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of ResourceClaimParameters", - "operationId": "deleteResourceV1alpha2CollectionNamespacedResourceClaimParameters", + "description": "delete a ResourceClaim", + "operationId": "deleteResourceV1alpha3NamespacedResourceClaim", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, { "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", "in": "query", @@ -71113,47 +71949,36 @@ "type": "string", "uniqueItems": true }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, { "$ref": "#/parameters/propagationPolicy-6jk3prlO" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" } ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, "401": { @@ -71164,65 +71989,32 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], - "x-kubernetes-action": "deletecollection", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1alpha3" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind ResourceClaimParameters", - "operationId": "listResourceV1alpha2NamespacedResourceClaimParameters", - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ], + "description": "read the specified ResourceClaim", + "operationId": "readResourceV1alpha3NamespacedResourceClaim", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParametersList" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, "401": { @@ -71233,16 +72025,24 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1alpha3" } }, "parameters": [ + { + "description": "name of the ResourceClaim", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, { "$ref": "#/parameters/namespace-vgWSWtn3" }, @@ -71250,20 +72050,19 @@ "$ref": "#/parameters/pretty-tJGM1-ng" } ], - "post": { + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "create ResourceClaimParameters", - "operationId": "createResourceV1alpha2NamespacedResourceClaimParameters", + "description": "partially update the specified ResourceClaim", + "operationId": "patchResourceV1alpha3NamespacedResourceClaim", "parameters": [ { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParameters" - } + "$ref": "#/parameters/body-78PwaGsr" }, { "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", @@ -71273,7 +72072,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" + "$ref": "#/parameters/fieldManager-7c6nTn1T" }, { "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", @@ -71281,30 +72080,28 @@ "name": "fieldValidation", "type": "string", "uniqueItems": true + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" } ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParameters" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParameters" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParameters" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, "401": { @@ -71315,26 +72112,29 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], - "x-kubernetes-action": "post", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1alpha3" } - } - }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters/{name}": { - "delete": { + }, + "put": { "consumes": [ "*/*" ], - "description": "delete ResourceClaimParameters", - "operationId": "deleteResourceV1alpha2NamespacedResourceClaimParameters", + "description": "replace the specified ResourceClaim", + "operationId": "replaceResourceV1alpha3NamespacedResourceClaim", "parameters": [ { - "$ref": "#/parameters/body-2Y1dVQaQ" + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" + } }, { "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", @@ -71344,31 +72144,33 @@ "uniqueItems": true }, { - "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" - }, - { - "$ref": "#/parameters/orphanDependents-uRB25kX5" + "$ref": "#/parameters/fieldManager-Qy4HdaTW" }, { - "$ref": "#/parameters/propagationPolicy-6jk3prlO" + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true } ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParameters" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, - "202": { - "description": "Accepted", + "201": { + "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParameters" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, "401": { @@ -71379,31 +72181,34 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], - "x-kubernetes-action": "delete", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1alpha3" } - }, + } + }, + "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaims/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "read the specified ResourceClaimParameters", - "operationId": "readResourceV1alpha2NamespacedResourceClaimParameters", + "description": "read status of the specified ResourceClaim", + "operationId": "readResourceV1alpha3NamespacedResourceClaimStatus", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParameters" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, "401": { @@ -71414,18 +72219,18 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1alpha3" } }, "parameters": [ { - "description": "name of the ResourceClaimParameters", + "description": "name of the ResourceClaim", "in": "path", "name": "name", "required": true, @@ -71444,10 +72249,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified ResourceClaimParameters", - "operationId": "patchResourceV1alpha2NamespacedResourceClaimParameters", + "description": "partially update status of the specified ResourceClaim", + "operationId": "patchResourceV1alpha3NamespacedResourceClaimStatus", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -71476,19 +72282,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParameters" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParameters" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, "401": { @@ -71499,28 +72306,28 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1alpha3" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified ResourceClaimParameters", - "operationId": "replaceResourceV1alpha2NamespacedResourceClaimParameters", + "description": "replace status of the specified ResourceClaim", + "operationId": "replaceResourceV1alpha3NamespacedResourceClaimStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParameters" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, { @@ -71544,19 +72351,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParameters" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParameters" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaim" } }, "401": { @@ -71567,23 +72375,23 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1alpha3" } } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims": { + "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of ResourceClaim", - "operationId": "deleteResourceV1alpha2CollectionNamespacedResourceClaim", + "description": "delete collection of ResourceClaimTemplate", + "operationId": "deleteResourceV1alpha3CollectionNamespacedResourceClaimTemplate", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -71604,6 +72412,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -71632,7 +72443,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -71649,21 +72461,21 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaim", - "version": "v1alpha2" + "kind": "ResourceClaimTemplate", + "version": "v1alpha3" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind ResourceClaim", - "operationId": "listResourceV1alpha2NamespacedResourceClaim", + "description": "list or watch objects of kind ResourceClaimTemplate", + "operationId": "listResourceV1alpha3NamespacedResourceClaimTemplate", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -71700,14 +72512,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimList" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplateList" } }, "401": { @@ -71718,13 +72532,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaim", - "version": "v1alpha2" + "kind": "ResourceClaimTemplate", + "version": "v1alpha3" } }, "parameters": [ @@ -71739,15 +72553,15 @@ "consumes": [ "*/*" ], - "description": "create a ResourceClaim", - "operationId": "createResourceV1alpha2NamespacedResourceClaim", + "description": "create a ResourceClaimTemplate", + "operationId": "createResourceV1alpha3NamespacedResourceClaimTemplate", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplate" } }, { @@ -71771,25 +72585,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplate" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplate" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplate" } }, "401": { @@ -71800,23 +72615,23 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaim", - "version": "v1alpha2" + "kind": "ResourceClaimTemplate", + "version": "v1alpha3" } } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name}": { + "/apis/resource.k8s.io/v1alpha3/namespaces/{namespace}/resourceclaimtemplates/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a ResourceClaim", - "operationId": "deleteResourceV1alpha2NamespacedResourceClaim", + "description": "delete a ResourceClaimTemplate", + "operationId": "deleteResourceV1alpha3NamespacedResourceClaimTemplate", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -71831,6 +72646,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -71841,19 +72659,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplate" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplate" } }, "401": { @@ -71864,31 +72683,32 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaim", - "version": "v1alpha2" + "kind": "ResourceClaimTemplate", + "version": "v1alpha3" } }, "get": { "consumes": [ "*/*" ], - "description": "read the specified ResourceClaim", - "operationId": "readResourceV1alpha2NamespacedResourceClaim", + "description": "read the specified ResourceClaimTemplate", + "operationId": "readResourceV1alpha3NamespacedResourceClaimTemplate", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplate" } }, "401": { @@ -71899,18 +72719,18 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaim", - "version": "v1alpha2" + "kind": "ResourceClaimTemplate", + "version": "v1alpha3" } }, "parameters": [ { - "description": "name of the ResourceClaim", + "description": "name of the ResourceClaimTemplate", "in": "path", "name": "name", "required": true, @@ -71929,10 +72749,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified ResourceClaim", - "operationId": "patchResourceV1alpha2NamespacedResourceClaim", + "description": "partially update the specified ResourceClaimTemplate", + "operationId": "patchResourceV1alpha3NamespacedResourceClaimTemplate", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -71961,19 +72782,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplate" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplate" } }, "401": { @@ -71984,28 +72806,28 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaim", - "version": "v1alpha2" + "kind": "ResourceClaimTemplate", + "version": "v1alpha3" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified ResourceClaim", - "operationId": "replaceResourceV1alpha2NamespacedResourceClaim", + "description": "replace the specified ResourceClaimTemplate", + "operationId": "replaceResourceV1alpha3NamespacedResourceClaimTemplate", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplate" } }, { @@ -72029,19 +72851,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplate" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplate" } }, "401": { @@ -72052,33 +72875,37 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaim", - "version": "v1alpha2" + "kind": "ResourceClaimTemplate", + "version": "v1alpha3" } } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name}/status": { + "/apis/resource.k8s.io/v1alpha3/resourceclaims": { "get": { "consumes": [ "*/*" ], - "description": "read status of the specified ResourceClaim", - "operationId": "readResourceV1alpha2NamespacedResourceClaimStatus", + "description": "list or watch objects of kind ResourceClaim", + "operationId": "listResourceV1alpha3ResourceClaimForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimList" } }, "401": { @@ -72089,81 +72916,72 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], - "x-kubernetes-action": "get", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ { - "description": "name of the ResourceClaim", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" }, { - "$ref": "#/parameters/namespace-vgWSWtn3" + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" }, { "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" } - ], - "patch": { + ] + }, + "/apis/resource.k8s.io/v1alpha3/resourceclaimtemplates": { + "get": { "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update status of the specified ResourceClaim", - "operationId": "patchResourceV1alpha2NamespacedResourceClaimStatus", - "parameters": [ - { - "$ref": "#/parameters/body-78PwaGsr" - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldManager-7c6nTn1T" - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/force-tOGGb0Yi" - } + "*/*" ], + "description": "list or watch objects of kind ResourceClaimTemplate", + "operationId": "listResourceV1alpha3ResourceClaimTemplateForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceClaimTemplateList" } }, "401": { @@ -72174,91 +72992,58 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], - "x-kubernetes-action": "patch", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaim", - "version": "v1alpha2" + "kind": "ResourceClaimTemplate", + "version": "v1alpha3" } }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace status of the specified ResourceClaim", - "operationId": "replaceResourceV1alpha2NamespacedResourceClaimStatus", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaim" - } - }, - "401": { - "description": "Unauthorized" - } + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaim", - "version": "v1alpha2" + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" } - } + ] }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates": { + "/apis/resource.k8s.io/v1alpha3/resourceslices": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of ResourceClaimTemplate", - "operationId": "deleteResourceV1alpha2CollectionNamespacedResourceClaimTemplate", + "description": "delete collection of ResourceSlice", + "operationId": "deleteResourceV1alpha3CollectionResourceSlice", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -72279,6 +73064,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -72307,7 +73095,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -72324,21 +73113,21 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "kind": "ResourceSlice", + "version": "v1alpha3" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind ResourceClaimTemplate", - "operationId": "listResourceV1alpha2NamespacedResourceClaimTemplate", + "description": "list or watch objects of kind ResourceSlice", + "operationId": "listResourceV1alpha3ResourceSlice", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -72375,14 +73164,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplateList" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSliceList" } }, "401": { @@ -72393,19 +73184,16 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "kind": "ResourceSlice", + "version": "v1alpha3" } }, "parameters": [ - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, { "$ref": "#/parameters/pretty-tJGM1-ng" } @@ -72414,15 +73202,15 @@ "consumes": [ "*/*" ], - "description": "create a ResourceClaimTemplate", - "operationId": "createResourceV1alpha2NamespacedResourceClaimTemplate", + "description": "create a ResourceSlice", + "operationId": "createResourceV1alpha3ResourceSlice", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSlice" } }, { @@ -72446,25 +73234,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSlice" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSlice" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSlice" } }, "401": { @@ -72475,23 +73264,23 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "kind": "ResourceSlice", + "version": "v1alpha3" } } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates/{name}": { + "/apis/resource.k8s.io/v1alpha3/resourceslices/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a ResourceClaimTemplate", - "operationId": "deleteResourceV1alpha2NamespacedResourceClaimTemplate", + "description": "delete a ResourceSlice", + "operationId": "deleteResourceV1alpha3ResourceSlice", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -72506,6 +73295,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -72516,19 +73308,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSlice" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSlice" } }, "401": { @@ -72539,31 +73332,32 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "kind": "ResourceSlice", + "version": "v1alpha3" } }, "get": { "consumes": [ "*/*" ], - "description": "read the specified ResourceClaimTemplate", - "operationId": "readResourceV1alpha2NamespacedResourceClaimTemplate", + "description": "read the specified ResourceSlice", + "operationId": "readResourceV1alpha3ResourceSlice", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSlice" } }, "401": { @@ -72574,27 +73368,24 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "kind": "ResourceSlice", + "version": "v1alpha3" } }, "parameters": [ { - "description": "name of the ResourceClaimTemplate", + "description": "name of the ResourceSlice", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, { "$ref": "#/parameters/pretty-tJGM1-ng" } @@ -72604,10 +73395,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified ResourceClaimTemplate", - "operationId": "patchResourceV1alpha2NamespacedResourceClaimTemplate", + "description": "partially update the specified ResourceSlice", + "operationId": "patchResourceV1alpha3ResourceSlice", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -72636,19 +73428,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSlice" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSlice" } }, "401": { @@ -72659,28 +73452,28 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "kind": "ResourceSlice", + "version": "v1alpha3" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified ResourceClaimTemplate", - "operationId": "replaceResourceV1alpha2NamespacedResourceClaimTemplate", + "description": "replace the specified ResourceSlice", + "operationId": "replaceResourceV1alpha3ResourceSlice", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSlice" } }, { @@ -72704,19 +73497,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSlice" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplate" + "$ref": "#/definitions/io.k8s.api.resource.v1alpha3.ResourceSlice" } }, "401": { @@ -72727,147 +73521,37 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "kind": "ResourceSlice", + "version": "v1alpha3" } } }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete collection of ResourceClassParameters", - "operationId": "deleteResourceV1alpha2CollectionNamespacedResourceClassParameters", - "parameters": [ - { - "$ref": "#/parameters/body-2Y1dVQaQ" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/orphanDependents-uRB25kX5" - }, - { - "$ref": "#/parameters/propagationPolicy-6jk3prlO" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - } - }, + "/apis/resource.k8s.io/v1alpha3/watch/deviceclasses": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind ResourceClassParameters", - "operationId": "listResourceV1alpha2NamespacedResourceClassParameters", - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ], + "description": "watch individual changes to a list of DeviceClass. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchResourceV1alpha3DeviceClassList", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParametersList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -72878,369 +73562,72 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" + "kind": "DeviceClass", + "version": "v1alpha3" } }, "parameters": [ { - "$ref": "#/parameters/namespace-vgWSWtn3" + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" }, { - "$ref": "#/parameters/pretty-tJGM1-ng" - } - ], - "post": { - "consumes": [ - "*/*" - ], - "description": "create ResourceClassParameters", - "operationId": "createResourceV1alpha2NamespacedResourceClassParameters", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParameters" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParameters" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParameters" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParameters" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - } - } - }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters/{name}": { - "delete": { - "consumes": [ - "*/*" - ], - "description": "delete ResourceClassParameters", - "operationId": "deleteResourceV1alpha2NamespacedResourceClassParameters", - "parameters": [ - { - "$ref": "#/parameters/body-2Y1dVQaQ" - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" - }, - { - "$ref": "#/parameters/orphanDependents-uRB25kX5" - }, - { - "$ref": "#/parameters/propagationPolicy-6jk3prlO" - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParameters" - } - }, - "202": { - "description": "Accepted", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParameters" - } - }, - "401": { - "description": "Unauthorized" - } + "$ref": "#/parameters/continue-QfD61s0i" }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - } - }, - "get": { - "consumes": [ - "*/*" - ], - "description": "read the specified ResourceClassParameters", - "operationId": "readResourceV1alpha2NamespacedResourceClassParameters", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParameters" - } - }, - "401": { - "description": "Unauthorized" - } + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - } - }, - "parameters": [ { - "description": "name of the ResourceClassParameters", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true + "$ref": "#/parameters/labelSelector-5Zw57w4C" }, { - "$ref": "#/parameters/namespace-vgWSWtn3" + "$ref": "#/parameters/limit-1NfNmdNH" }, { "$ref": "#/parameters/pretty-tJGM1-ng" - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ResourceClassParameters", - "operationId": "patchResourceV1alpha2NamespacedResourceClassParameters", - "parameters": [ - { - "$ref": "#/parameters/body-78PwaGsr" - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldManager-7c6nTn1T" - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/force-tOGGb0Yi" - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParameters" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParameters" - } - }, - "401": { - "description": "Unauthorized" - } }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - } - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ResourceClassParameters", - "operationId": "replaceResourceV1alpha2NamespacedResourceClassParameters", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParameters" - } - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/fieldManager-Qy4HdaTW" - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParameters" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParameters" - } - }, - "401": { - "description": "Unauthorized" - } + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" } - } + ] }, - "/apis/resource.k8s.io/v1alpha2/podschedulingcontexts": { + "/apis/resource.k8s.io/v1alpha3/watch/deviceclasses/{name}": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind PodSchedulingContext", - "operationId": "listResourceV1alpha2PodSchedulingContextForAllNamespaces", + "description": "watch changes to an object of kind DeviceClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchResourceV1alpha3DeviceClass", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.PodSchedulingContextList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -73251,13 +73638,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "DeviceClass", + "version": "v1alpha3" } }, "parameters": [ @@ -73276,6 +73663,14 @@ { "$ref": "#/parameters/limit-1NfNmdNH" }, + { + "description": "name of the DeviceClass", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, { "$ref": "#/parameters/pretty-tJGM1-ng" }, @@ -73296,25 +73691,27 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/resourceclaimparameters": { + "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaims": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind ResourceClaimParameters", - "operationId": "listResourceV1alpha2ResourceClaimParametersForAllNamespaces", + "description": "watch individual changes to a list of ResourceClaim. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchResourceV1alpha3NamespacedResourceClaimList", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimParametersList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -73325,13 +73722,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1alpha3" } }, "parameters": [ @@ -73350,6 +73747,9 @@ { "$ref": "#/parameters/limit-1NfNmdNH" }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, { "$ref": "#/parameters/pretty-tJGM1-ng" }, @@ -73370,25 +73770,27 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/resourceclaims": { + "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaims/{name}": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind ResourceClaim", - "operationId": "listResourceV1alpha2ResourceClaimForAllNamespaces", + "description": "watch changes to an object of kind ResourceClaim. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchResourceV1alpha3NamespacedResourceClaim", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -73399,13 +73801,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaim", - "version": "v1alpha2" + "version": "v1alpha3" } }, "parameters": [ @@ -73424,6 +73826,17 @@ { "$ref": "#/parameters/limit-1NfNmdNH" }, + { + "description": "name of the ResourceClaim", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, { "$ref": "#/parameters/pretty-tJGM1-ng" }, @@ -73444,25 +73857,27 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/resourceclaimtemplates": { + "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaimtemplates": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind ResourceClaimTemplate", - "operationId": "listResourceV1alpha2ResourceClaimTemplateForAllNamespaces", + "description": "watch individual changes to a list of ResourceClaimTemplate. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchResourceV1alpha3NamespacedResourceClaimTemplateList", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClaimTemplateList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -73473,13 +73888,407 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1alpha3" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "version": "v1alpha3" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/resource.k8s.io/v1alpha3/watch/namespaces/{namespace}/resourceclaimtemplates/{name}": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch changes to an object of kind ResourceClaimTemplate. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchResourceV1alpha3NamespacedResourceClaimTemplate", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha3" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceClaimTemplate", + "version": "v1alpha3" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "description": "name of the ResourceClaimTemplate", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/resource.k8s.io/v1alpha3/watch/resourceclaims": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of ResourceClaim. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchResourceV1alpha3ResourceClaimListForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha3" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceClaim", + "version": "v1alpha3" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/resource.k8s.io/v1alpha3/watch/resourceclaimtemplates": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of ResourceClaimTemplate. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchResourceV1alpha3ResourceClaimTemplateListForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha3" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceClaimTemplate", + "version": "v1alpha3" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/resource.k8s.io/v1alpha3/watch/resourceslices": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of ResourceSlice. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchResourceV1alpha3ResourceSliceList", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha3" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceSlice", + "version": "v1alpha3" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/resource.k8s.io/v1alpha3/watch/resourceslices/{name}": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch changes to an object of kind ResourceSlice. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchResourceV1alpha3ResourceSlice", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha3" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceSlice", + "version": "v1alpha3" } }, "parameters": [ @@ -73498,6 +74307,14 @@ { "$ref": "#/parameters/limit-1NfNmdNH" }, + { + "description": "name of the ResourceSlice", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, { "$ref": "#/parameters/pretty-tJGM1-ng" }, @@ -73518,13 +74335,48 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/resourceclasses": { + "/apis/resource.k8s.io/v1beta1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "description": "get available resources", + "operationId": "getResourceV1beta1APIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1beta1" + ] + } + }, + "/apis/resource.k8s.io/v1beta1/deviceclasses": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of ResourceClass", - "operationId": "deleteResourceV1alpha2CollectionResourceClass", + "description": "delete collection of DeviceClass", + "operationId": "deleteResourceV1beta1CollectionDeviceClass", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -73545,6 +74397,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -73573,7 +74428,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -73590,21 +74446,21 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" + "kind": "DeviceClass", + "version": "v1beta1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind ResourceClass", - "operationId": "listResourceV1alpha2ResourceClass", + "description": "list or watch objects of kind DeviceClass", + "operationId": "listResourceV1beta1DeviceClass", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -73641,14 +74497,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassList" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.DeviceClassList" } }, "401": { @@ -73659,13 +74517,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" + "kind": "DeviceClass", + "version": "v1beta1" } }, "parameters": [ @@ -73677,15 +74535,15 @@ "consumes": [ "*/*" ], - "description": "create a ResourceClass", - "operationId": "createResourceV1alpha2ResourceClass", + "description": "create a DeviceClass", + "operationId": "createResourceV1beta1DeviceClass", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClass" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.DeviceClass" } }, { @@ -73709,25 +74567,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClass" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.DeviceClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClass" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.DeviceClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClass" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.DeviceClass" } }, "401": { @@ -73738,23 +74597,23 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" + "kind": "DeviceClass", + "version": "v1beta1" } } }, - "/apis/resource.k8s.io/v1alpha2/resourceclasses/{name}": { + "/apis/resource.k8s.io/v1beta1/deviceclasses/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a ResourceClass", - "operationId": "deleteResourceV1alpha2ResourceClass", + "description": "delete a DeviceClass", + "operationId": "deleteResourceV1beta1DeviceClass", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -73769,6 +74628,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -73779,19 +74641,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClass" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.DeviceClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClass" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.DeviceClass" } }, "401": { @@ -73802,31 +74665,32 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" + "kind": "DeviceClass", + "version": "v1beta1" } }, "get": { "consumes": [ "*/*" ], - "description": "read the specified ResourceClass", - "operationId": "readResourceV1alpha2ResourceClass", + "description": "read the specified DeviceClass", + "operationId": "readResourceV1beta1DeviceClass", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClass" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.DeviceClass" } }, "401": { @@ -73837,18 +74701,18 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" + "kind": "DeviceClass", + "version": "v1beta1" } }, "parameters": [ { - "description": "name of the ResourceClass", + "description": "name of the DeviceClass", "in": "path", "name": "name", "required": true, @@ -73864,10 +74728,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified ResourceClass", - "operationId": "patchResourceV1alpha2ResourceClass", + "description": "partially update the specified DeviceClass", + "operationId": "patchResourceV1beta1DeviceClass", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -73896,19 +74761,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClass" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.DeviceClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClass" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.DeviceClass" } }, "401": { @@ -73919,28 +74785,28 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" + "kind": "DeviceClass", + "version": "v1beta1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified ResourceClass", - "operationId": "replaceResourceV1alpha2ResourceClass", + "description": "replace the specified DeviceClass", + "operationId": "replaceResourceV1beta1DeviceClass", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClass" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.DeviceClass" } }, { @@ -73964,19 +74830,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClass" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.DeviceClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClass" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.DeviceClass" } }, "401": { @@ -73987,97 +74854,23 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" + "kind": "DeviceClass", + "version": "v1beta1" } } }, - "/apis/resource.k8s.io/v1alpha2/resourceclassparameters": { - "get": { - "consumes": [ - "*/*" - ], - "description": "list or watch objects of kind ResourceClassParameters", - "operationId": "listResourceV1alpha2ResourceClassParametersForAllNamespaces", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceClassParametersList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/resourceslices": { + "/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of ResourceSlice", - "operationId": "deleteResourceV1alpha2CollectionResourceSlice", + "description": "delete collection of ResourceClaim", + "operationId": "deleteResourceV1beta1CollectionNamespacedResourceClaim", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -74098,6 +74891,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -74126,7 +74922,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -74143,21 +74940,21 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceSlice", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1beta1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind ResourceSlice", - "operationId": "listResourceV1alpha2ResourceSlice", + "description": "list or watch objects of kind ResourceClaim", + "operationId": "listResourceV1beta1NamespacedResourceClaim", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -74194,14 +74991,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceSliceList" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaimList" } }, "401": { @@ -74212,16 +75011,19 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceSlice", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1beta1" } }, "parameters": [ + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, { "$ref": "#/parameters/pretty-tJGM1-ng" } @@ -74230,15 +75032,15 @@ "consumes": [ "*/*" ], - "description": "create a ResourceSlice", - "operationId": "createResourceV1alpha2ResourceSlice", + "description": "create a ResourceClaim", + "operationId": "createResourceV1beta1NamespacedResourceClaim", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceSlice" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaim" } }, { @@ -74262,25 +75064,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceSlice" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaim" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceSlice" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaim" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceSlice" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaim" } }, "401": { @@ -74291,23 +75094,23 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceSlice", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1beta1" } } }, - "/apis/resource.k8s.io/v1alpha2/resourceslices/{name}": { + "/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a ResourceSlice", - "operationId": "deleteResourceV1alpha2ResourceSlice", + "description": "delete a ResourceClaim", + "operationId": "deleteResourceV1beta1NamespacedResourceClaim", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -74322,6 +75125,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -74332,19 +75138,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceSlice" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaim" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceSlice" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaim" } }, "401": { @@ -74355,31 +75162,32 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceSlice", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1beta1" } }, "get": { "consumes": [ "*/*" ], - "description": "read the specified ResourceSlice", - "operationId": "readResourceV1alpha2ResourceSlice", + "description": "read the specified ResourceClaim", + "operationId": "readResourceV1beta1NamespacedResourceClaim", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceSlice" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaim" } }, "401": { @@ -74390,24 +75198,27 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceSlice", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1beta1" } }, "parameters": [ { - "description": "name of the ResourceSlice", + "description": "name of the ResourceClaim", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, { "$ref": "#/parameters/pretty-tJGM1-ng" } @@ -74417,10 +75228,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], - "description": "partially update the specified ResourceSlice", - "operationId": "patchResourceV1alpha2ResourceSlice", + "description": "partially update the specified ResourceClaim", + "operationId": "patchResourceV1beta1NamespacedResourceClaim", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -74449,19 +75261,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceSlice" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaim" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceSlice" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaim" } }, "401": { @@ -74472,28 +75285,28 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceSlice", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1beta1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified ResourceSlice", - "operationId": "replaceResourceV1alpha2ResourceSlice", + "description": "replace the specified ResourceClaim", + "operationId": "replaceResourceV1beta1NamespacedResourceClaim", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceSlice" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaim" } }, { @@ -74517,19 +75330,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceSlice" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaim" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.resource.v1alpha2.ResourceSlice" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaim" } }, "401": { @@ -74540,35 +75354,34 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceSlice", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1beta1" } } }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/podschedulingcontexts": { + "/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of PodSchedulingContext. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchResourceV1alpha2NamespacedPodSchedulingContextList", + "description": "read status of the specified ResourceClaim", + "operationId": "readResourceV1beta1NamespacedResourceClaimStatus", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaim" } }, "401": { @@ -74579,73 +75392,83 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1beta1" } }, "parameters": [ { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" + "description": "name of the ResourceClaim", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true }, { "$ref": "#/parameters/namespace-vgWSWtn3" }, { "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/podschedulingcontexts/{name}": { - "get": { + ], + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml", + "application/apply-patch+cbor" + ], + "description": "partially update status of the specified ResourceClaim", + "operationId": "patchResourceV1beta1NamespacedResourceClaimStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } ], - "description": "watch changes to an object of kind PodSchedulingContext. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchResourceV1alpha2NamespacedPodSchedulingContext", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaim" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaim" } }, "401": { @@ -74656,81 +75479,65 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1beta1" } }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "description": "name of the PodSchedulingContext", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaimparameters": { - "get": { + "put": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ResourceClaimParameters. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchResourceV1alpha2NamespacedResourceClaimParametersList", + "description": "replace status of the specified ResourceClaim", + "operationId": "replaceResourceV1beta1NamespacedResourceClaimStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaim" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaim" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaim" } }, "401": { @@ -74741,73 +75548,82 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" + "kind": "ResourceClaim", + "version": "v1beta1" } - ] + } }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaimparameters/{name}": { - "get": { + "/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates": { + "delete": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind ResourceClaimParameters. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchResourceV1alpha2NamespacedResourceClaimParameters", + "description": "delete collection of ResourceClaimTemplate", + "operationId": "deleteResourceV1beta1CollectionNamespacedResourceClaimTemplate", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -74818,81 +75634,67 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" + "kind": "ResourceClaimTemplate", + "version": "v1beta1" } }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "description": "name of the ResourceClaimParameters", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaims": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ResourceClaim. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchResourceV1alpha2NamespacedResourceClaimList", + "description": "list or watch objects of kind ResourceClaimTemplate", + "operationId": "listResourceV1beta1NamespacedResourceClaimTemplate", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaimTemplateList" } }, "401": { @@ -74903,73 +75705,79 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaim", - "version": "v1alpha2" + "kind": "ResourceClaimTemplate", + "version": "v1beta1" } }, "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, { "$ref": "#/parameters/namespace-vgWSWtn3" }, { "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaims/{name}": { - "get": { + ], + "post": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind ResourceClaim. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchResourceV1alpha2NamespacedResourceClaim", + "description": "create a ResourceClaimTemplate", + "operationId": "createResourceV1beta1NamespacedResourceClaimTemplate", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaimTemplate" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaimTemplate" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaimTemplate" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaimTemplate" } }, "401": { @@ -74980,81 +75788,64 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaim", - "version": "v1alpha2" + "kind": "ResourceClaimTemplate", + "version": "v1beta1" } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "description": "name of the ResourceClaim", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] + } }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaimtemplates": { - "get": { + "/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates/{name}": { + "delete": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ResourceClaimTemplate. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchResourceV1alpha2NamespacedResourceClaimTemplateList", + "description": "delete a ResourceClaimTemplate", + "operationId": "deleteResourceV1beta1NamespacedResourceClaimTemplate", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaimTemplate" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaimTemplate" } }, "401": { @@ -75065,73 +75856,32 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "version": "v1beta1" } }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaimtemplates/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind ResourceClaimTemplate. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchResourceV1alpha2NamespacedResourceClaimTemplate", + "description": "read the specified ResourceClaimTemplate", + "operationId": "readResourceV1beta1NamespacedResourceClaimTemplate", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaimTemplate" } }, "401": { @@ -75142,31 +75892,16 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "version": "v1beta1" } }, "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, { "description": "name of the ResourceClaimTemplate", "in": "path", @@ -75180,43 +75915,60 @@ }, { "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclassparameters": { - "get": { + ], + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml", + "application/apply-patch+cbor" + ], + "description": "partially update the specified ResourceClaimTemplate", + "operationId": "patchResourceV1beta1NamespacedResourceClaimTemplate", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } ], - "description": "watch individual changes to a list of ResourceClassParameters. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchResourceV1alpha2NamespacedResourceClassParametersList", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaimTemplate" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaimTemplate" } }, "401": { @@ -75227,73 +75979,65 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" + "kind": "ResourceClaimTemplate", + "version": "v1beta1" } }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclassparameters/{name}": { - "get": { + "put": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind ResourceClassParameters. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchResourceV1alpha2NamespacedResourceClassParameters", + "description": "replace the specified ResourceClaimTemplate", + "operationId": "replaceResourceV1beta1NamespacedResourceClaimTemplate", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaimTemplate" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaimTemplate" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaimTemplate" } }, "401": { @@ -75304,81 +76048,37 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "description": "name of the ResourceClassParameters", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" + "kind": "ResourceClaimTemplate", + "version": "v1beta1" } - ] + } }, - "/apis/resource.k8s.io/v1alpha2/watch/podschedulingcontexts": { + "/apis/resource.k8s.io/v1beta1/resourceclaims": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of PodSchedulingContext. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchResourceV1alpha2PodSchedulingContextListForAllNamespaces", + "description": "list or watch objects of kind ResourceClaim", + "operationId": "listResourceV1beta1ResourceClaimForAllNamespaces", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaimList" } }, "401": { @@ -75389,13 +76089,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "PodSchedulingContext", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1beta1" } }, "parameters": [ @@ -75434,25 +76134,27 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceclaimparameters": { + "/apis/resource.k8s.io/v1beta1/resourceclaimtemplates": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ResourceClaimParameters. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchResourceV1alpha2ResourceClaimParametersListForAllNamespaces", + "description": "list or watch objects of kind ResourceClaimTemplate", + "operationId": "listResourceV1beta1ResourceClaimTemplateForAllNamespaces", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceClaimTemplateList" } }, "401": { @@ -75463,13 +76165,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaimParameters", - "version": "v1alpha2" + "kind": "ResourceClaimTemplate", + "version": "v1beta1" } }, "parameters": [ @@ -75508,25 +76210,72 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceclaims": { - "get": { + "/apis/resource.k8s.io/v1beta1/resourceslices": { + "delete": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ResourceClaim. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchResourceV1alpha2ResourceClaimListForAllNamespaces", + "description": "delete collection of ResourceSlice", + "operationId": "deleteResourceV1beta1CollectionResourceSlice", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -75537,70 +76286,67 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaim", - "version": "v1alpha2" + "kind": "ResourceSlice", + "version": "v1beta1" } }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceclaimtemplates": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ResourceClaimTemplate. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchResourceV1alpha2ResourceClaimTemplateListForAllNamespaces", + "description": "list or watch objects of kind ResourceSlice", + "operationId": "listResourceV1beta1ResourceSlice", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceSliceList" } }, "401": { @@ -75611,66 +76357,370 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClaimTemplate", - "version": "v1alpha2" + "kind": "ResourceSlice", + "version": "v1beta1" } }, "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, { "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" } - ] - }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceclasses": { - "get": { + ], + "post": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ResourceClass. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchResourceV1alpha2ResourceClassList", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { + "description": "create a ResourceSlice", + "operationId": "createResourceV1beta1ResourceSlice", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceSlice" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceSlice" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceSlice" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceSlice" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1beta1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceSlice", + "version": "v1beta1" + } + } + }, + "/apis/resource.k8s.io/v1beta1/resourceslices/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a ResourceSlice", + "operationId": "deleteResourceV1beta1ResourceSlice", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceSlice" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceSlice" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1beta1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceSlice", + "version": "v1beta1" + } + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "read the specified ResourceSlice", + "operationId": "readResourceV1beta1ResourceSlice", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceSlice" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1beta1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceSlice", + "version": "v1beta1" + } + }, + "parameters": [ + { + "description": "name of the ResourceSlice", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml", + "application/apply-patch+cbor" + ], + "description": "partially update the specified ResourceSlice", + "operationId": "patchResourceV1beta1ResourceSlice", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceSlice" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceSlice" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1beta1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceSlice", + "version": "v1beta1" + } + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified ResourceSlice", + "operationId": "replaceResourceV1beta1ResourceSlice", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceSlice" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceSlice" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.resource.v1beta1.ResourceSlice" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1beta1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceSlice", + "version": "v1beta1" + } + } + }, + "/apis/resource.k8s.io/v1beta1/watch/deviceclasses": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of DeviceClass. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchResourceV1beta1DeviceClassList", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { "200": { "description": "OK", "schema": { @@ -75685,13 +76735,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" + "kind": "DeviceClass", + "version": "v1beta1" } }, "parameters": [ @@ -75730,19 +76780,21 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceclasses/{name}": { + "/apis/resource.k8s.io/v1beta1/watch/deviceclasses/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind ResourceClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchResourceV1alpha2ResourceClass", + "description": "watch changes to an object of kind DeviceClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchResourceV1beta1DeviceClass", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -75759,13 +76811,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClass", - "version": "v1alpha2" + "kind": "DeviceClass", + "version": "v1beta1" } }, "parameters": [ @@ -75785,7 +76837,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "description": "name of the ResourceClass", + "description": "name of the DeviceClass", "in": "path", "name": "name", "required": true, @@ -75812,19 +76864,21 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceclassparameters": { + "/apis/resource.k8s.io/v1beta1/watch/namespaces/{namespace}/resourceclaims": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ResourceClassParameters. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchResourceV1alpha2ResourceClassParametersListForAllNamespaces", + "description": "watch individual changes to a list of ResourceClaim. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchResourceV1beta1NamespacedResourceClaimList", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -75841,13 +76895,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceClassParameters", - "version": "v1alpha2" + "kind": "ResourceClaim", + "version": "v1beta1" } }, "parameters": [ @@ -75866,6 +76920,9 @@ { "$ref": "#/parameters/limit-1NfNmdNH" }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, { "$ref": "#/parameters/pretty-tJGM1-ng" }, @@ -75886,19 +76943,108 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceslices": { + "/apis/resource.k8s.io/v1beta1/watch/namespaces/{namespace}/resourceclaims/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ResourceSlice. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchResourceV1alpha2ResourceSliceList", + "description": "watch changes to an object of kind ResourceClaim. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchResourceV1beta1NamespacedResourceClaim", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1beta1" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceClaim", + "version": "v1beta1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "description": "name of the ResourceClaim", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/resource.k8s.io/v1beta1/watch/namespaces/{namespace}/resourceclaimtemplates": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of ResourceClaimTemplate. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchResourceV1beta1NamespacedResourceClaimTemplateList", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -75915,13 +77061,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceSlice", - "version": "v1alpha2" + "kind": "ResourceClaimTemplate", + "version": "v1beta1" } }, "parameters": [ @@ -75940,6 +77086,9 @@ { "$ref": "#/parameters/limit-1NfNmdNH" }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, { "$ref": "#/parameters/pretty-tJGM1-ng" }, @@ -75960,19 +77109,21 @@ } ] }, - "/apis/resource.k8s.io/v1alpha2/watch/resourceslices/{name}": { + "/apis/resource.k8s.io/v1beta1/watch/namespaces/{namespace}/resourceclaimtemplates/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind ResourceSlice. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchResourceV1alpha2ResourceSlice", + "description": "watch changes to an object of kind ResourceClaimTemplate. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchResourceV1beta1NamespacedResourceClaimTemplate", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -75989,13 +77140,13 @@ "https" ], "tags": [ - "resource_v1alpha2" + "resource_v1beta1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "resource.k8s.io", - "kind": "ResourceSlice", - "version": "v1alpha2" + "kind": "ResourceClaimTemplate", + "version": "v1beta1" } }, "parameters": [ @@ -76015,13 +77166,16 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "description": "name of the ResourceSlice", + "description": "name of the ResourceClaimTemplate", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, { "$ref": "#/parameters/pretty-tJGM1-ng" }, @@ -76042,25 +77196,27 @@ } ] }, - "/apis/scheduling.k8s.io/": { + "/apis/resource.k8s.io/v1beta1/watch/resourceclaims": { "get": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], - "description": "get information of a group", - "operationId": "getSchedulingAPIGroup", + "description": "watch individual changes to a list of ResourceClaim. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchResourceV1beta1ResourceClaimListForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -76071,29 +77227,72 @@ "https" ], "tags": [ - "scheduling" - ] - } + "resource_v1beta1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceClaim", + "version": "v1beta1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] }, - "/apis/scheduling.k8s.io/v1/": { + "/apis/resource.k8s.io/v1beta1/watch/resourceclaimtemplates": { "get": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], - "description": "get available resources", - "operationId": "getSchedulingV1APIResources", + "description": "watch individual changes to a list of ResourceClaimTemplate. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchResourceV1beta1ResourceClaimTemplateListForAllNamespaces", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -76104,26 +77303,295 @@ "https" ], "tags": [ - "scheduling_v1" - ] - } - }, - "/apis/scheduling.k8s.io/v1/priorityclasses": { - "delete": { - "consumes": [ - "*/*" + "resource_v1beta1" ], - "description": "delete collection of PriorityClass", - "operationId": "deleteSchedulingV1CollectionPriorityClass", - "parameters": [ - { - "$ref": "#/parameters/body-2Y1dVQaQ" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceClaimTemplate", + "version": "v1beta1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/resource.k8s.io/v1beta1/watch/resourceslices": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of ResourceSlice. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchResourceV1beta1ResourceSliceList", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1beta1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceSlice", + "version": "v1beta1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/resource.k8s.io/v1beta1/watch/resourceslices/{name}": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch changes to an object of kind ResourceSlice. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchResourceV1beta1ResourceSlice", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1beta1" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceSlice", + "version": "v1beta1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "description": "name of the ResourceSlice", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/scheduling.k8s.io/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get information of a group", + "operationId": "getSchedulingAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "scheduling" + ] + } + }, + "/apis/scheduling.k8s.io/v1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "description": "get available resources", + "operationId": "getSchedulingV1APIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1" + ] + } + }, + "/apis/scheduling.k8s.io/v1/priorityclasses": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of PriorityClass", + "operationId": "deleteSchedulingV1CollectionPriorityClass", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", "in": "query", "name": "dryRun", "type": "string", @@ -76135,6 +77603,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -76163,7 +77634,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -76231,8 +77703,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -76299,7 +77773,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -76359,6 +77834,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -76369,7 +77847,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -76410,7 +77889,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -76454,7 +77934,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified PriorityClass", "operationId": "patchSchedulingV1PriorityClass", @@ -76486,7 +77967,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -76554,7 +78036,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -76598,8 +78081,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -76672,8 +78157,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -76781,14 +78268,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getStorageV1APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -76836,6 +78325,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -76864,7 +78356,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -76932,8 +78425,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -77000,7 +78495,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -77060,6 +78556,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -77070,7 +78569,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -77111,7 +78611,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -77155,7 +78656,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified CSIDriver", "operationId": "patchStorageV1CSIDriver", @@ -77187,7 +78689,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -77255,7 +78758,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -77315,6 +78819,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -77343,7 +78850,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -77411,8 +78919,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -77479,7 +78989,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -77539,6 +79050,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -77549,7 +79063,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -77590,7 +79105,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -77634,7 +79150,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified CSINode", "operationId": "patchStorageV1CSINode", @@ -77666,7 +79183,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -77734,7 +79252,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -77778,8 +79297,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -77868,6 +79389,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -77896,7 +79420,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -77964,8 +79489,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -78035,7 +79562,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -78095,6 +79623,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -78105,7 +79636,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -78146,7 +79678,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -78193,7 +79726,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified CSIStorageCapacity", "operationId": "patchStorageV1NamespacedCSIStorageCapacity", @@ -78225,7 +79759,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -78293,7 +79828,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -78353,6 +79889,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -78381,7 +79920,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -78449,8 +79989,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -78517,7 +80059,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -78577,6 +80120,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -78587,7 +80133,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -78628,7 +80175,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -78672,7 +80220,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified StorageClass", "operationId": "patchStorageV1StorageClass", @@ -78704,7 +80253,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -78772,7 +80322,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -78832,6 +80383,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -78860,7 +80414,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -78928,8 +80483,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -78996,7 +80553,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -79056,6 +80614,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -79066,7 +80627,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -79107,7 +80669,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -79151,7 +80714,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified VolumeAttachment", "operationId": "patchStorageV1VolumeAttachment", @@ -79183,7 +80747,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -79251,7 +80816,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -79294,7 +80860,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -79338,7 +80905,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified VolumeAttachment", "operationId": "patchStorageV1VolumeAttachmentStatus", @@ -79370,7 +80938,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -79438,7 +81007,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -79482,8 +81052,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -79550,20 +81122,979 @@ "consumes": [ "*/*" ], - "description": "watch changes to an object of kind CSIDriver. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchStorageV1CSIDriver", + "description": "watch changes to an object of kind CSIDriver. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchStorageV1CSIDriver", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSIDriver", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "description": "name of the CSIDriver", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/csinodes": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of CSINode. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchStorageV1CSINodeList", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/csinodes/{name}": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch changes to an object of kind CSINode. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchStorageV1CSINode", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "description": "name of the CSINode", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/csistoragecapacities": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of CSIStorageCapacity. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchStorageV1CSIStorageCapacityListForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSIStorageCapacity", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/namespaces/{namespace}/csistoragecapacities": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of CSIStorageCapacity. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchStorageV1NamespacedCSIStorageCapacityList", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSIStorageCapacity", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/namespaces/{namespace}/csistoragecapacities/{name}": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch changes to an object of kind CSIStorageCapacity. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchStorageV1NamespacedCSIStorageCapacity", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSIStorageCapacity", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "description": "name of the CSIStorageCapacity", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/namespace-vgWSWtn3" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/storageclasses": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of StorageClass. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchStorageV1StorageClassList", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/storageclasses/{name}": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch changes to an object of kind StorageClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchStorageV1StorageClass", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "description": "name of the StorageClass", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/volumeattachments": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchStorageV1VolumeAttachmentList", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1/watch/volumeattachments/{name}": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch changes to an object of kind VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchStorageV1VolumeAttachment", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "description": "name of the VolumeAttachment", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1alpha1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "description": "get available resources", + "operationId": "getStorageV1alpha1APIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1alpha1" + ] + } + }, + "/apis/storage.k8s.io/v1alpha1/volumeattributesclasses": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of VolumeAttributesClass", + "operationId": "deleteStorageV1alpha1CollectionVolumeAttributesClass", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/cbor" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1alpha1" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1alpha1" + } + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind VolumeAttributesClass", + "operationId": "listStorageV1alpha1VolumeAttributesClass", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClassList" } }, "401": { @@ -79574,78 +82105,76 @@ "https" ], "tags": [ - "storage_v1" + "storage_v1alpha1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "CSIDriver", - "version": "v1" + "kind": "VolumeAttributesClass", + "version": "v1alpha1" } }, "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "description": "name of the CSIDriver", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, { "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" } - ] - }, - "/apis/storage.k8s.io/v1/watch/csinodes": { - "get": { + ], + "post": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of CSINode. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchStorageV1CSINodeList", + "description": "create a VolumeAttributesClass", + "operationId": "createStorageV1alpha1VolumeAttributesClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" } }, "401": { @@ -79656,70 +82185,64 @@ "https" ], "tags": [ - "storage_v1" + "storage_v1alpha1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "CSINode", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" + "kind": "VolumeAttributesClass", + "version": "v1alpha1" } - ] + } }, - "/apis/storage.k8s.io/v1/watch/csinodes/{name}": { - "get": { + "/apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name}": { + "delete": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind CSINode. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchStorageV1CSINode", + "description": "delete a VolumeAttributesClass", + "operationId": "deleteStorageV1alpha1VolumeAttributesClass", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" } }, "401": { @@ -79730,78 +82253,32 @@ "https" ], "tags": [ - "storage_v1" + "storage_v1alpha1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "CSINode", - "version": "v1" + "kind": "VolumeAttributesClass", + "version": "v1alpha1" } }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "description": "name of the CSINode", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/storage.k8s.io/v1/watch/csistoragecapacities": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of CSIStorageCapacity. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchStorageV1CSIStorageCapacityListForAllNamespaces", + "description": "read the specified VolumeAttributesClass", + "operationId": "readStorageV1alpha1VolumeAttributesClass", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" } }, "401": { @@ -79812,70 +82289,80 @@ "https" ], "tags": [ - "storage_v1" + "storage_v1alpha1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "CSIStorageCapacity", - "version": "v1" + "kind": "VolumeAttributesClass", + "version": "v1alpha1" } }, "parameters": [ { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" + "description": "name of the VolumeAttributesClass", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true }, { "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" } - ] - }, - "/apis/storage.k8s.io/v1/watch/namespaces/{namespace}/csistoragecapacities": { - "get": { + ], + "patch": { "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml", + "application/apply-patch+cbor" + ], + "description": "partially update the specified VolumeAttributesClass", + "operationId": "patchStorageV1alpha1VolumeAttributesClass", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } ], - "description": "watch individual changes to a list of CSIStorageCapacity. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchStorageV1NamespacedCSIStorageCapacityList", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" } }, "401": { @@ -79886,73 +82373,65 @@ "https" ], "tags": [ - "storage_v1" + "storage_v1alpha1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "CSIStorageCapacity", - "version": "v1" + "kind": "VolumeAttributesClass", + "version": "v1alpha1" } }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/storage.k8s.io/v1/watch/namespaces/{namespace}/csistoragecapacities/{name}": { - "get": { + "put": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind CSIStorageCapacity. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchStorageV1NamespacedCSIStorageCapacity", + "description": "replace the specified VolumeAttributesClass", + "operationId": "replaceStorageV1alpha1VolumeAttributesClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" } }, "401": { @@ -79963,75 +82442,31 @@ "https" ], "tags": [ - "storage_v1" + "storage_v1alpha1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "CSIStorageCapacity", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "description": "name of the CSIStorageCapacity", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/namespace-vgWSWtn3" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" + "kind": "VolumeAttributesClass", + "version": "v1alpha1" } - ] + } }, - "/apis/storage.k8s.io/v1/watch/storageclasses": { + "/apis/storage.k8s.io/v1alpha1/watch/volumeattributesclasses": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of StorageClass. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchStorageV1StorageClassList", + "description": "watch individual changes to a list of VolumeAttributesClass. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchStorageV1alpha1VolumeAttributesClassList", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -80048,13 +82483,13 @@ "https" ], "tags": [ - "storage_v1" + "storage_v1alpha1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1" + "kind": "VolumeAttributesClass", + "version": "v1alpha1" } }, "parameters": [ @@ -80093,19 +82528,21 @@ } ] }, - "/apis/storage.k8s.io/v1/watch/storageclasses/{name}": { + "/apis/storage.k8s.io/v1alpha1/watch/volumeattributesclasses/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind StorageClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchStorageV1StorageClass", + "description": "watch changes to an object of kind VolumeAttributesClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchStorageV1alpha1VolumeAttributesClass", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -80122,13 +82559,13 @@ "https" ], "tags": [ - "storage_v1" + "storage_v1alpha1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1" + "kind": "VolumeAttributesClass", + "version": "v1alpha1" } }, "parameters": [ @@ -80148,7 +82585,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "description": "name of the StorageClass", + "description": "name of the VolumeAttributesClass", "in": "path", "name": "name", "required": true, @@ -80175,175 +82612,21 @@ } ] }, - "/apis/storage.k8s.io/v1/watch/volumeattachments": { + "/apis/storage.k8s.io/v1beta1/": { "get": { "consumes": [ - "*/*" - ], - "description": "watch individual changes to a list of VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchStorageV1VolumeAttachmentList", - "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "watchlist", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/storage.k8s.io/v1/watch/volumeattachments/{name}": { - "get": { - "consumes": [ - "*/*" - ], - "description": "watch changes to an object of kind VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchStorageV1VolumeAttachment", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "x-kubernetes-action": "watch", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "VolumeAttachment", - "version": "v1" - } - }, - "parameters": [ - { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "description": "name of the VolumeAttachment", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "$ref": "#/parameters/pretty-tJGM1-ng" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" - }, - { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" - }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" - }, - { - "$ref": "#/parameters/watch-XNNPZGbK" - } - ] - }, - "/apis/storage.k8s.io/v1alpha1/": { - "get": { - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/cbor" ], "description": "get available resources", - "operationId": "getStorageV1alpha1APIResources", + "operationId": "getStorageV1beta1APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -80360,17 +82643,17 @@ "https" ], "tags": [ - "storage_v1alpha1" + "storage_v1beta1" ] } }, - "/apis/storage.k8s.io/v1alpha1/volumeattributesclasses": { + "/apis/storage.k8s.io/v1beta1/volumeattributesclasses": { "delete": { "consumes": [ "*/*" ], "description": "delete collection of VolumeAttributesClass", - "operationId": "deleteStorageV1alpha1CollectionVolumeAttributesClass", + "operationId": "deleteStorageV1beta1CollectionVolumeAttributesClass", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -80391,6 +82674,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -80419,7 +82705,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -80436,13 +82723,13 @@ "https" ], "tags": [ - "storage_v1alpha1" + "storage_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", "kind": "VolumeAttributesClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "get": { @@ -80450,7 +82737,7 @@ "*/*" ], "description": "list or watch objects of kind VolumeAttributesClass", - "operationId": "listStorageV1alpha1VolumeAttributesClass", + "operationId": "listStorageV1beta1VolumeAttributesClass", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -80487,14 +82774,16 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClassList" + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttributesClassList" } }, "401": { @@ -80505,13 +82794,13 @@ "https" ], "tags": [ - "storage_v1alpha1" + "storage_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", "kind": "VolumeAttributesClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -80524,14 +82813,14 @@ "*/*" ], "description": "create a VolumeAttributesClass", - "operationId": "createStorageV1alpha1VolumeAttributesClass", + "operationId": "createStorageV1beta1VolumeAttributesClass", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttributesClass" } }, { @@ -80555,25 +82844,26 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttributesClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttributesClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttributesClass" } }, "401": { @@ -80584,23 +82874,23 @@ "https" ], "tags": [ - "storage_v1alpha1" + "storage_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", "kind": "VolumeAttributesClass", - "version": "v1alpha1" + "version": "v1beta1" } } }, - "/apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name}": { + "/apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name}": { "delete": { "consumes": [ "*/*" ], "description": "delete a VolumeAttributesClass", - "operationId": "deleteStorageV1alpha1VolumeAttributesClass", + "operationId": "deleteStorageV1beta1VolumeAttributesClass", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -80615,6 +82905,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -80625,19 +82918,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttributesClass" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttributesClass" } }, "401": { @@ -80648,13 +82942,13 @@ "https" ], "tags": [ - "storage_v1alpha1" + "storage_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", "kind": "VolumeAttributesClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "get": { @@ -80662,17 +82956,18 @@ "*/*" ], "description": "read the specified VolumeAttributesClass", - "operationId": "readStorageV1alpha1VolumeAttributesClass", + "operationId": "readStorageV1beta1VolumeAttributesClass", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttributesClass" } }, "401": { @@ -80683,13 +82978,13 @@ "https" ], "tags": [ - "storage_v1alpha1" + "storage_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", "kind": "VolumeAttributesClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -80710,10 +83005,11 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified VolumeAttributesClass", - "operationId": "patchStorageV1alpha1VolumeAttributesClass", + "operationId": "patchStorageV1beta1VolumeAttributesClass", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -80742,19 +83038,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttributesClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttributesClass" } }, "401": { @@ -80765,13 +83062,13 @@ "https" ], "tags": [ - "storage_v1alpha1" + "storage_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", "kind": "VolumeAttributesClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "put": { @@ -80779,14 +83076,14 @@ "*/*" ], "description": "replace the specified VolumeAttributesClass", - "operationId": "replaceStorageV1alpha1VolumeAttributesClass", + "operationId": "replaceStorageV1beta1VolumeAttributesClass", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttributesClass" } }, { @@ -80810,19 +83107,20 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttributesClass" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttributesClass" } }, "401": { @@ -80833,29 +83131,31 @@ "https" ], "tags": [ - "storage_v1alpha1" + "storage_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", "kind": "VolumeAttributesClass", - "version": "v1alpha1" + "version": "v1beta1" } } }, - "/apis/storage.k8s.io/v1alpha1/watch/volumeattributesclasses": { + "/apis/storage.k8s.io/v1beta1/watch/volumeattributesclasses": { "get": { "consumes": [ "*/*" ], "description": "watch individual changes to a list of VolumeAttributesClass. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchStorageV1alpha1VolumeAttributesClassList", + "operationId": "watchStorageV1beta1VolumeAttributesClassList", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -80872,13 +83172,13 @@ "https" ], "tags": [ - "storage_v1alpha1" + "storage_v1beta1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", "kind": "VolumeAttributesClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -80917,19 +83217,21 @@ } ] }, - "/apis/storage.k8s.io/v1alpha1/watch/volumeattributesclasses/{name}": { + "/apis/storage.k8s.io/v1beta1/watch/volumeattributesclasses/{name}": { "get": { "consumes": [ "*/*" ], "description": "watch changes to an object of kind VolumeAttributesClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchStorageV1alpha1VolumeAttributesClass", + "operationId": "watchStorageV1beta1VolumeAttributesClass", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -80946,13 +83248,13 @@ "https" ], "tags": [ - "storage_v1alpha1" + "storage_v1beta1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", "kind": "VolumeAttributesClass", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -81037,14 +83339,16 @@ "consumes": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "description": "get available resources", "operationId": "getStoragemigrationV1alpha1APIResources", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -81092,6 +83396,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/labelSelector-5Zw57w4C" }, @@ -81120,7 +83427,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -81188,8 +83496,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -81256,7 +83566,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -81316,6 +83627,9 @@ { "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" }, + { + "$ref": "#/parameters/ignoreStoreReadErrorWithClusterBreakingPotential-QbNkfIqj" + }, { "$ref": "#/parameters/orphanDependents-uRB25kX5" }, @@ -81326,7 +83640,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -81367,7 +83682,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -81411,7 +83727,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update the specified StorageVersionMigration", "operationId": "patchStoragemigrationV1alpha1StorageVersionMigration", @@ -81443,7 +83760,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -81511,7 +83829,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -81554,7 +83873,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -81598,7 +83918,8 @@ "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", - "application/apply-patch+yaml" + "application/apply-patch+yaml", + "application/apply-patch+cbor" ], "description": "partially update status of the specified StorageVersionMigration", "operationId": "patchStoragemigrationV1alpha1StorageVersionMigrationStatus", @@ -81630,7 +83951,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -81698,7 +84020,8 @@ "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/cbor" ], "responses": { "200": { @@ -81742,8 +84065,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { @@ -81816,8 +84141,10 @@ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf", + "application/cbor", "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf;stream=watch", + "application/cbor-seq" ], "responses": { "200": { diff --git a/src/gen/types/ObjectParamAPI.ts b/src/gen/types/ObjectParamAPI.ts index e9335524c44..bc6d44c6916 100644 --- a/src/gen/types/ObjectParamAPI.ts +++ b/src/gen/types/ObjectParamAPI.ts @@ -1,622 +1,634 @@ -import { ResponseContext, RequestContext, HttpFile, HttpInfo } from '../http/http.js'; -import { Configuration} from '../configuration.js' - -import { AdmissionregistrationV1ServiceReference } from '../models/AdmissionregistrationV1ServiceReference.js'; -import { AdmissionregistrationV1WebhookClientConfig } from '../models/AdmissionregistrationV1WebhookClientConfig.js'; -import { ApiextensionsV1ServiceReference } from '../models/ApiextensionsV1ServiceReference.js'; -import { ApiextensionsV1WebhookClientConfig } from '../models/ApiextensionsV1WebhookClientConfig.js'; -import { ApiregistrationV1ServiceReference } from '../models/ApiregistrationV1ServiceReference.js'; -import { AuthenticationV1TokenRequest } from '../models/AuthenticationV1TokenRequest.js'; -import { CoreV1EndpointPort } from '../models/CoreV1EndpointPort.js'; -import { CoreV1Event } from '../models/CoreV1Event.js'; -import { CoreV1EventList } from '../models/CoreV1EventList.js'; -import { CoreV1EventSeries } from '../models/CoreV1EventSeries.js'; -import { DiscoveryV1EndpointPort } from '../models/DiscoveryV1EndpointPort.js'; -import { EventsV1Event } from '../models/EventsV1Event.js'; -import { EventsV1EventList } from '../models/EventsV1EventList.js'; -import { EventsV1EventSeries } from '../models/EventsV1EventSeries.js'; -import { FlowcontrolV1Subject } from '../models/FlowcontrolV1Subject.js'; -import { RbacV1Subject } from '../models/RbacV1Subject.js'; -import { StorageV1TokenRequest } from '../models/StorageV1TokenRequest.js'; -import { V1APIGroup } from '../models/V1APIGroup.js'; -import { V1APIGroupList } from '../models/V1APIGroupList.js'; -import { V1APIResource } from '../models/V1APIResource.js'; -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1APIService } from '../models/V1APIService.js'; -import { V1APIServiceCondition } from '../models/V1APIServiceCondition.js'; -import { V1APIServiceList } from '../models/V1APIServiceList.js'; -import { V1APIServiceSpec } from '../models/V1APIServiceSpec.js'; -import { V1APIServiceStatus } from '../models/V1APIServiceStatus.js'; -import { V1APIVersions } from '../models/V1APIVersions.js'; -import { V1AWSElasticBlockStoreVolumeSource } from '../models/V1AWSElasticBlockStoreVolumeSource.js'; -import { V1Affinity } from '../models/V1Affinity.js'; -import { V1AggregationRule } from '../models/V1AggregationRule.js'; -import { V1AppArmorProfile } from '../models/V1AppArmorProfile.js'; -import { V1AttachedVolume } from '../models/V1AttachedVolume.js'; -import { V1AuditAnnotation } from '../models/V1AuditAnnotation.js'; -import { V1AzureDiskVolumeSource } from '../models/V1AzureDiskVolumeSource.js'; -import { V1AzureFilePersistentVolumeSource } from '../models/V1AzureFilePersistentVolumeSource.js'; -import { V1AzureFileVolumeSource } from '../models/V1AzureFileVolumeSource.js'; -import { V1Binding } from '../models/V1Binding.js'; -import { V1BoundObjectReference } from '../models/V1BoundObjectReference.js'; -import { V1CSIDriver } from '../models/V1CSIDriver.js'; -import { V1CSIDriverList } from '../models/V1CSIDriverList.js'; -import { V1CSIDriverSpec } from '../models/V1CSIDriverSpec.js'; -import { V1CSINode } from '../models/V1CSINode.js'; -import { V1CSINodeDriver } from '../models/V1CSINodeDriver.js'; -import { V1CSINodeList } from '../models/V1CSINodeList.js'; -import { V1CSINodeSpec } from '../models/V1CSINodeSpec.js'; -import { V1CSIPersistentVolumeSource } from '../models/V1CSIPersistentVolumeSource.js'; -import { V1CSIStorageCapacity } from '../models/V1CSIStorageCapacity.js'; -import { V1CSIStorageCapacityList } from '../models/V1CSIStorageCapacityList.js'; -import { V1CSIVolumeSource } from '../models/V1CSIVolumeSource.js'; -import { V1Capabilities } from '../models/V1Capabilities.js'; -import { V1CephFSPersistentVolumeSource } from '../models/V1CephFSPersistentVolumeSource.js'; -import { V1CephFSVolumeSource } from '../models/V1CephFSVolumeSource.js'; -import { V1CertificateSigningRequest } from '../models/V1CertificateSigningRequest.js'; -import { V1CertificateSigningRequestCondition } from '../models/V1CertificateSigningRequestCondition.js'; -import { V1CertificateSigningRequestList } from '../models/V1CertificateSigningRequestList.js'; -import { V1CertificateSigningRequestSpec } from '../models/V1CertificateSigningRequestSpec.js'; -import { V1CertificateSigningRequestStatus } from '../models/V1CertificateSigningRequestStatus.js'; -import { V1CinderPersistentVolumeSource } from '../models/V1CinderPersistentVolumeSource.js'; -import { V1CinderVolumeSource } from '../models/V1CinderVolumeSource.js'; -import { V1ClaimSource } from '../models/V1ClaimSource.js'; -import { V1ClientIPConfig } from '../models/V1ClientIPConfig.js'; -import { V1ClusterRole } from '../models/V1ClusterRole.js'; -import { V1ClusterRoleBinding } from '../models/V1ClusterRoleBinding.js'; -import { V1ClusterRoleBindingList } from '../models/V1ClusterRoleBindingList.js'; -import { V1ClusterRoleList } from '../models/V1ClusterRoleList.js'; -import { V1ClusterTrustBundleProjection } from '../models/V1ClusterTrustBundleProjection.js'; -import { V1ComponentCondition } from '../models/V1ComponentCondition.js'; -import { V1ComponentStatus } from '../models/V1ComponentStatus.js'; -import { V1ComponentStatusList } from '../models/V1ComponentStatusList.js'; -import { V1Condition } from '../models/V1Condition.js'; -import { V1ConfigMap } from '../models/V1ConfigMap.js'; -import { V1ConfigMapEnvSource } from '../models/V1ConfigMapEnvSource.js'; -import { V1ConfigMapKeySelector } from '../models/V1ConfigMapKeySelector.js'; -import { V1ConfigMapList } from '../models/V1ConfigMapList.js'; -import { V1ConfigMapNodeConfigSource } from '../models/V1ConfigMapNodeConfigSource.js'; -import { V1ConfigMapProjection } from '../models/V1ConfigMapProjection.js'; -import { V1ConfigMapVolumeSource } from '../models/V1ConfigMapVolumeSource.js'; -import { V1Container } from '../models/V1Container.js'; -import { V1ContainerImage } from '../models/V1ContainerImage.js'; -import { V1ContainerPort } from '../models/V1ContainerPort.js'; -import { V1ContainerResizePolicy } from '../models/V1ContainerResizePolicy.js'; -import { V1ContainerState } from '../models/V1ContainerState.js'; -import { V1ContainerStateRunning } from '../models/V1ContainerStateRunning.js'; -import { V1ContainerStateTerminated } from '../models/V1ContainerStateTerminated.js'; -import { V1ContainerStateWaiting } from '../models/V1ContainerStateWaiting.js'; -import { V1ContainerStatus } from '../models/V1ContainerStatus.js'; -import { V1ControllerRevision } from '../models/V1ControllerRevision.js'; -import { V1ControllerRevisionList } from '../models/V1ControllerRevisionList.js'; -import { V1CronJob } from '../models/V1CronJob.js'; -import { V1CronJobList } from '../models/V1CronJobList.js'; -import { V1CronJobSpec } from '../models/V1CronJobSpec.js'; -import { V1CronJobStatus } from '../models/V1CronJobStatus.js'; -import { V1CrossVersionObjectReference } from '../models/V1CrossVersionObjectReference.js'; -import { V1CustomResourceColumnDefinition } from '../models/V1CustomResourceColumnDefinition.js'; -import { V1CustomResourceConversion } from '../models/V1CustomResourceConversion.js'; -import { V1CustomResourceDefinition } from '../models/V1CustomResourceDefinition.js'; -import { V1CustomResourceDefinitionCondition } from '../models/V1CustomResourceDefinitionCondition.js'; -import { V1CustomResourceDefinitionList } from '../models/V1CustomResourceDefinitionList.js'; -import { V1CustomResourceDefinitionNames } from '../models/V1CustomResourceDefinitionNames.js'; -import { V1CustomResourceDefinitionSpec } from '../models/V1CustomResourceDefinitionSpec.js'; -import { V1CustomResourceDefinitionStatus } from '../models/V1CustomResourceDefinitionStatus.js'; -import { V1CustomResourceDefinitionVersion } from '../models/V1CustomResourceDefinitionVersion.js'; -import { V1CustomResourceSubresourceScale } from '../models/V1CustomResourceSubresourceScale.js'; -import { V1CustomResourceSubresources } from '../models/V1CustomResourceSubresources.js'; -import { V1CustomResourceValidation } from '../models/V1CustomResourceValidation.js'; -import { V1DaemonEndpoint } from '../models/V1DaemonEndpoint.js'; -import { V1DaemonSet } from '../models/V1DaemonSet.js'; -import { V1DaemonSetCondition } from '../models/V1DaemonSetCondition.js'; -import { V1DaemonSetList } from '../models/V1DaemonSetList.js'; -import { V1DaemonSetSpec } from '../models/V1DaemonSetSpec.js'; -import { V1DaemonSetStatus } from '../models/V1DaemonSetStatus.js'; -import { V1DaemonSetUpdateStrategy } from '../models/V1DaemonSetUpdateStrategy.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1Deployment } from '../models/V1Deployment.js'; -import { V1DeploymentCondition } from '../models/V1DeploymentCondition.js'; -import { V1DeploymentList } from '../models/V1DeploymentList.js'; -import { V1DeploymentSpec } from '../models/V1DeploymentSpec.js'; -import { V1DeploymentStatus } from '../models/V1DeploymentStatus.js'; -import { V1DeploymentStrategy } from '../models/V1DeploymentStrategy.js'; -import { V1DownwardAPIProjection } from '../models/V1DownwardAPIProjection.js'; -import { V1DownwardAPIVolumeFile } from '../models/V1DownwardAPIVolumeFile.js'; -import { V1DownwardAPIVolumeSource } from '../models/V1DownwardAPIVolumeSource.js'; -import { V1EmptyDirVolumeSource } from '../models/V1EmptyDirVolumeSource.js'; -import { V1Endpoint } from '../models/V1Endpoint.js'; -import { V1EndpointAddress } from '../models/V1EndpointAddress.js'; -import { V1EndpointConditions } from '../models/V1EndpointConditions.js'; -import { V1EndpointHints } from '../models/V1EndpointHints.js'; -import { V1EndpointSlice } from '../models/V1EndpointSlice.js'; -import { V1EndpointSliceList } from '../models/V1EndpointSliceList.js'; -import { V1EndpointSubset } from '../models/V1EndpointSubset.js'; -import { V1Endpoints } from '../models/V1Endpoints.js'; -import { V1EndpointsList } from '../models/V1EndpointsList.js'; -import { V1EnvFromSource } from '../models/V1EnvFromSource.js'; -import { V1EnvVar } from '../models/V1EnvVar.js'; -import { V1EnvVarSource } from '../models/V1EnvVarSource.js'; -import { V1EphemeralContainer } from '../models/V1EphemeralContainer.js'; -import { V1EphemeralVolumeSource } from '../models/V1EphemeralVolumeSource.js'; -import { V1EventSource } from '../models/V1EventSource.js'; -import { V1Eviction } from '../models/V1Eviction.js'; -import { V1ExecAction } from '../models/V1ExecAction.js'; -import { V1ExemptPriorityLevelConfiguration } from '../models/V1ExemptPriorityLevelConfiguration.js'; -import { V1ExpressionWarning } from '../models/V1ExpressionWarning.js'; -import { V1ExternalDocumentation } from '../models/V1ExternalDocumentation.js'; -import { V1FCVolumeSource } from '../models/V1FCVolumeSource.js'; -import { V1FlexPersistentVolumeSource } from '../models/V1FlexPersistentVolumeSource.js'; -import { V1FlexVolumeSource } from '../models/V1FlexVolumeSource.js'; -import { V1FlockerVolumeSource } from '../models/V1FlockerVolumeSource.js'; -import { V1FlowDistinguisherMethod } from '../models/V1FlowDistinguisherMethod.js'; -import { V1FlowSchema } from '../models/V1FlowSchema.js'; -import { V1FlowSchemaCondition } from '../models/V1FlowSchemaCondition.js'; -import { V1FlowSchemaList } from '../models/V1FlowSchemaList.js'; -import { V1FlowSchemaSpec } from '../models/V1FlowSchemaSpec.js'; -import { V1FlowSchemaStatus } from '../models/V1FlowSchemaStatus.js'; -import { V1ForZone } from '../models/V1ForZone.js'; -import { V1GCEPersistentDiskVolumeSource } from '../models/V1GCEPersistentDiskVolumeSource.js'; -import { V1GRPCAction } from '../models/V1GRPCAction.js'; -import { V1GitRepoVolumeSource } from '../models/V1GitRepoVolumeSource.js'; -import { V1GlusterfsPersistentVolumeSource } from '../models/V1GlusterfsPersistentVolumeSource.js'; -import { V1GlusterfsVolumeSource } from '../models/V1GlusterfsVolumeSource.js'; -import { V1GroupSubject } from '../models/V1GroupSubject.js'; -import { V1GroupVersionForDiscovery } from '../models/V1GroupVersionForDiscovery.js'; -import { V1HTTPGetAction } from '../models/V1HTTPGetAction.js'; -import { V1HTTPHeader } from '../models/V1HTTPHeader.js'; -import { V1HTTPIngressPath } from '../models/V1HTTPIngressPath.js'; -import { V1HTTPIngressRuleValue } from '../models/V1HTTPIngressRuleValue.js'; -import { V1HorizontalPodAutoscaler } from '../models/V1HorizontalPodAutoscaler.js'; -import { V1HorizontalPodAutoscalerList } from '../models/V1HorizontalPodAutoscalerList.js'; -import { V1HorizontalPodAutoscalerSpec } from '../models/V1HorizontalPodAutoscalerSpec.js'; -import { V1HorizontalPodAutoscalerStatus } from '../models/V1HorizontalPodAutoscalerStatus.js'; -import { V1HostAlias } from '../models/V1HostAlias.js'; -import { V1HostIP } from '../models/V1HostIP.js'; -import { V1HostPathVolumeSource } from '../models/V1HostPathVolumeSource.js'; -import { V1IPBlock } from '../models/V1IPBlock.js'; -import { V1ISCSIPersistentVolumeSource } from '../models/V1ISCSIPersistentVolumeSource.js'; -import { V1ISCSIVolumeSource } from '../models/V1ISCSIVolumeSource.js'; -import { V1Ingress } from '../models/V1Ingress.js'; -import { V1IngressBackend } from '../models/V1IngressBackend.js'; -import { V1IngressClass } from '../models/V1IngressClass.js'; -import { V1IngressClassList } from '../models/V1IngressClassList.js'; -import { V1IngressClassParametersReference } from '../models/V1IngressClassParametersReference.js'; -import { V1IngressClassSpec } from '../models/V1IngressClassSpec.js'; -import { V1IngressList } from '../models/V1IngressList.js'; -import { V1IngressLoadBalancerIngress } from '../models/V1IngressLoadBalancerIngress.js'; -import { V1IngressLoadBalancerStatus } from '../models/V1IngressLoadBalancerStatus.js'; -import { V1IngressPortStatus } from '../models/V1IngressPortStatus.js'; -import { V1IngressRule } from '../models/V1IngressRule.js'; -import { V1IngressServiceBackend } from '../models/V1IngressServiceBackend.js'; -import { V1IngressSpec } from '../models/V1IngressSpec.js'; -import { V1IngressStatus } from '../models/V1IngressStatus.js'; -import { V1IngressTLS } from '../models/V1IngressTLS.js'; -import { V1JSONSchemaProps } from '../models/V1JSONSchemaProps.js'; -import { V1Job } from '../models/V1Job.js'; -import { V1JobCondition } from '../models/V1JobCondition.js'; -import { V1JobList } from '../models/V1JobList.js'; -import { V1JobSpec } from '../models/V1JobSpec.js'; -import { V1JobStatus } from '../models/V1JobStatus.js'; -import { V1JobTemplateSpec } from '../models/V1JobTemplateSpec.js'; -import { V1KeyToPath } from '../models/V1KeyToPath.js'; -import { V1LabelSelector } from '../models/V1LabelSelector.js'; -import { V1LabelSelectorRequirement } from '../models/V1LabelSelectorRequirement.js'; -import { V1Lease } from '../models/V1Lease.js'; -import { V1LeaseList } from '../models/V1LeaseList.js'; -import { V1LeaseSpec } from '../models/V1LeaseSpec.js'; -import { V1Lifecycle } from '../models/V1Lifecycle.js'; -import { V1LifecycleHandler } from '../models/V1LifecycleHandler.js'; -import { V1LimitRange } from '../models/V1LimitRange.js'; -import { V1LimitRangeItem } from '../models/V1LimitRangeItem.js'; -import { V1LimitRangeList } from '../models/V1LimitRangeList.js'; -import { V1LimitRangeSpec } from '../models/V1LimitRangeSpec.js'; -import { V1LimitResponse } from '../models/V1LimitResponse.js'; -import { V1LimitedPriorityLevelConfiguration } from '../models/V1LimitedPriorityLevelConfiguration.js'; -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1LoadBalancerIngress } from '../models/V1LoadBalancerIngress.js'; -import { V1LoadBalancerStatus } from '../models/V1LoadBalancerStatus.js'; -import { V1LocalObjectReference } from '../models/V1LocalObjectReference.js'; -import { V1LocalSubjectAccessReview } from '../models/V1LocalSubjectAccessReview.js'; -import { V1LocalVolumeSource } from '../models/V1LocalVolumeSource.js'; -import { V1ManagedFieldsEntry } from '../models/V1ManagedFieldsEntry.js'; -import { V1MatchCondition } from '../models/V1MatchCondition.js'; -import { V1MatchResources } from '../models/V1MatchResources.js'; -import { V1ModifyVolumeStatus } from '../models/V1ModifyVolumeStatus.js'; -import { V1MutatingWebhook } from '../models/V1MutatingWebhook.js'; -import { V1MutatingWebhookConfiguration } from '../models/V1MutatingWebhookConfiguration.js'; -import { V1MutatingWebhookConfigurationList } from '../models/V1MutatingWebhookConfigurationList.js'; -import { V1NFSVolumeSource } from '../models/V1NFSVolumeSource.js'; -import { V1NamedRuleWithOperations } from '../models/V1NamedRuleWithOperations.js'; -import { V1Namespace } from '../models/V1Namespace.js'; -import { V1NamespaceCondition } from '../models/V1NamespaceCondition.js'; -import { V1NamespaceList } from '../models/V1NamespaceList.js'; -import { V1NamespaceSpec } from '../models/V1NamespaceSpec.js'; -import { V1NamespaceStatus } from '../models/V1NamespaceStatus.js'; -import { V1NetworkPolicy } from '../models/V1NetworkPolicy.js'; -import { V1NetworkPolicyEgressRule } from '../models/V1NetworkPolicyEgressRule.js'; -import { V1NetworkPolicyIngressRule } from '../models/V1NetworkPolicyIngressRule.js'; -import { V1NetworkPolicyList } from '../models/V1NetworkPolicyList.js'; -import { V1NetworkPolicyPeer } from '../models/V1NetworkPolicyPeer.js'; -import { V1NetworkPolicyPort } from '../models/V1NetworkPolicyPort.js'; -import { V1NetworkPolicySpec } from '../models/V1NetworkPolicySpec.js'; -import { V1Node } from '../models/V1Node.js'; -import { V1NodeAddress } from '../models/V1NodeAddress.js'; -import { V1NodeAffinity } from '../models/V1NodeAffinity.js'; -import { V1NodeCondition } from '../models/V1NodeCondition.js'; -import { V1NodeConfigSource } from '../models/V1NodeConfigSource.js'; -import { V1NodeConfigStatus } from '../models/V1NodeConfigStatus.js'; -import { V1NodeDaemonEndpoints } from '../models/V1NodeDaemonEndpoints.js'; -import { V1NodeList } from '../models/V1NodeList.js'; -import { V1NodeRuntimeHandler } from '../models/V1NodeRuntimeHandler.js'; -import { V1NodeRuntimeHandlerFeatures } from '../models/V1NodeRuntimeHandlerFeatures.js'; -import { V1NodeSelector } from '../models/V1NodeSelector.js'; -import { V1NodeSelectorRequirement } from '../models/V1NodeSelectorRequirement.js'; -import { V1NodeSelectorTerm } from '../models/V1NodeSelectorTerm.js'; -import { V1NodeSpec } from '../models/V1NodeSpec.js'; -import { V1NodeStatus } from '../models/V1NodeStatus.js'; -import { V1NodeSystemInfo } from '../models/V1NodeSystemInfo.js'; -import { V1NonResourceAttributes } from '../models/V1NonResourceAttributes.js'; -import { V1NonResourcePolicyRule } from '../models/V1NonResourcePolicyRule.js'; -import { V1NonResourceRule } from '../models/V1NonResourceRule.js'; -import { V1ObjectFieldSelector } from '../models/V1ObjectFieldSelector.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1ObjectReference } from '../models/V1ObjectReference.js'; -import { V1Overhead } from '../models/V1Overhead.js'; -import { V1OwnerReference } from '../models/V1OwnerReference.js'; -import { V1ParamKind } from '../models/V1ParamKind.js'; -import { V1ParamRef } from '../models/V1ParamRef.js'; -import { V1PersistentVolume } from '../models/V1PersistentVolume.js'; -import { V1PersistentVolumeClaim } from '../models/V1PersistentVolumeClaim.js'; -import { V1PersistentVolumeClaimCondition } from '../models/V1PersistentVolumeClaimCondition.js'; -import { V1PersistentVolumeClaimList } from '../models/V1PersistentVolumeClaimList.js'; -import { V1PersistentVolumeClaimSpec } from '../models/V1PersistentVolumeClaimSpec.js'; -import { V1PersistentVolumeClaimStatus } from '../models/V1PersistentVolumeClaimStatus.js'; -import { V1PersistentVolumeClaimTemplate } from '../models/V1PersistentVolumeClaimTemplate.js'; -import { V1PersistentVolumeClaimVolumeSource } from '../models/V1PersistentVolumeClaimVolumeSource.js'; -import { V1PersistentVolumeList } from '../models/V1PersistentVolumeList.js'; -import { V1PersistentVolumeSpec } from '../models/V1PersistentVolumeSpec.js'; -import { V1PersistentVolumeStatus } from '../models/V1PersistentVolumeStatus.js'; -import { V1PhotonPersistentDiskVolumeSource } from '../models/V1PhotonPersistentDiskVolumeSource.js'; -import { V1Pod } from '../models/V1Pod.js'; -import { V1PodAffinity } from '../models/V1PodAffinity.js'; -import { V1PodAffinityTerm } from '../models/V1PodAffinityTerm.js'; -import { V1PodAntiAffinity } from '../models/V1PodAntiAffinity.js'; -import { V1PodCondition } from '../models/V1PodCondition.js'; -import { V1PodDNSConfig } from '../models/V1PodDNSConfig.js'; -import { V1PodDNSConfigOption } from '../models/V1PodDNSConfigOption.js'; -import { V1PodDisruptionBudget } from '../models/V1PodDisruptionBudget.js'; -import { V1PodDisruptionBudgetList } from '../models/V1PodDisruptionBudgetList.js'; -import { V1PodDisruptionBudgetSpec } from '../models/V1PodDisruptionBudgetSpec.js'; -import { V1PodDisruptionBudgetStatus } from '../models/V1PodDisruptionBudgetStatus.js'; -import { V1PodFailurePolicy } from '../models/V1PodFailurePolicy.js'; -import { V1PodFailurePolicyOnExitCodesRequirement } from '../models/V1PodFailurePolicyOnExitCodesRequirement.js'; -import { V1PodFailurePolicyOnPodConditionsPattern } from '../models/V1PodFailurePolicyOnPodConditionsPattern.js'; -import { V1PodFailurePolicyRule } from '../models/V1PodFailurePolicyRule.js'; -import { V1PodIP } from '../models/V1PodIP.js'; -import { V1PodList } from '../models/V1PodList.js'; -import { V1PodOS } from '../models/V1PodOS.js'; -import { V1PodReadinessGate } from '../models/V1PodReadinessGate.js'; -import { V1PodResourceClaim } from '../models/V1PodResourceClaim.js'; -import { V1PodResourceClaimStatus } from '../models/V1PodResourceClaimStatus.js'; -import { V1PodSchedulingGate } from '../models/V1PodSchedulingGate.js'; -import { V1PodSecurityContext } from '../models/V1PodSecurityContext.js'; -import { V1PodSpec } from '../models/V1PodSpec.js'; -import { V1PodStatus } from '../models/V1PodStatus.js'; -import { V1PodTemplate } from '../models/V1PodTemplate.js'; -import { V1PodTemplateList } from '../models/V1PodTemplateList.js'; -import { V1PodTemplateSpec } from '../models/V1PodTemplateSpec.js'; -import { V1PolicyRule } from '../models/V1PolicyRule.js'; -import { V1PolicyRulesWithSubjects } from '../models/V1PolicyRulesWithSubjects.js'; -import { V1PortStatus } from '../models/V1PortStatus.js'; -import { V1PortworxVolumeSource } from '../models/V1PortworxVolumeSource.js'; -import { V1Preconditions } from '../models/V1Preconditions.js'; -import { V1PreferredSchedulingTerm } from '../models/V1PreferredSchedulingTerm.js'; -import { V1PriorityClass } from '../models/V1PriorityClass.js'; -import { V1PriorityClassList } from '../models/V1PriorityClassList.js'; -import { V1PriorityLevelConfiguration } from '../models/V1PriorityLevelConfiguration.js'; -import { V1PriorityLevelConfigurationCondition } from '../models/V1PriorityLevelConfigurationCondition.js'; -import { V1PriorityLevelConfigurationList } from '../models/V1PriorityLevelConfigurationList.js'; -import { V1PriorityLevelConfigurationReference } from '../models/V1PriorityLevelConfigurationReference.js'; -import { V1PriorityLevelConfigurationSpec } from '../models/V1PriorityLevelConfigurationSpec.js'; -import { V1PriorityLevelConfigurationStatus } from '../models/V1PriorityLevelConfigurationStatus.js'; -import { V1Probe } from '../models/V1Probe.js'; -import { V1ProjectedVolumeSource } from '../models/V1ProjectedVolumeSource.js'; -import { V1QueuingConfiguration } from '../models/V1QueuingConfiguration.js'; -import { V1QuobyteVolumeSource } from '../models/V1QuobyteVolumeSource.js'; -import { V1RBDPersistentVolumeSource } from '../models/V1RBDPersistentVolumeSource.js'; -import { V1RBDVolumeSource } from '../models/V1RBDVolumeSource.js'; -import { V1ReplicaSet } from '../models/V1ReplicaSet.js'; -import { V1ReplicaSetCondition } from '../models/V1ReplicaSetCondition.js'; -import { V1ReplicaSetList } from '../models/V1ReplicaSetList.js'; -import { V1ReplicaSetSpec } from '../models/V1ReplicaSetSpec.js'; -import { V1ReplicaSetStatus } from '../models/V1ReplicaSetStatus.js'; -import { V1ReplicationController } from '../models/V1ReplicationController.js'; -import { V1ReplicationControllerCondition } from '../models/V1ReplicationControllerCondition.js'; -import { V1ReplicationControllerList } from '../models/V1ReplicationControllerList.js'; -import { V1ReplicationControllerSpec } from '../models/V1ReplicationControllerSpec.js'; -import { V1ReplicationControllerStatus } from '../models/V1ReplicationControllerStatus.js'; -import { V1ResourceAttributes } from '../models/V1ResourceAttributes.js'; -import { V1ResourceClaim } from '../models/V1ResourceClaim.js'; -import { V1ResourceFieldSelector } from '../models/V1ResourceFieldSelector.js'; -import { V1ResourcePolicyRule } from '../models/V1ResourcePolicyRule.js'; -import { V1ResourceQuota } from '../models/V1ResourceQuota.js'; -import { V1ResourceQuotaList } from '../models/V1ResourceQuotaList.js'; -import { V1ResourceQuotaSpec } from '../models/V1ResourceQuotaSpec.js'; -import { V1ResourceQuotaStatus } from '../models/V1ResourceQuotaStatus.js'; -import { V1ResourceRequirements } from '../models/V1ResourceRequirements.js'; -import { V1ResourceRule } from '../models/V1ResourceRule.js'; -import { V1Role } from '../models/V1Role.js'; -import { V1RoleBinding } from '../models/V1RoleBinding.js'; -import { V1RoleBindingList } from '../models/V1RoleBindingList.js'; -import { V1RoleList } from '../models/V1RoleList.js'; -import { V1RoleRef } from '../models/V1RoleRef.js'; -import { V1RollingUpdateDaemonSet } from '../models/V1RollingUpdateDaemonSet.js'; -import { V1RollingUpdateDeployment } from '../models/V1RollingUpdateDeployment.js'; -import { V1RollingUpdateStatefulSetStrategy } from '../models/V1RollingUpdateStatefulSetStrategy.js'; -import { V1RuleWithOperations } from '../models/V1RuleWithOperations.js'; -import { V1RuntimeClass } from '../models/V1RuntimeClass.js'; -import { V1RuntimeClassList } from '../models/V1RuntimeClassList.js'; -import { V1SELinuxOptions } from '../models/V1SELinuxOptions.js'; -import { V1Scale } from '../models/V1Scale.js'; -import { V1ScaleIOPersistentVolumeSource } from '../models/V1ScaleIOPersistentVolumeSource.js'; -import { V1ScaleIOVolumeSource } from '../models/V1ScaleIOVolumeSource.js'; -import { V1ScaleSpec } from '../models/V1ScaleSpec.js'; -import { V1ScaleStatus } from '../models/V1ScaleStatus.js'; -import { V1Scheduling } from '../models/V1Scheduling.js'; -import { V1ScopeSelector } from '../models/V1ScopeSelector.js'; -import { V1ScopedResourceSelectorRequirement } from '../models/V1ScopedResourceSelectorRequirement.js'; -import { V1SeccompProfile } from '../models/V1SeccompProfile.js'; -import { V1Secret } from '../models/V1Secret.js'; -import { V1SecretEnvSource } from '../models/V1SecretEnvSource.js'; -import { V1SecretKeySelector } from '../models/V1SecretKeySelector.js'; -import { V1SecretList } from '../models/V1SecretList.js'; -import { V1SecretProjection } from '../models/V1SecretProjection.js'; -import { V1SecretReference } from '../models/V1SecretReference.js'; -import { V1SecretVolumeSource } from '../models/V1SecretVolumeSource.js'; -import { V1SecurityContext } from '../models/V1SecurityContext.js'; -import { V1SelectableField } from '../models/V1SelectableField.js'; -import { V1SelfSubjectAccessReview } from '../models/V1SelfSubjectAccessReview.js'; -import { V1SelfSubjectAccessReviewSpec } from '../models/V1SelfSubjectAccessReviewSpec.js'; -import { V1SelfSubjectReview } from '../models/V1SelfSubjectReview.js'; -import { V1SelfSubjectReviewStatus } from '../models/V1SelfSubjectReviewStatus.js'; -import { V1SelfSubjectRulesReview } from '../models/V1SelfSubjectRulesReview.js'; -import { V1SelfSubjectRulesReviewSpec } from '../models/V1SelfSubjectRulesReviewSpec.js'; -import { V1ServerAddressByClientCIDR } from '../models/V1ServerAddressByClientCIDR.js'; -import { V1Service } from '../models/V1Service.js'; -import { V1ServiceAccount } from '../models/V1ServiceAccount.js'; -import { V1ServiceAccountList } from '../models/V1ServiceAccountList.js'; -import { V1ServiceAccountSubject } from '../models/V1ServiceAccountSubject.js'; -import { V1ServiceAccountTokenProjection } from '../models/V1ServiceAccountTokenProjection.js'; -import { V1ServiceBackendPort } from '../models/V1ServiceBackendPort.js'; -import { V1ServiceList } from '../models/V1ServiceList.js'; -import { V1ServicePort } from '../models/V1ServicePort.js'; -import { V1ServiceSpec } from '../models/V1ServiceSpec.js'; -import { V1ServiceStatus } from '../models/V1ServiceStatus.js'; -import { V1SessionAffinityConfig } from '../models/V1SessionAffinityConfig.js'; -import { V1SleepAction } from '../models/V1SleepAction.js'; -import { V1StatefulSet } from '../models/V1StatefulSet.js'; -import { V1StatefulSetCondition } from '../models/V1StatefulSetCondition.js'; -import { V1StatefulSetList } from '../models/V1StatefulSetList.js'; -import { V1StatefulSetOrdinals } from '../models/V1StatefulSetOrdinals.js'; -import { V1StatefulSetPersistentVolumeClaimRetentionPolicy } from '../models/V1StatefulSetPersistentVolumeClaimRetentionPolicy.js'; -import { V1StatefulSetSpec } from '../models/V1StatefulSetSpec.js'; -import { V1StatefulSetStatus } from '../models/V1StatefulSetStatus.js'; -import { V1StatefulSetUpdateStrategy } from '../models/V1StatefulSetUpdateStrategy.js'; -import { V1Status } from '../models/V1Status.js'; -import { V1StatusCause } from '../models/V1StatusCause.js'; -import { V1StatusDetails } from '../models/V1StatusDetails.js'; -import { V1StorageClass } from '../models/V1StorageClass.js'; -import { V1StorageClassList } from '../models/V1StorageClassList.js'; -import { V1StorageOSPersistentVolumeSource } from '../models/V1StorageOSPersistentVolumeSource.js'; -import { V1StorageOSVolumeSource } from '../models/V1StorageOSVolumeSource.js'; -import { V1SubjectAccessReview } from '../models/V1SubjectAccessReview.js'; -import { V1SubjectAccessReviewSpec } from '../models/V1SubjectAccessReviewSpec.js'; -import { V1SubjectAccessReviewStatus } from '../models/V1SubjectAccessReviewStatus.js'; -import { V1SubjectRulesReviewStatus } from '../models/V1SubjectRulesReviewStatus.js'; -import { V1SuccessPolicy } from '../models/V1SuccessPolicy.js'; -import { V1SuccessPolicyRule } from '../models/V1SuccessPolicyRule.js'; -import { V1Sysctl } from '../models/V1Sysctl.js'; -import { V1TCPSocketAction } from '../models/V1TCPSocketAction.js'; -import { V1Taint } from '../models/V1Taint.js'; -import { V1TokenRequestSpec } from '../models/V1TokenRequestSpec.js'; -import { V1TokenRequestStatus } from '../models/V1TokenRequestStatus.js'; -import { V1TokenReview } from '../models/V1TokenReview.js'; -import { V1TokenReviewSpec } from '../models/V1TokenReviewSpec.js'; -import { V1TokenReviewStatus } from '../models/V1TokenReviewStatus.js'; -import { V1Toleration } from '../models/V1Toleration.js'; -import { V1TopologySelectorLabelRequirement } from '../models/V1TopologySelectorLabelRequirement.js'; -import { V1TopologySelectorTerm } from '../models/V1TopologySelectorTerm.js'; -import { V1TopologySpreadConstraint } from '../models/V1TopologySpreadConstraint.js'; -import { V1TypeChecking } from '../models/V1TypeChecking.js'; -import { V1TypedLocalObjectReference } from '../models/V1TypedLocalObjectReference.js'; -import { V1TypedObjectReference } from '../models/V1TypedObjectReference.js'; -import { V1UncountedTerminatedPods } from '../models/V1UncountedTerminatedPods.js'; -import { V1UserInfo } from '../models/V1UserInfo.js'; -import { V1UserSubject } from '../models/V1UserSubject.js'; -import { V1ValidatingAdmissionPolicy } from '../models/V1ValidatingAdmissionPolicy.js'; -import { V1ValidatingAdmissionPolicyBinding } from '../models/V1ValidatingAdmissionPolicyBinding.js'; -import { V1ValidatingAdmissionPolicyBindingList } from '../models/V1ValidatingAdmissionPolicyBindingList.js'; -import { V1ValidatingAdmissionPolicyBindingSpec } from '../models/V1ValidatingAdmissionPolicyBindingSpec.js'; -import { V1ValidatingAdmissionPolicyList } from '../models/V1ValidatingAdmissionPolicyList.js'; -import { V1ValidatingAdmissionPolicySpec } from '../models/V1ValidatingAdmissionPolicySpec.js'; -import { V1ValidatingAdmissionPolicyStatus } from '../models/V1ValidatingAdmissionPolicyStatus.js'; -import { V1ValidatingWebhook } from '../models/V1ValidatingWebhook.js'; -import { V1ValidatingWebhookConfiguration } from '../models/V1ValidatingWebhookConfiguration.js'; -import { V1ValidatingWebhookConfigurationList } from '../models/V1ValidatingWebhookConfigurationList.js'; -import { V1Validation } from '../models/V1Validation.js'; -import { V1ValidationRule } from '../models/V1ValidationRule.js'; -import { V1Variable } from '../models/V1Variable.js'; -import { V1Volume } from '../models/V1Volume.js'; -import { V1VolumeAttachment } from '../models/V1VolumeAttachment.js'; -import { V1VolumeAttachmentList } from '../models/V1VolumeAttachmentList.js'; -import { V1VolumeAttachmentSource } from '../models/V1VolumeAttachmentSource.js'; -import { V1VolumeAttachmentSpec } from '../models/V1VolumeAttachmentSpec.js'; -import { V1VolumeAttachmentStatus } from '../models/V1VolumeAttachmentStatus.js'; -import { V1VolumeDevice } from '../models/V1VolumeDevice.js'; -import { V1VolumeError } from '../models/V1VolumeError.js'; -import { V1VolumeMount } from '../models/V1VolumeMount.js'; -import { V1VolumeMountStatus } from '../models/V1VolumeMountStatus.js'; -import { V1VolumeNodeAffinity } from '../models/V1VolumeNodeAffinity.js'; -import { V1VolumeNodeResources } from '../models/V1VolumeNodeResources.js'; -import { V1VolumeProjection } from '../models/V1VolumeProjection.js'; -import { V1VolumeResourceRequirements } from '../models/V1VolumeResourceRequirements.js'; -import { V1VsphereVirtualDiskVolumeSource } from '../models/V1VsphereVirtualDiskVolumeSource.js'; -import { V1WatchEvent } from '../models/V1WatchEvent.js'; -import { V1WebhookConversion } from '../models/V1WebhookConversion.js'; -import { V1WeightedPodAffinityTerm } from '../models/V1WeightedPodAffinityTerm.js'; -import { V1WindowsSecurityContextOptions } from '../models/V1WindowsSecurityContextOptions.js'; -import { V1alpha1AuditAnnotation } from '../models/V1alpha1AuditAnnotation.js'; -import { V1alpha1ClusterTrustBundle } from '../models/V1alpha1ClusterTrustBundle.js'; -import { V1alpha1ClusterTrustBundleList } from '../models/V1alpha1ClusterTrustBundleList.js'; -import { V1alpha1ClusterTrustBundleSpec } from '../models/V1alpha1ClusterTrustBundleSpec.js'; -import { V1alpha1ExpressionWarning } from '../models/V1alpha1ExpressionWarning.js'; -import { V1alpha1GroupVersionResource } from '../models/V1alpha1GroupVersionResource.js'; -import { V1alpha1IPAddress } from '../models/V1alpha1IPAddress.js'; -import { V1alpha1IPAddressList } from '../models/V1alpha1IPAddressList.js'; -import { V1alpha1IPAddressSpec } from '../models/V1alpha1IPAddressSpec.js'; -import { V1alpha1MatchCondition } from '../models/V1alpha1MatchCondition.js'; -import { V1alpha1MatchResources } from '../models/V1alpha1MatchResources.js'; -import { V1alpha1MigrationCondition } from '../models/V1alpha1MigrationCondition.js'; -import { V1alpha1NamedRuleWithOperations } from '../models/V1alpha1NamedRuleWithOperations.js'; -import { V1alpha1ParamKind } from '../models/V1alpha1ParamKind.js'; -import { V1alpha1ParamRef } from '../models/V1alpha1ParamRef.js'; -import { V1alpha1ParentReference } from '../models/V1alpha1ParentReference.js'; -import { V1alpha1SelfSubjectReview } from '../models/V1alpha1SelfSubjectReview.js'; -import { V1alpha1SelfSubjectReviewStatus } from '../models/V1alpha1SelfSubjectReviewStatus.js'; -import { V1alpha1ServerStorageVersion } from '../models/V1alpha1ServerStorageVersion.js'; -import { V1alpha1ServiceCIDR } from '../models/V1alpha1ServiceCIDR.js'; -import { V1alpha1ServiceCIDRList } from '../models/V1alpha1ServiceCIDRList.js'; -import { V1alpha1ServiceCIDRSpec } from '../models/V1alpha1ServiceCIDRSpec.js'; -import { V1alpha1ServiceCIDRStatus } from '../models/V1alpha1ServiceCIDRStatus.js'; -import { V1alpha1StorageVersion } from '../models/V1alpha1StorageVersion.js'; -import { V1alpha1StorageVersionCondition } from '../models/V1alpha1StorageVersionCondition.js'; -import { V1alpha1StorageVersionList } from '../models/V1alpha1StorageVersionList.js'; -import { V1alpha1StorageVersionMigration } from '../models/V1alpha1StorageVersionMigration.js'; -import { V1alpha1StorageVersionMigrationList } from '../models/V1alpha1StorageVersionMigrationList.js'; -import { V1alpha1StorageVersionMigrationSpec } from '../models/V1alpha1StorageVersionMigrationSpec.js'; -import { V1alpha1StorageVersionMigrationStatus } from '../models/V1alpha1StorageVersionMigrationStatus.js'; -import { V1alpha1StorageVersionStatus } from '../models/V1alpha1StorageVersionStatus.js'; -import { V1alpha1TypeChecking } from '../models/V1alpha1TypeChecking.js'; -import { V1alpha1ValidatingAdmissionPolicy } from '../models/V1alpha1ValidatingAdmissionPolicy.js'; -import { V1alpha1ValidatingAdmissionPolicyBinding } from '../models/V1alpha1ValidatingAdmissionPolicyBinding.js'; -import { V1alpha1ValidatingAdmissionPolicyBindingList } from '../models/V1alpha1ValidatingAdmissionPolicyBindingList.js'; -import { V1alpha1ValidatingAdmissionPolicyBindingSpec } from '../models/V1alpha1ValidatingAdmissionPolicyBindingSpec.js'; -import { V1alpha1ValidatingAdmissionPolicyList } from '../models/V1alpha1ValidatingAdmissionPolicyList.js'; -import { V1alpha1ValidatingAdmissionPolicySpec } from '../models/V1alpha1ValidatingAdmissionPolicySpec.js'; -import { V1alpha1ValidatingAdmissionPolicyStatus } from '../models/V1alpha1ValidatingAdmissionPolicyStatus.js'; -import { V1alpha1Validation } from '../models/V1alpha1Validation.js'; -import { V1alpha1Variable } from '../models/V1alpha1Variable.js'; -import { V1alpha1VolumeAttributesClass } from '../models/V1alpha1VolumeAttributesClass.js'; -import { V1alpha1VolumeAttributesClassList } from '../models/V1alpha1VolumeAttributesClassList.js'; -import { V1alpha2AllocationResult } from '../models/V1alpha2AllocationResult.js'; -import { V1alpha2DriverAllocationResult } from '../models/V1alpha2DriverAllocationResult.js'; -import { V1alpha2DriverRequests } from '../models/V1alpha2DriverRequests.js'; -import { V1alpha2NamedResourcesAllocationResult } from '../models/V1alpha2NamedResourcesAllocationResult.js'; -import { V1alpha2NamedResourcesAttribute } from '../models/V1alpha2NamedResourcesAttribute.js'; -import { V1alpha2NamedResourcesFilter } from '../models/V1alpha2NamedResourcesFilter.js'; -import { V1alpha2NamedResourcesInstance } from '../models/V1alpha2NamedResourcesInstance.js'; -import { V1alpha2NamedResourcesIntSlice } from '../models/V1alpha2NamedResourcesIntSlice.js'; -import { V1alpha2NamedResourcesRequest } from '../models/V1alpha2NamedResourcesRequest.js'; -import { V1alpha2NamedResourcesResources } from '../models/V1alpha2NamedResourcesResources.js'; -import { V1alpha2NamedResourcesStringSlice } from '../models/V1alpha2NamedResourcesStringSlice.js'; -import { V1alpha2PodSchedulingContext } from '../models/V1alpha2PodSchedulingContext.js'; -import { V1alpha2PodSchedulingContextList } from '../models/V1alpha2PodSchedulingContextList.js'; -import { V1alpha2PodSchedulingContextSpec } from '../models/V1alpha2PodSchedulingContextSpec.js'; -import { V1alpha2PodSchedulingContextStatus } from '../models/V1alpha2PodSchedulingContextStatus.js'; -import { V1alpha2ResourceClaim } from '../models/V1alpha2ResourceClaim.js'; -import { V1alpha2ResourceClaimConsumerReference } from '../models/V1alpha2ResourceClaimConsumerReference.js'; -import { V1alpha2ResourceClaimList } from '../models/V1alpha2ResourceClaimList.js'; -import { V1alpha2ResourceClaimParameters } from '../models/V1alpha2ResourceClaimParameters.js'; -import { V1alpha2ResourceClaimParametersList } from '../models/V1alpha2ResourceClaimParametersList.js'; -import { V1alpha2ResourceClaimParametersReference } from '../models/V1alpha2ResourceClaimParametersReference.js'; -import { V1alpha2ResourceClaimSchedulingStatus } from '../models/V1alpha2ResourceClaimSchedulingStatus.js'; -import { V1alpha2ResourceClaimSpec } from '../models/V1alpha2ResourceClaimSpec.js'; -import { V1alpha2ResourceClaimStatus } from '../models/V1alpha2ResourceClaimStatus.js'; -import { V1alpha2ResourceClaimTemplate } from '../models/V1alpha2ResourceClaimTemplate.js'; -import { V1alpha2ResourceClaimTemplateList } from '../models/V1alpha2ResourceClaimTemplateList.js'; -import { V1alpha2ResourceClaimTemplateSpec } from '../models/V1alpha2ResourceClaimTemplateSpec.js'; -import { V1alpha2ResourceClass } from '../models/V1alpha2ResourceClass.js'; -import { V1alpha2ResourceClassList } from '../models/V1alpha2ResourceClassList.js'; -import { V1alpha2ResourceClassParameters } from '../models/V1alpha2ResourceClassParameters.js'; -import { V1alpha2ResourceClassParametersList } from '../models/V1alpha2ResourceClassParametersList.js'; -import { V1alpha2ResourceClassParametersReference } from '../models/V1alpha2ResourceClassParametersReference.js'; -import { V1alpha2ResourceFilter } from '../models/V1alpha2ResourceFilter.js'; -import { V1alpha2ResourceHandle } from '../models/V1alpha2ResourceHandle.js'; -import { V1alpha2ResourceRequest } from '../models/V1alpha2ResourceRequest.js'; -import { V1alpha2ResourceSlice } from '../models/V1alpha2ResourceSlice.js'; -import { V1alpha2ResourceSliceList } from '../models/V1alpha2ResourceSliceList.js'; -import { V1alpha2StructuredResourceHandle } from '../models/V1alpha2StructuredResourceHandle.js'; -import { V1alpha2VendorParameters } from '../models/V1alpha2VendorParameters.js'; -import { V1beta1AuditAnnotation } from '../models/V1beta1AuditAnnotation.js'; -import { V1beta1ExpressionWarning } from '../models/V1beta1ExpressionWarning.js'; -import { V1beta1MatchCondition } from '../models/V1beta1MatchCondition.js'; -import { V1beta1MatchResources } from '../models/V1beta1MatchResources.js'; -import { V1beta1NamedRuleWithOperations } from '../models/V1beta1NamedRuleWithOperations.js'; -import { V1beta1ParamKind } from '../models/V1beta1ParamKind.js'; -import { V1beta1ParamRef } from '../models/V1beta1ParamRef.js'; -import { V1beta1SelfSubjectReview } from '../models/V1beta1SelfSubjectReview.js'; -import { V1beta1SelfSubjectReviewStatus } from '../models/V1beta1SelfSubjectReviewStatus.js'; -import { V1beta1TypeChecking } from '../models/V1beta1TypeChecking.js'; -import { V1beta1ValidatingAdmissionPolicy } from '../models/V1beta1ValidatingAdmissionPolicy.js'; -import { V1beta1ValidatingAdmissionPolicyBinding } from '../models/V1beta1ValidatingAdmissionPolicyBinding.js'; -import { V1beta1ValidatingAdmissionPolicyBindingList } from '../models/V1beta1ValidatingAdmissionPolicyBindingList.js'; -import { V1beta1ValidatingAdmissionPolicyBindingSpec } from '../models/V1beta1ValidatingAdmissionPolicyBindingSpec.js'; -import { V1beta1ValidatingAdmissionPolicyList } from '../models/V1beta1ValidatingAdmissionPolicyList.js'; -import { V1beta1ValidatingAdmissionPolicySpec } from '../models/V1beta1ValidatingAdmissionPolicySpec.js'; -import { V1beta1ValidatingAdmissionPolicyStatus } from '../models/V1beta1ValidatingAdmissionPolicyStatus.js'; -import { V1beta1Validation } from '../models/V1beta1Validation.js'; -import { V1beta1Variable } from '../models/V1beta1Variable.js'; -import { V1beta3ExemptPriorityLevelConfiguration } from '../models/V1beta3ExemptPriorityLevelConfiguration.js'; -import { V1beta3FlowDistinguisherMethod } from '../models/V1beta3FlowDistinguisherMethod.js'; -import { V1beta3FlowSchema } from '../models/V1beta3FlowSchema.js'; -import { V1beta3FlowSchemaCondition } from '../models/V1beta3FlowSchemaCondition.js'; -import { V1beta3FlowSchemaList } from '../models/V1beta3FlowSchemaList.js'; -import { V1beta3FlowSchemaSpec } from '../models/V1beta3FlowSchemaSpec.js'; -import { V1beta3FlowSchemaStatus } from '../models/V1beta3FlowSchemaStatus.js'; -import { V1beta3GroupSubject } from '../models/V1beta3GroupSubject.js'; -import { V1beta3LimitResponse } from '../models/V1beta3LimitResponse.js'; -import { V1beta3LimitedPriorityLevelConfiguration } from '../models/V1beta3LimitedPriorityLevelConfiguration.js'; -import { V1beta3NonResourcePolicyRule } from '../models/V1beta3NonResourcePolicyRule.js'; -import { V1beta3PolicyRulesWithSubjects } from '../models/V1beta3PolicyRulesWithSubjects.js'; -import { V1beta3PriorityLevelConfiguration } from '../models/V1beta3PriorityLevelConfiguration.js'; -import { V1beta3PriorityLevelConfigurationCondition } from '../models/V1beta3PriorityLevelConfigurationCondition.js'; -import { V1beta3PriorityLevelConfigurationList } from '../models/V1beta3PriorityLevelConfigurationList.js'; -import { V1beta3PriorityLevelConfigurationReference } from '../models/V1beta3PriorityLevelConfigurationReference.js'; -import { V1beta3PriorityLevelConfigurationSpec } from '../models/V1beta3PriorityLevelConfigurationSpec.js'; -import { V1beta3PriorityLevelConfigurationStatus } from '../models/V1beta3PriorityLevelConfigurationStatus.js'; -import { V1beta3QueuingConfiguration } from '../models/V1beta3QueuingConfiguration.js'; -import { V1beta3ResourcePolicyRule } from '../models/V1beta3ResourcePolicyRule.js'; -import { V1beta3ServiceAccountSubject } from '../models/V1beta3ServiceAccountSubject.js'; -import { V1beta3Subject } from '../models/V1beta3Subject.js'; -import { V1beta3UserSubject } from '../models/V1beta3UserSubject.js'; -import { V2ContainerResourceMetricSource } from '../models/V2ContainerResourceMetricSource.js'; -import { V2ContainerResourceMetricStatus } from '../models/V2ContainerResourceMetricStatus.js'; -import { V2CrossVersionObjectReference } from '../models/V2CrossVersionObjectReference.js'; -import { V2ExternalMetricSource } from '../models/V2ExternalMetricSource.js'; -import { V2ExternalMetricStatus } from '../models/V2ExternalMetricStatus.js'; -import { V2HPAScalingPolicy } from '../models/V2HPAScalingPolicy.js'; -import { V2HPAScalingRules } from '../models/V2HPAScalingRules.js'; -import { V2HorizontalPodAutoscaler } from '../models/V2HorizontalPodAutoscaler.js'; -import { V2HorizontalPodAutoscalerBehavior } from '../models/V2HorizontalPodAutoscalerBehavior.js'; -import { V2HorizontalPodAutoscalerCondition } from '../models/V2HorizontalPodAutoscalerCondition.js'; -import { V2HorizontalPodAutoscalerList } from '../models/V2HorizontalPodAutoscalerList.js'; -import { V2HorizontalPodAutoscalerSpec } from '../models/V2HorizontalPodAutoscalerSpec.js'; -import { V2HorizontalPodAutoscalerStatus } from '../models/V2HorizontalPodAutoscalerStatus.js'; -import { V2MetricIdentifier } from '../models/V2MetricIdentifier.js'; -import { V2MetricSpec } from '../models/V2MetricSpec.js'; -import { V2MetricStatus } from '../models/V2MetricStatus.js'; -import { V2MetricTarget } from '../models/V2MetricTarget.js'; -import { V2MetricValueStatus } from '../models/V2MetricValueStatus.js'; -import { V2ObjectMetricSource } from '../models/V2ObjectMetricSource.js'; -import { V2ObjectMetricStatus } from '../models/V2ObjectMetricStatus.js'; -import { V2PodsMetricSource } from '../models/V2PodsMetricSource.js'; -import { V2PodsMetricStatus } from '../models/V2PodsMetricStatus.js'; -import { V2ResourceMetricSource } from '../models/V2ResourceMetricSource.js'; -import { V2ResourceMetricStatus } from '../models/V2ResourceMetricStatus.js'; -import { VersionInfo } from '../models/VersionInfo.js'; - -import { ObservableAdmissionregistrationApi } from "./ObservableAPI.js"; -import { AdmissionregistrationApiRequestFactory, AdmissionregistrationApiResponseProcessor} from "../apis/AdmissionregistrationApi.js"; +import { ResponseContext, RequestContext, HttpFile, HttpInfo } from '../http/http'; +import { Configuration} from '../configuration' + +import { AdmissionregistrationV1ServiceReference } from '../models/AdmissionregistrationV1ServiceReference'; +import { AdmissionregistrationV1WebhookClientConfig } from '../models/AdmissionregistrationV1WebhookClientConfig'; +import { ApiextensionsV1ServiceReference } from '../models/ApiextensionsV1ServiceReference'; +import { ApiextensionsV1WebhookClientConfig } from '../models/ApiextensionsV1WebhookClientConfig'; +import { ApiregistrationV1ServiceReference } from '../models/ApiregistrationV1ServiceReference'; +import { AuthenticationV1TokenRequest } from '../models/AuthenticationV1TokenRequest'; +import { CoreV1EndpointPort } from '../models/CoreV1EndpointPort'; +import { CoreV1Event } from '../models/CoreV1Event'; +import { CoreV1EventList } from '../models/CoreV1EventList'; +import { CoreV1EventSeries } from '../models/CoreV1EventSeries'; +import { DiscoveryV1EndpointPort } from '../models/DiscoveryV1EndpointPort'; +import { EventsV1Event } from '../models/EventsV1Event'; +import { EventsV1EventList } from '../models/EventsV1EventList'; +import { EventsV1EventSeries } from '../models/EventsV1EventSeries'; +import { FlowcontrolV1Subject } from '../models/FlowcontrolV1Subject'; +import { RbacV1Subject } from '../models/RbacV1Subject'; +import { StorageV1TokenRequest } from '../models/StorageV1TokenRequest'; +import { V1APIGroup } from '../models/V1APIGroup'; +import { V1APIGroupList } from '../models/V1APIGroupList'; +import { V1APIResource } from '../models/V1APIResource'; +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1APIService } from '../models/V1APIService'; +import { V1APIServiceCondition } from '../models/V1APIServiceCondition'; +import { V1APIServiceList } from '../models/V1APIServiceList'; +import { V1APIServiceSpec } from '../models/V1APIServiceSpec'; +import { V1APIServiceStatus } from '../models/V1APIServiceStatus'; +import { V1APIVersions } from '../models/V1APIVersions'; +import { V1AWSElasticBlockStoreVolumeSource } from '../models/V1AWSElasticBlockStoreVolumeSource'; +import { V1Affinity } from '../models/V1Affinity'; +import { V1AggregationRule } from '../models/V1AggregationRule'; +import { V1AppArmorProfile } from '../models/V1AppArmorProfile'; +import { V1AttachedVolume } from '../models/V1AttachedVolume'; +import { V1AuditAnnotation } from '../models/V1AuditAnnotation'; +import { V1AzureDiskVolumeSource } from '../models/V1AzureDiskVolumeSource'; +import { V1AzureFilePersistentVolumeSource } from '../models/V1AzureFilePersistentVolumeSource'; +import { V1AzureFileVolumeSource } from '../models/V1AzureFileVolumeSource'; +import { V1Binding } from '../models/V1Binding'; +import { V1BoundObjectReference } from '../models/V1BoundObjectReference'; +import { V1CSIDriver } from '../models/V1CSIDriver'; +import { V1CSIDriverList } from '../models/V1CSIDriverList'; +import { V1CSIDriverSpec } from '../models/V1CSIDriverSpec'; +import { V1CSINode } from '../models/V1CSINode'; +import { V1CSINodeDriver } from '../models/V1CSINodeDriver'; +import { V1CSINodeList } from '../models/V1CSINodeList'; +import { V1CSINodeSpec } from '../models/V1CSINodeSpec'; +import { V1CSIPersistentVolumeSource } from '../models/V1CSIPersistentVolumeSource'; +import { V1CSIStorageCapacity } from '../models/V1CSIStorageCapacity'; +import { V1CSIStorageCapacityList } from '../models/V1CSIStorageCapacityList'; +import { V1CSIVolumeSource } from '../models/V1CSIVolumeSource'; +import { V1Capabilities } from '../models/V1Capabilities'; +import { V1CephFSPersistentVolumeSource } from '../models/V1CephFSPersistentVolumeSource'; +import { V1CephFSVolumeSource } from '../models/V1CephFSVolumeSource'; +import { V1CertificateSigningRequest } from '../models/V1CertificateSigningRequest'; +import { V1CertificateSigningRequestCondition } from '../models/V1CertificateSigningRequestCondition'; +import { V1CertificateSigningRequestList } from '../models/V1CertificateSigningRequestList'; +import { V1CertificateSigningRequestSpec } from '../models/V1CertificateSigningRequestSpec'; +import { V1CertificateSigningRequestStatus } from '../models/V1CertificateSigningRequestStatus'; +import { V1CinderPersistentVolumeSource } from '../models/V1CinderPersistentVolumeSource'; +import { V1CinderVolumeSource } from '../models/V1CinderVolumeSource'; +import { V1ClientIPConfig } from '../models/V1ClientIPConfig'; +import { V1ClusterRole } from '../models/V1ClusterRole'; +import { V1ClusterRoleBinding } from '../models/V1ClusterRoleBinding'; +import { V1ClusterRoleBindingList } from '../models/V1ClusterRoleBindingList'; +import { V1ClusterRoleList } from '../models/V1ClusterRoleList'; +import { V1ClusterTrustBundleProjection } from '../models/V1ClusterTrustBundleProjection'; +import { V1ComponentCondition } from '../models/V1ComponentCondition'; +import { V1ComponentStatus } from '../models/V1ComponentStatus'; +import { V1ComponentStatusList } from '../models/V1ComponentStatusList'; +import { V1Condition } from '../models/V1Condition'; +import { V1ConfigMap } from '../models/V1ConfigMap'; +import { V1ConfigMapEnvSource } from '../models/V1ConfigMapEnvSource'; +import { V1ConfigMapKeySelector } from '../models/V1ConfigMapKeySelector'; +import { V1ConfigMapList } from '../models/V1ConfigMapList'; +import { V1ConfigMapNodeConfigSource } from '../models/V1ConfigMapNodeConfigSource'; +import { V1ConfigMapProjection } from '../models/V1ConfigMapProjection'; +import { V1ConfigMapVolumeSource } from '../models/V1ConfigMapVolumeSource'; +import { V1Container } from '../models/V1Container'; +import { V1ContainerImage } from '../models/V1ContainerImage'; +import { V1ContainerPort } from '../models/V1ContainerPort'; +import { V1ContainerResizePolicy } from '../models/V1ContainerResizePolicy'; +import { V1ContainerState } from '../models/V1ContainerState'; +import { V1ContainerStateRunning } from '../models/V1ContainerStateRunning'; +import { V1ContainerStateTerminated } from '../models/V1ContainerStateTerminated'; +import { V1ContainerStateWaiting } from '../models/V1ContainerStateWaiting'; +import { V1ContainerStatus } from '../models/V1ContainerStatus'; +import { V1ContainerUser } from '../models/V1ContainerUser'; +import { V1ControllerRevision } from '../models/V1ControllerRevision'; +import { V1ControllerRevisionList } from '../models/V1ControllerRevisionList'; +import { V1CronJob } from '../models/V1CronJob'; +import { V1CronJobList } from '../models/V1CronJobList'; +import { V1CronJobSpec } from '../models/V1CronJobSpec'; +import { V1CronJobStatus } from '../models/V1CronJobStatus'; +import { V1CrossVersionObjectReference } from '../models/V1CrossVersionObjectReference'; +import { V1CustomResourceColumnDefinition } from '../models/V1CustomResourceColumnDefinition'; +import { V1CustomResourceConversion } from '../models/V1CustomResourceConversion'; +import { V1CustomResourceDefinition } from '../models/V1CustomResourceDefinition'; +import { V1CustomResourceDefinitionCondition } from '../models/V1CustomResourceDefinitionCondition'; +import { V1CustomResourceDefinitionList } from '../models/V1CustomResourceDefinitionList'; +import { V1CustomResourceDefinitionNames } from '../models/V1CustomResourceDefinitionNames'; +import { V1CustomResourceDefinitionSpec } from '../models/V1CustomResourceDefinitionSpec'; +import { V1CustomResourceDefinitionStatus } from '../models/V1CustomResourceDefinitionStatus'; +import { V1CustomResourceDefinitionVersion } from '../models/V1CustomResourceDefinitionVersion'; +import { V1CustomResourceSubresourceScale } from '../models/V1CustomResourceSubresourceScale'; +import { V1CustomResourceSubresources } from '../models/V1CustomResourceSubresources'; +import { V1CustomResourceValidation } from '../models/V1CustomResourceValidation'; +import { V1DaemonEndpoint } from '../models/V1DaemonEndpoint'; +import { V1DaemonSet } from '../models/V1DaemonSet'; +import { V1DaemonSetCondition } from '../models/V1DaemonSetCondition'; +import { V1DaemonSetList } from '../models/V1DaemonSetList'; +import { V1DaemonSetSpec } from '../models/V1DaemonSetSpec'; +import { V1DaemonSetStatus } from '../models/V1DaemonSetStatus'; +import { V1DaemonSetUpdateStrategy } from '../models/V1DaemonSetUpdateStrategy'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1Deployment } from '../models/V1Deployment'; +import { V1DeploymentCondition } from '../models/V1DeploymentCondition'; +import { V1DeploymentList } from '../models/V1DeploymentList'; +import { V1DeploymentSpec } from '../models/V1DeploymentSpec'; +import { V1DeploymentStatus } from '../models/V1DeploymentStatus'; +import { V1DeploymentStrategy } from '../models/V1DeploymentStrategy'; +import { V1DownwardAPIProjection } from '../models/V1DownwardAPIProjection'; +import { V1DownwardAPIVolumeFile } from '../models/V1DownwardAPIVolumeFile'; +import { V1DownwardAPIVolumeSource } from '../models/V1DownwardAPIVolumeSource'; +import { V1EmptyDirVolumeSource } from '../models/V1EmptyDirVolumeSource'; +import { V1Endpoint } from '../models/V1Endpoint'; +import { V1EndpointAddress } from '../models/V1EndpointAddress'; +import { V1EndpointConditions } from '../models/V1EndpointConditions'; +import { V1EndpointHints } from '../models/V1EndpointHints'; +import { V1EndpointSlice } from '../models/V1EndpointSlice'; +import { V1EndpointSliceList } from '../models/V1EndpointSliceList'; +import { V1EndpointSubset } from '../models/V1EndpointSubset'; +import { V1Endpoints } from '../models/V1Endpoints'; +import { V1EndpointsList } from '../models/V1EndpointsList'; +import { V1EnvFromSource } from '../models/V1EnvFromSource'; +import { V1EnvVar } from '../models/V1EnvVar'; +import { V1EnvVarSource } from '../models/V1EnvVarSource'; +import { V1EphemeralContainer } from '../models/V1EphemeralContainer'; +import { V1EphemeralVolumeSource } from '../models/V1EphemeralVolumeSource'; +import { V1EventSource } from '../models/V1EventSource'; +import { V1Eviction } from '../models/V1Eviction'; +import { V1ExecAction } from '../models/V1ExecAction'; +import { V1ExemptPriorityLevelConfiguration } from '../models/V1ExemptPriorityLevelConfiguration'; +import { V1ExpressionWarning } from '../models/V1ExpressionWarning'; +import { V1ExternalDocumentation } from '../models/V1ExternalDocumentation'; +import { V1FCVolumeSource } from '../models/V1FCVolumeSource'; +import { V1FieldSelectorAttributes } from '../models/V1FieldSelectorAttributes'; +import { V1FieldSelectorRequirement } from '../models/V1FieldSelectorRequirement'; +import { V1FlexPersistentVolumeSource } from '../models/V1FlexPersistentVolumeSource'; +import { V1FlexVolumeSource } from '../models/V1FlexVolumeSource'; +import { V1FlockerVolumeSource } from '../models/V1FlockerVolumeSource'; +import { V1FlowDistinguisherMethod } from '../models/V1FlowDistinguisherMethod'; +import { V1FlowSchema } from '../models/V1FlowSchema'; +import { V1FlowSchemaCondition } from '../models/V1FlowSchemaCondition'; +import { V1FlowSchemaList } from '../models/V1FlowSchemaList'; +import { V1FlowSchemaSpec } from '../models/V1FlowSchemaSpec'; +import { V1FlowSchemaStatus } from '../models/V1FlowSchemaStatus'; +import { V1ForZone } from '../models/V1ForZone'; +import { V1GCEPersistentDiskVolumeSource } from '../models/V1GCEPersistentDiskVolumeSource'; +import { V1GRPCAction } from '../models/V1GRPCAction'; +import { V1GitRepoVolumeSource } from '../models/V1GitRepoVolumeSource'; +import { V1GlusterfsPersistentVolumeSource } from '../models/V1GlusterfsPersistentVolumeSource'; +import { V1GlusterfsVolumeSource } from '../models/V1GlusterfsVolumeSource'; +import { V1GroupSubject } from '../models/V1GroupSubject'; +import { V1GroupVersionForDiscovery } from '../models/V1GroupVersionForDiscovery'; +import { V1HTTPGetAction } from '../models/V1HTTPGetAction'; +import { V1HTTPHeader } from '../models/V1HTTPHeader'; +import { V1HTTPIngressPath } from '../models/V1HTTPIngressPath'; +import { V1HTTPIngressRuleValue } from '../models/V1HTTPIngressRuleValue'; +import { V1HorizontalPodAutoscaler } from '../models/V1HorizontalPodAutoscaler'; +import { V1HorizontalPodAutoscalerList } from '../models/V1HorizontalPodAutoscalerList'; +import { V1HorizontalPodAutoscalerSpec } from '../models/V1HorizontalPodAutoscalerSpec'; +import { V1HorizontalPodAutoscalerStatus } from '../models/V1HorizontalPodAutoscalerStatus'; +import { V1HostAlias } from '../models/V1HostAlias'; +import { V1HostIP } from '../models/V1HostIP'; +import { V1HostPathVolumeSource } from '../models/V1HostPathVolumeSource'; +import { V1IPBlock } from '../models/V1IPBlock'; +import { V1ISCSIPersistentVolumeSource } from '../models/V1ISCSIPersistentVolumeSource'; +import { V1ISCSIVolumeSource } from '../models/V1ISCSIVolumeSource'; +import { V1ImageVolumeSource } from '../models/V1ImageVolumeSource'; +import { V1Ingress } from '../models/V1Ingress'; +import { V1IngressBackend } from '../models/V1IngressBackend'; +import { V1IngressClass } from '../models/V1IngressClass'; +import { V1IngressClassList } from '../models/V1IngressClassList'; +import { V1IngressClassParametersReference } from '../models/V1IngressClassParametersReference'; +import { V1IngressClassSpec } from '../models/V1IngressClassSpec'; +import { V1IngressList } from '../models/V1IngressList'; +import { V1IngressLoadBalancerIngress } from '../models/V1IngressLoadBalancerIngress'; +import { V1IngressLoadBalancerStatus } from '../models/V1IngressLoadBalancerStatus'; +import { V1IngressPortStatus } from '../models/V1IngressPortStatus'; +import { V1IngressRule } from '../models/V1IngressRule'; +import { V1IngressServiceBackend } from '../models/V1IngressServiceBackend'; +import { V1IngressSpec } from '../models/V1IngressSpec'; +import { V1IngressStatus } from '../models/V1IngressStatus'; +import { V1IngressTLS } from '../models/V1IngressTLS'; +import { V1JSONSchemaProps } from '../models/V1JSONSchemaProps'; +import { V1Job } from '../models/V1Job'; +import { V1JobCondition } from '../models/V1JobCondition'; +import { V1JobList } from '../models/V1JobList'; +import { V1JobSpec } from '../models/V1JobSpec'; +import { V1JobStatus } from '../models/V1JobStatus'; +import { V1JobTemplateSpec } from '../models/V1JobTemplateSpec'; +import { V1KeyToPath } from '../models/V1KeyToPath'; +import { V1LabelSelector } from '../models/V1LabelSelector'; +import { V1LabelSelectorAttributes } from '../models/V1LabelSelectorAttributes'; +import { V1LabelSelectorRequirement } from '../models/V1LabelSelectorRequirement'; +import { V1Lease } from '../models/V1Lease'; +import { V1LeaseList } from '../models/V1LeaseList'; +import { V1LeaseSpec } from '../models/V1LeaseSpec'; +import { V1Lifecycle } from '../models/V1Lifecycle'; +import { V1LifecycleHandler } from '../models/V1LifecycleHandler'; +import { V1LimitRange } from '../models/V1LimitRange'; +import { V1LimitRangeItem } from '../models/V1LimitRangeItem'; +import { V1LimitRangeList } from '../models/V1LimitRangeList'; +import { V1LimitRangeSpec } from '../models/V1LimitRangeSpec'; +import { V1LimitResponse } from '../models/V1LimitResponse'; +import { V1LimitedPriorityLevelConfiguration } from '../models/V1LimitedPriorityLevelConfiguration'; +import { V1LinuxContainerUser } from '../models/V1LinuxContainerUser'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1LoadBalancerIngress } from '../models/V1LoadBalancerIngress'; +import { V1LoadBalancerStatus } from '../models/V1LoadBalancerStatus'; +import { V1LocalObjectReference } from '../models/V1LocalObjectReference'; +import { V1LocalSubjectAccessReview } from '../models/V1LocalSubjectAccessReview'; +import { V1LocalVolumeSource } from '../models/V1LocalVolumeSource'; +import { V1ManagedFieldsEntry } from '../models/V1ManagedFieldsEntry'; +import { V1MatchCondition } from '../models/V1MatchCondition'; +import { V1MatchResources } from '../models/V1MatchResources'; +import { V1ModifyVolumeStatus } from '../models/V1ModifyVolumeStatus'; +import { V1MutatingWebhook } from '../models/V1MutatingWebhook'; +import { V1MutatingWebhookConfiguration } from '../models/V1MutatingWebhookConfiguration'; +import { V1MutatingWebhookConfigurationList } from '../models/V1MutatingWebhookConfigurationList'; +import { V1NFSVolumeSource } from '../models/V1NFSVolumeSource'; +import { V1NamedRuleWithOperations } from '../models/V1NamedRuleWithOperations'; +import { V1Namespace } from '../models/V1Namespace'; +import { V1NamespaceCondition } from '../models/V1NamespaceCondition'; +import { V1NamespaceList } from '../models/V1NamespaceList'; +import { V1NamespaceSpec } from '../models/V1NamespaceSpec'; +import { V1NamespaceStatus } from '../models/V1NamespaceStatus'; +import { V1NetworkPolicy } from '../models/V1NetworkPolicy'; +import { V1NetworkPolicyEgressRule } from '../models/V1NetworkPolicyEgressRule'; +import { V1NetworkPolicyIngressRule } from '../models/V1NetworkPolicyIngressRule'; +import { V1NetworkPolicyList } from '../models/V1NetworkPolicyList'; +import { V1NetworkPolicyPeer } from '../models/V1NetworkPolicyPeer'; +import { V1NetworkPolicyPort } from '../models/V1NetworkPolicyPort'; +import { V1NetworkPolicySpec } from '../models/V1NetworkPolicySpec'; +import { V1Node } from '../models/V1Node'; +import { V1NodeAddress } from '../models/V1NodeAddress'; +import { V1NodeAffinity } from '../models/V1NodeAffinity'; +import { V1NodeCondition } from '../models/V1NodeCondition'; +import { V1NodeConfigSource } from '../models/V1NodeConfigSource'; +import { V1NodeConfigStatus } from '../models/V1NodeConfigStatus'; +import { V1NodeDaemonEndpoints } from '../models/V1NodeDaemonEndpoints'; +import { V1NodeFeatures } from '../models/V1NodeFeatures'; +import { V1NodeList } from '../models/V1NodeList'; +import { V1NodeRuntimeHandler } from '../models/V1NodeRuntimeHandler'; +import { V1NodeRuntimeHandlerFeatures } from '../models/V1NodeRuntimeHandlerFeatures'; +import { V1NodeSelector } from '../models/V1NodeSelector'; +import { V1NodeSelectorRequirement } from '../models/V1NodeSelectorRequirement'; +import { V1NodeSelectorTerm } from '../models/V1NodeSelectorTerm'; +import { V1NodeSpec } from '../models/V1NodeSpec'; +import { V1NodeStatus } from '../models/V1NodeStatus'; +import { V1NodeSystemInfo } from '../models/V1NodeSystemInfo'; +import { V1NonResourceAttributes } from '../models/V1NonResourceAttributes'; +import { V1NonResourcePolicyRule } from '../models/V1NonResourcePolicyRule'; +import { V1NonResourceRule } from '../models/V1NonResourceRule'; +import { V1ObjectFieldSelector } from '../models/V1ObjectFieldSelector'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1ObjectReference } from '../models/V1ObjectReference'; +import { V1Overhead } from '../models/V1Overhead'; +import { V1OwnerReference } from '../models/V1OwnerReference'; +import { V1ParamKind } from '../models/V1ParamKind'; +import { V1ParamRef } from '../models/V1ParamRef'; +import { V1PersistentVolume } from '../models/V1PersistentVolume'; +import { V1PersistentVolumeClaim } from '../models/V1PersistentVolumeClaim'; +import { V1PersistentVolumeClaimCondition } from '../models/V1PersistentVolumeClaimCondition'; +import { V1PersistentVolumeClaimList } from '../models/V1PersistentVolumeClaimList'; +import { V1PersistentVolumeClaimSpec } from '../models/V1PersistentVolumeClaimSpec'; +import { V1PersistentVolumeClaimStatus } from '../models/V1PersistentVolumeClaimStatus'; +import { V1PersistentVolumeClaimTemplate } from '../models/V1PersistentVolumeClaimTemplate'; +import { V1PersistentVolumeClaimVolumeSource } from '../models/V1PersistentVolumeClaimVolumeSource'; +import { V1PersistentVolumeList } from '../models/V1PersistentVolumeList'; +import { V1PersistentVolumeSpec } from '../models/V1PersistentVolumeSpec'; +import { V1PersistentVolumeStatus } from '../models/V1PersistentVolumeStatus'; +import { V1PhotonPersistentDiskVolumeSource } from '../models/V1PhotonPersistentDiskVolumeSource'; +import { V1Pod } from '../models/V1Pod'; +import { V1PodAffinity } from '../models/V1PodAffinity'; +import { V1PodAffinityTerm } from '../models/V1PodAffinityTerm'; +import { V1PodAntiAffinity } from '../models/V1PodAntiAffinity'; +import { V1PodCondition } from '../models/V1PodCondition'; +import { V1PodDNSConfig } from '../models/V1PodDNSConfig'; +import { V1PodDNSConfigOption } from '../models/V1PodDNSConfigOption'; +import { V1PodDisruptionBudget } from '../models/V1PodDisruptionBudget'; +import { V1PodDisruptionBudgetList } from '../models/V1PodDisruptionBudgetList'; +import { V1PodDisruptionBudgetSpec } from '../models/V1PodDisruptionBudgetSpec'; +import { V1PodDisruptionBudgetStatus } from '../models/V1PodDisruptionBudgetStatus'; +import { V1PodFailurePolicy } from '../models/V1PodFailurePolicy'; +import { V1PodFailurePolicyOnExitCodesRequirement } from '../models/V1PodFailurePolicyOnExitCodesRequirement'; +import { V1PodFailurePolicyOnPodConditionsPattern } from '../models/V1PodFailurePolicyOnPodConditionsPattern'; +import { V1PodFailurePolicyRule } from '../models/V1PodFailurePolicyRule'; +import { V1PodIP } from '../models/V1PodIP'; +import { V1PodList } from '../models/V1PodList'; +import { V1PodOS } from '../models/V1PodOS'; +import { V1PodReadinessGate } from '../models/V1PodReadinessGate'; +import { V1PodResourceClaim } from '../models/V1PodResourceClaim'; +import { V1PodResourceClaimStatus } from '../models/V1PodResourceClaimStatus'; +import { V1PodSchedulingGate } from '../models/V1PodSchedulingGate'; +import { V1PodSecurityContext } from '../models/V1PodSecurityContext'; +import { V1PodSpec } from '../models/V1PodSpec'; +import { V1PodStatus } from '../models/V1PodStatus'; +import { V1PodTemplate } from '../models/V1PodTemplate'; +import { V1PodTemplateList } from '../models/V1PodTemplateList'; +import { V1PodTemplateSpec } from '../models/V1PodTemplateSpec'; +import { V1PolicyRule } from '../models/V1PolicyRule'; +import { V1PolicyRulesWithSubjects } from '../models/V1PolicyRulesWithSubjects'; +import { V1PortStatus } from '../models/V1PortStatus'; +import { V1PortworxVolumeSource } from '../models/V1PortworxVolumeSource'; +import { V1Preconditions } from '../models/V1Preconditions'; +import { V1PreferredSchedulingTerm } from '../models/V1PreferredSchedulingTerm'; +import { V1PriorityClass } from '../models/V1PriorityClass'; +import { V1PriorityClassList } from '../models/V1PriorityClassList'; +import { V1PriorityLevelConfiguration } from '../models/V1PriorityLevelConfiguration'; +import { V1PriorityLevelConfigurationCondition } from '../models/V1PriorityLevelConfigurationCondition'; +import { V1PriorityLevelConfigurationList } from '../models/V1PriorityLevelConfigurationList'; +import { V1PriorityLevelConfigurationReference } from '../models/V1PriorityLevelConfigurationReference'; +import { V1PriorityLevelConfigurationSpec } from '../models/V1PriorityLevelConfigurationSpec'; +import { V1PriorityLevelConfigurationStatus } from '../models/V1PriorityLevelConfigurationStatus'; +import { V1Probe } from '../models/V1Probe'; +import { V1ProjectedVolumeSource } from '../models/V1ProjectedVolumeSource'; +import { V1QueuingConfiguration } from '../models/V1QueuingConfiguration'; +import { V1QuobyteVolumeSource } from '../models/V1QuobyteVolumeSource'; +import { V1RBDPersistentVolumeSource } from '../models/V1RBDPersistentVolumeSource'; +import { V1RBDVolumeSource } from '../models/V1RBDVolumeSource'; +import { V1ReplicaSet } from '../models/V1ReplicaSet'; +import { V1ReplicaSetCondition } from '../models/V1ReplicaSetCondition'; +import { V1ReplicaSetList } from '../models/V1ReplicaSetList'; +import { V1ReplicaSetSpec } from '../models/V1ReplicaSetSpec'; +import { V1ReplicaSetStatus } from '../models/V1ReplicaSetStatus'; +import { V1ReplicationController } from '../models/V1ReplicationController'; +import { V1ReplicationControllerCondition } from '../models/V1ReplicationControllerCondition'; +import { V1ReplicationControllerList } from '../models/V1ReplicationControllerList'; +import { V1ReplicationControllerSpec } from '../models/V1ReplicationControllerSpec'; +import { V1ReplicationControllerStatus } from '../models/V1ReplicationControllerStatus'; +import { V1ResourceAttributes } from '../models/V1ResourceAttributes'; +import { V1ResourceClaim } from '../models/V1ResourceClaim'; +import { V1ResourceFieldSelector } from '../models/V1ResourceFieldSelector'; +import { V1ResourceHealth } from '../models/V1ResourceHealth'; +import { V1ResourcePolicyRule } from '../models/V1ResourcePolicyRule'; +import { V1ResourceQuota } from '../models/V1ResourceQuota'; +import { V1ResourceQuotaList } from '../models/V1ResourceQuotaList'; +import { V1ResourceQuotaSpec } from '../models/V1ResourceQuotaSpec'; +import { V1ResourceQuotaStatus } from '../models/V1ResourceQuotaStatus'; +import { V1ResourceRequirements } from '../models/V1ResourceRequirements'; +import { V1ResourceRule } from '../models/V1ResourceRule'; +import { V1ResourceStatus } from '../models/V1ResourceStatus'; +import { V1Role } from '../models/V1Role'; +import { V1RoleBinding } from '../models/V1RoleBinding'; +import { V1RoleBindingList } from '../models/V1RoleBindingList'; +import { V1RoleList } from '../models/V1RoleList'; +import { V1RoleRef } from '../models/V1RoleRef'; +import { V1RollingUpdateDaemonSet } from '../models/V1RollingUpdateDaemonSet'; +import { V1RollingUpdateDeployment } from '../models/V1RollingUpdateDeployment'; +import { V1RollingUpdateStatefulSetStrategy } from '../models/V1RollingUpdateStatefulSetStrategy'; +import { V1RuleWithOperations } from '../models/V1RuleWithOperations'; +import { V1RuntimeClass } from '../models/V1RuntimeClass'; +import { V1RuntimeClassList } from '../models/V1RuntimeClassList'; +import { V1SELinuxOptions } from '../models/V1SELinuxOptions'; +import { V1Scale } from '../models/V1Scale'; +import { V1ScaleIOPersistentVolumeSource } from '../models/V1ScaleIOPersistentVolumeSource'; +import { V1ScaleIOVolumeSource } from '../models/V1ScaleIOVolumeSource'; +import { V1ScaleSpec } from '../models/V1ScaleSpec'; +import { V1ScaleStatus } from '../models/V1ScaleStatus'; +import { V1Scheduling } from '../models/V1Scheduling'; +import { V1ScopeSelector } from '../models/V1ScopeSelector'; +import { V1ScopedResourceSelectorRequirement } from '../models/V1ScopedResourceSelectorRequirement'; +import { V1SeccompProfile } from '../models/V1SeccompProfile'; +import { V1Secret } from '../models/V1Secret'; +import { V1SecretEnvSource } from '../models/V1SecretEnvSource'; +import { V1SecretKeySelector } from '../models/V1SecretKeySelector'; +import { V1SecretList } from '../models/V1SecretList'; +import { V1SecretProjection } from '../models/V1SecretProjection'; +import { V1SecretReference } from '../models/V1SecretReference'; +import { V1SecretVolumeSource } from '../models/V1SecretVolumeSource'; +import { V1SecurityContext } from '../models/V1SecurityContext'; +import { V1SelectableField } from '../models/V1SelectableField'; +import { V1SelfSubjectAccessReview } from '../models/V1SelfSubjectAccessReview'; +import { V1SelfSubjectAccessReviewSpec } from '../models/V1SelfSubjectAccessReviewSpec'; +import { V1SelfSubjectReview } from '../models/V1SelfSubjectReview'; +import { V1SelfSubjectReviewStatus } from '../models/V1SelfSubjectReviewStatus'; +import { V1SelfSubjectRulesReview } from '../models/V1SelfSubjectRulesReview'; +import { V1SelfSubjectRulesReviewSpec } from '../models/V1SelfSubjectRulesReviewSpec'; +import { V1ServerAddressByClientCIDR } from '../models/V1ServerAddressByClientCIDR'; +import { V1Service } from '../models/V1Service'; +import { V1ServiceAccount } from '../models/V1ServiceAccount'; +import { V1ServiceAccountList } from '../models/V1ServiceAccountList'; +import { V1ServiceAccountSubject } from '../models/V1ServiceAccountSubject'; +import { V1ServiceAccountTokenProjection } from '../models/V1ServiceAccountTokenProjection'; +import { V1ServiceBackendPort } from '../models/V1ServiceBackendPort'; +import { V1ServiceList } from '../models/V1ServiceList'; +import { V1ServicePort } from '../models/V1ServicePort'; +import { V1ServiceSpec } from '../models/V1ServiceSpec'; +import { V1ServiceStatus } from '../models/V1ServiceStatus'; +import { V1SessionAffinityConfig } from '../models/V1SessionAffinityConfig'; +import { V1SleepAction } from '../models/V1SleepAction'; +import { V1StatefulSet } from '../models/V1StatefulSet'; +import { V1StatefulSetCondition } from '../models/V1StatefulSetCondition'; +import { V1StatefulSetList } from '../models/V1StatefulSetList'; +import { V1StatefulSetOrdinals } from '../models/V1StatefulSetOrdinals'; +import { V1StatefulSetPersistentVolumeClaimRetentionPolicy } from '../models/V1StatefulSetPersistentVolumeClaimRetentionPolicy'; +import { V1StatefulSetSpec } from '../models/V1StatefulSetSpec'; +import { V1StatefulSetStatus } from '../models/V1StatefulSetStatus'; +import { V1StatefulSetUpdateStrategy } from '../models/V1StatefulSetUpdateStrategy'; +import { V1Status } from '../models/V1Status'; +import { V1StatusCause } from '../models/V1StatusCause'; +import { V1StatusDetails } from '../models/V1StatusDetails'; +import { V1StorageClass } from '../models/V1StorageClass'; +import { V1StorageClassList } from '../models/V1StorageClassList'; +import { V1StorageOSPersistentVolumeSource } from '../models/V1StorageOSPersistentVolumeSource'; +import { V1StorageOSVolumeSource } from '../models/V1StorageOSVolumeSource'; +import { V1SubjectAccessReview } from '../models/V1SubjectAccessReview'; +import { V1SubjectAccessReviewSpec } from '../models/V1SubjectAccessReviewSpec'; +import { V1SubjectAccessReviewStatus } from '../models/V1SubjectAccessReviewStatus'; +import { V1SubjectRulesReviewStatus } from '../models/V1SubjectRulesReviewStatus'; +import { V1SuccessPolicy } from '../models/V1SuccessPolicy'; +import { V1SuccessPolicyRule } from '../models/V1SuccessPolicyRule'; +import { V1Sysctl } from '../models/V1Sysctl'; +import { V1TCPSocketAction } from '../models/V1TCPSocketAction'; +import { V1Taint } from '../models/V1Taint'; +import { V1TokenRequestSpec } from '../models/V1TokenRequestSpec'; +import { V1TokenRequestStatus } from '../models/V1TokenRequestStatus'; +import { V1TokenReview } from '../models/V1TokenReview'; +import { V1TokenReviewSpec } from '../models/V1TokenReviewSpec'; +import { V1TokenReviewStatus } from '../models/V1TokenReviewStatus'; +import { V1Toleration } from '../models/V1Toleration'; +import { V1TopologySelectorLabelRequirement } from '../models/V1TopologySelectorLabelRequirement'; +import { V1TopologySelectorTerm } from '../models/V1TopologySelectorTerm'; +import { V1TopologySpreadConstraint } from '../models/V1TopologySpreadConstraint'; +import { V1TypeChecking } from '../models/V1TypeChecking'; +import { V1TypedLocalObjectReference } from '../models/V1TypedLocalObjectReference'; +import { V1TypedObjectReference } from '../models/V1TypedObjectReference'; +import { V1UncountedTerminatedPods } from '../models/V1UncountedTerminatedPods'; +import { V1UserInfo } from '../models/V1UserInfo'; +import { V1UserSubject } from '../models/V1UserSubject'; +import { V1ValidatingAdmissionPolicy } from '../models/V1ValidatingAdmissionPolicy'; +import { V1ValidatingAdmissionPolicyBinding } from '../models/V1ValidatingAdmissionPolicyBinding'; +import { V1ValidatingAdmissionPolicyBindingList } from '../models/V1ValidatingAdmissionPolicyBindingList'; +import { V1ValidatingAdmissionPolicyBindingSpec } from '../models/V1ValidatingAdmissionPolicyBindingSpec'; +import { V1ValidatingAdmissionPolicyList } from '../models/V1ValidatingAdmissionPolicyList'; +import { V1ValidatingAdmissionPolicySpec } from '../models/V1ValidatingAdmissionPolicySpec'; +import { V1ValidatingAdmissionPolicyStatus } from '../models/V1ValidatingAdmissionPolicyStatus'; +import { V1ValidatingWebhook } from '../models/V1ValidatingWebhook'; +import { V1ValidatingWebhookConfiguration } from '../models/V1ValidatingWebhookConfiguration'; +import { V1ValidatingWebhookConfigurationList } from '../models/V1ValidatingWebhookConfigurationList'; +import { V1Validation } from '../models/V1Validation'; +import { V1ValidationRule } from '../models/V1ValidationRule'; +import { V1Variable } from '../models/V1Variable'; +import { V1Volume } from '../models/V1Volume'; +import { V1VolumeAttachment } from '../models/V1VolumeAttachment'; +import { V1VolumeAttachmentList } from '../models/V1VolumeAttachmentList'; +import { V1VolumeAttachmentSource } from '../models/V1VolumeAttachmentSource'; +import { V1VolumeAttachmentSpec } from '../models/V1VolumeAttachmentSpec'; +import { V1VolumeAttachmentStatus } from '../models/V1VolumeAttachmentStatus'; +import { V1VolumeDevice } from '../models/V1VolumeDevice'; +import { V1VolumeError } from '../models/V1VolumeError'; +import { V1VolumeMount } from '../models/V1VolumeMount'; +import { V1VolumeMountStatus } from '../models/V1VolumeMountStatus'; +import { V1VolumeNodeAffinity } from '../models/V1VolumeNodeAffinity'; +import { V1VolumeNodeResources } from '../models/V1VolumeNodeResources'; +import { V1VolumeProjection } from '../models/V1VolumeProjection'; +import { V1VolumeResourceRequirements } from '../models/V1VolumeResourceRequirements'; +import { V1VsphereVirtualDiskVolumeSource } from '../models/V1VsphereVirtualDiskVolumeSource'; +import { V1WatchEvent } from '../models/V1WatchEvent'; +import { V1WebhookConversion } from '../models/V1WebhookConversion'; +import { V1WeightedPodAffinityTerm } from '../models/V1WeightedPodAffinityTerm'; +import { V1WindowsSecurityContextOptions } from '../models/V1WindowsSecurityContextOptions'; +import { V1alpha1ApplyConfiguration } from '../models/V1alpha1ApplyConfiguration'; +import { V1alpha1ClusterTrustBundle } from '../models/V1alpha1ClusterTrustBundle'; +import { V1alpha1ClusterTrustBundleList } from '../models/V1alpha1ClusterTrustBundleList'; +import { V1alpha1ClusterTrustBundleSpec } from '../models/V1alpha1ClusterTrustBundleSpec'; +import { V1alpha1GroupVersionResource } from '../models/V1alpha1GroupVersionResource'; +import { V1alpha1JSONPatch } from '../models/V1alpha1JSONPatch'; +import { V1alpha1MatchCondition } from '../models/V1alpha1MatchCondition'; +import { V1alpha1MatchResources } from '../models/V1alpha1MatchResources'; +import { V1alpha1MigrationCondition } from '../models/V1alpha1MigrationCondition'; +import { V1alpha1MutatingAdmissionPolicy } from '../models/V1alpha1MutatingAdmissionPolicy'; +import { V1alpha1MutatingAdmissionPolicyBinding } from '../models/V1alpha1MutatingAdmissionPolicyBinding'; +import { V1alpha1MutatingAdmissionPolicyBindingList } from '../models/V1alpha1MutatingAdmissionPolicyBindingList'; +import { V1alpha1MutatingAdmissionPolicyBindingSpec } from '../models/V1alpha1MutatingAdmissionPolicyBindingSpec'; +import { V1alpha1MutatingAdmissionPolicyList } from '../models/V1alpha1MutatingAdmissionPolicyList'; +import { V1alpha1MutatingAdmissionPolicySpec } from '../models/V1alpha1MutatingAdmissionPolicySpec'; +import { V1alpha1Mutation } from '../models/V1alpha1Mutation'; +import { V1alpha1NamedRuleWithOperations } from '../models/V1alpha1NamedRuleWithOperations'; +import { V1alpha1ParamKind } from '../models/V1alpha1ParamKind'; +import { V1alpha1ParamRef } from '../models/V1alpha1ParamRef'; +import { V1alpha1ServerStorageVersion } from '../models/V1alpha1ServerStorageVersion'; +import { V1alpha1StorageVersion } from '../models/V1alpha1StorageVersion'; +import { V1alpha1StorageVersionCondition } from '../models/V1alpha1StorageVersionCondition'; +import { V1alpha1StorageVersionList } from '../models/V1alpha1StorageVersionList'; +import { V1alpha1StorageVersionMigration } from '../models/V1alpha1StorageVersionMigration'; +import { V1alpha1StorageVersionMigrationList } from '../models/V1alpha1StorageVersionMigrationList'; +import { V1alpha1StorageVersionMigrationSpec } from '../models/V1alpha1StorageVersionMigrationSpec'; +import { V1alpha1StorageVersionMigrationStatus } from '../models/V1alpha1StorageVersionMigrationStatus'; +import { V1alpha1StorageVersionStatus } from '../models/V1alpha1StorageVersionStatus'; +import { V1alpha1Variable } from '../models/V1alpha1Variable'; +import { V1alpha1VolumeAttributesClass } from '../models/V1alpha1VolumeAttributesClass'; +import { V1alpha1VolumeAttributesClassList } from '../models/V1alpha1VolumeAttributesClassList'; +import { V1alpha2LeaseCandidate } from '../models/V1alpha2LeaseCandidate'; +import { V1alpha2LeaseCandidateList } from '../models/V1alpha2LeaseCandidateList'; +import { V1alpha2LeaseCandidateSpec } from '../models/V1alpha2LeaseCandidateSpec'; +import { V1alpha3AllocatedDeviceStatus } from '../models/V1alpha3AllocatedDeviceStatus'; +import { V1alpha3AllocationResult } from '../models/V1alpha3AllocationResult'; +import { V1alpha3BasicDevice } from '../models/V1alpha3BasicDevice'; +import { V1alpha3CELDeviceSelector } from '../models/V1alpha3CELDeviceSelector'; +import { V1alpha3Device } from '../models/V1alpha3Device'; +import { V1alpha3DeviceAllocationConfiguration } from '../models/V1alpha3DeviceAllocationConfiguration'; +import { V1alpha3DeviceAllocationResult } from '../models/V1alpha3DeviceAllocationResult'; +import { V1alpha3DeviceAttribute } from '../models/V1alpha3DeviceAttribute'; +import { V1alpha3DeviceClaim } from '../models/V1alpha3DeviceClaim'; +import { V1alpha3DeviceClaimConfiguration } from '../models/V1alpha3DeviceClaimConfiguration'; +import { V1alpha3DeviceClass } from '../models/V1alpha3DeviceClass'; +import { V1alpha3DeviceClassConfiguration } from '../models/V1alpha3DeviceClassConfiguration'; +import { V1alpha3DeviceClassList } from '../models/V1alpha3DeviceClassList'; +import { V1alpha3DeviceClassSpec } from '../models/V1alpha3DeviceClassSpec'; +import { V1alpha3DeviceConstraint } from '../models/V1alpha3DeviceConstraint'; +import { V1alpha3DeviceRequest } from '../models/V1alpha3DeviceRequest'; +import { V1alpha3DeviceRequestAllocationResult } from '../models/V1alpha3DeviceRequestAllocationResult'; +import { V1alpha3DeviceSelector } from '../models/V1alpha3DeviceSelector'; +import { V1alpha3NetworkDeviceData } from '../models/V1alpha3NetworkDeviceData'; +import { V1alpha3OpaqueDeviceConfiguration } from '../models/V1alpha3OpaqueDeviceConfiguration'; +import { V1alpha3ResourceClaim } from '../models/V1alpha3ResourceClaim'; +import { V1alpha3ResourceClaimConsumerReference } from '../models/V1alpha3ResourceClaimConsumerReference'; +import { V1alpha3ResourceClaimList } from '../models/V1alpha3ResourceClaimList'; +import { V1alpha3ResourceClaimSpec } from '../models/V1alpha3ResourceClaimSpec'; +import { V1alpha3ResourceClaimStatus } from '../models/V1alpha3ResourceClaimStatus'; +import { V1alpha3ResourceClaimTemplate } from '../models/V1alpha3ResourceClaimTemplate'; +import { V1alpha3ResourceClaimTemplateList } from '../models/V1alpha3ResourceClaimTemplateList'; +import { V1alpha3ResourceClaimTemplateSpec } from '../models/V1alpha3ResourceClaimTemplateSpec'; +import { V1alpha3ResourcePool } from '../models/V1alpha3ResourcePool'; +import { V1alpha3ResourceSlice } from '../models/V1alpha3ResourceSlice'; +import { V1alpha3ResourceSliceList } from '../models/V1alpha3ResourceSliceList'; +import { V1alpha3ResourceSliceSpec } from '../models/V1alpha3ResourceSliceSpec'; +import { V1beta1AllocatedDeviceStatus } from '../models/V1beta1AllocatedDeviceStatus'; +import { V1beta1AllocationResult } from '../models/V1beta1AllocationResult'; +import { V1beta1AuditAnnotation } from '../models/V1beta1AuditAnnotation'; +import { V1beta1BasicDevice } from '../models/V1beta1BasicDevice'; +import { V1beta1CELDeviceSelector } from '../models/V1beta1CELDeviceSelector'; +import { V1beta1Device } from '../models/V1beta1Device'; +import { V1beta1DeviceAllocationConfiguration } from '../models/V1beta1DeviceAllocationConfiguration'; +import { V1beta1DeviceAllocationResult } from '../models/V1beta1DeviceAllocationResult'; +import { V1beta1DeviceAttribute } from '../models/V1beta1DeviceAttribute'; +import { V1beta1DeviceCapacity } from '../models/V1beta1DeviceCapacity'; +import { V1beta1DeviceClaim } from '../models/V1beta1DeviceClaim'; +import { V1beta1DeviceClaimConfiguration } from '../models/V1beta1DeviceClaimConfiguration'; +import { V1beta1DeviceClass } from '../models/V1beta1DeviceClass'; +import { V1beta1DeviceClassConfiguration } from '../models/V1beta1DeviceClassConfiguration'; +import { V1beta1DeviceClassList } from '../models/V1beta1DeviceClassList'; +import { V1beta1DeviceClassSpec } from '../models/V1beta1DeviceClassSpec'; +import { V1beta1DeviceConstraint } from '../models/V1beta1DeviceConstraint'; +import { V1beta1DeviceRequest } from '../models/V1beta1DeviceRequest'; +import { V1beta1DeviceRequestAllocationResult } from '../models/V1beta1DeviceRequestAllocationResult'; +import { V1beta1DeviceSelector } from '../models/V1beta1DeviceSelector'; +import { V1beta1ExpressionWarning } from '../models/V1beta1ExpressionWarning'; +import { V1beta1IPAddress } from '../models/V1beta1IPAddress'; +import { V1beta1IPAddressList } from '../models/V1beta1IPAddressList'; +import { V1beta1IPAddressSpec } from '../models/V1beta1IPAddressSpec'; +import { V1beta1MatchCondition } from '../models/V1beta1MatchCondition'; +import { V1beta1MatchResources } from '../models/V1beta1MatchResources'; +import { V1beta1NamedRuleWithOperations } from '../models/V1beta1NamedRuleWithOperations'; +import { V1beta1NetworkDeviceData } from '../models/V1beta1NetworkDeviceData'; +import { V1beta1OpaqueDeviceConfiguration } from '../models/V1beta1OpaqueDeviceConfiguration'; +import { V1beta1ParamKind } from '../models/V1beta1ParamKind'; +import { V1beta1ParamRef } from '../models/V1beta1ParamRef'; +import { V1beta1ParentReference } from '../models/V1beta1ParentReference'; +import { V1beta1ResourceClaim } from '../models/V1beta1ResourceClaim'; +import { V1beta1ResourceClaimConsumerReference } from '../models/V1beta1ResourceClaimConsumerReference'; +import { V1beta1ResourceClaimList } from '../models/V1beta1ResourceClaimList'; +import { V1beta1ResourceClaimSpec } from '../models/V1beta1ResourceClaimSpec'; +import { V1beta1ResourceClaimStatus } from '../models/V1beta1ResourceClaimStatus'; +import { V1beta1ResourceClaimTemplate } from '../models/V1beta1ResourceClaimTemplate'; +import { V1beta1ResourceClaimTemplateList } from '../models/V1beta1ResourceClaimTemplateList'; +import { V1beta1ResourceClaimTemplateSpec } from '../models/V1beta1ResourceClaimTemplateSpec'; +import { V1beta1ResourcePool } from '../models/V1beta1ResourcePool'; +import { V1beta1ResourceSlice } from '../models/V1beta1ResourceSlice'; +import { V1beta1ResourceSliceList } from '../models/V1beta1ResourceSliceList'; +import { V1beta1ResourceSliceSpec } from '../models/V1beta1ResourceSliceSpec'; +import { V1beta1SelfSubjectReview } from '../models/V1beta1SelfSubjectReview'; +import { V1beta1SelfSubjectReviewStatus } from '../models/V1beta1SelfSubjectReviewStatus'; +import { V1beta1ServiceCIDR } from '../models/V1beta1ServiceCIDR'; +import { V1beta1ServiceCIDRList } from '../models/V1beta1ServiceCIDRList'; +import { V1beta1ServiceCIDRSpec } from '../models/V1beta1ServiceCIDRSpec'; +import { V1beta1ServiceCIDRStatus } from '../models/V1beta1ServiceCIDRStatus'; +import { V1beta1TypeChecking } from '../models/V1beta1TypeChecking'; +import { V1beta1ValidatingAdmissionPolicy } from '../models/V1beta1ValidatingAdmissionPolicy'; +import { V1beta1ValidatingAdmissionPolicyBinding } from '../models/V1beta1ValidatingAdmissionPolicyBinding'; +import { V1beta1ValidatingAdmissionPolicyBindingList } from '../models/V1beta1ValidatingAdmissionPolicyBindingList'; +import { V1beta1ValidatingAdmissionPolicyBindingSpec } from '../models/V1beta1ValidatingAdmissionPolicyBindingSpec'; +import { V1beta1ValidatingAdmissionPolicyList } from '../models/V1beta1ValidatingAdmissionPolicyList'; +import { V1beta1ValidatingAdmissionPolicySpec } from '../models/V1beta1ValidatingAdmissionPolicySpec'; +import { V1beta1ValidatingAdmissionPolicyStatus } from '../models/V1beta1ValidatingAdmissionPolicyStatus'; +import { V1beta1Validation } from '../models/V1beta1Validation'; +import { V1beta1Variable } from '../models/V1beta1Variable'; +import { V1beta1VolumeAttributesClass } from '../models/V1beta1VolumeAttributesClass'; +import { V1beta1VolumeAttributesClassList } from '../models/V1beta1VolumeAttributesClassList'; +import { V2ContainerResourceMetricSource } from '../models/V2ContainerResourceMetricSource'; +import { V2ContainerResourceMetricStatus } from '../models/V2ContainerResourceMetricStatus'; +import { V2CrossVersionObjectReference } from '../models/V2CrossVersionObjectReference'; +import { V2ExternalMetricSource } from '../models/V2ExternalMetricSource'; +import { V2ExternalMetricStatus } from '../models/V2ExternalMetricStatus'; +import { V2HPAScalingPolicy } from '../models/V2HPAScalingPolicy'; +import { V2HPAScalingRules } from '../models/V2HPAScalingRules'; +import { V2HorizontalPodAutoscaler } from '../models/V2HorizontalPodAutoscaler'; +import { V2HorizontalPodAutoscalerBehavior } from '../models/V2HorizontalPodAutoscalerBehavior'; +import { V2HorizontalPodAutoscalerCondition } from '../models/V2HorizontalPodAutoscalerCondition'; +import { V2HorizontalPodAutoscalerList } from '../models/V2HorizontalPodAutoscalerList'; +import { V2HorizontalPodAutoscalerSpec } from '../models/V2HorizontalPodAutoscalerSpec'; +import { V2HorizontalPodAutoscalerStatus } from '../models/V2HorizontalPodAutoscalerStatus'; +import { V2MetricIdentifier } from '../models/V2MetricIdentifier'; +import { V2MetricSpec } from '../models/V2MetricSpec'; +import { V2MetricStatus } from '../models/V2MetricStatus'; +import { V2MetricTarget } from '../models/V2MetricTarget'; +import { V2MetricValueStatus } from '../models/V2MetricValueStatus'; +import { V2ObjectMetricSource } from '../models/V2ObjectMetricSource'; +import { V2ObjectMetricStatus } from '../models/V2ObjectMetricStatus'; +import { V2PodsMetricSource } from '../models/V2PodsMetricSource'; +import { V2PodsMetricStatus } from '../models/V2PodsMetricStatus'; +import { V2ResourceMetricSource } from '../models/V2ResourceMetricSource'; +import { V2ResourceMetricStatus } from '../models/V2ResourceMetricStatus'; +import { VersionInfo } from '../models/VersionInfo'; + +import { ObservableAdmissionregistrationApi } from "./ObservableAPI"; +import { AdmissionregistrationApiRequestFactory, AdmissionregistrationApiResponseProcessor} from "../apis/AdmissionregistrationApi"; export interface AdmissionregistrationApiGetAPIGroupRequest { } @@ -646,8 +658,8 @@ export class ObjectAdmissionregistrationApi { } -import { ObservableAdmissionregistrationV1Api } from "./ObservableAPI.js"; -import { AdmissionregistrationV1ApiRequestFactory, AdmissionregistrationV1ApiResponseProcessor} from "../apis/AdmissionregistrationV1Api.js"; +import { ObservableAdmissionregistrationV1Api } from "./ObservableAPI"; +import { AdmissionregistrationV1ApiRequestFactory, AdmissionregistrationV1ApiResponseProcessor} from "../apis/AdmissionregistrationV1Api"; export interface AdmissionregistrationV1ApiCreateMutatingWebhookConfigurationRequest { /** @@ -833,6 +845,13 @@ export interface AdmissionregistrationV1ApiDeleteCollectionMutatingWebhookConfig * @memberof AdmissionregistrationV1ApideleteCollectionMutatingWebhookConfiguration */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AdmissionregistrationV1ApideleteCollectionMutatingWebhookConfiguration + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -933,6 +952,13 @@ export interface AdmissionregistrationV1ApiDeleteCollectionValidatingAdmissionPo * @memberof AdmissionregistrationV1ApideleteCollectionValidatingAdmissionPolicy */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AdmissionregistrationV1ApideleteCollectionValidatingAdmissionPolicy + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -1033,6 +1059,13 @@ export interface AdmissionregistrationV1ApiDeleteCollectionValidatingAdmissionPo * @memberof AdmissionregistrationV1ApideleteCollectionValidatingAdmissionPolicyBinding */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AdmissionregistrationV1ApideleteCollectionValidatingAdmissionPolicyBinding + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -1133,6 +1166,13 @@ export interface AdmissionregistrationV1ApiDeleteCollectionValidatingWebhookConf * @memberof AdmissionregistrationV1ApideleteCollectionValidatingWebhookConfiguration */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AdmissionregistrationV1ApideleteCollectionValidatingWebhookConfiguration + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -1226,6 +1266,13 @@ export interface AdmissionregistrationV1ApiDeleteMutatingWebhookConfigurationReq * @memberof AdmissionregistrationV1ApideleteMutatingWebhookConfiguration */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AdmissionregistrationV1ApideleteMutatingWebhookConfiguration + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -1277,6 +1324,13 @@ export interface AdmissionregistrationV1ApiDeleteValidatingAdmissionPolicyReques * @memberof AdmissionregistrationV1ApideleteValidatingAdmissionPolicy */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AdmissionregistrationV1ApideleteValidatingAdmissionPolicy + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -1328,6 +1382,13 @@ export interface AdmissionregistrationV1ApiDeleteValidatingAdmissionPolicyBindin * @memberof AdmissionregistrationV1ApideleteValidatingAdmissionPolicyBinding */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AdmissionregistrationV1ApideleteValidatingAdmissionPolicyBinding + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -1379,6 +1440,13 @@ export interface AdmissionregistrationV1ApiDeleteValidatingWebhookConfigurationR * @memberof AdmissionregistrationV1ApideleteValidatingWebhookConfiguration */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AdmissionregistrationV1ApideleteValidatingWebhookConfiguration + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -2360,7 +2428,7 @@ export class ObjectAdmissionregistrationV1Api { * @param param the request object */ public deleteCollectionMutatingWebhookConfigurationWithHttpInfo(param: AdmissionregistrationV1ApiDeleteCollectionMutatingWebhookConfigurationRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionMutatingWebhookConfigurationWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionMutatingWebhookConfigurationWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -2368,7 +2436,7 @@ export class ObjectAdmissionregistrationV1Api { * @param param the request object */ public deleteCollectionMutatingWebhookConfiguration(param: AdmissionregistrationV1ApiDeleteCollectionMutatingWebhookConfigurationRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionMutatingWebhookConfiguration(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionMutatingWebhookConfiguration(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -2376,7 +2444,7 @@ export class ObjectAdmissionregistrationV1Api { * @param param the request object */ public deleteCollectionValidatingAdmissionPolicyWithHttpInfo(param: AdmissionregistrationV1ApiDeleteCollectionValidatingAdmissionPolicyRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionValidatingAdmissionPolicyWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionValidatingAdmissionPolicyWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -2384,7 +2452,7 @@ export class ObjectAdmissionregistrationV1Api { * @param param the request object */ public deleteCollectionValidatingAdmissionPolicy(param: AdmissionregistrationV1ApiDeleteCollectionValidatingAdmissionPolicyRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionValidatingAdmissionPolicy(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionValidatingAdmissionPolicy(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -2392,7 +2460,7 @@ export class ObjectAdmissionregistrationV1Api { * @param param the request object */ public deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(param: AdmissionregistrationV1ApiDeleteCollectionValidatingAdmissionPolicyBindingRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -2400,7 +2468,7 @@ export class ObjectAdmissionregistrationV1Api { * @param param the request object */ public deleteCollectionValidatingAdmissionPolicyBinding(param: AdmissionregistrationV1ApiDeleteCollectionValidatingAdmissionPolicyBindingRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionValidatingAdmissionPolicyBinding(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionValidatingAdmissionPolicyBinding(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -2408,7 +2476,7 @@ export class ObjectAdmissionregistrationV1Api { * @param param the request object */ public deleteCollectionValidatingWebhookConfigurationWithHttpInfo(param: AdmissionregistrationV1ApiDeleteCollectionValidatingWebhookConfigurationRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionValidatingWebhookConfigurationWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionValidatingWebhookConfigurationWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -2416,7 +2484,7 @@ export class ObjectAdmissionregistrationV1Api { * @param param the request object */ public deleteCollectionValidatingWebhookConfiguration(param: AdmissionregistrationV1ApiDeleteCollectionValidatingWebhookConfigurationRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionValidatingWebhookConfiguration(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionValidatingWebhookConfiguration(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -2424,7 +2492,7 @@ export class ObjectAdmissionregistrationV1Api { * @param param the request object */ public deleteMutatingWebhookConfigurationWithHttpInfo(param: AdmissionregistrationV1ApiDeleteMutatingWebhookConfigurationRequest, options?: Configuration): Promise> { - return this.api.deleteMutatingWebhookConfigurationWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteMutatingWebhookConfigurationWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -2432,7 +2500,7 @@ export class ObjectAdmissionregistrationV1Api { * @param param the request object */ public deleteMutatingWebhookConfiguration(param: AdmissionregistrationV1ApiDeleteMutatingWebhookConfigurationRequest, options?: Configuration): Promise { - return this.api.deleteMutatingWebhookConfiguration(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteMutatingWebhookConfiguration(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -2440,7 +2508,7 @@ export class ObjectAdmissionregistrationV1Api { * @param param the request object */ public deleteValidatingAdmissionPolicyWithHttpInfo(param: AdmissionregistrationV1ApiDeleteValidatingAdmissionPolicyRequest, options?: Configuration): Promise> { - return this.api.deleteValidatingAdmissionPolicyWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteValidatingAdmissionPolicyWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -2448,7 +2516,7 @@ export class ObjectAdmissionregistrationV1Api { * @param param the request object */ public deleteValidatingAdmissionPolicy(param: AdmissionregistrationV1ApiDeleteValidatingAdmissionPolicyRequest, options?: Configuration): Promise { - return this.api.deleteValidatingAdmissionPolicy(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteValidatingAdmissionPolicy(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -2456,7 +2524,7 @@ export class ObjectAdmissionregistrationV1Api { * @param param the request object */ public deleteValidatingAdmissionPolicyBindingWithHttpInfo(param: AdmissionregistrationV1ApiDeleteValidatingAdmissionPolicyBindingRequest, options?: Configuration): Promise> { - return this.api.deleteValidatingAdmissionPolicyBindingWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteValidatingAdmissionPolicyBindingWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -2464,7 +2532,7 @@ export class ObjectAdmissionregistrationV1Api { * @param param the request object */ public deleteValidatingAdmissionPolicyBinding(param: AdmissionregistrationV1ApiDeleteValidatingAdmissionPolicyBindingRequest, options?: Configuration): Promise { - return this.api.deleteValidatingAdmissionPolicyBinding(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteValidatingAdmissionPolicyBinding(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -2472,7 +2540,7 @@ export class ObjectAdmissionregistrationV1Api { * @param param the request object */ public deleteValidatingWebhookConfigurationWithHttpInfo(param: AdmissionregistrationV1ApiDeleteValidatingWebhookConfigurationRequest, options?: Configuration): Promise> { - return this.api.deleteValidatingWebhookConfigurationWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteValidatingWebhookConfigurationWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -2480,7 +2548,7 @@ export class ObjectAdmissionregistrationV1Api { * @param param the request object */ public deleteValidatingWebhookConfiguration(param: AdmissionregistrationV1ApiDeleteValidatingWebhookConfigurationRequest, options?: Configuration): Promise { - return this.api.deleteValidatingWebhookConfiguration(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteValidatingWebhookConfiguration(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -2805,381 +2873,409 @@ export class ObjectAdmissionregistrationV1Api { } -import { ObservableAdmissionregistrationV1alpha1Api } from "./ObservableAPI.js"; -import { AdmissionregistrationV1alpha1ApiRequestFactory, AdmissionregistrationV1alpha1ApiResponseProcessor} from "../apis/AdmissionregistrationV1alpha1Api.js"; +import { ObservableAdmissionregistrationV1alpha1Api } from "./ObservableAPI"; +import { AdmissionregistrationV1alpha1ApiRequestFactory, AdmissionregistrationV1alpha1ApiResponseProcessor} from "../apis/AdmissionregistrationV1alpha1Api"; -export interface AdmissionregistrationV1alpha1ApiCreateValidatingAdmissionPolicyRequest { +export interface AdmissionregistrationV1alpha1ApiCreateMutatingAdmissionPolicyRequest { /** * - * @type V1alpha1ValidatingAdmissionPolicy - * @memberof AdmissionregistrationV1alpha1ApicreateValidatingAdmissionPolicy + * @type V1alpha1MutatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApicreateMutatingAdmissionPolicy */ - body: V1alpha1ValidatingAdmissionPolicy + body: V1alpha1MutatingAdmissionPolicy /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApicreateValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApicreateMutatingAdmissionPolicy */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApicreateValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApicreateMutatingAdmissionPolicy */ dryRun?: string /** * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApicreateValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApicreateMutatingAdmissionPolicy */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApicreateValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApicreateMutatingAdmissionPolicy */ fieldValidation?: string } -export interface AdmissionregistrationV1alpha1ApiCreateValidatingAdmissionPolicyBindingRequest { +export interface AdmissionregistrationV1alpha1ApiCreateMutatingAdmissionPolicyBindingRequest { /** * - * @type V1alpha1ValidatingAdmissionPolicyBinding - * @memberof AdmissionregistrationV1alpha1ApicreateValidatingAdmissionPolicyBinding + * @type V1alpha1MutatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApicreateMutatingAdmissionPolicyBinding */ - body: V1alpha1ValidatingAdmissionPolicyBinding + body: V1alpha1MutatingAdmissionPolicyBinding /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApicreateValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApicreateMutatingAdmissionPolicyBinding */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApicreateValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApicreateMutatingAdmissionPolicyBinding */ dryRun?: string /** * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApicreateValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApicreateMutatingAdmissionPolicyBinding */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApicreateValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApicreateMutatingAdmissionPolicyBinding */ fieldValidation?: string } -export interface AdmissionregistrationV1alpha1ApiDeleteCollectionValidatingAdmissionPolicyRequest { +export interface AdmissionregistrationV1alpha1ApiDeleteCollectionMutatingAdmissionPolicyRequest { /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApideleteCollectionValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicy */ pretty?: string /** * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApideleteCollectionValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicy */ _continue?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApideleteCollectionValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicy */ dryRun?: string /** * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApideleteCollectionValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicy */ fieldSelector?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof AdmissionregistrationV1alpha1ApideleteCollectionValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicy */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicy + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApideleteCollectionValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicy */ labelSelector?: string /** * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined * @type number - * @memberof AdmissionregistrationV1alpha1ApideleteCollectionValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicy */ limit?: number /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof AdmissionregistrationV1alpha1ApideleteCollectionValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicy */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApideleteCollectionValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicy */ propagationPolicy?: string /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApideleteCollectionValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicy */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApideleteCollectionValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicy */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof AdmissionregistrationV1alpha1ApideleteCollectionValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicy */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof AdmissionregistrationV1alpha1ApideleteCollectionValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicy */ timeoutSeconds?: number /** * * @type V1DeleteOptions - * @memberof AdmissionregistrationV1alpha1ApideleteCollectionValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicy */ body?: V1DeleteOptions } -export interface AdmissionregistrationV1alpha1ApiDeleteCollectionValidatingAdmissionPolicyBindingRequest { +export interface AdmissionregistrationV1alpha1ApiDeleteCollectionMutatingAdmissionPolicyBindingRequest { /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApideleteCollectionValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicyBinding */ pretty?: string /** * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApideleteCollectionValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicyBinding */ _continue?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApideleteCollectionValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicyBinding */ dryRun?: string /** * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApideleteCollectionValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicyBinding */ fieldSelector?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof AdmissionregistrationV1alpha1ApideleteCollectionValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicyBinding */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicyBinding + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApideleteCollectionValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicyBinding */ labelSelector?: string /** * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined * @type number - * @memberof AdmissionregistrationV1alpha1ApideleteCollectionValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicyBinding */ limit?: number /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof AdmissionregistrationV1alpha1ApideleteCollectionValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicyBinding */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApideleteCollectionValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicyBinding */ propagationPolicy?: string /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApideleteCollectionValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicyBinding */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApideleteCollectionValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicyBinding */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof AdmissionregistrationV1alpha1ApideleteCollectionValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicyBinding */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof AdmissionregistrationV1alpha1ApideleteCollectionValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicyBinding */ timeoutSeconds?: number /** * * @type V1DeleteOptions - * @memberof AdmissionregistrationV1alpha1ApideleteCollectionValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApideleteCollectionMutatingAdmissionPolicyBinding */ body?: V1DeleteOptions } -export interface AdmissionregistrationV1alpha1ApiDeleteValidatingAdmissionPolicyRequest { +export interface AdmissionregistrationV1alpha1ApiDeleteMutatingAdmissionPolicyRequest { /** - * name of the ValidatingAdmissionPolicy + * name of the MutatingAdmissionPolicy * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApideleteValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApideleteMutatingAdmissionPolicy */ name: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApideleteValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApideleteMutatingAdmissionPolicy */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApideleteValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApideleteMutatingAdmissionPolicy */ dryRun?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof AdmissionregistrationV1alpha1ApideleteValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApideleteMutatingAdmissionPolicy */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AdmissionregistrationV1alpha1ApideleteMutatingAdmissionPolicy + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof AdmissionregistrationV1alpha1ApideleteValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApideleteMutatingAdmissionPolicy */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApideleteValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApideleteMutatingAdmissionPolicy */ propagationPolicy?: string /** * * @type V1DeleteOptions - * @memberof AdmissionregistrationV1alpha1ApideleteValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApideleteMutatingAdmissionPolicy */ body?: V1DeleteOptions } -export interface AdmissionregistrationV1alpha1ApiDeleteValidatingAdmissionPolicyBindingRequest { +export interface AdmissionregistrationV1alpha1ApiDeleteMutatingAdmissionPolicyBindingRequest { /** - * name of the ValidatingAdmissionPolicyBinding + * name of the MutatingAdmissionPolicyBinding * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApideleteValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApideleteMutatingAdmissionPolicyBinding */ name: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApideleteValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApideleteMutatingAdmissionPolicyBinding */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApideleteValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApideleteMutatingAdmissionPolicyBinding */ dryRun?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof AdmissionregistrationV1alpha1ApideleteValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApideleteMutatingAdmissionPolicyBinding */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AdmissionregistrationV1alpha1ApideleteMutatingAdmissionPolicyBinding + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof AdmissionregistrationV1alpha1ApideleteValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApideleteMutatingAdmissionPolicyBinding */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApideleteValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApideleteMutatingAdmissionPolicyBinding */ propagationPolicy?: string /** * * @type V1DeleteOptions - * @memberof AdmissionregistrationV1alpha1ApideleteValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApideleteMutatingAdmissionPolicyBinding */ body?: V1DeleteOptions } @@ -3187,498 +3283,386 @@ export interface AdmissionregistrationV1alpha1ApiDeleteValidatingAdmissionPolicy export interface AdmissionregistrationV1alpha1ApiGetAPIResourcesRequest { } -export interface AdmissionregistrationV1alpha1ApiListValidatingAdmissionPolicyRequest { +export interface AdmissionregistrationV1alpha1ApiListMutatingAdmissionPolicyRequest { /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApilistValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApilistMutatingAdmissionPolicy */ pretty?: string /** * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * Defaults to: undefined * @type boolean - * @memberof AdmissionregistrationV1alpha1ApilistValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApilistMutatingAdmissionPolicy */ allowWatchBookmarks?: boolean /** * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApilistValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApilistMutatingAdmissionPolicy */ _continue?: string /** * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApilistValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApilistMutatingAdmissionPolicy */ fieldSelector?: string /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApilistValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApilistMutatingAdmissionPolicy */ labelSelector?: string /** * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined * @type number - * @memberof AdmissionregistrationV1alpha1ApilistValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApilistMutatingAdmissionPolicy */ limit?: number /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApilistValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApilistMutatingAdmissionPolicy */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApilistValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApilistMutatingAdmissionPolicy */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof AdmissionregistrationV1alpha1ApilistValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApilistMutatingAdmissionPolicy */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof AdmissionregistrationV1alpha1ApilistValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApilistMutatingAdmissionPolicy */ timeoutSeconds?: number /** * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. * Defaults to: undefined * @type boolean - * @memberof AdmissionregistrationV1alpha1ApilistValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApilistMutatingAdmissionPolicy */ watch?: boolean } -export interface AdmissionregistrationV1alpha1ApiListValidatingAdmissionPolicyBindingRequest { +export interface AdmissionregistrationV1alpha1ApiListMutatingAdmissionPolicyBindingRequest { /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApilistValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApilistMutatingAdmissionPolicyBinding */ pretty?: string /** * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * Defaults to: undefined * @type boolean - * @memberof AdmissionregistrationV1alpha1ApilistValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApilistMutatingAdmissionPolicyBinding */ allowWatchBookmarks?: boolean /** * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApilistValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApilistMutatingAdmissionPolicyBinding */ _continue?: string /** * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApilistValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApilistMutatingAdmissionPolicyBinding */ fieldSelector?: string /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApilistValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApilistMutatingAdmissionPolicyBinding */ labelSelector?: string /** * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined * @type number - * @memberof AdmissionregistrationV1alpha1ApilistValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApilistMutatingAdmissionPolicyBinding */ limit?: number /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApilistValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApilistMutatingAdmissionPolicyBinding */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApilistValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApilistMutatingAdmissionPolicyBinding */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof AdmissionregistrationV1alpha1ApilistValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApilistMutatingAdmissionPolicyBinding */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof AdmissionregistrationV1alpha1ApilistValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApilistMutatingAdmissionPolicyBinding */ timeoutSeconds?: number /** * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. * Defaults to: undefined * @type boolean - * @memberof AdmissionregistrationV1alpha1ApilistValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApilistMutatingAdmissionPolicyBinding */ watch?: boolean } -export interface AdmissionregistrationV1alpha1ApiPatchValidatingAdmissionPolicyRequest { +export interface AdmissionregistrationV1alpha1ApiPatchMutatingAdmissionPolicyRequest { /** - * name of the ValidatingAdmissionPolicy + * name of the MutatingAdmissionPolicy * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApipatchValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApipatchMutatingAdmissionPolicy */ name: string /** * * @type any - * @memberof AdmissionregistrationV1alpha1ApipatchValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApipatchMutatingAdmissionPolicy */ body: any /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApipatchValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApipatchMutatingAdmissionPolicy */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApipatchValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApipatchMutatingAdmissionPolicy */ dryRun?: string /** * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApipatchValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApipatchMutatingAdmissionPolicy */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApipatchValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApipatchMutatingAdmissionPolicy */ fieldValidation?: string /** * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. * Defaults to: undefined * @type boolean - * @memberof AdmissionregistrationV1alpha1ApipatchValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApipatchMutatingAdmissionPolicy */ force?: boolean } -export interface AdmissionregistrationV1alpha1ApiPatchValidatingAdmissionPolicyBindingRequest { +export interface AdmissionregistrationV1alpha1ApiPatchMutatingAdmissionPolicyBindingRequest { /** - * name of the ValidatingAdmissionPolicyBinding + * name of the MutatingAdmissionPolicyBinding * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApipatchValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApipatchMutatingAdmissionPolicyBinding */ name: string /** * * @type any - * @memberof AdmissionregistrationV1alpha1ApipatchValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApipatchMutatingAdmissionPolicyBinding */ body: any /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApipatchValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApipatchMutatingAdmissionPolicyBinding */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApipatchValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApipatchMutatingAdmissionPolicyBinding */ dryRun?: string /** * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApipatchValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApipatchMutatingAdmissionPolicyBinding */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApipatchValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApipatchMutatingAdmissionPolicyBinding */ fieldValidation?: string /** * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. * Defaults to: undefined * @type boolean - * @memberof AdmissionregistrationV1alpha1ApipatchValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApipatchMutatingAdmissionPolicyBinding */ force?: boolean } -export interface AdmissionregistrationV1alpha1ApiPatchValidatingAdmissionPolicyStatusRequest { +export interface AdmissionregistrationV1alpha1ApiReadMutatingAdmissionPolicyRequest { /** - * name of the ValidatingAdmissionPolicy + * name of the MutatingAdmissionPolicy * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApipatchValidatingAdmissionPolicyStatus + * @memberof AdmissionregistrationV1alpha1ApireadMutatingAdmissionPolicy */ name: string - /** - * - * @type any - * @memberof AdmissionregistrationV1alpha1ApipatchValidatingAdmissionPolicyStatus - */ - body: any /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApipatchValidatingAdmissionPolicyStatus + * @memberof AdmissionregistrationV1alpha1ApireadMutatingAdmissionPolicy */ pretty?: string - /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * Defaults to: undefined - * @type string - * @memberof AdmissionregistrationV1alpha1ApipatchValidatingAdmissionPolicyStatus - */ - dryRun?: string - /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * Defaults to: undefined - * @type string - * @memberof AdmissionregistrationV1alpha1ApipatchValidatingAdmissionPolicyStatus - */ - fieldManager?: string - /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * Defaults to: undefined - * @type string - * @memberof AdmissionregistrationV1alpha1ApipatchValidatingAdmissionPolicyStatus - */ - fieldValidation?: string - /** - * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - * Defaults to: undefined - * @type boolean - * @memberof AdmissionregistrationV1alpha1ApipatchValidatingAdmissionPolicyStatus - */ - force?: boolean } -export interface AdmissionregistrationV1alpha1ApiReadValidatingAdmissionPolicyRequest { +export interface AdmissionregistrationV1alpha1ApiReadMutatingAdmissionPolicyBindingRequest { /** - * name of the ValidatingAdmissionPolicy + * name of the MutatingAdmissionPolicyBinding * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApireadValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApireadMutatingAdmissionPolicyBinding */ name: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApireadValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApireadMutatingAdmissionPolicyBinding */ pretty?: string } -export interface AdmissionregistrationV1alpha1ApiReadValidatingAdmissionPolicyBindingRequest { +export interface AdmissionregistrationV1alpha1ApiReplaceMutatingAdmissionPolicyRequest { /** - * name of the ValidatingAdmissionPolicyBinding + * name of the MutatingAdmissionPolicy * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApireadValidatingAdmissionPolicyBinding - */ - name: string - /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof AdmissionregistrationV1alpha1ApireadValidatingAdmissionPolicyBinding - */ - pretty?: string -} - -export interface AdmissionregistrationV1alpha1ApiReadValidatingAdmissionPolicyStatusRequest { - /** - * name of the ValidatingAdmissionPolicy - * Defaults to: undefined - * @type string - * @memberof AdmissionregistrationV1alpha1ApireadValidatingAdmissionPolicyStatus - */ - name: string - /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof AdmissionregistrationV1alpha1ApireadValidatingAdmissionPolicyStatus - */ - pretty?: string -} - -export interface AdmissionregistrationV1alpha1ApiReplaceValidatingAdmissionPolicyRequest { - /** - * name of the ValidatingAdmissionPolicy - * Defaults to: undefined - * @type string - * @memberof AdmissionregistrationV1alpha1ApireplaceValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApireplaceMutatingAdmissionPolicy */ name: string /** * - * @type V1alpha1ValidatingAdmissionPolicy - * @memberof AdmissionregistrationV1alpha1ApireplaceValidatingAdmissionPolicy + * @type V1alpha1MutatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApireplaceMutatingAdmissionPolicy */ - body: V1alpha1ValidatingAdmissionPolicy + body: V1alpha1MutatingAdmissionPolicy /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApireplaceValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApireplaceMutatingAdmissionPolicy */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApireplaceValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApireplaceMutatingAdmissionPolicy */ dryRun?: string /** * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApireplaceValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApireplaceMutatingAdmissionPolicy */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApireplaceValidatingAdmissionPolicy + * @memberof AdmissionregistrationV1alpha1ApireplaceMutatingAdmissionPolicy */ fieldValidation?: string } -export interface AdmissionregistrationV1alpha1ApiReplaceValidatingAdmissionPolicyBindingRequest { +export interface AdmissionregistrationV1alpha1ApiReplaceMutatingAdmissionPolicyBindingRequest { /** - * name of the ValidatingAdmissionPolicyBinding + * name of the MutatingAdmissionPolicyBinding * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApireplaceValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApireplaceMutatingAdmissionPolicyBinding */ name: string /** * - * @type V1alpha1ValidatingAdmissionPolicyBinding - * @memberof AdmissionregistrationV1alpha1ApireplaceValidatingAdmissionPolicyBinding + * @type V1alpha1MutatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApireplaceMutatingAdmissionPolicyBinding */ - body: V1alpha1ValidatingAdmissionPolicyBinding + body: V1alpha1MutatingAdmissionPolicyBinding /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApireplaceValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApireplaceMutatingAdmissionPolicyBinding */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApireplaceValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApireplaceMutatingAdmissionPolicyBinding */ dryRun?: string /** * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApireplaceValidatingAdmissionPolicyBinding + * @memberof AdmissionregistrationV1alpha1ApireplaceMutatingAdmissionPolicyBinding */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof AdmissionregistrationV1alpha1ApireplaceValidatingAdmissionPolicyBinding - */ - fieldValidation?: string -} - -export interface AdmissionregistrationV1alpha1ApiReplaceValidatingAdmissionPolicyStatusRequest { - /** - * name of the ValidatingAdmissionPolicy - * Defaults to: undefined - * @type string - * @memberof AdmissionregistrationV1alpha1ApireplaceValidatingAdmissionPolicyStatus - */ - name: string - /** - * - * @type V1alpha1ValidatingAdmissionPolicy - * @memberof AdmissionregistrationV1alpha1ApireplaceValidatingAdmissionPolicyStatus - */ - body: V1alpha1ValidatingAdmissionPolicy - /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof AdmissionregistrationV1alpha1ApireplaceValidatingAdmissionPolicyStatus - */ - pretty?: string - /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * Defaults to: undefined - * @type string - * @memberof AdmissionregistrationV1alpha1ApireplaceValidatingAdmissionPolicyStatus - */ - dryRun?: string - /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * Defaults to: undefined - * @type string - * @memberof AdmissionregistrationV1alpha1ApireplaceValidatingAdmissionPolicyStatus - */ - fieldManager?: string - /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * Defaults to: undefined - * @type string - * @memberof AdmissionregistrationV1alpha1ApireplaceValidatingAdmissionPolicyStatus + * @memberof AdmissionregistrationV1alpha1ApireplaceMutatingAdmissionPolicyBinding */ fieldValidation?: string } @@ -3691,99 +3675,99 @@ export class ObjectAdmissionregistrationV1alpha1Api { } /** - * create a ValidatingAdmissionPolicy + * create a MutatingAdmissionPolicy * @param param the request object */ - public createValidatingAdmissionPolicyWithHttpInfo(param: AdmissionregistrationV1alpha1ApiCreateValidatingAdmissionPolicyRequest, options?: Configuration): Promise> { - return this.api.createValidatingAdmissionPolicyWithHttpInfo(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + public createMutatingAdmissionPolicyWithHttpInfo(param: AdmissionregistrationV1alpha1ApiCreateMutatingAdmissionPolicyRequest, options?: Configuration): Promise> { + return this.api.createMutatingAdmissionPolicyWithHttpInfo(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } /** - * create a ValidatingAdmissionPolicy + * create a MutatingAdmissionPolicy * @param param the request object */ - public createValidatingAdmissionPolicy(param: AdmissionregistrationV1alpha1ApiCreateValidatingAdmissionPolicyRequest, options?: Configuration): Promise { - return this.api.createValidatingAdmissionPolicy(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + public createMutatingAdmissionPolicy(param: AdmissionregistrationV1alpha1ApiCreateMutatingAdmissionPolicyRequest, options?: Configuration): Promise { + return this.api.createMutatingAdmissionPolicy(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } /** - * create a ValidatingAdmissionPolicyBinding + * create a MutatingAdmissionPolicyBinding * @param param the request object */ - public createValidatingAdmissionPolicyBindingWithHttpInfo(param: AdmissionregistrationV1alpha1ApiCreateValidatingAdmissionPolicyBindingRequest, options?: Configuration): Promise> { - return this.api.createValidatingAdmissionPolicyBindingWithHttpInfo(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + public createMutatingAdmissionPolicyBindingWithHttpInfo(param: AdmissionregistrationV1alpha1ApiCreateMutatingAdmissionPolicyBindingRequest, options?: Configuration): Promise> { + return this.api.createMutatingAdmissionPolicyBindingWithHttpInfo(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } /** - * create a ValidatingAdmissionPolicyBinding + * create a MutatingAdmissionPolicyBinding * @param param the request object */ - public createValidatingAdmissionPolicyBinding(param: AdmissionregistrationV1alpha1ApiCreateValidatingAdmissionPolicyBindingRequest, options?: Configuration): Promise { - return this.api.createValidatingAdmissionPolicyBinding(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + public createMutatingAdmissionPolicyBinding(param: AdmissionregistrationV1alpha1ApiCreateMutatingAdmissionPolicyBindingRequest, options?: Configuration): Promise { + return this.api.createMutatingAdmissionPolicyBinding(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } /** - * delete collection of ValidatingAdmissionPolicy + * delete collection of MutatingAdmissionPolicy * @param param the request object */ - public deleteCollectionValidatingAdmissionPolicyWithHttpInfo(param: AdmissionregistrationV1alpha1ApiDeleteCollectionValidatingAdmissionPolicyRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionValidatingAdmissionPolicyWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + public deleteCollectionMutatingAdmissionPolicyWithHttpInfo(param: AdmissionregistrationV1alpha1ApiDeleteCollectionMutatingAdmissionPolicyRequest = {}, options?: Configuration): Promise> { + return this.api.deleteCollectionMutatingAdmissionPolicyWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** - * delete collection of ValidatingAdmissionPolicy + * delete collection of MutatingAdmissionPolicy * @param param the request object */ - public deleteCollectionValidatingAdmissionPolicy(param: AdmissionregistrationV1alpha1ApiDeleteCollectionValidatingAdmissionPolicyRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionValidatingAdmissionPolicy(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + public deleteCollectionMutatingAdmissionPolicy(param: AdmissionregistrationV1alpha1ApiDeleteCollectionMutatingAdmissionPolicyRequest = {}, options?: Configuration): Promise { + return this.api.deleteCollectionMutatingAdmissionPolicy(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** - * delete collection of ValidatingAdmissionPolicyBinding + * delete collection of MutatingAdmissionPolicyBinding * @param param the request object */ - public deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(param: AdmissionregistrationV1alpha1ApiDeleteCollectionValidatingAdmissionPolicyBindingRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + public deleteCollectionMutatingAdmissionPolicyBindingWithHttpInfo(param: AdmissionregistrationV1alpha1ApiDeleteCollectionMutatingAdmissionPolicyBindingRequest = {}, options?: Configuration): Promise> { + return this.api.deleteCollectionMutatingAdmissionPolicyBindingWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** - * delete collection of ValidatingAdmissionPolicyBinding + * delete collection of MutatingAdmissionPolicyBinding * @param param the request object */ - public deleteCollectionValidatingAdmissionPolicyBinding(param: AdmissionregistrationV1alpha1ApiDeleteCollectionValidatingAdmissionPolicyBindingRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionValidatingAdmissionPolicyBinding(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + public deleteCollectionMutatingAdmissionPolicyBinding(param: AdmissionregistrationV1alpha1ApiDeleteCollectionMutatingAdmissionPolicyBindingRequest = {}, options?: Configuration): Promise { + return this.api.deleteCollectionMutatingAdmissionPolicyBinding(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** - * delete a ValidatingAdmissionPolicy + * delete a MutatingAdmissionPolicy * @param param the request object */ - public deleteValidatingAdmissionPolicyWithHttpInfo(param: AdmissionregistrationV1alpha1ApiDeleteValidatingAdmissionPolicyRequest, options?: Configuration): Promise> { - return this.api.deleteValidatingAdmissionPolicyWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + public deleteMutatingAdmissionPolicyWithHttpInfo(param: AdmissionregistrationV1alpha1ApiDeleteMutatingAdmissionPolicyRequest, options?: Configuration): Promise> { + return this.api.deleteMutatingAdmissionPolicyWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** - * delete a ValidatingAdmissionPolicy + * delete a MutatingAdmissionPolicy * @param param the request object */ - public deleteValidatingAdmissionPolicy(param: AdmissionregistrationV1alpha1ApiDeleteValidatingAdmissionPolicyRequest, options?: Configuration): Promise { - return this.api.deleteValidatingAdmissionPolicy(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + public deleteMutatingAdmissionPolicy(param: AdmissionregistrationV1alpha1ApiDeleteMutatingAdmissionPolicyRequest, options?: Configuration): Promise { + return this.api.deleteMutatingAdmissionPolicy(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** - * delete a ValidatingAdmissionPolicyBinding + * delete a MutatingAdmissionPolicyBinding * @param param the request object */ - public deleteValidatingAdmissionPolicyBindingWithHttpInfo(param: AdmissionregistrationV1alpha1ApiDeleteValidatingAdmissionPolicyBindingRequest, options?: Configuration): Promise> { - return this.api.deleteValidatingAdmissionPolicyBindingWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + public deleteMutatingAdmissionPolicyBindingWithHttpInfo(param: AdmissionregistrationV1alpha1ApiDeleteMutatingAdmissionPolicyBindingRequest, options?: Configuration): Promise> { + return this.api.deleteMutatingAdmissionPolicyBindingWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** - * delete a ValidatingAdmissionPolicyBinding + * delete a MutatingAdmissionPolicyBinding * @param param the request object */ - public deleteValidatingAdmissionPolicyBinding(param: AdmissionregistrationV1alpha1ApiDeleteValidatingAdmissionPolicyBindingRequest, options?: Configuration): Promise { - return this.api.deleteValidatingAdmissionPolicyBinding(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + public deleteMutatingAdmissionPolicyBinding(param: AdmissionregistrationV1alpha1ApiDeleteMutatingAdmissionPolicyBindingRequest, options?: Configuration): Promise { + return this.api.deleteMutatingAdmissionPolicyBinding(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -3803,185 +3787,137 @@ export class ObjectAdmissionregistrationV1alpha1Api { } /** - * list or watch objects of kind ValidatingAdmissionPolicy - * @param param the request object - */ - public listValidatingAdmissionPolicyWithHttpInfo(param: AdmissionregistrationV1alpha1ApiListValidatingAdmissionPolicyRequest = {}, options?: Configuration): Promise> { - return this.api.listValidatingAdmissionPolicyWithHttpInfo(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - - /** - * list or watch objects of kind ValidatingAdmissionPolicy - * @param param the request object - */ - public listValidatingAdmissionPolicy(param: AdmissionregistrationV1alpha1ApiListValidatingAdmissionPolicyRequest = {}, options?: Configuration): Promise { - return this.api.listValidatingAdmissionPolicy(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - - /** - * list or watch objects of kind ValidatingAdmissionPolicyBinding - * @param param the request object - */ - public listValidatingAdmissionPolicyBindingWithHttpInfo(param: AdmissionregistrationV1alpha1ApiListValidatingAdmissionPolicyBindingRequest = {}, options?: Configuration): Promise> { - return this.api.listValidatingAdmissionPolicyBindingWithHttpInfo(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - - /** - * list or watch objects of kind ValidatingAdmissionPolicyBinding - * @param param the request object - */ - public listValidatingAdmissionPolicyBinding(param: AdmissionregistrationV1alpha1ApiListValidatingAdmissionPolicyBindingRequest = {}, options?: Configuration): Promise { - return this.api.listValidatingAdmissionPolicyBinding(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - - /** - * partially update the specified ValidatingAdmissionPolicy + * list or watch objects of kind MutatingAdmissionPolicy * @param param the request object */ - public patchValidatingAdmissionPolicyWithHttpInfo(param: AdmissionregistrationV1alpha1ApiPatchValidatingAdmissionPolicyRequest, options?: Configuration): Promise> { - return this.api.patchValidatingAdmissionPolicyWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + public listMutatingAdmissionPolicyWithHttpInfo(param: AdmissionregistrationV1alpha1ApiListMutatingAdmissionPolicyRequest = {}, options?: Configuration): Promise> { + return this.api.listMutatingAdmissionPolicyWithHttpInfo(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); } /** - * partially update the specified ValidatingAdmissionPolicy + * list or watch objects of kind MutatingAdmissionPolicy * @param param the request object */ - public patchValidatingAdmissionPolicy(param: AdmissionregistrationV1alpha1ApiPatchValidatingAdmissionPolicyRequest, options?: Configuration): Promise { - return this.api.patchValidatingAdmissionPolicy(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + public listMutatingAdmissionPolicy(param: AdmissionregistrationV1alpha1ApiListMutatingAdmissionPolicyRequest = {}, options?: Configuration): Promise { + return this.api.listMutatingAdmissionPolicy(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); } /** - * partially update the specified ValidatingAdmissionPolicyBinding + * list or watch objects of kind MutatingAdmissionPolicyBinding * @param param the request object */ - public patchValidatingAdmissionPolicyBindingWithHttpInfo(param: AdmissionregistrationV1alpha1ApiPatchValidatingAdmissionPolicyBindingRequest, options?: Configuration): Promise> { - return this.api.patchValidatingAdmissionPolicyBindingWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + public listMutatingAdmissionPolicyBindingWithHttpInfo(param: AdmissionregistrationV1alpha1ApiListMutatingAdmissionPolicyBindingRequest = {}, options?: Configuration): Promise> { + return this.api.listMutatingAdmissionPolicyBindingWithHttpInfo(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); } /** - * partially update the specified ValidatingAdmissionPolicyBinding + * list or watch objects of kind MutatingAdmissionPolicyBinding * @param param the request object */ - public patchValidatingAdmissionPolicyBinding(param: AdmissionregistrationV1alpha1ApiPatchValidatingAdmissionPolicyBindingRequest, options?: Configuration): Promise { - return this.api.patchValidatingAdmissionPolicyBinding(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + public listMutatingAdmissionPolicyBinding(param: AdmissionregistrationV1alpha1ApiListMutatingAdmissionPolicyBindingRequest = {}, options?: Configuration): Promise { + return this.api.listMutatingAdmissionPolicyBinding(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); } /** - * partially update status of the specified ValidatingAdmissionPolicy + * partially update the specified MutatingAdmissionPolicy * @param param the request object */ - public patchValidatingAdmissionPolicyStatusWithHttpInfo(param: AdmissionregistrationV1alpha1ApiPatchValidatingAdmissionPolicyStatusRequest, options?: Configuration): Promise> { - return this.api.patchValidatingAdmissionPolicyStatusWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + public patchMutatingAdmissionPolicyWithHttpInfo(param: AdmissionregistrationV1alpha1ApiPatchMutatingAdmissionPolicyRequest, options?: Configuration): Promise> { + return this.api.patchMutatingAdmissionPolicyWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); } /** - * partially update status of the specified ValidatingAdmissionPolicy + * partially update the specified MutatingAdmissionPolicy * @param param the request object */ - public patchValidatingAdmissionPolicyStatus(param: AdmissionregistrationV1alpha1ApiPatchValidatingAdmissionPolicyStatusRequest, options?: Configuration): Promise { - return this.api.patchValidatingAdmissionPolicyStatus(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + public patchMutatingAdmissionPolicy(param: AdmissionregistrationV1alpha1ApiPatchMutatingAdmissionPolicyRequest, options?: Configuration): Promise { + return this.api.patchMutatingAdmissionPolicy(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); } /** - * read the specified ValidatingAdmissionPolicy + * partially update the specified MutatingAdmissionPolicyBinding * @param param the request object */ - public readValidatingAdmissionPolicyWithHttpInfo(param: AdmissionregistrationV1alpha1ApiReadValidatingAdmissionPolicyRequest, options?: Configuration): Promise> { - return this.api.readValidatingAdmissionPolicyWithHttpInfo(param.name, param.pretty, options).toPromise(); + public patchMutatingAdmissionPolicyBindingWithHttpInfo(param: AdmissionregistrationV1alpha1ApiPatchMutatingAdmissionPolicyBindingRequest, options?: Configuration): Promise> { + return this.api.patchMutatingAdmissionPolicyBindingWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); } /** - * read the specified ValidatingAdmissionPolicy + * partially update the specified MutatingAdmissionPolicyBinding * @param param the request object */ - public readValidatingAdmissionPolicy(param: AdmissionregistrationV1alpha1ApiReadValidatingAdmissionPolicyRequest, options?: Configuration): Promise { - return this.api.readValidatingAdmissionPolicy(param.name, param.pretty, options).toPromise(); + public patchMutatingAdmissionPolicyBinding(param: AdmissionregistrationV1alpha1ApiPatchMutatingAdmissionPolicyBindingRequest, options?: Configuration): Promise { + return this.api.patchMutatingAdmissionPolicyBinding(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); } /** - * read the specified ValidatingAdmissionPolicyBinding + * read the specified MutatingAdmissionPolicy * @param param the request object */ - public readValidatingAdmissionPolicyBindingWithHttpInfo(param: AdmissionregistrationV1alpha1ApiReadValidatingAdmissionPolicyBindingRequest, options?: Configuration): Promise> { - return this.api.readValidatingAdmissionPolicyBindingWithHttpInfo(param.name, param.pretty, options).toPromise(); + public readMutatingAdmissionPolicyWithHttpInfo(param: AdmissionregistrationV1alpha1ApiReadMutatingAdmissionPolicyRequest, options?: Configuration): Promise> { + return this.api.readMutatingAdmissionPolicyWithHttpInfo(param.name, param.pretty, options).toPromise(); } /** - * read the specified ValidatingAdmissionPolicyBinding + * read the specified MutatingAdmissionPolicy * @param param the request object */ - public readValidatingAdmissionPolicyBinding(param: AdmissionregistrationV1alpha1ApiReadValidatingAdmissionPolicyBindingRequest, options?: Configuration): Promise { - return this.api.readValidatingAdmissionPolicyBinding(param.name, param.pretty, options).toPromise(); + public readMutatingAdmissionPolicy(param: AdmissionregistrationV1alpha1ApiReadMutatingAdmissionPolicyRequest, options?: Configuration): Promise { + return this.api.readMutatingAdmissionPolicy(param.name, param.pretty, options).toPromise(); } /** - * read status of the specified ValidatingAdmissionPolicy + * read the specified MutatingAdmissionPolicyBinding * @param param the request object */ - public readValidatingAdmissionPolicyStatusWithHttpInfo(param: AdmissionregistrationV1alpha1ApiReadValidatingAdmissionPolicyStatusRequest, options?: Configuration): Promise> { - return this.api.readValidatingAdmissionPolicyStatusWithHttpInfo(param.name, param.pretty, options).toPromise(); + public readMutatingAdmissionPolicyBindingWithHttpInfo(param: AdmissionregistrationV1alpha1ApiReadMutatingAdmissionPolicyBindingRequest, options?: Configuration): Promise> { + return this.api.readMutatingAdmissionPolicyBindingWithHttpInfo(param.name, param.pretty, options).toPromise(); } /** - * read status of the specified ValidatingAdmissionPolicy + * read the specified MutatingAdmissionPolicyBinding * @param param the request object */ - public readValidatingAdmissionPolicyStatus(param: AdmissionregistrationV1alpha1ApiReadValidatingAdmissionPolicyStatusRequest, options?: Configuration): Promise { - return this.api.readValidatingAdmissionPolicyStatus(param.name, param.pretty, options).toPromise(); + public readMutatingAdmissionPolicyBinding(param: AdmissionregistrationV1alpha1ApiReadMutatingAdmissionPolicyBindingRequest, options?: Configuration): Promise { + return this.api.readMutatingAdmissionPolicyBinding(param.name, param.pretty, options).toPromise(); } /** - * replace the specified ValidatingAdmissionPolicy + * replace the specified MutatingAdmissionPolicy * @param param the request object */ - public replaceValidatingAdmissionPolicyWithHttpInfo(param: AdmissionregistrationV1alpha1ApiReplaceValidatingAdmissionPolicyRequest, options?: Configuration): Promise> { - return this.api.replaceValidatingAdmissionPolicyWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + public replaceMutatingAdmissionPolicyWithHttpInfo(param: AdmissionregistrationV1alpha1ApiReplaceMutatingAdmissionPolicyRequest, options?: Configuration): Promise> { + return this.api.replaceMutatingAdmissionPolicyWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } /** - * replace the specified ValidatingAdmissionPolicy + * replace the specified MutatingAdmissionPolicy * @param param the request object */ - public replaceValidatingAdmissionPolicy(param: AdmissionregistrationV1alpha1ApiReplaceValidatingAdmissionPolicyRequest, options?: Configuration): Promise { - return this.api.replaceValidatingAdmissionPolicy(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + public replaceMutatingAdmissionPolicy(param: AdmissionregistrationV1alpha1ApiReplaceMutatingAdmissionPolicyRequest, options?: Configuration): Promise { + return this.api.replaceMutatingAdmissionPolicy(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } /** - * replace the specified ValidatingAdmissionPolicyBinding + * replace the specified MutatingAdmissionPolicyBinding * @param param the request object */ - public replaceValidatingAdmissionPolicyBindingWithHttpInfo(param: AdmissionregistrationV1alpha1ApiReplaceValidatingAdmissionPolicyBindingRequest, options?: Configuration): Promise> { - return this.api.replaceValidatingAdmissionPolicyBindingWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - - /** - * replace the specified ValidatingAdmissionPolicyBinding - * @param param the request object - */ - public replaceValidatingAdmissionPolicyBinding(param: AdmissionregistrationV1alpha1ApiReplaceValidatingAdmissionPolicyBindingRequest, options?: Configuration): Promise { - return this.api.replaceValidatingAdmissionPolicyBinding(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + public replaceMutatingAdmissionPolicyBindingWithHttpInfo(param: AdmissionregistrationV1alpha1ApiReplaceMutatingAdmissionPolicyBindingRequest, options?: Configuration): Promise> { + return this.api.replaceMutatingAdmissionPolicyBindingWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } /** - * replace status of the specified ValidatingAdmissionPolicy - * @param param the request object - */ - public replaceValidatingAdmissionPolicyStatusWithHttpInfo(param: AdmissionregistrationV1alpha1ApiReplaceValidatingAdmissionPolicyStatusRequest, options?: Configuration): Promise> { - return this.api.replaceValidatingAdmissionPolicyStatusWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - - /** - * replace status of the specified ValidatingAdmissionPolicy + * replace the specified MutatingAdmissionPolicyBinding * @param param the request object */ - public replaceValidatingAdmissionPolicyStatus(param: AdmissionregistrationV1alpha1ApiReplaceValidatingAdmissionPolicyStatusRequest, options?: Configuration): Promise { - return this.api.replaceValidatingAdmissionPolicyStatus(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + public replaceMutatingAdmissionPolicyBinding(param: AdmissionregistrationV1alpha1ApiReplaceMutatingAdmissionPolicyBindingRequest, options?: Configuration): Promise { + return this.api.replaceMutatingAdmissionPolicyBinding(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } } -import { ObservableAdmissionregistrationV1beta1Api } from "./ObservableAPI.js"; -import { AdmissionregistrationV1beta1ApiRequestFactory, AdmissionregistrationV1beta1ApiResponseProcessor} from "../apis/AdmissionregistrationV1beta1Api.js"; +import { ObservableAdmissionregistrationV1beta1Api } from "./ObservableAPI"; +import { AdmissionregistrationV1beta1ApiRequestFactory, AdmissionregistrationV1beta1ApiResponseProcessor} from "../apis/AdmissionregistrationV1beta1Api"; export interface AdmissionregistrationV1beta1ApiCreateValidatingAdmissionPolicyRequest { /** @@ -4093,6 +4029,13 @@ export interface AdmissionregistrationV1beta1ApiDeleteCollectionValidatingAdmiss * @memberof AdmissionregistrationV1beta1ApideleteCollectionValidatingAdmissionPolicy */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AdmissionregistrationV1beta1ApideleteCollectionValidatingAdmissionPolicy + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -4193,6 +4136,13 @@ export interface AdmissionregistrationV1beta1ApiDeleteCollectionValidatingAdmiss * @memberof AdmissionregistrationV1beta1ApideleteCollectionValidatingAdmissionPolicyBinding */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AdmissionregistrationV1beta1ApideleteCollectionValidatingAdmissionPolicyBinding + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -4286,6 +4236,13 @@ export interface AdmissionregistrationV1beta1ApiDeleteValidatingAdmissionPolicyR * @memberof AdmissionregistrationV1beta1ApideleteValidatingAdmissionPolicy */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AdmissionregistrationV1beta1ApideleteValidatingAdmissionPolicy + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -4337,6 +4294,13 @@ export interface AdmissionregistrationV1beta1ApiDeleteValidatingAdmissionPolicyB * @memberof AdmissionregistrationV1beta1ApideleteValidatingAdmissionPolicyBinding */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AdmissionregistrationV1beta1ApideleteValidatingAdmissionPolicyBinding + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -4902,7 +4866,7 @@ export class ObjectAdmissionregistrationV1beta1Api { * @param param the request object */ public deleteCollectionValidatingAdmissionPolicyWithHttpInfo(param: AdmissionregistrationV1beta1ApiDeleteCollectionValidatingAdmissionPolicyRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionValidatingAdmissionPolicyWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionValidatingAdmissionPolicyWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -4910,7 +4874,7 @@ export class ObjectAdmissionregistrationV1beta1Api { * @param param the request object */ public deleteCollectionValidatingAdmissionPolicy(param: AdmissionregistrationV1beta1ApiDeleteCollectionValidatingAdmissionPolicyRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionValidatingAdmissionPolicy(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionValidatingAdmissionPolicy(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -4918,7 +4882,7 @@ export class ObjectAdmissionregistrationV1beta1Api { * @param param the request object */ public deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(param: AdmissionregistrationV1beta1ApiDeleteCollectionValidatingAdmissionPolicyBindingRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -4926,7 +4890,7 @@ export class ObjectAdmissionregistrationV1beta1Api { * @param param the request object */ public deleteCollectionValidatingAdmissionPolicyBinding(param: AdmissionregistrationV1beta1ApiDeleteCollectionValidatingAdmissionPolicyBindingRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionValidatingAdmissionPolicyBinding(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionValidatingAdmissionPolicyBinding(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -4934,7 +4898,7 @@ export class ObjectAdmissionregistrationV1beta1Api { * @param param the request object */ public deleteValidatingAdmissionPolicyWithHttpInfo(param: AdmissionregistrationV1beta1ApiDeleteValidatingAdmissionPolicyRequest, options?: Configuration): Promise> { - return this.api.deleteValidatingAdmissionPolicyWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteValidatingAdmissionPolicyWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -4942,7 +4906,7 @@ export class ObjectAdmissionregistrationV1beta1Api { * @param param the request object */ public deleteValidatingAdmissionPolicy(param: AdmissionregistrationV1beta1ApiDeleteValidatingAdmissionPolicyRequest, options?: Configuration): Promise { - return this.api.deleteValidatingAdmissionPolicy(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteValidatingAdmissionPolicy(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -4950,7 +4914,7 @@ export class ObjectAdmissionregistrationV1beta1Api { * @param param the request object */ public deleteValidatingAdmissionPolicyBindingWithHttpInfo(param: AdmissionregistrationV1beta1ApiDeleteValidatingAdmissionPolicyBindingRequest, options?: Configuration): Promise> { - return this.api.deleteValidatingAdmissionPolicyBindingWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteValidatingAdmissionPolicyBindingWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -4958,7 +4922,7 @@ export class ObjectAdmissionregistrationV1beta1Api { * @param param the request object */ public deleteValidatingAdmissionPolicyBinding(param: AdmissionregistrationV1beta1ApiDeleteValidatingAdmissionPolicyBindingRequest, options?: Configuration): Promise { - return this.api.deleteValidatingAdmissionPolicyBinding(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteValidatingAdmissionPolicyBinding(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -5155,8 +5119,8 @@ export class ObjectAdmissionregistrationV1beta1Api { } -import { ObservableApiextensionsApi } from "./ObservableAPI.js"; -import { ApiextensionsApiRequestFactory, ApiextensionsApiResponseProcessor} from "../apis/ApiextensionsApi.js"; +import { ObservableApiextensionsApi } from "./ObservableAPI"; +import { ApiextensionsApiRequestFactory, ApiextensionsApiResponseProcessor} from "../apis/ApiextensionsApi"; export interface ApiextensionsApiGetAPIGroupRequest { } @@ -5186,8 +5150,8 @@ export class ObjectApiextensionsApi { } -import { ObservableApiextensionsV1Api } from "./ObservableAPI.js"; -import { ApiextensionsV1ApiRequestFactory, ApiextensionsV1ApiResponseProcessor} from "../apis/ApiextensionsV1Api.js"; +import { ObservableApiextensionsV1Api } from "./ObservableAPI"; +import { ApiextensionsV1ApiRequestFactory, ApiextensionsV1ApiResponseProcessor} from "../apis/ApiextensionsV1Api"; export interface ApiextensionsV1ApiCreateCustomResourceDefinitionRequest { /** @@ -5262,6 +5226,13 @@ export interface ApiextensionsV1ApiDeleteCollectionCustomResourceDefinitionReque * @memberof ApiextensionsV1ApideleteCollectionCustomResourceDefinition */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof ApiextensionsV1ApideleteCollectionCustomResourceDefinition + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -5355,6 +5326,13 @@ export interface ApiextensionsV1ApiDeleteCustomResourceDefinitionRequest { * @memberof ApiextensionsV1ApideleteCustomResourceDefinition */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof ApiextensionsV1ApideleteCustomResourceDefinition + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -5712,7 +5690,7 @@ export class ObjectApiextensionsV1Api { * @param param the request object */ public deleteCollectionCustomResourceDefinitionWithHttpInfo(param: ApiextensionsV1ApiDeleteCollectionCustomResourceDefinitionRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionCustomResourceDefinitionWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionCustomResourceDefinitionWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -5720,7 +5698,7 @@ export class ObjectApiextensionsV1Api { * @param param the request object */ public deleteCollectionCustomResourceDefinition(param: ApiextensionsV1ApiDeleteCollectionCustomResourceDefinitionRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionCustomResourceDefinition(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionCustomResourceDefinition(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -5728,7 +5706,7 @@ export class ObjectApiextensionsV1Api { * @param param the request object */ public deleteCustomResourceDefinitionWithHttpInfo(param: ApiextensionsV1ApiDeleteCustomResourceDefinitionRequest, options?: Configuration): Promise> { - return this.api.deleteCustomResourceDefinitionWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteCustomResourceDefinitionWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -5736,7 +5714,7 @@ export class ObjectApiextensionsV1Api { * @param param the request object */ public deleteCustomResourceDefinition(param: ApiextensionsV1ApiDeleteCustomResourceDefinitionRequest, options?: Configuration): Promise { - return this.api.deleteCustomResourceDefinition(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteCustomResourceDefinition(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -5869,8 +5847,8 @@ export class ObjectApiextensionsV1Api { } -import { ObservableApiregistrationApi } from "./ObservableAPI.js"; -import { ApiregistrationApiRequestFactory, ApiregistrationApiResponseProcessor} from "../apis/ApiregistrationApi.js"; +import { ObservableApiregistrationApi } from "./ObservableAPI"; +import { ApiregistrationApiRequestFactory, ApiregistrationApiResponseProcessor} from "../apis/ApiregistrationApi"; export interface ApiregistrationApiGetAPIGroupRequest { } @@ -5900,8 +5878,8 @@ export class ObjectApiregistrationApi { } -import { ObservableApiregistrationV1Api } from "./ObservableAPI.js"; -import { ApiregistrationV1ApiRequestFactory, ApiregistrationV1ApiResponseProcessor} from "../apis/ApiregistrationV1Api.js"; +import { ObservableApiregistrationV1Api } from "./ObservableAPI"; +import { ApiregistrationV1ApiRequestFactory, ApiregistrationV1ApiResponseProcessor} from "../apis/ApiregistrationV1Api"; export interface ApiregistrationV1ApiCreateAPIServiceRequest { /** @@ -5969,6 +5947,13 @@ export interface ApiregistrationV1ApiDeleteAPIServiceRequest { * @memberof ApiregistrationV1ApideleteAPIService */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof ApiregistrationV1ApideleteAPIService + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -6027,6 +6012,13 @@ export interface ApiregistrationV1ApiDeleteCollectionAPIServiceRequest { * @memberof ApiregistrationV1ApideleteCollectionAPIService */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof ApiregistrationV1ApideleteCollectionAPIService + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -6426,7 +6418,7 @@ export class ObjectApiregistrationV1Api { * @param param the request object */ public deleteAPIServiceWithHttpInfo(param: ApiregistrationV1ApiDeleteAPIServiceRequest, options?: Configuration): Promise> { - return this.api.deleteAPIServiceWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteAPIServiceWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -6434,7 +6426,7 @@ export class ObjectApiregistrationV1Api { * @param param the request object */ public deleteAPIService(param: ApiregistrationV1ApiDeleteAPIServiceRequest, options?: Configuration): Promise { - return this.api.deleteAPIService(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteAPIService(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -6442,7 +6434,7 @@ export class ObjectApiregistrationV1Api { * @param param the request object */ public deleteCollectionAPIServiceWithHttpInfo(param: ApiregistrationV1ApiDeleteCollectionAPIServiceRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionAPIServiceWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionAPIServiceWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -6450,7 +6442,7 @@ export class ObjectApiregistrationV1Api { * @param param the request object */ public deleteCollectionAPIService(param: ApiregistrationV1ApiDeleteCollectionAPIServiceRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionAPIService(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionAPIService(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -6583,8 +6575,8 @@ export class ObjectApiregistrationV1Api { } -import { ObservableApisApi } from "./ObservableAPI.js"; -import { ApisApiRequestFactory, ApisApiResponseProcessor} from "../apis/ApisApi.js"; +import { ObservableApisApi } from "./ObservableAPI"; +import { ApisApiRequestFactory, ApisApiResponseProcessor} from "../apis/ApisApi"; export interface ApisApiGetAPIVersionsRequest { } @@ -6614,8 +6606,8 @@ export class ObjectApisApi { } -import { ObservableAppsApi } from "./ObservableAPI.js"; -import { AppsApiRequestFactory, AppsApiResponseProcessor} from "../apis/AppsApi.js"; +import { ObservableAppsApi } from "./ObservableAPI"; +import { AppsApiRequestFactory, AppsApiResponseProcessor} from "../apis/AppsApi"; export interface AppsApiGetAPIGroupRequest { } @@ -6645,8 +6637,8 @@ export class ObjectAppsApi { } -import { ObservableAppsV1Api } from "./ObservableAPI.js"; -import { AppsV1ApiRequestFactory, AppsV1ApiResponseProcessor} from "../apis/AppsV1Api.js"; +import { ObservableAppsV1Api } from "./ObservableAPI"; +import { AppsV1ApiRequestFactory, AppsV1ApiResponseProcessor} from "../apis/AppsV1Api"; export interface AppsV1ApiCreateNamespacedControllerRevisionRequest { /** @@ -6911,6 +6903,13 @@ export interface AppsV1ApiDeleteCollectionNamespacedControllerRevisionRequest { * @memberof AppsV1ApideleteCollectionNamespacedControllerRevision */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AppsV1ApideleteCollectionNamespacedControllerRevision + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -7018,6 +7017,13 @@ export interface AppsV1ApiDeleteCollectionNamespacedDaemonSetRequest { * @memberof AppsV1ApideleteCollectionNamespacedDaemonSet */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AppsV1ApideleteCollectionNamespacedDaemonSet + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -7125,6 +7131,13 @@ export interface AppsV1ApiDeleteCollectionNamespacedDeploymentRequest { * @memberof AppsV1ApideleteCollectionNamespacedDeployment */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AppsV1ApideleteCollectionNamespacedDeployment + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -7232,6 +7245,13 @@ export interface AppsV1ApiDeleteCollectionNamespacedReplicaSetRequest { * @memberof AppsV1ApideleteCollectionNamespacedReplicaSet */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AppsV1ApideleteCollectionNamespacedReplicaSet + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -7339,6 +7359,13 @@ export interface AppsV1ApiDeleteCollectionNamespacedStatefulSetRequest { * @memberof AppsV1ApideleteCollectionNamespacedStatefulSet */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AppsV1ApideleteCollectionNamespacedStatefulSet + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -7439,6 +7466,13 @@ export interface AppsV1ApiDeleteNamespacedControllerRevisionRequest { * @memberof AppsV1ApideleteNamespacedControllerRevision */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AppsV1ApideleteNamespacedControllerRevision + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -7497,6 +7531,13 @@ export interface AppsV1ApiDeleteNamespacedDaemonSetRequest { * @memberof AppsV1ApideleteNamespacedDaemonSet */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AppsV1ApideleteNamespacedDaemonSet + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -7555,6 +7596,13 @@ export interface AppsV1ApiDeleteNamespacedDeploymentRequest { * @memberof AppsV1ApideleteNamespacedDeployment */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AppsV1ApideleteNamespacedDeployment + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -7613,6 +7661,13 @@ export interface AppsV1ApiDeleteNamespacedReplicaSetRequest { * @memberof AppsV1ApideleteNamespacedReplicaSet */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AppsV1ApideleteNamespacedReplicaSet + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -7671,6 +7726,13 @@ export interface AppsV1ApiDeleteNamespacedStatefulSetRequest { * @memberof AppsV1ApideleteNamespacedStatefulSet */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AppsV1ApideleteNamespacedStatefulSet + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -10219,7 +10281,7 @@ export class ObjectAppsV1Api { * @param param the request object */ public deleteCollectionNamespacedControllerRevisionWithHttpInfo(param: AppsV1ApiDeleteCollectionNamespacedControllerRevisionRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedControllerRevisionWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedControllerRevisionWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -10227,7 +10289,7 @@ export class ObjectAppsV1Api { * @param param the request object */ public deleteCollectionNamespacedControllerRevision(param: AppsV1ApiDeleteCollectionNamespacedControllerRevisionRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedControllerRevision(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedControllerRevision(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -10235,7 +10297,7 @@ export class ObjectAppsV1Api { * @param param the request object */ public deleteCollectionNamespacedDaemonSetWithHttpInfo(param: AppsV1ApiDeleteCollectionNamespacedDaemonSetRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedDaemonSetWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedDaemonSetWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -10243,7 +10305,7 @@ export class ObjectAppsV1Api { * @param param the request object */ public deleteCollectionNamespacedDaemonSet(param: AppsV1ApiDeleteCollectionNamespacedDaemonSetRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedDaemonSet(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedDaemonSet(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -10251,7 +10313,7 @@ export class ObjectAppsV1Api { * @param param the request object */ public deleteCollectionNamespacedDeploymentWithHttpInfo(param: AppsV1ApiDeleteCollectionNamespacedDeploymentRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedDeploymentWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedDeploymentWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -10259,7 +10321,7 @@ export class ObjectAppsV1Api { * @param param the request object */ public deleteCollectionNamespacedDeployment(param: AppsV1ApiDeleteCollectionNamespacedDeploymentRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedDeployment(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedDeployment(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -10267,7 +10329,7 @@ export class ObjectAppsV1Api { * @param param the request object */ public deleteCollectionNamespacedReplicaSetWithHttpInfo(param: AppsV1ApiDeleteCollectionNamespacedReplicaSetRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedReplicaSetWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedReplicaSetWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -10275,7 +10337,7 @@ export class ObjectAppsV1Api { * @param param the request object */ public deleteCollectionNamespacedReplicaSet(param: AppsV1ApiDeleteCollectionNamespacedReplicaSetRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedReplicaSet(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedReplicaSet(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -10283,7 +10345,7 @@ export class ObjectAppsV1Api { * @param param the request object */ public deleteCollectionNamespacedStatefulSetWithHttpInfo(param: AppsV1ApiDeleteCollectionNamespacedStatefulSetRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedStatefulSetWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedStatefulSetWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -10291,7 +10353,7 @@ export class ObjectAppsV1Api { * @param param the request object */ public deleteCollectionNamespacedStatefulSet(param: AppsV1ApiDeleteCollectionNamespacedStatefulSetRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedStatefulSet(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedStatefulSet(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -10299,7 +10361,7 @@ export class ObjectAppsV1Api { * @param param the request object */ public deleteNamespacedControllerRevisionWithHttpInfo(param: AppsV1ApiDeleteNamespacedControllerRevisionRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedControllerRevisionWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedControllerRevisionWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -10307,7 +10369,7 @@ export class ObjectAppsV1Api { * @param param the request object */ public deleteNamespacedControllerRevision(param: AppsV1ApiDeleteNamespacedControllerRevisionRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedControllerRevision(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedControllerRevision(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -10315,7 +10377,7 @@ export class ObjectAppsV1Api { * @param param the request object */ public deleteNamespacedDaemonSetWithHttpInfo(param: AppsV1ApiDeleteNamespacedDaemonSetRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedDaemonSetWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedDaemonSetWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -10323,7 +10385,7 @@ export class ObjectAppsV1Api { * @param param the request object */ public deleteNamespacedDaemonSet(param: AppsV1ApiDeleteNamespacedDaemonSetRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedDaemonSet(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedDaemonSet(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -10331,7 +10393,7 @@ export class ObjectAppsV1Api { * @param param the request object */ public deleteNamespacedDeploymentWithHttpInfo(param: AppsV1ApiDeleteNamespacedDeploymentRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedDeploymentWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedDeploymentWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -10339,7 +10401,7 @@ export class ObjectAppsV1Api { * @param param the request object */ public deleteNamespacedDeployment(param: AppsV1ApiDeleteNamespacedDeploymentRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedDeployment(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedDeployment(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -10347,7 +10409,7 @@ export class ObjectAppsV1Api { * @param param the request object */ public deleteNamespacedReplicaSetWithHttpInfo(param: AppsV1ApiDeleteNamespacedReplicaSetRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedReplicaSetWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedReplicaSetWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -10355,7 +10417,7 @@ export class ObjectAppsV1Api { * @param param the request object */ public deleteNamespacedReplicaSet(param: AppsV1ApiDeleteNamespacedReplicaSetRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedReplicaSet(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedReplicaSet(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -10363,7 +10425,7 @@ export class ObjectAppsV1Api { * @param param the request object */ public deleteNamespacedStatefulSetWithHttpInfo(param: AppsV1ApiDeleteNamespacedStatefulSetRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedStatefulSetWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedStatefulSetWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -10371,7 +10433,7 @@ export class ObjectAppsV1Api { * @param param the request object */ public deleteNamespacedStatefulSet(param: AppsV1ApiDeleteNamespacedStatefulSetRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedStatefulSet(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedStatefulSet(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -11128,8 +11190,8 @@ export class ObjectAppsV1Api { } -import { ObservableAuthenticationApi } from "./ObservableAPI.js"; -import { AuthenticationApiRequestFactory, AuthenticationApiResponseProcessor} from "../apis/AuthenticationApi.js"; +import { ObservableAuthenticationApi } from "./ObservableAPI"; +import { AuthenticationApiRequestFactory, AuthenticationApiResponseProcessor} from "../apis/AuthenticationApi"; export interface AuthenticationApiGetAPIGroupRequest { } @@ -11159,8 +11221,8 @@ export class ObjectAuthenticationApi { } -import { ObservableAuthenticationV1Api } from "./ObservableAPI.js"; -import { AuthenticationV1ApiRequestFactory, AuthenticationV1ApiResponseProcessor} from "../apis/AuthenticationV1Api.js"; +import { ObservableAuthenticationV1Api } from "./ObservableAPI"; +import { AuthenticationV1ApiRequestFactory, AuthenticationV1ApiResponseProcessor} from "../apis/AuthenticationV1Api"; export interface AuthenticationV1ApiCreateSelfSubjectReviewRequest { /** @@ -11296,92 +11358,8 @@ export class ObjectAuthenticationV1Api { } -import { ObservableAuthenticationV1alpha1Api } from "./ObservableAPI.js"; -import { AuthenticationV1alpha1ApiRequestFactory, AuthenticationV1alpha1ApiResponseProcessor} from "../apis/AuthenticationV1alpha1Api.js"; - -export interface AuthenticationV1alpha1ApiCreateSelfSubjectReviewRequest { - /** - * - * @type V1alpha1SelfSubjectReview - * @memberof AuthenticationV1alpha1ApicreateSelfSubjectReview - */ - body: V1alpha1SelfSubjectReview - /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * Defaults to: undefined - * @type string - * @memberof AuthenticationV1alpha1ApicreateSelfSubjectReview - */ - dryRun?: string - /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * Defaults to: undefined - * @type string - * @memberof AuthenticationV1alpha1ApicreateSelfSubjectReview - */ - fieldManager?: string - /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * Defaults to: undefined - * @type string - * @memberof AuthenticationV1alpha1ApicreateSelfSubjectReview - */ - fieldValidation?: string - /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof AuthenticationV1alpha1ApicreateSelfSubjectReview - */ - pretty?: string -} - -export interface AuthenticationV1alpha1ApiGetAPIResourcesRequest { -} - -export class ObjectAuthenticationV1alpha1Api { - private api: ObservableAuthenticationV1alpha1Api - - public constructor(configuration: Configuration, requestFactory?: AuthenticationV1alpha1ApiRequestFactory, responseProcessor?: AuthenticationV1alpha1ApiResponseProcessor) { - this.api = new ObservableAuthenticationV1alpha1Api(configuration, requestFactory, responseProcessor); - } - - /** - * create a SelfSubjectReview - * @param param the request object - */ - public createSelfSubjectReviewWithHttpInfo(param: AuthenticationV1alpha1ApiCreateSelfSubjectReviewRequest, options?: Configuration): Promise> { - return this.api.createSelfSubjectReviewWithHttpInfo(param.body, param.dryRun, param.fieldManager, param.fieldValidation, param.pretty, options).toPromise(); - } - - /** - * create a SelfSubjectReview - * @param param the request object - */ - public createSelfSubjectReview(param: AuthenticationV1alpha1ApiCreateSelfSubjectReviewRequest, options?: Configuration): Promise { - return this.api.createSelfSubjectReview(param.body, param.dryRun, param.fieldManager, param.fieldValidation, param.pretty, options).toPromise(); - } - - /** - * get available resources - * @param param the request object - */ - public getAPIResourcesWithHttpInfo(param: AuthenticationV1alpha1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise> { - return this.api.getAPIResourcesWithHttpInfo( options).toPromise(); - } - - /** - * get available resources - * @param param the request object - */ - public getAPIResources(param: AuthenticationV1alpha1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise { - return this.api.getAPIResources( options).toPromise(); - } - -} - -import { ObservableAuthenticationV1beta1Api } from "./ObservableAPI.js"; -import { AuthenticationV1beta1ApiRequestFactory, AuthenticationV1beta1ApiResponseProcessor} from "../apis/AuthenticationV1beta1Api.js"; +import { ObservableAuthenticationV1beta1Api } from "./ObservableAPI"; +import { AuthenticationV1beta1ApiRequestFactory, AuthenticationV1beta1ApiResponseProcessor} from "../apis/AuthenticationV1beta1Api"; export interface AuthenticationV1beta1ApiCreateSelfSubjectReviewRequest { /** @@ -11464,8 +11442,8 @@ export class ObjectAuthenticationV1beta1Api { } -import { ObservableAuthorizationApi } from "./ObservableAPI.js"; -import { AuthorizationApiRequestFactory, AuthorizationApiResponseProcessor} from "../apis/AuthorizationApi.js"; +import { ObservableAuthorizationApi } from "./ObservableAPI"; +import { AuthorizationApiRequestFactory, AuthorizationApiResponseProcessor} from "../apis/AuthorizationApi"; export interface AuthorizationApiGetAPIGroupRequest { } @@ -11495,8 +11473,8 @@ export class ObjectAuthorizationApi { } -import { ObservableAuthorizationV1Api } from "./ObservableAPI.js"; -import { AuthorizationV1ApiRequestFactory, AuthorizationV1ApiResponseProcessor} from "../apis/AuthorizationV1Api.js"; +import { ObservableAuthorizationV1Api } from "./ObservableAPI"; +import { AuthorizationV1ApiRequestFactory, AuthorizationV1ApiResponseProcessor} from "../apis/AuthorizationV1Api"; export interface AuthorizationV1ApiCreateNamespacedLocalSubjectAccessReviewRequest { /** @@ -11745,8 +11723,8 @@ export class ObjectAuthorizationV1Api { } -import { ObservableAutoscalingApi } from "./ObservableAPI.js"; -import { AutoscalingApiRequestFactory, AutoscalingApiResponseProcessor} from "../apis/AutoscalingApi.js"; +import { ObservableAutoscalingApi } from "./ObservableAPI"; +import { AutoscalingApiRequestFactory, AutoscalingApiResponseProcessor} from "../apis/AutoscalingApi"; export interface AutoscalingApiGetAPIGroupRequest { } @@ -11776,8 +11754,8 @@ export class ObjectAutoscalingApi { } -import { ObservableAutoscalingV1Api } from "./ObservableAPI.js"; -import { AutoscalingV1ApiRequestFactory, AutoscalingV1ApiResponseProcessor} from "../apis/AutoscalingV1Api.js"; +import { ObservableAutoscalingV1Api } from "./ObservableAPI"; +import { AutoscalingV1ApiRequestFactory, AutoscalingV1ApiResponseProcessor} from "../apis/AutoscalingV1Api"; export interface AutoscalingV1ApiCreateNamespacedHorizontalPodAutoscalerRequest { /** @@ -11866,6 +11844,13 @@ export interface AutoscalingV1ApiDeleteCollectionNamespacedHorizontalPodAutoscal * @memberof AutoscalingV1ApideleteCollectionNamespacedHorizontalPodAutoscaler */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AutoscalingV1ApideleteCollectionNamespacedHorizontalPodAutoscaler + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -11966,6 +11951,13 @@ export interface AutoscalingV1ApiDeleteNamespacedHorizontalPodAutoscalerRequest * @memberof AutoscalingV1ApideleteNamespacedHorizontalPodAutoscaler */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AutoscalingV1ApideleteNamespacedHorizontalPodAutoscaler + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -12452,7 +12444,7 @@ export class ObjectAutoscalingV1Api { * @param param the request object */ public deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(param: AutoscalingV1ApiDeleteCollectionNamespacedHorizontalPodAutoscalerRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -12460,7 +12452,7 @@ export class ObjectAutoscalingV1Api { * @param param the request object */ public deleteCollectionNamespacedHorizontalPodAutoscaler(param: AutoscalingV1ApiDeleteCollectionNamespacedHorizontalPodAutoscalerRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedHorizontalPodAutoscaler(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedHorizontalPodAutoscaler(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -12468,7 +12460,7 @@ export class ObjectAutoscalingV1Api { * @param param the request object */ public deleteNamespacedHorizontalPodAutoscalerWithHttpInfo(param: AutoscalingV1ApiDeleteNamespacedHorizontalPodAutoscalerRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedHorizontalPodAutoscalerWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedHorizontalPodAutoscalerWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -12476,7 +12468,7 @@ export class ObjectAutoscalingV1Api { * @param param the request object */ public deleteNamespacedHorizontalPodAutoscaler(param: AutoscalingV1ApiDeleteNamespacedHorizontalPodAutoscalerRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedHorizontalPodAutoscaler(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedHorizontalPodAutoscaler(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -12625,8 +12617,8 @@ export class ObjectAutoscalingV1Api { } -import { ObservableAutoscalingV2Api } from "./ObservableAPI.js"; -import { AutoscalingV2ApiRequestFactory, AutoscalingV2ApiResponseProcessor} from "../apis/AutoscalingV2Api.js"; +import { ObservableAutoscalingV2Api } from "./ObservableAPI"; +import { AutoscalingV2ApiRequestFactory, AutoscalingV2ApiResponseProcessor} from "../apis/AutoscalingV2Api"; export interface AutoscalingV2ApiCreateNamespacedHorizontalPodAutoscalerRequest { /** @@ -12715,6 +12707,13 @@ export interface AutoscalingV2ApiDeleteCollectionNamespacedHorizontalPodAutoscal * @memberof AutoscalingV2ApideleteCollectionNamespacedHorizontalPodAutoscaler */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AutoscalingV2ApideleteCollectionNamespacedHorizontalPodAutoscaler + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -12815,6 +12814,13 @@ export interface AutoscalingV2ApiDeleteNamespacedHorizontalPodAutoscalerRequest * @memberof AutoscalingV2ApideleteNamespacedHorizontalPodAutoscaler */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof AutoscalingV2ApideleteNamespacedHorizontalPodAutoscaler + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -13301,7 +13307,7 @@ export class ObjectAutoscalingV2Api { * @param param the request object */ public deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(param: AutoscalingV2ApiDeleteCollectionNamespacedHorizontalPodAutoscalerRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -13309,7 +13315,7 @@ export class ObjectAutoscalingV2Api { * @param param the request object */ public deleteCollectionNamespacedHorizontalPodAutoscaler(param: AutoscalingV2ApiDeleteCollectionNamespacedHorizontalPodAutoscalerRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedHorizontalPodAutoscaler(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedHorizontalPodAutoscaler(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -13317,7 +13323,7 @@ export class ObjectAutoscalingV2Api { * @param param the request object */ public deleteNamespacedHorizontalPodAutoscalerWithHttpInfo(param: AutoscalingV2ApiDeleteNamespacedHorizontalPodAutoscalerRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedHorizontalPodAutoscalerWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedHorizontalPodAutoscalerWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -13325,7 +13331,7 @@ export class ObjectAutoscalingV2Api { * @param param the request object */ public deleteNamespacedHorizontalPodAutoscaler(param: AutoscalingV2ApiDeleteNamespacedHorizontalPodAutoscalerRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedHorizontalPodAutoscaler(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedHorizontalPodAutoscaler(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -13474,8 +13480,8 @@ export class ObjectAutoscalingV2Api { } -import { ObservableBatchApi } from "./ObservableAPI.js"; -import { BatchApiRequestFactory, BatchApiResponseProcessor} from "../apis/BatchApi.js"; +import { ObservableBatchApi } from "./ObservableAPI"; +import { BatchApiRequestFactory, BatchApiResponseProcessor} from "../apis/BatchApi"; export interface BatchApiGetAPIGroupRequest { } @@ -13505,8 +13511,8 @@ export class ObjectBatchApi { } -import { ObservableBatchV1Api } from "./ObservableAPI.js"; -import { BatchV1ApiRequestFactory, BatchV1ApiResponseProcessor} from "../apis/BatchV1Api.js"; +import { ObservableBatchV1Api } from "./ObservableAPI"; +import { BatchV1ApiRequestFactory, BatchV1ApiResponseProcessor} from "../apis/BatchV1Api"; export interface BatchV1ApiCreateNamespacedCronJobRequest { /** @@ -13639,6 +13645,13 @@ export interface BatchV1ApiDeleteCollectionNamespacedCronJobRequest { * @memberof BatchV1ApideleteCollectionNamespacedCronJob */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof BatchV1ApideleteCollectionNamespacedCronJob + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -13746,6 +13759,13 @@ export interface BatchV1ApiDeleteCollectionNamespacedJobRequest { * @memberof BatchV1ApideleteCollectionNamespacedJob */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof BatchV1ApideleteCollectionNamespacedJob + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -13846,6 +13866,13 @@ export interface BatchV1ApiDeleteNamespacedCronJobRequest { * @memberof BatchV1ApideleteNamespacedCronJob */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof BatchV1ApideleteNamespacedCronJob + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -13904,6 +13931,13 @@ export interface BatchV1ApiDeleteNamespacedJobRequest { * @memberof BatchV1ApideleteNamespacedJob */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof BatchV1ApideleteNamespacedJob + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -14839,7 +14873,7 @@ export class ObjectBatchV1Api { * @param param the request object */ public deleteCollectionNamespacedCronJobWithHttpInfo(param: BatchV1ApiDeleteCollectionNamespacedCronJobRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedCronJobWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedCronJobWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -14847,7 +14881,7 @@ export class ObjectBatchV1Api { * @param param the request object */ public deleteCollectionNamespacedCronJob(param: BatchV1ApiDeleteCollectionNamespacedCronJobRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedCronJob(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedCronJob(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -14855,7 +14889,7 @@ export class ObjectBatchV1Api { * @param param the request object */ public deleteCollectionNamespacedJobWithHttpInfo(param: BatchV1ApiDeleteCollectionNamespacedJobRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedJobWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedJobWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -14863,7 +14897,7 @@ export class ObjectBatchV1Api { * @param param the request object */ public deleteCollectionNamespacedJob(param: BatchV1ApiDeleteCollectionNamespacedJobRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedJob(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedJob(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -14871,7 +14905,7 @@ export class ObjectBatchV1Api { * @param param the request object */ public deleteNamespacedCronJobWithHttpInfo(param: BatchV1ApiDeleteNamespacedCronJobRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedCronJobWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedCronJobWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -14879,7 +14913,7 @@ export class ObjectBatchV1Api { * @param param the request object */ public deleteNamespacedCronJob(param: BatchV1ApiDeleteNamespacedCronJobRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedCronJob(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedCronJob(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -14887,7 +14921,7 @@ export class ObjectBatchV1Api { * @param param the request object */ public deleteNamespacedJobWithHttpInfo(param: BatchV1ApiDeleteNamespacedJobRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedJobWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedJobWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -14895,7 +14929,7 @@ export class ObjectBatchV1Api { * @param param the request object */ public deleteNamespacedJob(param: BatchV1ApiDeleteNamespacedJobRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedJob(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedJob(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -15172,8 +15206,8 @@ export class ObjectBatchV1Api { } -import { ObservableCertificatesApi } from "./ObservableAPI.js"; -import { CertificatesApiRequestFactory, CertificatesApiResponseProcessor} from "../apis/CertificatesApi.js"; +import { ObservableCertificatesApi } from "./ObservableAPI"; +import { CertificatesApiRequestFactory, CertificatesApiResponseProcessor} from "../apis/CertificatesApi"; export interface CertificatesApiGetAPIGroupRequest { } @@ -15203,8 +15237,8 @@ export class ObjectCertificatesApi { } -import { ObservableCertificatesV1Api } from "./ObservableAPI.js"; -import { CertificatesV1ApiRequestFactory, CertificatesV1ApiResponseProcessor} from "../apis/CertificatesV1Api.js"; +import { ObservableCertificatesV1Api } from "./ObservableAPI"; +import { CertificatesV1ApiRequestFactory, CertificatesV1ApiResponseProcessor} from "../apis/CertificatesV1Api"; export interface CertificatesV1ApiCreateCertificateSigningRequestRequest { /** @@ -15272,6 +15306,13 @@ export interface CertificatesV1ApiDeleteCertificateSigningRequestRequest { * @memberof CertificatesV1ApideleteCertificateSigningRequest */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CertificatesV1ApideleteCertificateSigningRequest + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -15330,6 +15371,13 @@ export interface CertificatesV1ApiDeleteCollectionCertificateSigningRequestReque * @memberof CertificatesV1ApideleteCollectionCertificateSigningRequest */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CertificatesV1ApideleteCollectionCertificateSigningRequest + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -15841,7 +15889,7 @@ export class ObjectCertificatesV1Api { * @param param the request object */ public deleteCertificateSigningRequestWithHttpInfo(param: CertificatesV1ApiDeleteCertificateSigningRequestRequest, options?: Configuration): Promise> { - return this.api.deleteCertificateSigningRequestWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteCertificateSigningRequestWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -15849,7 +15897,7 @@ export class ObjectCertificatesV1Api { * @param param the request object */ public deleteCertificateSigningRequest(param: CertificatesV1ApiDeleteCertificateSigningRequestRequest, options?: Configuration): Promise { - return this.api.deleteCertificateSigningRequest(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteCertificateSigningRequest(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -15857,7 +15905,7 @@ export class ObjectCertificatesV1Api { * @param param the request object */ public deleteCollectionCertificateSigningRequestWithHttpInfo(param: CertificatesV1ApiDeleteCollectionCertificateSigningRequestRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionCertificateSigningRequestWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionCertificateSigningRequestWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -15865,7 +15913,7 @@ export class ObjectCertificatesV1Api { * @param param the request object */ public deleteCollectionCertificateSigningRequest(param: CertificatesV1ApiDeleteCollectionCertificateSigningRequestRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionCertificateSigningRequest(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionCertificateSigningRequest(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -16046,8 +16094,8 @@ export class ObjectCertificatesV1Api { } -import { ObservableCertificatesV1alpha1Api } from "./ObservableAPI.js"; -import { CertificatesV1alpha1ApiRequestFactory, CertificatesV1alpha1ApiResponseProcessor} from "../apis/CertificatesV1alpha1Api.js"; +import { ObservableCertificatesV1alpha1Api } from "./ObservableAPI"; +import { CertificatesV1alpha1ApiRequestFactory, CertificatesV1alpha1ApiResponseProcessor} from "../apis/CertificatesV1alpha1Api"; export interface CertificatesV1alpha1ApiCreateClusterTrustBundleRequest { /** @@ -16115,6 +16163,13 @@ export interface CertificatesV1alpha1ApiDeleteClusterTrustBundleRequest { * @memberof CertificatesV1alpha1ApideleteClusterTrustBundle */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CertificatesV1alpha1ApideleteClusterTrustBundle + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -16173,6 +16228,13 @@ export interface CertificatesV1alpha1ApiDeleteCollectionClusterTrustBundleReques * @memberof CertificatesV1alpha1ApideleteCollectionClusterTrustBundle */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CertificatesV1alpha1ApideleteCollectionClusterTrustBundle + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -16460,7 +16522,7 @@ export class ObjectCertificatesV1alpha1Api { * @param param the request object */ public deleteClusterTrustBundleWithHttpInfo(param: CertificatesV1alpha1ApiDeleteClusterTrustBundleRequest, options?: Configuration): Promise> { - return this.api.deleteClusterTrustBundleWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteClusterTrustBundleWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -16468,7 +16530,7 @@ export class ObjectCertificatesV1alpha1Api { * @param param the request object */ public deleteClusterTrustBundle(param: CertificatesV1alpha1ApiDeleteClusterTrustBundleRequest, options?: Configuration): Promise { - return this.api.deleteClusterTrustBundle(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteClusterTrustBundle(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -16476,7 +16538,7 @@ export class ObjectCertificatesV1alpha1Api { * @param param the request object */ public deleteCollectionClusterTrustBundleWithHttpInfo(param: CertificatesV1alpha1ApiDeleteCollectionClusterTrustBundleRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionClusterTrustBundleWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionClusterTrustBundleWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -16484,7 +16546,7 @@ export class ObjectCertificatesV1alpha1Api { * @param param the request object */ public deleteCollectionClusterTrustBundle(param: CertificatesV1alpha1ApiDeleteCollectionClusterTrustBundleRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionClusterTrustBundle(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionClusterTrustBundle(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -16569,8 +16631,8 @@ export class ObjectCertificatesV1alpha1Api { } -import { ObservableCoordinationApi } from "./ObservableAPI.js"; -import { CoordinationApiRequestFactory, CoordinationApiResponseProcessor} from "../apis/CoordinationApi.js"; +import { ObservableCoordinationApi } from "./ObservableAPI"; +import { CoordinationApiRequestFactory, CoordinationApiResponseProcessor} from "../apis/CoordinationApi"; export interface CoordinationApiGetAPIGroupRequest { } @@ -16600,8 +16662,8 @@ export class ObjectCoordinationApi { } -import { ObservableCoordinationV1Api } from "./ObservableAPI.js"; -import { CoordinationV1ApiRequestFactory, CoordinationV1ApiResponseProcessor} from "../apis/CoordinationV1Api.js"; +import { ObservableCoordinationV1Api } from "./ObservableAPI"; +import { CoordinationV1ApiRequestFactory, CoordinationV1ApiResponseProcessor} from "../apis/CoordinationV1Api"; export interface CoordinationV1ApiCreateNamespacedLeaseRequest { /** @@ -16690,6 +16752,13 @@ export interface CoordinationV1ApiDeleteCollectionNamespacedLeaseRequest { * @memberof CoordinationV1ApideleteCollectionNamespacedLease */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CoordinationV1ApideleteCollectionNamespacedLease + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -16790,6 +16859,13 @@ export interface CoordinationV1ApiDeleteNamespacedLeaseRequest { * @memberof CoordinationV1ApideleteNamespacedLease */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CoordinationV1ApideleteNamespacedLease + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -17143,7 +17219,7 @@ export class ObjectCoordinationV1Api { * @param param the request object */ public deleteCollectionNamespacedLeaseWithHttpInfo(param: CoordinationV1ApiDeleteCollectionNamespacedLeaseRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedLeaseWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedLeaseWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -17151,7 +17227,7 @@ export class ObjectCoordinationV1Api { * @param param the request object */ public deleteCollectionNamespacedLease(param: CoordinationV1ApiDeleteCollectionNamespacedLeaseRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedLease(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedLease(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -17159,7 +17235,7 @@ export class ObjectCoordinationV1Api { * @param param the request object */ public deleteNamespacedLeaseWithHttpInfo(param: CoordinationV1ApiDeleteNamespacedLeaseRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedLeaseWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedLeaseWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -17167,7 +17243,7 @@ export class ObjectCoordinationV1Api { * @param param the request object */ public deleteNamespacedLease(param: CoordinationV1ApiDeleteNamespacedLeaseRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedLease(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedLease(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -17268,4646 +17344,5531 @@ export class ObjectCoordinationV1Api { } -import { ObservableCoreApi } from "./ObservableAPI.js"; -import { CoreApiRequestFactory, CoreApiResponseProcessor} from "../apis/CoreApi.js"; - -export interface CoreApiGetAPIVersionsRequest { -} - -export class ObjectCoreApi { - private api: ObservableCoreApi - - public constructor(configuration: Configuration, requestFactory?: CoreApiRequestFactory, responseProcessor?: CoreApiResponseProcessor) { - this.api = new ObservableCoreApi(configuration, requestFactory, responseProcessor); - } +import { ObservableCoordinationV1alpha2Api } from "./ObservableAPI"; +import { CoordinationV1alpha2ApiRequestFactory, CoordinationV1alpha2ApiResponseProcessor} from "../apis/CoordinationV1alpha2Api"; +export interface CoordinationV1alpha2ApiCreateNamespacedLeaseCandidateRequest { /** - * get available API versions - * @param param the request object + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof CoordinationV1alpha2ApicreateNamespacedLeaseCandidate */ - public getAPIVersionsWithHttpInfo(param: CoreApiGetAPIVersionsRequest = {}, options?: Configuration): Promise> { - return this.api.getAPIVersionsWithHttpInfo( options).toPromise(); - } - + namespace: string /** - * get available API versions - * @param param the request object + * + * @type V1alpha2LeaseCandidate + * @memberof CoordinationV1alpha2ApicreateNamespacedLeaseCandidate */ - public getAPIVersions(param: CoreApiGetAPIVersionsRequest = {}, options?: Configuration): Promise { - return this.api.getAPIVersions( options).toPromise(); - } - -} - -import { ObservableCoreV1Api } from "./ObservableAPI.js"; -import { CoreV1ApiRequestFactory, CoreV1ApiResponseProcessor} from "../apis/CoreV1Api.js"; - -export interface CoreV1ApiConnectDeleteNamespacedPodProxyRequest { + body: V1alpha2LeaseCandidate /** - * name of the PodProxyOptions + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectDeleteNamespacedPodProxy + * @memberof CoordinationV1alpha2ApicreateNamespacedLeaseCandidate */ - name: string + pretty?: string /** - * object name and auth scope, such as for teams and projects + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectDeleteNamespacedPodProxy + * @memberof CoordinationV1alpha2ApicreateNamespacedLeaseCandidate */ - namespace: string + dryRun?: string /** - * Path is the URL path to use for the current proxy request to pod. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectDeleteNamespacedPodProxy + * @memberof CoordinationV1alpha2ApicreateNamespacedLeaseCandidate */ - path?: string -} - -export interface CoreV1ApiConnectDeleteNamespacedPodProxyWithPathRequest { + fieldManager?: string /** - * name of the PodProxyOptions + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectDeleteNamespacedPodProxyWithPath + * @memberof CoordinationV1alpha2ApicreateNamespacedLeaseCandidate */ - name: string + fieldValidation?: string +} + +export interface CoordinationV1alpha2ApiDeleteCollectionNamespacedLeaseCandidateRequest { /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectDeleteNamespacedPodProxyWithPath + * @memberof CoordinationV1alpha2ApideleteCollectionNamespacedLeaseCandidate */ namespace: string /** - * path to the resource + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectDeleteNamespacedPodProxyWithPath + * @memberof CoordinationV1alpha2ApideleteCollectionNamespacedLeaseCandidate */ - path: string + pretty?: string /** - * Path is the URL path to use for the current proxy request to pod. + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectDeleteNamespacedPodProxyWithPath + * @memberof CoordinationV1alpha2ApideleteCollectionNamespacedLeaseCandidate */ - path2?: string -} - -export interface CoreV1ApiConnectDeleteNamespacedServiceProxyRequest { + _continue?: string /** - * name of the ServiceProxyOptions + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectDeleteNamespacedServiceProxy + * @memberof CoordinationV1alpha2ApideleteCollectionNamespacedLeaseCandidate */ - name: string + dryRun?: string /** - * object name and auth scope, such as for teams and projects + * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectDeleteNamespacedServiceProxy + * @memberof CoordinationV1alpha2ApideleteCollectionNamespacedLeaseCandidate */ - namespace: string + fieldSelector?: string /** - * Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectDeleteNamespacedServiceProxy + * @type number + * @memberof CoordinationV1alpha2ApideleteCollectionNamespacedLeaseCandidate */ - path?: string -} - -export interface CoreV1ApiConnectDeleteNamespacedServiceProxyWithPathRequest { + gracePeriodSeconds?: number /** - * name of the ServiceProxyOptions + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectDeleteNamespacedServiceProxyWithPath + * @type boolean + * @memberof CoordinationV1alpha2ApideleteCollectionNamespacedLeaseCandidate */ - name: string + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** - * object name and auth scope, such as for teams and projects + * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectDeleteNamespacedServiceProxyWithPath + * @memberof CoordinationV1alpha2ApideleteCollectionNamespacedLeaseCandidate */ - namespace: string + labelSelector?: string /** - * path to the resource + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectDeleteNamespacedServiceProxyWithPath + * @type number + * @memberof CoordinationV1alpha2ApideleteCollectionNamespacedLeaseCandidate */ - path: string + limit?: number /** - * Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectDeleteNamespacedServiceProxyWithPath + * @type boolean + * @memberof CoordinationV1alpha2ApideleteCollectionNamespacedLeaseCandidate */ - path2?: string -} - -export interface CoreV1ApiConnectDeleteNodeProxyRequest { + orphanDependents?: boolean /** - * name of the NodeProxyOptions + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectDeleteNodeProxy + * @memberof CoordinationV1alpha2ApideleteCollectionNamespacedLeaseCandidate */ - name: string + propagationPolicy?: string /** - * Path is the URL path to use for the current proxy request to node. + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectDeleteNodeProxy + * @memberof CoordinationV1alpha2ApideleteCollectionNamespacedLeaseCandidate */ - path?: string -} - -export interface CoreV1ApiConnectDeleteNodeProxyWithPathRequest { + resourceVersion?: string /** - * name of the NodeProxyOptions + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectDeleteNodeProxyWithPath + * @memberof CoordinationV1alpha2ApideleteCollectionNamespacedLeaseCandidate */ - name: string + resourceVersionMatch?: string /** - * path to the resource + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectDeleteNodeProxyWithPath + * @type boolean + * @memberof CoordinationV1alpha2ApideleteCollectionNamespacedLeaseCandidate */ - path: string + sendInitialEvents?: boolean /** - * Path is the URL path to use for the current proxy request to node. + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectDeleteNodeProxyWithPath + * @type number + * @memberof CoordinationV1alpha2ApideleteCollectionNamespacedLeaseCandidate */ - path2?: string + timeoutSeconds?: number + /** + * + * @type V1DeleteOptions + * @memberof CoordinationV1alpha2ApideleteCollectionNamespacedLeaseCandidate + */ + body?: V1DeleteOptions } -export interface CoreV1ApiConnectGetNamespacedPodAttachRequest { +export interface CoordinationV1alpha2ApiDeleteNamespacedLeaseCandidateRequest { /** - * name of the PodAttachOptions + * name of the LeaseCandidate * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectGetNamespacedPodAttach + * @memberof CoordinationV1alpha2ApideleteNamespacedLeaseCandidate */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectGetNamespacedPodAttach + * @memberof CoordinationV1alpha2ApideleteNamespacedLeaseCandidate */ namespace: string /** - * The container in which to execute the command. Defaults to only container if there is only one container in the pod. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectGetNamespacedPodAttach + * @memberof CoordinationV1alpha2ApideleteNamespacedLeaseCandidate */ - container?: string + pretty?: string /** - * Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined - * @type boolean - * @memberof CoreV1ApiconnectGetNamespacedPodAttach + * @type string + * @memberof CoordinationV1alpha2ApideleteNamespacedLeaseCandidate */ - stderr?: boolean + dryRun?: string /** - * Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined - * @type boolean - * @memberof CoreV1ApiconnectGetNamespacedPodAttach + * @type number + * @memberof CoordinationV1alpha2ApideleteNamespacedLeaseCandidate */ - stdin?: boolean + gracePeriodSeconds?: number /** - * Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * Defaults to: undefined * @type boolean - * @memberof CoreV1ApiconnectGetNamespacedPodAttach + * @memberof CoordinationV1alpha2ApideleteNamespacedLeaseCandidate */ - stdout?: boolean + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** - * TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApiconnectGetNamespacedPodAttach + * @memberof CoordinationV1alpha2ApideleteNamespacedLeaseCandidate */ - tty?: boolean -} - -export interface CoreV1ApiConnectGetNamespacedPodExecRequest { + orphanDependents?: boolean /** - * name of the PodExecOptions + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectGetNamespacedPodExec + * @memberof CoordinationV1alpha2ApideleteNamespacedLeaseCandidate */ - name: string + propagationPolicy?: string /** - * object name and auth scope, such as for teams and projects + * + * @type V1DeleteOptions + * @memberof CoordinationV1alpha2ApideleteNamespacedLeaseCandidate + */ + body?: V1DeleteOptions +} + +export interface CoordinationV1alpha2ApiGetAPIResourcesRequest { +} + +export interface CoordinationV1alpha2ApiListLeaseCandidateForAllNamespacesRequest { + /** + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectGetNamespacedPodExec + * @type boolean + * @memberof CoordinationV1alpha2ApilistLeaseCandidateForAllNamespaces */ - namespace: string + allowWatchBookmarks?: boolean /** - * Command is the remote command to execute. argv array. Not executed within a shell. + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectGetNamespacedPodExec + * @memberof CoordinationV1alpha2ApilistLeaseCandidateForAllNamespaces */ - command?: string + _continue?: string /** - * Container in which to execute the command. Defaults to only container if there is only one container in the pod. + * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectGetNamespacedPodExec + * @memberof CoordinationV1alpha2ApilistLeaseCandidateForAllNamespaces */ - container?: string + fieldSelector?: string /** - * Redirect the standard error stream of the pod for this call. + * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined - * @type boolean - * @memberof CoreV1ApiconnectGetNamespacedPodExec + * @type string + * @memberof CoordinationV1alpha2ApilistLeaseCandidateForAllNamespaces */ - stderr?: boolean + labelSelector?: string /** - * Redirect the standard input stream of the pod for this call. Defaults to false. + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined - * @type boolean - * @memberof CoreV1ApiconnectGetNamespacedPodExec + * @type number + * @memberof CoordinationV1alpha2ApilistLeaseCandidateForAllNamespaces */ - stdin?: boolean + limit?: number /** - * Redirect the standard output stream of the pod for this call. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined - * @type boolean - * @memberof CoreV1ApiconnectGetNamespacedPodExec + * @type string + * @memberof CoordinationV1alpha2ApilistLeaseCandidateForAllNamespaces */ - stdout?: boolean + pretty?: string /** - * TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined - * @type boolean - * @memberof CoreV1ApiconnectGetNamespacedPodExec + * @type string + * @memberof CoordinationV1alpha2ApilistLeaseCandidateForAllNamespaces */ - tty?: boolean -} - -export interface CoreV1ApiConnectGetNamespacedPodPortforwardRequest { + resourceVersion?: string /** - * name of the PodPortForwardOptions + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectGetNamespacedPodPortforward + * @memberof CoordinationV1alpha2ApilistLeaseCandidateForAllNamespaces */ - name: string + resourceVersionMatch?: string /** - * object name and auth scope, such as for teams and projects + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectGetNamespacedPodPortforward + * @type boolean + * @memberof CoordinationV1alpha2ApilistLeaseCandidateForAllNamespaces */ - namespace: string + sendInitialEvents?: boolean /** - * List of ports to forward Required when using WebSockets + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof CoreV1ApiconnectGetNamespacedPodPortforward + * @memberof CoordinationV1alpha2ApilistLeaseCandidateForAllNamespaces */ - ports?: number -} - -export interface CoreV1ApiConnectGetNamespacedPodProxyRequest { + timeoutSeconds?: number /** - * name of the PodProxyOptions + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectGetNamespacedPodProxy + * @type boolean + * @memberof CoordinationV1alpha2ApilistLeaseCandidateForAllNamespaces */ - name: string + watch?: boolean +} + +export interface CoordinationV1alpha2ApiListNamespacedLeaseCandidateRequest { /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectGetNamespacedPodProxy + * @memberof CoordinationV1alpha2ApilistNamespacedLeaseCandidate */ namespace: string /** - * Path is the URL path to use for the current proxy request to pod. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectGetNamespacedPodProxy + * @memberof CoordinationV1alpha2ApilistNamespacedLeaseCandidate */ - path?: string -} - -export interface CoreV1ApiConnectGetNamespacedPodProxyWithPathRequest { + pretty?: string /** - * name of the PodProxyOptions + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectGetNamespacedPodProxyWithPath + * @type boolean + * @memberof CoordinationV1alpha2ApilistNamespacedLeaseCandidate */ - name: string + allowWatchBookmarks?: boolean /** - * object name and auth scope, such as for teams and projects + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectGetNamespacedPodProxyWithPath + * @memberof CoordinationV1alpha2ApilistNamespacedLeaseCandidate */ - namespace: string + _continue?: string /** - * path to the resource + * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectGetNamespacedPodProxyWithPath - */ - path: string - /** - * Path is the URL path to use for the current proxy request to pod. - * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectGetNamespacedPodProxyWithPath + * @memberof CoordinationV1alpha2ApilistNamespacedLeaseCandidate */ - path2?: string -} - -export interface CoreV1ApiConnectGetNamespacedServiceProxyRequest { + fieldSelector?: string /** - * name of the ServiceProxyOptions + * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectGetNamespacedServiceProxy + * @memberof CoordinationV1alpha2ApilistNamespacedLeaseCandidate */ - name: string + labelSelector?: string /** - * object name and auth scope, such as for teams and projects + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectGetNamespacedServiceProxy + * @type number + * @memberof CoordinationV1alpha2ApilistNamespacedLeaseCandidate */ - namespace: string + limit?: number /** - * Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectGetNamespacedServiceProxy + * @memberof CoordinationV1alpha2ApilistNamespacedLeaseCandidate */ - path?: string -} - -export interface CoreV1ApiConnectGetNamespacedServiceProxyWithPathRequest { + resourceVersion?: string /** - * name of the ServiceProxyOptions + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectGetNamespacedServiceProxyWithPath + * @memberof CoordinationV1alpha2ApilistNamespacedLeaseCandidate */ - name: string + resourceVersionMatch?: string /** - * object name and auth scope, such as for teams and projects + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectGetNamespacedServiceProxyWithPath + * @type boolean + * @memberof CoordinationV1alpha2ApilistNamespacedLeaseCandidate */ - namespace: string + sendInitialEvents?: boolean /** - * path to the resource + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectGetNamespacedServiceProxyWithPath + * @type number + * @memberof CoordinationV1alpha2ApilistNamespacedLeaseCandidate */ - path: string + timeoutSeconds?: number /** - * Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectGetNamespacedServiceProxyWithPath + * @type boolean + * @memberof CoordinationV1alpha2ApilistNamespacedLeaseCandidate */ - path2?: string + watch?: boolean } -export interface CoreV1ApiConnectGetNodeProxyRequest { +export interface CoordinationV1alpha2ApiPatchNamespacedLeaseCandidateRequest { /** - * name of the NodeProxyOptions + * name of the LeaseCandidate * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectGetNodeProxy + * @memberof CoordinationV1alpha2ApipatchNamespacedLeaseCandidate */ name: string /** - * Path is the URL path to use for the current proxy request to node. + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectGetNodeProxy + * @memberof CoordinationV1alpha2ApipatchNamespacedLeaseCandidate */ - path?: string -} - -export interface CoreV1ApiConnectGetNodeProxyWithPathRequest { + namespace: string /** - * name of the NodeProxyOptions - * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectGetNodeProxyWithPath + * + * @type any + * @memberof CoordinationV1alpha2ApipatchNamespacedLeaseCandidate */ - name: string + body: any /** - * path to the resource + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectGetNodeProxyWithPath + * @memberof CoordinationV1alpha2ApipatchNamespacedLeaseCandidate */ - path: string + pretty?: string /** - * Path is the URL path to use for the current proxy request to node. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectGetNodeProxyWithPath + * @memberof CoordinationV1alpha2ApipatchNamespacedLeaseCandidate */ - path2?: string -} - -export interface CoreV1ApiConnectHeadNamespacedPodProxyRequest { + dryRun?: string /** - * name of the PodProxyOptions + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectHeadNamespacedPodProxy + * @memberof CoordinationV1alpha2ApipatchNamespacedLeaseCandidate */ - name: string + fieldManager?: string /** - * object name and auth scope, such as for teams and projects + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectHeadNamespacedPodProxy + * @memberof CoordinationV1alpha2ApipatchNamespacedLeaseCandidate */ - namespace: string + fieldValidation?: string /** - * Path is the URL path to use for the current proxy request to pod. + * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectHeadNamespacedPodProxy + * @type boolean + * @memberof CoordinationV1alpha2ApipatchNamespacedLeaseCandidate */ - path?: string + force?: boolean } -export interface CoreV1ApiConnectHeadNamespacedPodProxyWithPathRequest { +export interface CoordinationV1alpha2ApiReadNamespacedLeaseCandidateRequest { /** - * name of the PodProxyOptions + * name of the LeaseCandidate * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectHeadNamespacedPodProxyWithPath + * @memberof CoordinationV1alpha2ApireadNamespacedLeaseCandidate */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectHeadNamespacedPodProxyWithPath + * @memberof CoordinationV1alpha2ApireadNamespacedLeaseCandidate */ namespace: string /** - * path to the resource - * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectHeadNamespacedPodProxyWithPath - */ - path: string - /** - * Path is the URL path to use for the current proxy request to pod. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectHeadNamespacedPodProxyWithPath + * @memberof CoordinationV1alpha2ApireadNamespacedLeaseCandidate */ - path2?: string + pretty?: string } -export interface CoreV1ApiConnectHeadNamespacedServiceProxyRequest { +export interface CoordinationV1alpha2ApiReplaceNamespacedLeaseCandidateRequest { /** - * name of the ServiceProxyOptions + * name of the LeaseCandidate * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectHeadNamespacedServiceProxy + * @memberof CoordinationV1alpha2ApireplaceNamespacedLeaseCandidate */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectHeadNamespacedServiceProxy + * @memberof CoordinationV1alpha2ApireplaceNamespacedLeaseCandidate */ namespace: string /** - * Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. - * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectHeadNamespacedServiceProxy + * + * @type V1alpha2LeaseCandidate + * @memberof CoordinationV1alpha2ApireplaceNamespacedLeaseCandidate */ - path?: string -} - -export interface CoreV1ApiConnectHeadNamespacedServiceProxyWithPathRequest { + body: V1alpha2LeaseCandidate /** - * name of the ServiceProxyOptions + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectHeadNamespacedServiceProxyWithPath + * @memberof CoordinationV1alpha2ApireplaceNamespacedLeaseCandidate */ - name: string + pretty?: string /** - * object name and auth scope, such as for teams and projects + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectHeadNamespacedServiceProxyWithPath + * @memberof CoordinationV1alpha2ApireplaceNamespacedLeaseCandidate */ - namespace: string + dryRun?: string /** - * path to the resource + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectHeadNamespacedServiceProxyWithPath + * @memberof CoordinationV1alpha2ApireplaceNamespacedLeaseCandidate */ - path: string + fieldManager?: string /** - * Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectHeadNamespacedServiceProxyWithPath + * @memberof CoordinationV1alpha2ApireplaceNamespacedLeaseCandidate */ - path2?: string + fieldValidation?: string } -export interface CoreV1ApiConnectHeadNodeProxyRequest { - /** - * name of the NodeProxyOptions - * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectHeadNodeProxy - */ - name: string +export class ObjectCoordinationV1alpha2Api { + private api: ObservableCoordinationV1alpha2Api + + public constructor(configuration: Configuration, requestFactory?: CoordinationV1alpha2ApiRequestFactory, responseProcessor?: CoordinationV1alpha2ApiResponseProcessor) { + this.api = new ObservableCoordinationV1alpha2Api(configuration, requestFactory, responseProcessor); + } + /** - * Path is the URL path to use for the current proxy request to node. - * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectHeadNodeProxy + * create a LeaseCandidate + * @param param the request object */ - path?: string -} + public createNamespacedLeaseCandidateWithHttpInfo(param: CoordinationV1alpha2ApiCreateNamespacedLeaseCandidateRequest, options?: Configuration): Promise> { + return this.api.createNamespacedLeaseCandidateWithHttpInfo(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } -export interface CoreV1ApiConnectHeadNodeProxyWithPathRequest { /** - * name of the NodeProxyOptions - * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectHeadNodeProxyWithPath + * create a LeaseCandidate + * @param param the request object */ - name: string + public createNamespacedLeaseCandidate(param: CoordinationV1alpha2ApiCreateNamespacedLeaseCandidateRequest, options?: Configuration): Promise { + return this.api.createNamespacedLeaseCandidate(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * path to the resource - * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectHeadNodeProxyWithPath + * delete collection of LeaseCandidate + * @param param the request object */ - path: string + public deleteCollectionNamespacedLeaseCandidateWithHttpInfo(param: CoordinationV1alpha2ApiDeleteCollectionNamespacedLeaseCandidateRequest, options?: Configuration): Promise> { + return this.api.deleteCollectionNamespacedLeaseCandidateWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } + /** - * Path is the URL path to use for the current proxy request to node. - * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectHeadNodeProxyWithPath + * delete collection of LeaseCandidate + * @param param the request object */ - path2?: string -} + public deleteCollectionNamespacedLeaseCandidate(param: CoordinationV1alpha2ApiDeleteCollectionNamespacedLeaseCandidateRequest, options?: Configuration): Promise { + return this.api.deleteCollectionNamespacedLeaseCandidate(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } -export interface CoreV1ApiConnectOptionsNamespacedPodProxyRequest { /** - * name of the PodProxyOptions - * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectOptionsNamespacedPodProxy + * delete a LeaseCandidate + * @param param the request object */ - name: string + public deleteNamespacedLeaseCandidateWithHttpInfo(param: CoordinationV1alpha2ApiDeleteNamespacedLeaseCandidateRequest, options?: Configuration): Promise> { + return this.api.deleteNamespacedLeaseCandidateWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } + /** - * object name and auth scope, such as for teams and projects - * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectOptionsNamespacedPodProxy + * delete a LeaseCandidate + * @param param the request object */ - namespace: string + public deleteNamespacedLeaseCandidate(param: CoordinationV1alpha2ApiDeleteNamespacedLeaseCandidateRequest, options?: Configuration): Promise { + return this.api.deleteNamespacedLeaseCandidate(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } + /** - * Path is the URL path to use for the current proxy request to pod. - * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectOptionsNamespacedPodProxy + * get available resources + * @param param the request object */ - path?: string -} + public getAPIResourcesWithHttpInfo(param: CoordinationV1alpha2ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise> { + return this.api.getAPIResourcesWithHttpInfo( options).toPromise(); + } -export interface CoreV1ApiConnectOptionsNamespacedPodProxyWithPathRequest { /** - * name of the PodProxyOptions - * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectOptionsNamespacedPodProxyWithPath + * get available resources + * @param param the request object */ - name: string + public getAPIResources(param: CoordinationV1alpha2ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise { + return this.api.getAPIResources( options).toPromise(); + } + /** - * object name and auth scope, such as for teams and projects - * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectOptionsNamespacedPodProxyWithPath + * list or watch objects of kind LeaseCandidate + * @param param the request object */ - namespace: string + public listLeaseCandidateForAllNamespacesWithHttpInfo(param: CoordinationV1alpha2ApiListLeaseCandidateForAllNamespacesRequest = {}, options?: Configuration): Promise> { + return this.api.listLeaseCandidateForAllNamespacesWithHttpInfo(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * path to the resource - * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectOptionsNamespacedPodProxyWithPath + * list or watch objects of kind LeaseCandidate + * @param param the request object */ - path: string + public listLeaseCandidateForAllNamespaces(param: CoordinationV1alpha2ApiListLeaseCandidateForAllNamespacesRequest = {}, options?: Configuration): Promise { + return this.api.listLeaseCandidateForAllNamespaces(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * Path is the URL path to use for the current proxy request to pod. - * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectOptionsNamespacedPodProxyWithPath + * list or watch objects of kind LeaseCandidate + * @param param the request object */ - path2?: string -} + public listNamespacedLeaseCandidateWithHttpInfo(param: CoordinationV1alpha2ApiListNamespacedLeaseCandidateRequest, options?: Configuration): Promise> { + return this.api.listNamespacedLeaseCandidateWithHttpInfo(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } -export interface CoreV1ApiConnectOptionsNamespacedServiceProxyRequest { /** - * name of the ServiceProxyOptions - * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectOptionsNamespacedServiceProxy + * list or watch objects of kind LeaseCandidate + * @param param the request object */ - name: string + public listNamespacedLeaseCandidate(param: CoordinationV1alpha2ApiListNamespacedLeaseCandidateRequest, options?: Configuration): Promise { + return this.api.listNamespacedLeaseCandidate(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * object name and auth scope, such as for teams and projects - * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectOptionsNamespacedServiceProxy + * partially update the specified LeaseCandidate + * @param param the request object */ - namespace: string + public patchNamespacedLeaseCandidateWithHttpInfo(param: CoordinationV1alpha2ApiPatchNamespacedLeaseCandidateRequest, options?: Configuration): Promise> { + return this.api.patchNamespacedLeaseCandidateWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + /** - * Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. - * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectOptionsNamespacedServiceProxy + * partially update the specified LeaseCandidate + * @param param the request object */ - path?: string -} + public patchNamespacedLeaseCandidate(param: CoordinationV1alpha2ApiPatchNamespacedLeaseCandidateRequest, options?: Configuration): Promise { + return this.api.patchNamespacedLeaseCandidate(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } -export interface CoreV1ApiConnectOptionsNamespacedServiceProxyWithPathRequest { /** - * name of the ServiceProxyOptions - * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectOptionsNamespacedServiceProxyWithPath + * read the specified LeaseCandidate + * @param param the request object */ - name: string + public readNamespacedLeaseCandidateWithHttpInfo(param: CoordinationV1alpha2ApiReadNamespacedLeaseCandidateRequest, options?: Configuration): Promise> { + return this.api.readNamespacedLeaseCandidateWithHttpInfo(param.name, param.namespace, param.pretty, options).toPromise(); + } + /** - * object name and auth scope, such as for teams and projects - * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectOptionsNamespacedServiceProxyWithPath + * read the specified LeaseCandidate + * @param param the request object */ - namespace: string + public readNamespacedLeaseCandidate(param: CoordinationV1alpha2ApiReadNamespacedLeaseCandidateRequest, options?: Configuration): Promise { + return this.api.readNamespacedLeaseCandidate(param.name, param.namespace, param.pretty, options).toPromise(); + } + /** - * path to the resource - * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectOptionsNamespacedServiceProxyWithPath + * replace the specified LeaseCandidate + * @param param the request object */ - path: string + public replaceNamespacedLeaseCandidateWithHttpInfo(param: CoordinationV1alpha2ApiReplaceNamespacedLeaseCandidateRequest, options?: Configuration): Promise> { + return this.api.replaceNamespacedLeaseCandidateWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. - * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectOptionsNamespacedServiceProxyWithPath + * replace the specified LeaseCandidate + * @param param the request object */ - path2?: string + public replaceNamespacedLeaseCandidate(param: CoordinationV1alpha2ApiReplaceNamespacedLeaseCandidateRequest, options?: Configuration): Promise { + return this.api.replaceNamespacedLeaseCandidate(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + } -export interface CoreV1ApiConnectOptionsNodeProxyRequest { - /** - * name of the NodeProxyOptions - * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectOptionsNodeProxy - */ - name: string - /** - * Path is the URL path to use for the current proxy request to node. - * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectOptionsNodeProxy - */ - path?: string +import { ObservableCoreApi } from "./ObservableAPI"; +import { CoreApiRequestFactory, CoreApiResponseProcessor} from "../apis/CoreApi"; + +export interface CoreApiGetAPIVersionsRequest { } -export interface CoreV1ApiConnectOptionsNodeProxyWithPathRequest { - /** - * name of the NodeProxyOptions - * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectOptionsNodeProxyWithPath - */ - name: string +export class ObjectCoreApi { + private api: ObservableCoreApi + + public constructor(configuration: Configuration, requestFactory?: CoreApiRequestFactory, responseProcessor?: CoreApiResponseProcessor) { + this.api = new ObservableCoreApi(configuration, requestFactory, responseProcessor); + } + /** - * path to the resource - * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectOptionsNodeProxyWithPath + * get available API versions + * @param param the request object */ - path: string + public getAPIVersionsWithHttpInfo(param: CoreApiGetAPIVersionsRequest = {}, options?: Configuration): Promise> { + return this.api.getAPIVersionsWithHttpInfo( options).toPromise(); + } + /** - * Path is the URL path to use for the current proxy request to node. - * Defaults to: undefined - * @type string - * @memberof CoreV1ApiconnectOptionsNodeProxyWithPath + * get available API versions + * @param param the request object */ - path2?: string + public getAPIVersions(param: CoreApiGetAPIVersionsRequest = {}, options?: Configuration): Promise { + return this.api.getAPIVersions( options).toPromise(); + } + } -export interface CoreV1ApiConnectPatchNamespacedPodProxyRequest { +import { ObservableCoreV1Api } from "./ObservableAPI"; +import { CoreV1ApiRequestFactory, CoreV1ApiResponseProcessor} from "../apis/CoreV1Api"; + +export interface CoreV1ApiConnectDeleteNamespacedPodProxyRequest { /** * name of the PodProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPatchNamespacedPodProxy + * @memberof CoreV1ApiconnectDeleteNamespacedPodProxy */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPatchNamespacedPodProxy + * @memberof CoreV1ApiconnectDeleteNamespacedPodProxy */ namespace: string /** * Path is the URL path to use for the current proxy request to pod. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPatchNamespacedPodProxy + * @memberof CoreV1ApiconnectDeleteNamespacedPodProxy */ path?: string } -export interface CoreV1ApiConnectPatchNamespacedPodProxyWithPathRequest { +export interface CoreV1ApiConnectDeleteNamespacedPodProxyWithPathRequest { /** * name of the PodProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPatchNamespacedPodProxyWithPath + * @memberof CoreV1ApiconnectDeleteNamespacedPodProxyWithPath */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPatchNamespacedPodProxyWithPath + * @memberof CoreV1ApiconnectDeleteNamespacedPodProxyWithPath */ namespace: string /** * path to the resource * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPatchNamespacedPodProxyWithPath + * @memberof CoreV1ApiconnectDeleteNamespacedPodProxyWithPath */ path: string /** * Path is the URL path to use for the current proxy request to pod. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPatchNamespacedPodProxyWithPath + * @memberof CoreV1ApiconnectDeleteNamespacedPodProxyWithPath */ path2?: string } -export interface CoreV1ApiConnectPatchNamespacedServiceProxyRequest { +export interface CoreV1ApiConnectDeleteNamespacedServiceProxyRequest { /** * name of the ServiceProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPatchNamespacedServiceProxy + * @memberof CoreV1ApiconnectDeleteNamespacedServiceProxy */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPatchNamespacedServiceProxy + * @memberof CoreV1ApiconnectDeleteNamespacedServiceProxy */ namespace: string /** * Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPatchNamespacedServiceProxy + * @memberof CoreV1ApiconnectDeleteNamespacedServiceProxy */ path?: string } -export interface CoreV1ApiConnectPatchNamespacedServiceProxyWithPathRequest { +export interface CoreV1ApiConnectDeleteNamespacedServiceProxyWithPathRequest { /** * name of the ServiceProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPatchNamespacedServiceProxyWithPath + * @memberof CoreV1ApiconnectDeleteNamespacedServiceProxyWithPath */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPatchNamespacedServiceProxyWithPath + * @memberof CoreV1ApiconnectDeleteNamespacedServiceProxyWithPath */ namespace: string /** * path to the resource * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPatchNamespacedServiceProxyWithPath + * @memberof CoreV1ApiconnectDeleteNamespacedServiceProxyWithPath */ path: string /** * Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPatchNamespacedServiceProxyWithPath + * @memberof CoreV1ApiconnectDeleteNamespacedServiceProxyWithPath */ path2?: string } -export interface CoreV1ApiConnectPatchNodeProxyRequest { +export interface CoreV1ApiConnectDeleteNodeProxyRequest { /** * name of the NodeProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPatchNodeProxy + * @memberof CoreV1ApiconnectDeleteNodeProxy */ name: string /** * Path is the URL path to use for the current proxy request to node. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPatchNodeProxy + * @memberof CoreV1ApiconnectDeleteNodeProxy */ path?: string } -export interface CoreV1ApiConnectPatchNodeProxyWithPathRequest { +export interface CoreV1ApiConnectDeleteNodeProxyWithPathRequest { /** * name of the NodeProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPatchNodeProxyWithPath + * @memberof CoreV1ApiconnectDeleteNodeProxyWithPath */ name: string /** * path to the resource * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPatchNodeProxyWithPath + * @memberof CoreV1ApiconnectDeleteNodeProxyWithPath */ path: string /** * Path is the URL path to use for the current proxy request to node. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPatchNodeProxyWithPath + * @memberof CoreV1ApiconnectDeleteNodeProxyWithPath */ path2?: string } -export interface CoreV1ApiConnectPostNamespacedPodAttachRequest { +export interface CoreV1ApiConnectGetNamespacedPodAttachRequest { /** * name of the PodAttachOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPostNamespacedPodAttach + * @memberof CoreV1ApiconnectGetNamespacedPodAttach */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPostNamespacedPodAttach + * @memberof CoreV1ApiconnectGetNamespacedPodAttach */ namespace: string /** * The container in which to execute the command. Defaults to only container if there is only one container in the pod. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPostNamespacedPodAttach + * @memberof CoreV1ApiconnectGetNamespacedPodAttach */ container?: string /** * Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApiconnectPostNamespacedPodAttach + * @memberof CoreV1ApiconnectGetNamespacedPodAttach */ stderr?: boolean /** * Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApiconnectPostNamespacedPodAttach + * @memberof CoreV1ApiconnectGetNamespacedPodAttach */ stdin?: boolean /** * Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApiconnectPostNamespacedPodAttach + * @memberof CoreV1ApiconnectGetNamespacedPodAttach */ stdout?: boolean /** * TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApiconnectPostNamespacedPodAttach + * @memberof CoreV1ApiconnectGetNamespacedPodAttach */ tty?: boolean } -export interface CoreV1ApiConnectPostNamespacedPodExecRequest { +export interface CoreV1ApiConnectGetNamespacedPodExecRequest { /** * name of the PodExecOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPostNamespacedPodExec + * @memberof CoreV1ApiconnectGetNamespacedPodExec */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPostNamespacedPodExec + * @memberof CoreV1ApiconnectGetNamespacedPodExec */ namespace: string /** * Command is the remote command to execute. argv array. Not executed within a shell. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPostNamespacedPodExec + * @memberof CoreV1ApiconnectGetNamespacedPodExec */ command?: string /** * Container in which to execute the command. Defaults to only container if there is only one container in the pod. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPostNamespacedPodExec + * @memberof CoreV1ApiconnectGetNamespacedPodExec */ container?: string /** * Redirect the standard error stream of the pod for this call. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApiconnectPostNamespacedPodExec + * @memberof CoreV1ApiconnectGetNamespacedPodExec */ stderr?: boolean /** * Redirect the standard input stream of the pod for this call. Defaults to false. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApiconnectPostNamespacedPodExec + * @memberof CoreV1ApiconnectGetNamespacedPodExec */ stdin?: boolean /** * Redirect the standard output stream of the pod for this call. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApiconnectPostNamespacedPodExec + * @memberof CoreV1ApiconnectGetNamespacedPodExec */ stdout?: boolean /** * TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApiconnectPostNamespacedPodExec + * @memberof CoreV1ApiconnectGetNamespacedPodExec */ tty?: boolean } -export interface CoreV1ApiConnectPostNamespacedPodPortforwardRequest { +export interface CoreV1ApiConnectGetNamespacedPodPortforwardRequest { /** * name of the PodPortForwardOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPostNamespacedPodPortforward + * @memberof CoreV1ApiconnectGetNamespacedPodPortforward */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPostNamespacedPodPortforward + * @memberof CoreV1ApiconnectGetNamespacedPodPortforward */ namespace: string /** * List of ports to forward Required when using WebSockets * Defaults to: undefined * @type number - * @memberof CoreV1ApiconnectPostNamespacedPodPortforward + * @memberof CoreV1ApiconnectGetNamespacedPodPortforward */ ports?: number } -export interface CoreV1ApiConnectPostNamespacedPodProxyRequest { +export interface CoreV1ApiConnectGetNamespacedPodProxyRequest { /** * name of the PodProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPostNamespacedPodProxy + * @memberof CoreV1ApiconnectGetNamespacedPodProxy */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPostNamespacedPodProxy + * @memberof CoreV1ApiconnectGetNamespacedPodProxy */ namespace: string /** * Path is the URL path to use for the current proxy request to pod. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPostNamespacedPodProxy + * @memberof CoreV1ApiconnectGetNamespacedPodProxy */ path?: string } -export interface CoreV1ApiConnectPostNamespacedPodProxyWithPathRequest { +export interface CoreV1ApiConnectGetNamespacedPodProxyWithPathRequest { /** * name of the PodProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPostNamespacedPodProxyWithPath + * @memberof CoreV1ApiconnectGetNamespacedPodProxyWithPath */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPostNamespacedPodProxyWithPath + * @memberof CoreV1ApiconnectGetNamespacedPodProxyWithPath */ namespace: string /** * path to the resource * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPostNamespacedPodProxyWithPath + * @memberof CoreV1ApiconnectGetNamespacedPodProxyWithPath */ path: string /** * Path is the URL path to use for the current proxy request to pod. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPostNamespacedPodProxyWithPath + * @memberof CoreV1ApiconnectGetNamespacedPodProxyWithPath */ path2?: string } -export interface CoreV1ApiConnectPostNamespacedServiceProxyRequest { +export interface CoreV1ApiConnectGetNamespacedServiceProxyRequest { /** * name of the ServiceProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPostNamespacedServiceProxy + * @memberof CoreV1ApiconnectGetNamespacedServiceProxy */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPostNamespacedServiceProxy + * @memberof CoreV1ApiconnectGetNamespacedServiceProxy */ namespace: string /** * Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPostNamespacedServiceProxy + * @memberof CoreV1ApiconnectGetNamespacedServiceProxy */ path?: string } -export interface CoreV1ApiConnectPostNamespacedServiceProxyWithPathRequest { +export interface CoreV1ApiConnectGetNamespacedServiceProxyWithPathRequest { /** * name of the ServiceProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPostNamespacedServiceProxyWithPath + * @memberof CoreV1ApiconnectGetNamespacedServiceProxyWithPath */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPostNamespacedServiceProxyWithPath + * @memberof CoreV1ApiconnectGetNamespacedServiceProxyWithPath */ namespace: string /** * path to the resource * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPostNamespacedServiceProxyWithPath + * @memberof CoreV1ApiconnectGetNamespacedServiceProxyWithPath */ path: string /** * Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPostNamespacedServiceProxyWithPath + * @memberof CoreV1ApiconnectGetNamespacedServiceProxyWithPath */ path2?: string } -export interface CoreV1ApiConnectPostNodeProxyRequest { +export interface CoreV1ApiConnectGetNodeProxyRequest { /** * name of the NodeProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPostNodeProxy + * @memberof CoreV1ApiconnectGetNodeProxy */ name: string /** * Path is the URL path to use for the current proxy request to node. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPostNodeProxy + * @memberof CoreV1ApiconnectGetNodeProxy */ path?: string } -export interface CoreV1ApiConnectPostNodeProxyWithPathRequest { +export interface CoreV1ApiConnectGetNodeProxyWithPathRequest { /** * name of the NodeProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPostNodeProxyWithPath + * @memberof CoreV1ApiconnectGetNodeProxyWithPath */ name: string /** * path to the resource * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPostNodeProxyWithPath + * @memberof CoreV1ApiconnectGetNodeProxyWithPath */ path: string /** * Path is the URL path to use for the current proxy request to node. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPostNodeProxyWithPath + * @memberof CoreV1ApiconnectGetNodeProxyWithPath */ path2?: string } -export interface CoreV1ApiConnectPutNamespacedPodProxyRequest { +export interface CoreV1ApiConnectHeadNamespacedPodProxyRequest { /** * name of the PodProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPutNamespacedPodProxy + * @memberof CoreV1ApiconnectHeadNamespacedPodProxy */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPutNamespacedPodProxy + * @memberof CoreV1ApiconnectHeadNamespacedPodProxy */ namespace: string /** * Path is the URL path to use for the current proxy request to pod. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPutNamespacedPodProxy + * @memberof CoreV1ApiconnectHeadNamespacedPodProxy */ path?: string } -export interface CoreV1ApiConnectPutNamespacedPodProxyWithPathRequest { +export interface CoreV1ApiConnectHeadNamespacedPodProxyWithPathRequest { /** * name of the PodProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPutNamespacedPodProxyWithPath + * @memberof CoreV1ApiconnectHeadNamespacedPodProxyWithPath */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPutNamespacedPodProxyWithPath + * @memberof CoreV1ApiconnectHeadNamespacedPodProxyWithPath */ namespace: string /** * path to the resource * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPutNamespacedPodProxyWithPath + * @memberof CoreV1ApiconnectHeadNamespacedPodProxyWithPath */ path: string /** * Path is the URL path to use for the current proxy request to pod. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPutNamespacedPodProxyWithPath + * @memberof CoreV1ApiconnectHeadNamespacedPodProxyWithPath */ path2?: string } -export interface CoreV1ApiConnectPutNamespacedServiceProxyRequest { +export interface CoreV1ApiConnectHeadNamespacedServiceProxyRequest { /** * name of the ServiceProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPutNamespacedServiceProxy + * @memberof CoreV1ApiconnectHeadNamespacedServiceProxy */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPutNamespacedServiceProxy + * @memberof CoreV1ApiconnectHeadNamespacedServiceProxy */ namespace: string /** * Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPutNamespacedServiceProxy + * @memberof CoreV1ApiconnectHeadNamespacedServiceProxy */ path?: string } -export interface CoreV1ApiConnectPutNamespacedServiceProxyWithPathRequest { +export interface CoreV1ApiConnectHeadNamespacedServiceProxyWithPathRequest { /** * name of the ServiceProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPutNamespacedServiceProxyWithPath + * @memberof CoreV1ApiconnectHeadNamespacedServiceProxyWithPath */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPutNamespacedServiceProxyWithPath + * @memberof CoreV1ApiconnectHeadNamespacedServiceProxyWithPath */ namespace: string /** * path to the resource * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPutNamespacedServiceProxyWithPath + * @memberof CoreV1ApiconnectHeadNamespacedServiceProxyWithPath */ path: string /** * Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPutNamespacedServiceProxyWithPath + * @memberof CoreV1ApiconnectHeadNamespacedServiceProxyWithPath */ path2?: string } -export interface CoreV1ApiConnectPutNodeProxyRequest { +export interface CoreV1ApiConnectHeadNodeProxyRequest { /** * name of the NodeProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPutNodeProxy + * @memberof CoreV1ApiconnectHeadNodeProxy */ name: string /** * Path is the URL path to use for the current proxy request to node. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPutNodeProxy + * @memberof CoreV1ApiconnectHeadNodeProxy */ path?: string } -export interface CoreV1ApiConnectPutNodeProxyWithPathRequest { +export interface CoreV1ApiConnectHeadNodeProxyWithPathRequest { /** * name of the NodeProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPutNodeProxyWithPath + * @memberof CoreV1ApiconnectHeadNodeProxyWithPath */ name: string /** * path to the resource * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPutNodeProxyWithPath + * @memberof CoreV1ApiconnectHeadNodeProxyWithPath */ path: string /** * Path is the URL path to use for the current proxy request to node. * Defaults to: undefined * @type string - * @memberof CoreV1ApiconnectPutNodeProxyWithPath + * @memberof CoreV1ApiconnectHeadNodeProxyWithPath */ path2?: string } -export interface CoreV1ApiCreateNamespaceRequest { - /** - * - * @type V1Namespace - * @memberof CoreV1ApicreateNamespace - */ - body: V1Namespace +export interface CoreV1ApiConnectOptionsNamespacedPodProxyRequest { /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * name of the PodProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespace + * @memberof CoreV1ApiconnectOptionsNamespacedPodProxy */ - pretty?: string + name: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespace + * @memberof CoreV1ApiconnectOptionsNamespacedPodProxy */ - dryRun?: string + namespace: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * Path is the URL path to use for the current proxy request to pod. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespace + * @memberof CoreV1ApiconnectOptionsNamespacedPodProxy */ - fieldManager?: string + path?: string +} + +export interface CoreV1ApiConnectOptionsNamespacedPodProxyWithPathRequest { /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * name of the PodProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespace + * @memberof CoreV1ApiconnectOptionsNamespacedPodProxyWithPath */ - fieldValidation?: string -} - -export interface CoreV1ApiCreateNamespacedBindingRequest { + name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedBinding + * @memberof CoreV1ApiconnectOptionsNamespacedPodProxyWithPath */ namespace: string /** - * - * @type V1Binding - * @memberof CoreV1ApicreateNamespacedBinding + * path to the resource + * Defaults to: undefined + * @type string + * @memberof CoreV1ApiconnectOptionsNamespacedPodProxyWithPath */ - body: V1Binding + path: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Path is the URL path to use for the current proxy request to pod. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedBinding + * @memberof CoreV1ApiconnectOptionsNamespacedPodProxyWithPath */ - dryRun?: string + path2?: string +} + +export interface CoreV1ApiConnectOptionsNamespacedServiceProxyRequest { /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * name of the ServiceProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedBinding + * @memberof CoreV1ApiconnectOptionsNamespacedServiceProxy */ - fieldManager?: string + name: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedBinding + * @memberof CoreV1ApiconnectOptionsNamespacedServiceProxy */ - fieldValidation?: string + namespace: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedBinding + * @memberof CoreV1ApiconnectOptionsNamespacedServiceProxy */ - pretty?: string + path?: string } -export interface CoreV1ApiCreateNamespacedConfigMapRequest { +export interface CoreV1ApiConnectOptionsNamespacedServiceProxyWithPathRequest { /** - * object name and auth scope, such as for teams and projects + * name of the ServiceProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedConfigMap + * @memberof CoreV1ApiconnectOptionsNamespacedServiceProxyWithPath */ - namespace: string + name: string /** - * - * @type V1ConfigMap - * @memberof CoreV1ApicreateNamespacedConfigMap + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof CoreV1ApiconnectOptionsNamespacedServiceProxyWithPath */ - body: V1ConfigMap + namespace: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * path to the resource * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedConfigMap + * @memberof CoreV1ApiconnectOptionsNamespacedServiceProxyWithPath */ - pretty?: string + path: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedConfigMap + * @memberof CoreV1ApiconnectOptionsNamespacedServiceProxyWithPath */ - dryRun?: string + path2?: string +} + +export interface CoreV1ApiConnectOptionsNodeProxyRequest { /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * name of the NodeProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedConfigMap + * @memberof CoreV1ApiconnectOptionsNodeProxy */ - fieldManager?: string + name: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Path is the URL path to use for the current proxy request to node. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedConfigMap + * @memberof CoreV1ApiconnectOptionsNodeProxy */ - fieldValidation?: string + path?: string } -export interface CoreV1ApiCreateNamespacedEndpointsRequest { +export interface CoreV1ApiConnectOptionsNodeProxyWithPathRequest { /** - * object name and auth scope, such as for teams and projects + * name of the NodeProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedEndpoints + * @memberof CoreV1ApiconnectOptionsNodeProxyWithPath */ - namespace: string + name: string /** - * - * @type V1Endpoints - * @memberof CoreV1ApicreateNamespacedEndpoints + * path to the resource + * Defaults to: undefined + * @type string + * @memberof CoreV1ApiconnectOptionsNodeProxyWithPath */ - body: V1Endpoints + path: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Path is the URL path to use for the current proxy request to node. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedEndpoints + * @memberof CoreV1ApiconnectOptionsNodeProxyWithPath */ - pretty?: string + path2?: string +} + +export interface CoreV1ApiConnectPatchNamespacedPodProxyRequest { /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * name of the PodProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedEndpoints + * @memberof CoreV1ApiconnectPatchNamespacedPodProxy */ - dryRun?: string + name: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedEndpoints + * @memberof CoreV1ApiconnectPatchNamespacedPodProxy */ - fieldManager?: string + namespace: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Path is the URL path to use for the current proxy request to pod. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedEndpoints + * @memberof CoreV1ApiconnectPatchNamespacedPodProxy */ - fieldValidation?: string + path?: string } -export interface CoreV1ApiCreateNamespacedEventRequest { +export interface CoreV1ApiConnectPatchNamespacedPodProxyWithPathRequest { /** - * object name and auth scope, such as for teams and projects + * name of the PodProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedEvent - */ - namespace: string - /** - * - * @type CoreV1Event - * @memberof CoreV1ApicreateNamespacedEvent + * @memberof CoreV1ApiconnectPatchNamespacedPodProxyWithPath */ - body: CoreV1Event + name: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedEvent + * @memberof CoreV1ApiconnectPatchNamespacedPodProxyWithPath */ - pretty?: string + namespace: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * path to the resource * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedEvent + * @memberof CoreV1ApiconnectPatchNamespacedPodProxyWithPath */ - dryRun?: string + path: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * Path is the URL path to use for the current proxy request to pod. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedEvent + * @memberof CoreV1ApiconnectPatchNamespacedPodProxyWithPath */ - fieldManager?: string + path2?: string +} + +export interface CoreV1ApiConnectPatchNamespacedServiceProxyRequest { /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * name of the ServiceProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedEvent + * @memberof CoreV1ApiconnectPatchNamespacedServiceProxy */ - fieldValidation?: string -} - -export interface CoreV1ApiCreateNamespacedLimitRangeRequest { + name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedLimitRange + * @memberof CoreV1ApiconnectPatchNamespacedServiceProxy */ namespace: string /** - * - * @type V1LimitRange - * @memberof CoreV1ApicreateNamespacedLimitRange + * Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApiconnectPatchNamespacedServiceProxy */ - body: V1LimitRange + path?: string +} + +export interface CoreV1ApiConnectPatchNamespacedServiceProxyWithPathRequest { /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * name of the ServiceProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedLimitRange + * @memberof CoreV1ApiconnectPatchNamespacedServiceProxyWithPath */ - pretty?: string + name: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedLimitRange + * @memberof CoreV1ApiconnectPatchNamespacedServiceProxyWithPath */ - dryRun?: string + namespace: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * path to the resource * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedLimitRange + * @memberof CoreV1ApiconnectPatchNamespacedServiceProxyWithPath */ - fieldManager?: string + path: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedLimitRange + * @memberof CoreV1ApiconnectPatchNamespacedServiceProxyWithPath */ - fieldValidation?: string + path2?: string } -export interface CoreV1ApiCreateNamespacedPersistentVolumeClaimRequest { +export interface CoreV1ApiConnectPatchNodeProxyRequest { /** - * object name and auth scope, such as for teams and projects + * name of the NodeProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedPersistentVolumeClaim - */ - namespace: string - /** - * - * @type V1PersistentVolumeClaim - * @memberof CoreV1ApicreateNamespacedPersistentVolumeClaim + * @memberof CoreV1ApiconnectPatchNodeProxy */ - body: V1PersistentVolumeClaim + name: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Path is the URL path to use for the current proxy request to node. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedPersistentVolumeClaim + * @memberof CoreV1ApiconnectPatchNodeProxy */ - pretty?: string + path?: string +} + +export interface CoreV1ApiConnectPatchNodeProxyWithPathRequest { /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * name of the NodeProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedPersistentVolumeClaim + * @memberof CoreV1ApiconnectPatchNodeProxyWithPath */ - dryRun?: string + name: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * path to the resource * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedPersistentVolumeClaim + * @memberof CoreV1ApiconnectPatchNodeProxyWithPath */ - fieldManager?: string + path: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Path is the URL path to use for the current proxy request to node. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedPersistentVolumeClaim + * @memberof CoreV1ApiconnectPatchNodeProxyWithPath */ - fieldValidation?: string + path2?: string } -export interface CoreV1ApiCreateNamespacedPodRequest { +export interface CoreV1ApiConnectPostNamespacedPodAttachRequest { + /** + * name of the PodAttachOptions + * Defaults to: undefined + * @type string + * @memberof CoreV1ApiconnectPostNamespacedPodAttach + */ + name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedPod + * @memberof CoreV1ApiconnectPostNamespacedPodAttach */ namespace: string /** - * - * @type V1Pod - * @memberof CoreV1ApicreateNamespacedPod + * The container in which to execute the command. Defaults to only container if there is only one container in the pod. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApiconnectPostNamespacedPodAttach */ - body: V1Pod + container?: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. * Defaults to: undefined - * @type string - * @memberof CoreV1ApicreateNamespacedPod + * @type boolean + * @memberof CoreV1ApiconnectPostNamespacedPodAttach */ - pretty?: string + stderr?: boolean /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. * Defaults to: undefined - * @type string - * @memberof CoreV1ApicreateNamespacedPod + * @type boolean + * @memberof CoreV1ApiconnectPostNamespacedPodAttach */ - dryRun?: string + stdin?: boolean /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. * Defaults to: undefined - * @type string - * @memberof CoreV1ApicreateNamespacedPod + * @type boolean + * @memberof CoreV1ApiconnectPostNamespacedPodAttach */ - fieldManager?: string + stdout?: boolean /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. * Defaults to: undefined - * @type string - * @memberof CoreV1ApicreateNamespacedPod + * @type boolean + * @memberof CoreV1ApiconnectPostNamespacedPodAttach */ - fieldValidation?: string + tty?: boolean } -export interface CoreV1ApiCreateNamespacedPodBindingRequest { +export interface CoreV1ApiConnectPostNamespacedPodExecRequest { /** - * name of the Binding + * name of the PodExecOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedPodBinding + * @memberof CoreV1ApiconnectPostNamespacedPodExec */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedPodBinding + * @memberof CoreV1ApiconnectPostNamespacedPodExec */ namespace: string /** - * - * @type V1Binding - * @memberof CoreV1ApicreateNamespacedPodBinding + * Command is the remote command to execute. argv array. Not executed within a shell. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApiconnectPostNamespacedPodExec */ - body: V1Binding + command?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Container in which to execute the command. Defaults to only container if there is only one container in the pod. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedPodBinding + * @memberof CoreV1ApiconnectPostNamespacedPodExec */ - dryRun?: string + container?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * Redirect the standard error stream of the pod for this call. * Defaults to: undefined - * @type string - * @memberof CoreV1ApicreateNamespacedPodBinding + * @type boolean + * @memberof CoreV1ApiconnectPostNamespacedPodExec */ - fieldManager?: string + stderr?: boolean /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Redirect the standard input stream of the pod for this call. Defaults to false. * Defaults to: undefined - * @type string - * @memberof CoreV1ApicreateNamespacedPodBinding + * @type boolean + * @memberof CoreV1ApiconnectPostNamespacedPodExec */ - fieldValidation?: string + stdin?: boolean /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Redirect the standard output stream of the pod for this call. * Defaults to: undefined - * @type string - * @memberof CoreV1ApicreateNamespacedPodBinding + * @type boolean + * @memberof CoreV1ApiconnectPostNamespacedPodExec */ - pretty?: string + stdout?: boolean + /** + * TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApiconnectPostNamespacedPodExec + */ + tty?: boolean } -export interface CoreV1ApiCreateNamespacedPodEvictionRequest { +export interface CoreV1ApiConnectPostNamespacedPodPortforwardRequest { /** - * name of the Eviction + * name of the PodPortForwardOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedPodEviction + * @memberof CoreV1ApiconnectPostNamespacedPodPortforward */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedPodEviction + * @memberof CoreV1ApiconnectPostNamespacedPodPortforward */ namespace: string /** - * - * @type V1Eviction - * @memberof CoreV1ApicreateNamespacedPodEviction + * List of ports to forward Required when using WebSockets + * Defaults to: undefined + * @type number + * @memberof CoreV1ApiconnectPostNamespacedPodPortforward */ - body: V1Eviction + ports?: number +} + +export interface CoreV1ApiConnectPostNamespacedPodProxyRequest { /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * name of the PodProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedPodEviction + * @memberof CoreV1ApiconnectPostNamespacedPodProxy */ - dryRun?: string + name: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedPodEviction + * @memberof CoreV1ApiconnectPostNamespacedPodProxy */ - fieldManager?: string + namespace: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Path is the URL path to use for the current proxy request to pod. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedPodEviction + * @memberof CoreV1ApiconnectPostNamespacedPodProxy */ - fieldValidation?: string + path?: string +} + +export interface CoreV1ApiConnectPostNamespacedPodProxyWithPathRequest { /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * name of the PodProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedPodEviction + * @memberof CoreV1ApiconnectPostNamespacedPodProxyWithPath */ - pretty?: string -} - -export interface CoreV1ApiCreateNamespacedPodTemplateRequest { + name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedPodTemplate + * @memberof CoreV1ApiconnectPostNamespacedPodProxyWithPath */ namespace: string /** - * - * @type V1PodTemplate - * @memberof CoreV1ApicreateNamespacedPodTemplate + * path to the resource + * Defaults to: undefined + * @type string + * @memberof CoreV1ApiconnectPostNamespacedPodProxyWithPath */ - body: V1PodTemplate + path: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Path is the URL path to use for the current proxy request to pod. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedPodTemplate + * @memberof CoreV1ApiconnectPostNamespacedPodProxyWithPath */ - pretty?: string + path2?: string +} + +export interface CoreV1ApiConnectPostNamespacedServiceProxyRequest { /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * name of the ServiceProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedPodTemplate + * @memberof CoreV1ApiconnectPostNamespacedServiceProxy */ - dryRun?: string + name: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedPodTemplate + * @memberof CoreV1ApiconnectPostNamespacedServiceProxy */ - fieldManager?: string + namespace: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedPodTemplate + * @memberof CoreV1ApiconnectPostNamespacedServiceProxy */ - fieldValidation?: string + path?: string } -export interface CoreV1ApiCreateNamespacedReplicationControllerRequest { +export interface CoreV1ApiConnectPostNamespacedServiceProxyWithPathRequest { /** - * object name and auth scope, such as for teams and projects + * name of the ServiceProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedReplicationController + * @memberof CoreV1ApiconnectPostNamespacedServiceProxyWithPath */ - namespace: string + name: string /** - * - * @type V1ReplicationController - * @memberof CoreV1ApicreateNamespacedReplicationController + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof CoreV1ApiconnectPostNamespacedServiceProxyWithPath */ - body: V1ReplicationController + namespace: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * path to the resource * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedReplicationController + * @memberof CoreV1ApiconnectPostNamespacedServiceProxyWithPath */ - pretty?: string + path: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedReplicationController + * @memberof CoreV1ApiconnectPostNamespacedServiceProxyWithPath */ - dryRun?: string + path2?: string +} + +export interface CoreV1ApiConnectPostNodeProxyRequest { /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * name of the NodeProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedReplicationController + * @memberof CoreV1ApiconnectPostNodeProxy */ - fieldManager?: string + name: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Path is the URL path to use for the current proxy request to node. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedReplicationController + * @memberof CoreV1ApiconnectPostNodeProxy */ - fieldValidation?: string + path?: string } -export interface CoreV1ApiCreateNamespacedResourceQuotaRequest { +export interface CoreV1ApiConnectPostNodeProxyWithPathRequest { /** - * object name and auth scope, such as for teams and projects + * name of the NodeProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedResourceQuota + * @memberof CoreV1ApiconnectPostNodeProxyWithPath */ - namespace: string + name: string /** - * - * @type V1ResourceQuota - * @memberof CoreV1ApicreateNamespacedResourceQuota + * path to the resource + * Defaults to: undefined + * @type string + * @memberof CoreV1ApiconnectPostNodeProxyWithPath */ - body: V1ResourceQuota + path: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Path is the URL path to use for the current proxy request to node. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedResourceQuota + * @memberof CoreV1ApiconnectPostNodeProxyWithPath */ - pretty?: string + path2?: string +} + +export interface CoreV1ApiConnectPutNamespacedPodProxyRequest { /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * name of the PodProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedResourceQuota + * @memberof CoreV1ApiconnectPutNamespacedPodProxy */ - dryRun?: string + name: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedResourceQuota + * @memberof CoreV1ApiconnectPutNamespacedPodProxy */ - fieldManager?: string + namespace: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Path is the URL path to use for the current proxy request to pod. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedResourceQuota + * @memberof CoreV1ApiconnectPutNamespacedPodProxy */ - fieldValidation?: string + path?: string } -export interface CoreV1ApiCreateNamespacedSecretRequest { +export interface CoreV1ApiConnectPutNamespacedPodProxyWithPathRequest { + /** + * name of the PodProxyOptions + * Defaults to: undefined + * @type string + * @memberof CoreV1ApiconnectPutNamespacedPodProxyWithPath + */ + name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedSecret + * @memberof CoreV1ApiconnectPutNamespacedPodProxyWithPath */ namespace: string /** - * - * @type V1Secret - * @memberof CoreV1ApicreateNamespacedSecret + * path to the resource + * Defaults to: undefined + * @type string + * @memberof CoreV1ApiconnectPutNamespacedPodProxyWithPath */ - body: V1Secret + path: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Path is the URL path to use for the current proxy request to pod. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedSecret + * @memberof CoreV1ApiconnectPutNamespacedPodProxyWithPath */ - pretty?: string + path2?: string +} + +export interface CoreV1ApiConnectPutNamespacedServiceProxyRequest { /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * name of the ServiceProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedSecret + * @memberof CoreV1ApiconnectPutNamespacedServiceProxy */ - dryRun?: string + name: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedSecret + * @memberof CoreV1ApiconnectPutNamespacedServiceProxy */ - fieldManager?: string + namespace: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedSecret + * @memberof CoreV1ApiconnectPutNamespacedServiceProxy */ - fieldValidation?: string + path?: string } -export interface CoreV1ApiCreateNamespacedServiceRequest { +export interface CoreV1ApiConnectPutNamespacedServiceProxyWithPathRequest { /** - * object name and auth scope, such as for teams and projects + * name of the ServiceProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedService + * @memberof CoreV1ApiconnectPutNamespacedServiceProxyWithPath */ - namespace: string + name: string /** - * - * @type V1Service - * @memberof CoreV1ApicreateNamespacedService + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof CoreV1ApiconnectPutNamespacedServiceProxyWithPath */ - body: V1Service + namespace: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * path to the resource * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedService + * @memberof CoreV1ApiconnectPutNamespacedServiceProxyWithPath */ - pretty?: string + path: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedService + * @memberof CoreV1ApiconnectPutNamespacedServiceProxyWithPath */ - dryRun?: string + path2?: string +} + +export interface CoreV1ApiConnectPutNodeProxyRequest { /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * name of the NodeProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedService + * @memberof CoreV1ApiconnectPutNodeProxy */ - fieldManager?: string + name: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Path is the URL path to use for the current proxy request to node. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedService + * @memberof CoreV1ApiconnectPutNodeProxy */ - fieldValidation?: string + path?: string } -export interface CoreV1ApiCreateNamespacedServiceAccountRequest { +export interface CoreV1ApiConnectPutNodeProxyWithPathRequest { /** - * object name and auth scope, such as for teams and projects + * name of the NodeProxyOptions * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedServiceAccount + * @memberof CoreV1ApiconnectPutNodeProxyWithPath */ - namespace: string + name: string + /** + * path to the resource + * Defaults to: undefined + * @type string + * @memberof CoreV1ApiconnectPutNodeProxyWithPath + */ + path: string + /** + * Path is the URL path to use for the current proxy request to node. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApiconnectPutNodeProxyWithPath + */ + path2?: string +} + +export interface CoreV1ApiCreateNamespaceRequest { /** * - * @type V1ServiceAccount - * @memberof CoreV1ApicreateNamespacedServiceAccount + * @type V1Namespace + * @memberof CoreV1ApicreateNamespace */ - body: V1ServiceAccount + body: V1Namespace /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedServiceAccount + * @memberof CoreV1ApicreateNamespace */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedServiceAccount + * @memberof CoreV1ApicreateNamespace */ dryRun?: string /** * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedServiceAccount + * @memberof CoreV1ApicreateNamespace */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedServiceAccount + * @memberof CoreV1ApicreateNamespace */ fieldValidation?: string } -export interface CoreV1ApiCreateNamespacedServiceAccountTokenRequest { - /** - * name of the TokenRequest - * Defaults to: undefined - * @type string - * @memberof CoreV1ApicreateNamespacedServiceAccountToken - */ - name: string +export interface CoreV1ApiCreateNamespacedBindingRequest { /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedServiceAccountToken + * @memberof CoreV1ApicreateNamespacedBinding */ namespace: string /** * - * @type AuthenticationV1TokenRequest - * @memberof CoreV1ApicreateNamespacedServiceAccountToken + * @type V1Binding + * @memberof CoreV1ApicreateNamespacedBinding */ - body: AuthenticationV1TokenRequest + body: V1Binding /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedServiceAccountToken + * @memberof CoreV1ApicreateNamespacedBinding */ dryRun?: string /** * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedServiceAccountToken + * @memberof CoreV1ApicreateNamespacedBinding */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedServiceAccountToken + * @memberof CoreV1ApicreateNamespacedBinding */ fieldValidation?: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNamespacedServiceAccountToken + * @memberof CoreV1ApicreateNamespacedBinding */ pretty?: string } -export interface CoreV1ApiCreateNodeRequest { +export interface CoreV1ApiCreateNamespacedConfigMapRequest { + /** + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof CoreV1ApicreateNamespacedConfigMap + */ + namespace: string /** * - * @type V1Node - * @memberof CoreV1ApicreateNode + * @type V1ConfigMap + * @memberof CoreV1ApicreateNamespacedConfigMap */ - body: V1Node + body: V1ConfigMap /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNode + * @memberof CoreV1ApicreateNamespacedConfigMap */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNode + * @memberof CoreV1ApicreateNamespacedConfigMap */ dryRun?: string /** * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNode + * @memberof CoreV1ApicreateNamespacedConfigMap */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreateNode + * @memberof CoreV1ApicreateNamespacedConfigMap */ fieldValidation?: string } -export interface CoreV1ApiCreatePersistentVolumeRequest { +export interface CoreV1ApiCreateNamespacedEndpointsRequest { + /** + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof CoreV1ApicreateNamespacedEndpoints + */ + namespace: string /** * - * @type V1PersistentVolume - * @memberof CoreV1ApicreatePersistentVolume + * @type V1Endpoints + * @memberof CoreV1ApicreateNamespacedEndpoints */ - body: V1PersistentVolume + body: V1Endpoints /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApicreatePersistentVolume + * @memberof CoreV1ApicreateNamespacedEndpoints */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApicreatePersistentVolume + * @memberof CoreV1ApicreateNamespacedEndpoints */ dryRun?: string /** * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreatePersistentVolume + * @memberof CoreV1ApicreateNamespacedEndpoints */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof CoreV1ApicreatePersistentVolume + * @memberof CoreV1ApicreateNamespacedEndpoints */ fieldValidation?: string } -export interface CoreV1ApiDeleteCollectionNamespacedConfigMapRequest { +export interface CoreV1ApiCreateNamespacedEventRequest { /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedConfigMap + * @memberof CoreV1ApicreateNamespacedEvent */ namespace: string + /** + * + * @type CoreV1Event + * @memberof CoreV1ApicreateNamespacedEvent + */ + body: CoreV1Event /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedConfigMap + * @memberof CoreV1ApicreateNamespacedEvent */ pretty?: string /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedConfigMap + * @memberof CoreV1ApicreateNamespacedEvent */ - _continue?: string + dryRun?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedConfigMap + * @memberof CoreV1ApicreateNamespacedEvent */ - dryRun?: string + fieldManager?: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedConfigMap + * @memberof CoreV1ApicreateNamespacedEvent */ - fieldSelector?: string + fieldValidation?: string +} + +export interface CoreV1ApiCreateNamespacedLimitRangeRequest { /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * object name and auth scope, such as for teams and projects * Defaults to: undefined - * @type number - * @memberof CoreV1ApideleteCollectionNamespacedConfigMap + * @type string + * @memberof CoreV1ApicreateNamespacedLimitRange */ - gracePeriodSeconds?: number + namespace: string /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * + * @type V1LimitRange + * @memberof CoreV1ApicreateNamespacedLimitRange + */ + body: V1LimitRange + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedConfigMap + * @memberof CoreV1ApicreateNamespacedLimitRange */ - labelSelector?: string + pretty?: string /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined - * @type number - * @memberof CoreV1ApideleteCollectionNamespacedConfigMap + * @type string + * @memberof CoreV1ApicreateNamespacedLimitRange */ - limit?: number + dryRun?: string /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined - * @type boolean - * @memberof CoreV1ApideleteCollectionNamespacedConfigMap + * @type string + * @memberof CoreV1ApicreateNamespacedLimitRange */ - orphanDependents?: boolean + fieldManager?: string /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedConfigMap + * @memberof CoreV1ApicreateNamespacedLimitRange */ - propagationPolicy?: string + fieldValidation?: string +} + +export interface CoreV1ApiCreateNamespacedPersistentVolumeClaimRequest { /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedConfigMap + * @memberof CoreV1ApicreateNamespacedPersistentVolumeClaim */ - resourceVersion?: string + namespace: string /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * + * @type V1PersistentVolumeClaim + * @memberof CoreV1ApicreateNamespacedPersistentVolumeClaim + */ + body: V1PersistentVolumeClaim + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedConfigMap + * @memberof CoreV1ApicreateNamespacedPersistentVolumeClaim */ - resourceVersionMatch?: string + pretty?: string /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined - * @type boolean - * @memberof CoreV1ApideleteCollectionNamespacedConfigMap + * @type string + * @memberof CoreV1ApicreateNamespacedPersistentVolumeClaim */ - sendInitialEvents?: boolean + dryRun?: string /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined - * @type number - * @memberof CoreV1ApideleteCollectionNamespacedConfigMap + * @type string + * @memberof CoreV1ApicreateNamespacedPersistentVolumeClaim */ - timeoutSeconds?: number + fieldManager?: string /** - * - * @type V1DeleteOptions - * @memberof CoreV1ApideleteCollectionNamespacedConfigMap + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApicreateNamespacedPersistentVolumeClaim */ - body?: V1DeleteOptions + fieldValidation?: string } -export interface CoreV1ApiDeleteCollectionNamespacedEndpointsRequest { +export interface CoreV1ApiCreateNamespacedPodRequest { /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedEndpoints + * @memberof CoreV1ApicreateNamespacedPod */ namespace: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof CoreV1ApideleteCollectionNamespacedEndpoints + * + * @type V1Pod + * @memberof CoreV1ApicreateNamespacedPod */ - pretty?: string + body: V1Pod /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedEndpoints + * @memberof CoreV1ApicreateNamespacedPod */ - _continue?: string + pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedEndpoints + * @memberof CoreV1ApicreateNamespacedPod */ dryRun?: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedEndpoints + * @memberof CoreV1ApicreateNamespacedPod */ - fieldSelector?: string + fieldManager?: string /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined - * @type number - * @memberof CoreV1ApideleteCollectionNamespacedEndpoints + * @type string + * @memberof CoreV1ApicreateNamespacedPod */ - gracePeriodSeconds?: number + fieldValidation?: string +} + +export interface CoreV1ApiCreateNamespacedPodBindingRequest { /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * name of the Binding * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedEndpoints + * @memberof CoreV1ApicreateNamespacedPodBinding */ - labelSelector?: string + name: string /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * object name and auth scope, such as for teams and projects * Defaults to: undefined - * @type number - * @memberof CoreV1ApideleteCollectionNamespacedEndpoints + * @type string + * @memberof CoreV1ApicreateNamespacedPodBinding */ - limit?: number + namespace: string /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * Defaults to: undefined - * @type boolean - * @memberof CoreV1ApideleteCollectionNamespacedEndpoints + * + * @type V1Binding + * @memberof CoreV1ApicreateNamespacedPodBinding */ - orphanDependents?: boolean + body: V1Binding /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedEndpoints + * @memberof CoreV1ApicreateNamespacedPodBinding */ - propagationPolicy?: string + dryRun?: string /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedEndpoints + * @memberof CoreV1ApicreateNamespacedPodBinding */ - resourceVersion?: string + fieldManager?: string /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedEndpoints + * @memberof CoreV1ApicreateNamespacedPodBinding */ - resourceVersionMatch?: string + fieldValidation?: string /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined - * @type boolean - * @memberof CoreV1ApideleteCollectionNamespacedEndpoints + * @type string + * @memberof CoreV1ApicreateNamespacedPodBinding */ - sendInitialEvents?: boolean + pretty?: string +} + +export interface CoreV1ApiCreateNamespacedPodEvictionRequest { /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * name of the Eviction * Defaults to: undefined - * @type number - * @memberof CoreV1ApideleteCollectionNamespacedEndpoints + * @type string + * @memberof CoreV1ApicreateNamespacedPodEviction */ - timeoutSeconds?: number + name: string + /** + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof CoreV1ApicreateNamespacedPodEviction + */ + namespace: string /** * - * @type V1DeleteOptions - * @memberof CoreV1ApideleteCollectionNamespacedEndpoints + * @type V1Eviction + * @memberof CoreV1ApicreateNamespacedPodEviction */ - body?: V1DeleteOptions + body: V1Eviction + /** + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof CoreV1ApicreateNamespacedPodEviction + */ + dryRun?: string + /** + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApicreateNamespacedPodEviction + */ + fieldManager?: string + /** + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApicreateNamespacedPodEviction + */ + fieldValidation?: string + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof CoreV1ApicreateNamespacedPodEviction + */ + pretty?: string } -export interface CoreV1ApiDeleteCollectionNamespacedEventRequest { +export interface CoreV1ApiCreateNamespacedPodTemplateRequest { /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedEvent + * @memberof CoreV1ApicreateNamespacedPodTemplate */ namespace: string + /** + * + * @type V1PodTemplate + * @memberof CoreV1ApicreateNamespacedPodTemplate + */ + body: V1PodTemplate /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedEvent + * @memberof CoreV1ApicreateNamespacedPodTemplate */ pretty?: string /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedEvent + * @memberof CoreV1ApicreateNamespacedPodTemplate */ - _continue?: string + dryRun?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedEvent + * @memberof CoreV1ApicreateNamespacedPodTemplate */ - dryRun?: string + fieldManager?: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedEvent + * @memberof CoreV1ApicreateNamespacedPodTemplate */ - fieldSelector?: string + fieldValidation?: string +} + +export interface CoreV1ApiCreateNamespacedReplicationControllerRequest { /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * object name and auth scope, such as for teams and projects * Defaults to: undefined - * @type number - * @memberof CoreV1ApideleteCollectionNamespacedEvent + * @type string + * @memberof CoreV1ApicreateNamespacedReplicationController */ - gracePeriodSeconds?: number + namespace: string /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * + * @type V1ReplicationController + * @memberof CoreV1ApicreateNamespacedReplicationController + */ + body: V1ReplicationController + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedEvent + * @memberof CoreV1ApicreateNamespacedReplicationController */ - labelSelector?: string + pretty?: string /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined - * @type number - * @memberof CoreV1ApideleteCollectionNamespacedEvent + * @type string + * @memberof CoreV1ApicreateNamespacedReplicationController */ - limit?: number + dryRun?: string /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined - * @type boolean - * @memberof CoreV1ApideleteCollectionNamespacedEvent + * @type string + * @memberof CoreV1ApicreateNamespacedReplicationController */ - orphanDependents?: boolean + fieldManager?: string /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedEvent + * @memberof CoreV1ApicreateNamespacedReplicationController */ - propagationPolicy?: string + fieldValidation?: string +} + +export interface CoreV1ApiCreateNamespacedResourceQuotaRequest { /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedEvent + * @memberof CoreV1ApicreateNamespacedResourceQuota */ - resourceVersion?: string + namespace: string /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * + * @type V1ResourceQuota + * @memberof CoreV1ApicreateNamespacedResourceQuota + */ + body: V1ResourceQuota + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedEvent + * @memberof CoreV1ApicreateNamespacedResourceQuota */ - resourceVersionMatch?: string + pretty?: string /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined - * @type boolean - * @memberof CoreV1ApideleteCollectionNamespacedEvent + * @type string + * @memberof CoreV1ApicreateNamespacedResourceQuota */ - sendInitialEvents?: boolean + dryRun?: string /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined - * @type number - * @memberof CoreV1ApideleteCollectionNamespacedEvent + * @type string + * @memberof CoreV1ApicreateNamespacedResourceQuota */ - timeoutSeconds?: number + fieldManager?: string /** - * - * @type V1DeleteOptions - * @memberof CoreV1ApideleteCollectionNamespacedEvent + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApicreateNamespacedResourceQuota */ - body?: V1DeleteOptions + fieldValidation?: string } -export interface CoreV1ApiDeleteCollectionNamespacedLimitRangeRequest { +export interface CoreV1ApiCreateNamespacedSecretRequest { /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedLimitRange + * @memberof CoreV1ApicreateNamespacedSecret */ namespace: string + /** + * + * @type V1Secret + * @memberof CoreV1ApicreateNamespacedSecret + */ + body: V1Secret /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedLimitRange + * @memberof CoreV1ApicreateNamespacedSecret */ pretty?: string /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedLimitRange + * @memberof CoreV1ApicreateNamespacedSecret */ - _continue?: string + dryRun?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedLimitRange + * @memberof CoreV1ApicreateNamespacedSecret */ - dryRun?: string + fieldManager?: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedLimitRange + * @memberof CoreV1ApicreateNamespacedSecret */ - fieldSelector?: string + fieldValidation?: string +} + +export interface CoreV1ApiCreateNamespacedServiceRequest { /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * object name and auth scope, such as for teams and projects * Defaults to: undefined - * @type number - * @memberof CoreV1ApideleteCollectionNamespacedLimitRange + * @type string + * @memberof CoreV1ApicreateNamespacedService */ - gracePeriodSeconds?: number + namespace: string /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * + * @type V1Service + * @memberof CoreV1ApicreateNamespacedService + */ + body: V1Service + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedLimitRange + * @memberof CoreV1ApicreateNamespacedService */ - labelSelector?: string + pretty?: string /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined - * @type number - * @memberof CoreV1ApideleteCollectionNamespacedLimitRange + * @type string + * @memberof CoreV1ApicreateNamespacedService */ - limit?: number + dryRun?: string /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined - * @type boolean - * @memberof CoreV1ApideleteCollectionNamespacedLimitRange + * @type string + * @memberof CoreV1ApicreateNamespacedService */ - orphanDependents?: boolean + fieldManager?: string /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedLimitRange + * @memberof CoreV1ApicreateNamespacedService */ - propagationPolicy?: string + fieldValidation?: string +} + +export interface CoreV1ApiCreateNamespacedServiceAccountRequest { /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedLimitRange + * @memberof CoreV1ApicreateNamespacedServiceAccount */ - resourceVersion?: string + namespace: string /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * + * @type V1ServiceAccount + * @memberof CoreV1ApicreateNamespacedServiceAccount + */ + body: V1ServiceAccount + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedLimitRange + * @memberof CoreV1ApicreateNamespacedServiceAccount */ - resourceVersionMatch?: string + pretty?: string /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined - * @type boolean - * @memberof CoreV1ApideleteCollectionNamespacedLimitRange + * @type string + * @memberof CoreV1ApicreateNamespacedServiceAccount */ - sendInitialEvents?: boolean + dryRun?: string /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined - * @type number - * @memberof CoreV1ApideleteCollectionNamespacedLimitRange + * @type string + * @memberof CoreV1ApicreateNamespacedServiceAccount */ - timeoutSeconds?: number + fieldManager?: string /** - * - * @type V1DeleteOptions - * @memberof CoreV1ApideleteCollectionNamespacedLimitRange + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApicreateNamespacedServiceAccount */ - body?: V1DeleteOptions + fieldValidation?: string } -export interface CoreV1ApiDeleteCollectionNamespacedPersistentVolumeClaimRequest { +export interface CoreV1ApiCreateNamespacedServiceAccountTokenRequest { /** - * object name and auth scope, such as for teams and projects + * name of the TokenRequest * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim + * @memberof CoreV1ApicreateNamespacedServiceAccountToken */ - namespace: string + name: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim + * @memberof CoreV1ApicreateNamespacedServiceAccountToken */ - pretty?: string + namespace: string /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * Defaults to: undefined - * @type string - * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim + * + * @type AuthenticationV1TokenRequest + * @memberof CoreV1ApicreateNamespacedServiceAccountToken */ - _continue?: string + body: AuthenticationV1TokenRequest /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim + * @memberof CoreV1ApicreateNamespacedServiceAccountToken */ dryRun?: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim + * @memberof CoreV1ApicreateNamespacedServiceAccountToken */ - fieldSelector?: string + fieldManager?: string /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined - * @type number - * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim + * @type string + * @memberof CoreV1ApicreateNamespacedServiceAccountToken */ - gracePeriodSeconds?: number + fieldValidation?: string /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim + * @memberof CoreV1ApicreateNamespacedServiceAccountToken */ - labelSelector?: string + pretty?: string +} + +export interface CoreV1ApiCreateNodeRequest { /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * + * @type V1Node + * @memberof CoreV1ApicreateNode + */ + body: V1Node + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined - * @type number - * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim + * @type string + * @memberof CoreV1ApicreateNode */ - limit?: number + pretty?: string /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined - * @type boolean - * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim + * @type string + * @memberof CoreV1ApicreateNode */ - orphanDependents?: boolean + dryRun?: string /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim + * @memberof CoreV1ApicreateNode */ - propagationPolicy?: string + fieldManager?: string /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim + * @memberof CoreV1ApicreateNode */ - resourceVersion?: string + fieldValidation?: string +} + +export interface CoreV1ApiCreatePersistentVolumeRequest { /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * + * @type V1PersistentVolume + * @memberof CoreV1ApicreatePersistentVolume + */ + body: V1PersistentVolume + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim + * @memberof CoreV1ApicreatePersistentVolume */ - resourceVersionMatch?: string + pretty?: string /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined - * @type boolean - * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim + * @type string + * @memberof CoreV1ApicreatePersistentVolume */ - sendInitialEvents?: boolean + dryRun?: string /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined - * @type number - * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim + * @type string + * @memberof CoreV1ApicreatePersistentVolume */ - timeoutSeconds?: number + fieldManager?: string /** - * - * @type V1DeleteOptions - * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApicreatePersistentVolume */ - body?: V1DeleteOptions + fieldValidation?: string } -export interface CoreV1ApiDeleteCollectionNamespacedPodRequest { +export interface CoreV1ApiDeleteCollectionNamespacedConfigMapRequest { /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedPod + * @memberof CoreV1ApideleteCollectionNamespacedConfigMap */ namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedPod + * @memberof CoreV1ApideleteCollectionNamespacedConfigMap */ pretty?: string /** * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedPod + * @memberof CoreV1ApideleteCollectionNamespacedConfigMap */ _continue?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedPod + * @memberof CoreV1ApideleteCollectionNamespacedConfigMap */ dryRun?: string /** * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedPod + * @memberof CoreV1ApideleteCollectionNamespacedConfigMap */ fieldSelector?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteCollectionNamespacedPod + * @memberof CoreV1ApideleteCollectionNamespacedConfigMap */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteCollectionNamespacedConfigMap + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedPod + * @memberof CoreV1ApideleteCollectionNamespacedConfigMap */ labelSelector?: string /** * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteCollectionNamespacedPod + * @memberof CoreV1ApideleteCollectionNamespacedConfigMap */ limit?: number /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteCollectionNamespacedPod + * @memberof CoreV1ApideleteCollectionNamespacedConfigMap */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedPod + * @memberof CoreV1ApideleteCollectionNamespacedConfigMap */ propagationPolicy?: string /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedPod + * @memberof CoreV1ApideleteCollectionNamespacedConfigMap */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedPod + * @memberof CoreV1ApideleteCollectionNamespacedConfigMap */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteCollectionNamespacedPod + * @memberof CoreV1ApideleteCollectionNamespacedConfigMap */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteCollectionNamespacedPod + * @memberof CoreV1ApideleteCollectionNamespacedConfigMap */ timeoutSeconds?: number /** * * @type V1DeleteOptions - * @memberof CoreV1ApideleteCollectionNamespacedPod + * @memberof CoreV1ApideleteCollectionNamespacedConfigMap */ body?: V1DeleteOptions } -export interface CoreV1ApiDeleteCollectionNamespacedPodTemplateRequest { +export interface CoreV1ApiDeleteCollectionNamespacedEndpointsRequest { /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate + * @memberof CoreV1ApideleteCollectionNamespacedEndpoints */ namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate + * @memberof CoreV1ApideleteCollectionNamespacedEndpoints */ pretty?: string /** * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate + * @memberof CoreV1ApideleteCollectionNamespacedEndpoints */ _continue?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate + * @memberof CoreV1ApideleteCollectionNamespacedEndpoints */ dryRun?: string /** * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate + * @memberof CoreV1ApideleteCollectionNamespacedEndpoints */ fieldSelector?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate + * @memberof CoreV1ApideleteCollectionNamespacedEndpoints */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteCollectionNamespacedEndpoints + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate + * @memberof CoreV1ApideleteCollectionNamespacedEndpoints */ labelSelector?: string /** * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate + * @memberof CoreV1ApideleteCollectionNamespacedEndpoints */ limit?: number /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate + * @memberof CoreV1ApideleteCollectionNamespacedEndpoints */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate + * @memberof CoreV1ApideleteCollectionNamespacedEndpoints */ propagationPolicy?: string /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate + * @memberof CoreV1ApideleteCollectionNamespacedEndpoints */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate + * @memberof CoreV1ApideleteCollectionNamespacedEndpoints */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate + * @memberof CoreV1ApideleteCollectionNamespacedEndpoints */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate + * @memberof CoreV1ApideleteCollectionNamespacedEndpoints */ timeoutSeconds?: number /** * * @type V1DeleteOptions - * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate + * @memberof CoreV1ApideleteCollectionNamespacedEndpoints */ body?: V1DeleteOptions } -export interface CoreV1ApiDeleteCollectionNamespacedReplicationControllerRequest { +export interface CoreV1ApiDeleteCollectionNamespacedEventRequest { /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedReplicationController + * @memberof CoreV1ApideleteCollectionNamespacedEvent */ namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedReplicationController + * @memberof CoreV1ApideleteCollectionNamespacedEvent */ pretty?: string /** * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedReplicationController + * @memberof CoreV1ApideleteCollectionNamespacedEvent */ _continue?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedReplicationController + * @memberof CoreV1ApideleteCollectionNamespacedEvent */ dryRun?: string /** * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedReplicationController + * @memberof CoreV1ApideleteCollectionNamespacedEvent */ fieldSelector?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteCollectionNamespacedReplicationController + * @memberof CoreV1ApideleteCollectionNamespacedEvent */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteCollectionNamespacedEvent + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedReplicationController + * @memberof CoreV1ApideleteCollectionNamespacedEvent */ labelSelector?: string /** * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteCollectionNamespacedReplicationController + * @memberof CoreV1ApideleteCollectionNamespacedEvent */ limit?: number /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteCollectionNamespacedReplicationController + * @memberof CoreV1ApideleteCollectionNamespacedEvent */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedReplicationController + * @memberof CoreV1ApideleteCollectionNamespacedEvent */ propagationPolicy?: string /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedReplicationController + * @memberof CoreV1ApideleteCollectionNamespacedEvent */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedReplicationController + * @memberof CoreV1ApideleteCollectionNamespacedEvent */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteCollectionNamespacedReplicationController + * @memberof CoreV1ApideleteCollectionNamespacedEvent */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteCollectionNamespacedReplicationController + * @memberof CoreV1ApideleteCollectionNamespacedEvent */ timeoutSeconds?: number /** * * @type V1DeleteOptions - * @memberof CoreV1ApideleteCollectionNamespacedReplicationController + * @memberof CoreV1ApideleteCollectionNamespacedEvent */ body?: V1DeleteOptions } -export interface CoreV1ApiDeleteCollectionNamespacedResourceQuotaRequest { +export interface CoreV1ApiDeleteCollectionNamespacedLimitRangeRequest { /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota + * @memberof CoreV1ApideleteCollectionNamespacedLimitRange */ namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota + * @memberof CoreV1ApideleteCollectionNamespacedLimitRange */ pretty?: string /** * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota + * @memberof CoreV1ApideleteCollectionNamespacedLimitRange */ _continue?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota + * @memberof CoreV1ApideleteCollectionNamespacedLimitRange */ dryRun?: string /** * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota + * @memberof CoreV1ApideleteCollectionNamespacedLimitRange */ fieldSelector?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota + * @memberof CoreV1ApideleteCollectionNamespacedLimitRange */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteCollectionNamespacedLimitRange + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota + * @memberof CoreV1ApideleteCollectionNamespacedLimitRange */ labelSelector?: string /** * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota + * @memberof CoreV1ApideleteCollectionNamespacedLimitRange */ limit?: number /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota + * @memberof CoreV1ApideleteCollectionNamespacedLimitRange */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota + * @memberof CoreV1ApideleteCollectionNamespacedLimitRange */ propagationPolicy?: string /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota + * @memberof CoreV1ApideleteCollectionNamespacedLimitRange */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota + * @memberof CoreV1ApideleteCollectionNamespacedLimitRange */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota + * @memberof CoreV1ApideleteCollectionNamespacedLimitRange */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota + * @memberof CoreV1ApideleteCollectionNamespacedLimitRange */ timeoutSeconds?: number /** * * @type V1DeleteOptions - * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota + * @memberof CoreV1ApideleteCollectionNamespacedLimitRange */ body?: V1DeleteOptions } -export interface CoreV1ApiDeleteCollectionNamespacedSecretRequest { +export interface CoreV1ApiDeleteCollectionNamespacedPersistentVolumeClaimRequest { /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedSecret + * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim */ namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedSecret + * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim */ pretty?: string /** * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedSecret + * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim */ _continue?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedSecret + * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim */ dryRun?: string /** * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedSecret + * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim */ fieldSelector?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteCollectionNamespacedSecret + * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedSecret + * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim */ labelSelector?: string /** * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteCollectionNamespacedSecret + * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim */ limit?: number /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteCollectionNamespacedSecret + * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedSecret + * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim */ propagationPolicy?: string /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedSecret + * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedSecret + * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteCollectionNamespacedSecret + * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteCollectionNamespacedSecret + * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim */ timeoutSeconds?: number /** * * @type V1DeleteOptions - * @memberof CoreV1ApideleteCollectionNamespacedSecret + * @memberof CoreV1ApideleteCollectionNamespacedPersistentVolumeClaim */ body?: V1DeleteOptions } -export interface CoreV1ApiDeleteCollectionNamespacedServiceRequest { +export interface CoreV1ApiDeleteCollectionNamespacedPodRequest { /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedService + * @memberof CoreV1ApideleteCollectionNamespacedPod */ namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedService + * @memberof CoreV1ApideleteCollectionNamespacedPod */ pretty?: string /** * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedService + * @memberof CoreV1ApideleteCollectionNamespacedPod */ _continue?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedService + * @memberof CoreV1ApideleteCollectionNamespacedPod */ dryRun?: string /** * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedService + * @memberof CoreV1ApideleteCollectionNamespacedPod */ fieldSelector?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteCollectionNamespacedService + * @memberof CoreV1ApideleteCollectionNamespacedPod */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteCollectionNamespacedPod + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedService + * @memberof CoreV1ApideleteCollectionNamespacedPod */ labelSelector?: string /** * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteCollectionNamespacedService + * @memberof CoreV1ApideleteCollectionNamespacedPod */ limit?: number /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteCollectionNamespacedService + * @memberof CoreV1ApideleteCollectionNamespacedPod */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedService + * @memberof CoreV1ApideleteCollectionNamespacedPod */ propagationPolicy?: string /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedService + * @memberof CoreV1ApideleteCollectionNamespacedPod */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedService + * @memberof CoreV1ApideleteCollectionNamespacedPod */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteCollectionNamespacedService + * @memberof CoreV1ApideleteCollectionNamespacedPod */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteCollectionNamespacedService + * @memberof CoreV1ApideleteCollectionNamespacedPod */ timeoutSeconds?: number /** * * @type V1DeleteOptions - * @memberof CoreV1ApideleteCollectionNamespacedService + * @memberof CoreV1ApideleteCollectionNamespacedPod */ body?: V1DeleteOptions } -export interface CoreV1ApiDeleteCollectionNamespacedServiceAccountRequest { +export interface CoreV1ApiDeleteCollectionNamespacedPodTemplateRequest { /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount + * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate */ namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount + * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate */ pretty?: string /** * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount + * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate */ _continue?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount + * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate */ dryRun?: string /** * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount + * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate */ fieldSelector?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount + * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount + * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate */ labelSelector?: string /** * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount + * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate */ limit?: number /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount + * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount + * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate */ propagationPolicy?: string /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount + * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount + * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount + * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount + * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate */ timeoutSeconds?: number /** * * @type V1DeleteOptions - * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount + * @memberof CoreV1ApideleteCollectionNamespacedPodTemplate */ body?: V1DeleteOptions } -export interface CoreV1ApiDeleteCollectionNodeRequest { +export interface CoreV1ApiDeleteCollectionNamespacedReplicationControllerRequest { + /** + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteCollectionNamespacedReplicationController + */ + namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNode + * @memberof CoreV1ApideleteCollectionNamespacedReplicationController */ pretty?: string /** * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNode + * @memberof CoreV1ApideleteCollectionNamespacedReplicationController */ _continue?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNode + * @memberof CoreV1ApideleteCollectionNamespacedReplicationController */ dryRun?: string /** * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNode + * @memberof CoreV1ApideleteCollectionNamespacedReplicationController */ fieldSelector?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteCollectionNode + * @memberof CoreV1ApideleteCollectionNamespacedReplicationController */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteCollectionNamespacedReplicationController + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNode + * @memberof CoreV1ApideleteCollectionNamespacedReplicationController */ labelSelector?: string /** * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteCollectionNode + * @memberof CoreV1ApideleteCollectionNamespacedReplicationController */ limit?: number /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteCollectionNode + * @memberof CoreV1ApideleteCollectionNamespacedReplicationController */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNode + * @memberof CoreV1ApideleteCollectionNamespacedReplicationController */ propagationPolicy?: string /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNode + * @memberof CoreV1ApideleteCollectionNamespacedReplicationController */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionNode + * @memberof CoreV1ApideleteCollectionNamespacedReplicationController */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteCollectionNode + * @memberof CoreV1ApideleteCollectionNamespacedReplicationController */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteCollectionNode + * @memberof CoreV1ApideleteCollectionNamespacedReplicationController */ timeoutSeconds?: number /** * * @type V1DeleteOptions - * @memberof CoreV1ApideleteCollectionNode + * @memberof CoreV1ApideleteCollectionNamespacedReplicationController */ body?: V1DeleteOptions } -export interface CoreV1ApiDeleteCollectionPersistentVolumeRequest { +export interface CoreV1ApiDeleteCollectionNamespacedResourceQuotaRequest { + /** + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota + */ + namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionPersistentVolume + * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota */ pretty?: string /** * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionPersistentVolume + * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota */ _continue?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionPersistentVolume + * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota */ dryRun?: string /** * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionPersistentVolume + * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota */ fieldSelector?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteCollectionPersistentVolume + * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionPersistentVolume + * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota */ labelSelector?: string /** * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteCollectionPersistentVolume + * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota */ limit?: number /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteCollectionPersistentVolume + * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionPersistentVolume + * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota */ propagationPolicy?: string /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionPersistentVolume + * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteCollectionPersistentVolume + * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteCollectionPersistentVolume + * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteCollectionPersistentVolume + * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota */ timeoutSeconds?: number /** * * @type V1DeleteOptions - * @memberof CoreV1ApideleteCollectionPersistentVolume + * @memberof CoreV1ApideleteCollectionNamespacedResourceQuota */ body?: V1DeleteOptions } -export interface CoreV1ApiDeleteNamespaceRequest { +export interface CoreV1ApiDeleteCollectionNamespacedSecretRequest { /** - * name of the Namespace + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespace + * @memberof CoreV1ApideleteCollectionNamespacedSecret */ - name: string + namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespace + * @memberof CoreV1ApideleteCollectionNamespacedSecret */ pretty?: string + /** + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteCollectionNamespacedSecret + */ + _continue?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespace + * @memberof CoreV1ApideleteCollectionNamespacedSecret */ dryRun?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteCollectionNamespacedSecret + */ + fieldSelector?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteNamespace + * @memberof CoreV1ApideleteCollectionNamespacedSecret */ gracePeriodSeconds?: number /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteNamespace + * @memberof CoreV1ApideleteCollectionNamespacedSecret */ - orphanDependents?: boolean + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespace - */ - propagationPolicy?: string - /** - * - * @type V1DeleteOptions - * @memberof CoreV1ApideleteNamespace + * @memberof CoreV1ApideleteCollectionNamespacedSecret */ - body?: V1DeleteOptions -} - -export interface CoreV1ApiDeleteNamespacedConfigMapRequest { + labelSelector?: string /** - * name of the ConfigMap + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined - * @type string - * @memberof CoreV1ApideleteNamespacedConfigMap + * @type number + * @memberof CoreV1ApideleteCollectionNamespacedSecret */ - name: string + limit?: number /** - * object name and auth scope, such as for teams and projects + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined - * @type string - * @memberof CoreV1ApideleteNamespacedConfigMap + * @type boolean + * @memberof CoreV1ApideleteCollectionNamespacedSecret */ - namespace: string + orphanDependents?: boolean /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedConfigMap + * @memberof CoreV1ApideleteCollectionNamespacedSecret */ - pretty?: string + propagationPolicy?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedConfigMap + * @memberof CoreV1ApideleteCollectionNamespacedSecret */ - dryRun?: string + resourceVersion?: string /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined - * @type number - * @memberof CoreV1ApideleteNamespacedConfigMap + * @type string + * @memberof CoreV1ApideleteCollectionNamespacedSecret */ - gracePeriodSeconds?: number + resourceVersionMatch?: string /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteNamespacedConfigMap + * @memberof CoreV1ApideleteCollectionNamespacedSecret */ - orphanDependents?: boolean + sendInitialEvents?: boolean /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined - * @type string - * @memberof CoreV1ApideleteNamespacedConfigMap + * @type number + * @memberof CoreV1ApideleteCollectionNamespacedSecret */ - propagationPolicy?: string + timeoutSeconds?: number /** * * @type V1DeleteOptions - * @memberof CoreV1ApideleteNamespacedConfigMap + * @memberof CoreV1ApideleteCollectionNamespacedSecret */ body?: V1DeleteOptions } -export interface CoreV1ApiDeleteNamespacedEndpointsRequest { - /** - * name of the Endpoints - * Defaults to: undefined - * @type string - * @memberof CoreV1ApideleteNamespacedEndpoints - */ - name: string +export interface CoreV1ApiDeleteCollectionNamespacedServiceRequest { /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedEndpoints + * @memberof CoreV1ApideleteCollectionNamespacedService */ namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedEndpoints + * @memberof CoreV1ApideleteCollectionNamespacedService */ pretty?: string + /** + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteCollectionNamespacedService + */ + _continue?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedEndpoints + * @memberof CoreV1ApideleteCollectionNamespacedService */ dryRun?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteCollectionNamespacedService + */ + fieldSelector?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteNamespacedEndpoints + * @memberof CoreV1ApideleteCollectionNamespacedService */ gracePeriodSeconds?: number /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteNamespacedEndpoints + * @memberof CoreV1ApideleteCollectionNamespacedService */ - orphanDependents?: boolean + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedEndpoints - */ - propagationPolicy?: string - /** - * - * @type V1DeleteOptions - * @memberof CoreV1ApideleteNamespacedEndpoints + * @memberof CoreV1ApideleteCollectionNamespacedService */ - body?: V1DeleteOptions -} - -export interface CoreV1ApiDeleteNamespacedEventRequest { + labelSelector?: string /** - * name of the Event + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined - * @type string - * @memberof CoreV1ApideleteNamespacedEvent + * @type number + * @memberof CoreV1ApideleteCollectionNamespacedService */ - name: string + limit?: number /** - * object name and auth scope, such as for teams and projects + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined - * @type string - * @memberof CoreV1ApideleteNamespacedEvent + * @type boolean + * @memberof CoreV1ApideleteCollectionNamespacedService */ - namespace: string + orphanDependents?: boolean /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedEvent + * @memberof CoreV1ApideleteCollectionNamespacedService */ - pretty?: string + propagationPolicy?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedEvent + * @memberof CoreV1ApideleteCollectionNamespacedService */ - dryRun?: string + resourceVersion?: string /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined - * @type number - * @memberof CoreV1ApideleteNamespacedEvent + * @type string + * @memberof CoreV1ApideleteCollectionNamespacedService */ - gracePeriodSeconds?: number + resourceVersionMatch?: string /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteNamespacedEvent + * @memberof CoreV1ApideleteCollectionNamespacedService */ - orphanDependents?: boolean + sendInitialEvents?: boolean /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined - * @type string - * @memberof CoreV1ApideleteNamespacedEvent + * @type number + * @memberof CoreV1ApideleteCollectionNamespacedService */ - propagationPolicy?: string + timeoutSeconds?: number /** * * @type V1DeleteOptions - * @memberof CoreV1ApideleteNamespacedEvent + * @memberof CoreV1ApideleteCollectionNamespacedService */ body?: V1DeleteOptions } -export interface CoreV1ApiDeleteNamespacedLimitRangeRequest { - /** - * name of the LimitRange - * Defaults to: undefined - * @type string - * @memberof CoreV1ApideleteNamespacedLimitRange - */ - name: string +export interface CoreV1ApiDeleteCollectionNamespacedServiceAccountRequest { /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedLimitRange + * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount */ namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedLimitRange + * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount */ pretty?: string + /** + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount + */ + _continue?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedLimitRange + * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount */ dryRun?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount + */ + fieldSelector?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteNamespacedLimitRange + * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount + */ + labelSelector?: string + /** + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * Defaults to: undefined + * @type number + * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount + */ + limit?: number /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteNamespacedLimitRange + * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedLimitRange + * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount */ propagationPolicy?: string + /** + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount + */ + resourceVersion?: string + /** + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount + */ + resourceVersionMatch?: string + /** + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount + */ + sendInitialEvents?: boolean + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * Defaults to: undefined + * @type number + * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount + */ + timeoutSeconds?: number /** * * @type V1DeleteOptions - * @memberof CoreV1ApideleteNamespacedLimitRange + * @memberof CoreV1ApideleteCollectionNamespacedServiceAccount */ body?: V1DeleteOptions } -export interface CoreV1ApiDeleteNamespacedPersistentVolumeClaimRequest { +export interface CoreV1ApiDeleteCollectionNodeRequest { /** - * name of the PersistentVolumeClaim + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedPersistentVolumeClaim + * @memberof CoreV1ApideleteCollectionNode */ - name: string + pretty?: string /** - * object name and auth scope, such as for teams and projects + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedPersistentVolumeClaim + * @memberof CoreV1ApideleteCollectionNode */ - namespace: string + _continue?: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedPersistentVolumeClaim + * @memberof CoreV1ApideleteCollectionNode */ - pretty?: string + dryRun?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedPersistentVolumeClaim + * @memberof CoreV1ApideleteCollectionNode */ - dryRun?: string + fieldSelector?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteNamespacedPersistentVolumeClaim + * @memberof CoreV1ApideleteCollectionNode */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteCollectionNode + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteCollectionNode + */ + labelSelector?: string + /** + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * Defaults to: undefined + * @type number + * @memberof CoreV1ApideleteCollectionNode + */ + limit?: number /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteNamespacedPersistentVolumeClaim + * @memberof CoreV1ApideleteCollectionNode */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedPersistentVolumeClaim + * @memberof CoreV1ApideleteCollectionNode */ propagationPolicy?: string + /** + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteCollectionNode + */ + resourceVersion?: string + /** + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteCollectionNode + */ + resourceVersionMatch?: string + /** + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteCollectionNode + */ + sendInitialEvents?: boolean + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * Defaults to: undefined + * @type number + * @memberof CoreV1ApideleteCollectionNode + */ + timeoutSeconds?: number /** * * @type V1DeleteOptions - * @memberof CoreV1ApideleteNamespacedPersistentVolumeClaim + * @memberof CoreV1ApideleteCollectionNode */ body?: V1DeleteOptions } -export interface CoreV1ApiDeleteNamespacedPodRequest { +export interface CoreV1ApiDeleteCollectionPersistentVolumeRequest { /** - * name of the Pod + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedPod + * @memberof CoreV1ApideleteCollectionPersistentVolume */ - name: string + pretty?: string /** - * object name and auth scope, such as for teams and projects + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedPod + * @memberof CoreV1ApideleteCollectionPersistentVolume */ - namespace: string + _continue?: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedPod + * @memberof CoreV1ApideleteCollectionPersistentVolume */ - pretty?: string + dryRun?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedPod + * @memberof CoreV1ApideleteCollectionPersistentVolume */ - dryRun?: string + fieldSelector?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteNamespacedPod + * @memberof CoreV1ApideleteCollectionPersistentVolume */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteCollectionPersistentVolume + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteCollectionPersistentVolume + */ + labelSelector?: string + /** + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * Defaults to: undefined + * @type number + * @memberof CoreV1ApideleteCollectionPersistentVolume + */ + limit?: number /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteNamespacedPod + * @memberof CoreV1ApideleteCollectionPersistentVolume */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedPod + * @memberof CoreV1ApideleteCollectionPersistentVolume */ propagationPolicy?: string + /** + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteCollectionPersistentVolume + */ + resourceVersion?: string + /** + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteCollectionPersistentVolume + */ + resourceVersionMatch?: string + /** + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteCollectionPersistentVolume + */ + sendInitialEvents?: boolean + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * Defaults to: undefined + * @type number + * @memberof CoreV1ApideleteCollectionPersistentVolume + */ + timeoutSeconds?: number /** * * @type V1DeleteOptions - * @memberof CoreV1ApideleteNamespacedPod + * @memberof CoreV1ApideleteCollectionPersistentVolume */ body?: V1DeleteOptions } -export interface CoreV1ApiDeleteNamespacedPodTemplateRequest { +export interface CoreV1ApiDeleteNamespaceRequest { /** - * name of the PodTemplate + * name of the Namespace * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedPodTemplate + * @memberof CoreV1ApideleteNamespace */ name: string - /** - * object name and auth scope, such as for teams and projects - * Defaults to: undefined - * @type string - * @memberof CoreV1ApideleteNamespacedPodTemplate - */ - namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedPodTemplate + * @memberof CoreV1ApideleteNamespace */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedPodTemplate + * @memberof CoreV1ApideleteNamespace */ dryRun?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteNamespacedPodTemplate + * @memberof CoreV1ApideleteNamespace */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteNamespace + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteNamespacedPodTemplate + * @memberof CoreV1ApideleteNamespace */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedPodTemplate + * @memberof CoreV1ApideleteNamespace */ propagationPolicy?: string /** * * @type V1DeleteOptions - * @memberof CoreV1ApideleteNamespacedPodTemplate + * @memberof CoreV1ApideleteNamespace */ body?: V1DeleteOptions } -export interface CoreV1ApiDeleteNamespacedReplicationControllerRequest { +export interface CoreV1ApiDeleteNamespacedConfigMapRequest { /** - * name of the ReplicationController + * name of the ConfigMap * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedReplicationController + * @memberof CoreV1ApideleteNamespacedConfigMap */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedReplicationController + * @memberof CoreV1ApideleteNamespacedConfigMap */ namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedReplicationController + * @memberof CoreV1ApideleteNamespacedConfigMap */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedReplicationController + * @memberof CoreV1ApideleteNamespacedConfigMap */ dryRun?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteNamespacedReplicationController + * @memberof CoreV1ApideleteNamespacedConfigMap */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteNamespacedConfigMap + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteNamespacedReplicationController + * @memberof CoreV1ApideleteNamespacedConfigMap */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedReplicationController + * @memberof CoreV1ApideleteNamespacedConfigMap */ propagationPolicy?: string /** * * @type V1DeleteOptions - * @memberof CoreV1ApideleteNamespacedReplicationController + * @memberof CoreV1ApideleteNamespacedConfigMap */ body?: V1DeleteOptions } -export interface CoreV1ApiDeleteNamespacedResourceQuotaRequest { +export interface CoreV1ApiDeleteNamespacedEndpointsRequest { /** - * name of the ResourceQuota + * name of the Endpoints * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedResourceQuota + * @memberof CoreV1ApideleteNamespacedEndpoints */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedResourceQuota + * @memberof CoreV1ApideleteNamespacedEndpoints */ namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedResourceQuota + * @memberof CoreV1ApideleteNamespacedEndpoints */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedResourceQuota + * @memberof CoreV1ApideleteNamespacedEndpoints */ dryRun?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteNamespacedResourceQuota + * @memberof CoreV1ApideleteNamespacedEndpoints */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteNamespacedEndpoints + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteNamespacedResourceQuota + * @memberof CoreV1ApideleteNamespacedEndpoints */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedResourceQuota + * @memberof CoreV1ApideleteNamespacedEndpoints */ propagationPolicy?: string /** * * @type V1DeleteOptions - * @memberof CoreV1ApideleteNamespacedResourceQuota + * @memberof CoreV1ApideleteNamespacedEndpoints */ body?: V1DeleteOptions } -export interface CoreV1ApiDeleteNamespacedSecretRequest { +export interface CoreV1ApiDeleteNamespacedEventRequest { /** - * name of the Secret + * name of the Event * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedSecret + * @memberof CoreV1ApideleteNamespacedEvent */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedSecret + * @memberof CoreV1ApideleteNamespacedEvent */ namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedSecret + * @memberof CoreV1ApideleteNamespacedEvent */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedSecret + * @memberof CoreV1ApideleteNamespacedEvent */ dryRun?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteNamespacedSecret + * @memberof CoreV1ApideleteNamespacedEvent */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteNamespacedEvent + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteNamespacedSecret + * @memberof CoreV1ApideleteNamespacedEvent */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedSecret + * @memberof CoreV1ApideleteNamespacedEvent */ propagationPolicy?: string /** * * @type V1DeleteOptions - * @memberof CoreV1ApideleteNamespacedSecret + * @memberof CoreV1ApideleteNamespacedEvent */ body?: V1DeleteOptions } -export interface CoreV1ApiDeleteNamespacedServiceRequest { +export interface CoreV1ApiDeleteNamespacedLimitRangeRequest { /** - * name of the Service + * name of the LimitRange * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedService + * @memberof CoreV1ApideleteNamespacedLimitRange */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedService + * @memberof CoreV1ApideleteNamespacedLimitRange */ namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedService + * @memberof CoreV1ApideleteNamespacedLimitRange */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedService + * @memberof CoreV1ApideleteNamespacedLimitRange */ dryRun?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteNamespacedService + * @memberof CoreV1ApideleteNamespacedLimitRange */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteNamespacedLimitRange + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteNamespacedService + * @memberof CoreV1ApideleteNamespacedLimitRange */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedService + * @memberof CoreV1ApideleteNamespacedLimitRange */ propagationPolicy?: string /** * * @type V1DeleteOptions - * @memberof CoreV1ApideleteNamespacedService + * @memberof CoreV1ApideleteNamespacedLimitRange */ body?: V1DeleteOptions } -export interface CoreV1ApiDeleteNamespacedServiceAccountRequest { +export interface CoreV1ApiDeleteNamespacedPersistentVolumeClaimRequest { /** - * name of the ServiceAccount + * name of the PersistentVolumeClaim * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedServiceAccount + * @memberof CoreV1ApideleteNamespacedPersistentVolumeClaim */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedServiceAccount + * @memberof CoreV1ApideleteNamespacedPersistentVolumeClaim */ namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedServiceAccount + * @memberof CoreV1ApideleteNamespacedPersistentVolumeClaim */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedServiceAccount + * @memberof CoreV1ApideleteNamespacedPersistentVolumeClaim */ dryRun?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteNamespacedServiceAccount + * @memberof CoreV1ApideleteNamespacedPersistentVolumeClaim */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteNamespacedPersistentVolumeClaim + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteNamespacedServiceAccount + * @memberof CoreV1ApideleteNamespacedPersistentVolumeClaim */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNamespacedServiceAccount + * @memberof CoreV1ApideleteNamespacedPersistentVolumeClaim */ propagationPolicy?: string /** * * @type V1DeleteOptions - * @memberof CoreV1ApideleteNamespacedServiceAccount + * @memberof CoreV1ApideleteNamespacedPersistentVolumeClaim */ body?: V1DeleteOptions } -export interface CoreV1ApiDeleteNodeRequest { +export interface CoreV1ApiDeleteNamespacedPodRequest { /** - * name of the Node + * name of the Pod * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNode + * @memberof CoreV1ApideleteNamespacedPod */ name: string + /** + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteNamespacedPod + */ + namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNode + * @memberof CoreV1ApideleteNamespacedPod */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNode + * @memberof CoreV1ApideleteNamespacedPod */ dryRun?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof CoreV1ApideleteNode + * @memberof CoreV1ApideleteNamespacedPod */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteNamespacedPod + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideleteNode + * @memberof CoreV1ApideleteNamespacedPod */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof CoreV1ApideleteNode + * @memberof CoreV1ApideleteNamespacedPod */ propagationPolicy?: string /** * * @type V1DeleteOptions - * @memberof CoreV1ApideleteNode + * @memberof CoreV1ApideleteNamespacedPod */ body?: V1DeleteOptions } -export interface CoreV1ApiDeletePersistentVolumeRequest { +export interface CoreV1ApiDeleteNamespacedPodTemplateRequest { /** - * name of the PersistentVolume + * name of the PodTemplate * Defaults to: undefined * @type string - * @memberof CoreV1ApideletePersistentVolume + * @memberof CoreV1ApideleteNamespacedPodTemplate */ name: string + /** + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteNamespacedPodTemplate + */ + namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApideletePersistentVolume + * @memberof CoreV1ApideleteNamespacedPodTemplate */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApideletePersistentVolume + * @memberof CoreV1ApideleteNamespacedPodTemplate */ dryRun?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof CoreV1ApideletePersistentVolume + * @memberof CoreV1ApideleteNamespacedPodTemplate */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteNamespacedPodTemplate + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof CoreV1ApideletePersistentVolume + * @memberof CoreV1ApideleteNamespacedPodTemplate */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof CoreV1ApideletePersistentVolume + * @memberof CoreV1ApideleteNamespacedPodTemplate */ propagationPolicy?: string /** * * @type V1DeleteOptions - * @memberof CoreV1ApideletePersistentVolume + * @memberof CoreV1ApideleteNamespacedPodTemplate */ body?: V1DeleteOptions } -export interface CoreV1ApiGetAPIResourcesRequest { -} - -export interface CoreV1ApiListComponentStatusRequest { - /** - * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * Defaults to: undefined - * @type boolean - * @memberof CoreV1ApilistComponentStatus - */ - allowWatchBookmarks?: boolean - /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * Defaults to: undefined - * @type string - * @memberof CoreV1ApilistComponentStatus - */ - _continue?: string +export interface CoreV1ApiDeleteNamespacedReplicationControllerRequest { /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * name of the ReplicationController * Defaults to: undefined * @type string - * @memberof CoreV1ApilistComponentStatus + * @memberof CoreV1ApideleteNamespacedReplicationController */ - fieldSelector?: string + name: string /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApilistComponentStatus - */ - labelSelector?: string - /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * Defaults to: undefined - * @type number - * @memberof CoreV1ApilistComponentStatus + * @memberof CoreV1ApideleteNamespacedReplicationController */ - limit?: number + namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApilistComponentStatus + * @memberof CoreV1ApideleteNamespacedReplicationController */ pretty?: string /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApilistComponentStatus + * @memberof CoreV1ApideleteNamespacedReplicationController */ - resourceVersion?: string + dryRun?: string /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined - * @type string - * @memberof CoreV1ApilistComponentStatus + * @type number + * @memberof CoreV1ApideleteNamespacedReplicationController */ - resourceVersionMatch?: string + gracePeriodSeconds?: number /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * Defaults to: undefined * @type boolean - * @memberof CoreV1ApilistComponentStatus + * @memberof CoreV1ApideleteNamespacedReplicationController */ - sendInitialEvents?: boolean + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined - * @type number - * @memberof CoreV1ApilistComponentStatus + * @type boolean + * @memberof CoreV1ApideleteNamespacedReplicationController */ - timeoutSeconds?: number + orphanDependents?: boolean /** - * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined - * @type boolean - * @memberof CoreV1ApilistComponentStatus + * @type string + * @memberof CoreV1ApideleteNamespacedReplicationController */ - watch?: boolean + propagationPolicy?: string + /** + * + * @type V1DeleteOptions + * @memberof CoreV1ApideleteNamespacedReplicationController + */ + body?: V1DeleteOptions } -export interface CoreV1ApiListConfigMapForAllNamespacesRequest { +export interface CoreV1ApiDeleteNamespacedResourceQuotaRequest { /** - * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * name of the ResourceQuota * Defaults to: undefined - * @type boolean - * @memberof CoreV1ApilistConfigMapForAllNamespaces + * @type string + * @memberof CoreV1ApideleteNamespacedResourceQuota */ - allowWatchBookmarks?: boolean + name: string /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof CoreV1ApilistConfigMapForAllNamespaces + * @memberof CoreV1ApideleteNamespacedResourceQuota */ - _continue?: string + namespace: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof CoreV1ApilistConfigMapForAllNamespaces + * @memberof CoreV1ApideleteNamespacedResourceQuota */ - fieldSelector?: string + pretty?: string /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof CoreV1ApilistConfigMapForAllNamespaces + * @memberof CoreV1ApideleteNamespacedResourceQuota + */ + dryRun?: string + /** + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * Defaults to: undefined + * @type number + * @memberof CoreV1ApideleteNamespacedResourceQuota + */ + gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteNamespacedResourceQuota + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean + /** + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteNamespacedResourceQuota + */ + orphanDependents?: boolean + /** + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteNamespacedResourceQuota + */ + propagationPolicy?: string + /** + * + * @type V1DeleteOptions + * @memberof CoreV1ApideleteNamespacedResourceQuota + */ + body?: V1DeleteOptions +} + +export interface CoreV1ApiDeleteNamespacedSecretRequest { + /** + * name of the Secret + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteNamespacedSecret + */ + name: string + /** + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteNamespacedSecret + */ + namespace: string + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteNamespacedSecret + */ + pretty?: string + /** + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteNamespacedSecret + */ + dryRun?: string + /** + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * Defaults to: undefined + * @type number + * @memberof CoreV1ApideleteNamespacedSecret + */ + gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteNamespacedSecret + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean + /** + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteNamespacedSecret + */ + orphanDependents?: boolean + /** + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteNamespacedSecret + */ + propagationPolicy?: string + /** + * + * @type V1DeleteOptions + * @memberof CoreV1ApideleteNamespacedSecret + */ + body?: V1DeleteOptions +} + +export interface CoreV1ApiDeleteNamespacedServiceRequest { + /** + * name of the Service + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteNamespacedService + */ + name: string + /** + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteNamespacedService + */ + namespace: string + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteNamespacedService + */ + pretty?: string + /** + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteNamespacedService + */ + dryRun?: string + /** + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * Defaults to: undefined + * @type number + * @memberof CoreV1ApideleteNamespacedService + */ + gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteNamespacedService + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean + /** + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteNamespacedService + */ + orphanDependents?: boolean + /** + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteNamespacedService + */ + propagationPolicy?: string + /** + * + * @type V1DeleteOptions + * @memberof CoreV1ApideleteNamespacedService + */ + body?: V1DeleteOptions +} + +export interface CoreV1ApiDeleteNamespacedServiceAccountRequest { + /** + * name of the ServiceAccount + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteNamespacedServiceAccount + */ + name: string + /** + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteNamespacedServiceAccount + */ + namespace: string + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteNamespacedServiceAccount + */ + pretty?: string + /** + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteNamespacedServiceAccount + */ + dryRun?: string + /** + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * Defaults to: undefined + * @type number + * @memberof CoreV1ApideleteNamespacedServiceAccount + */ + gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteNamespacedServiceAccount + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean + /** + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteNamespacedServiceAccount + */ + orphanDependents?: boolean + /** + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteNamespacedServiceAccount + */ + propagationPolicy?: string + /** + * + * @type V1DeleteOptions + * @memberof CoreV1ApideleteNamespacedServiceAccount + */ + body?: V1DeleteOptions +} + +export interface CoreV1ApiDeleteNodeRequest { + /** + * name of the Node + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteNode + */ + name: string + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteNode + */ + pretty?: string + /** + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteNode + */ + dryRun?: string + /** + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * Defaults to: undefined + * @type number + * @memberof CoreV1ApideleteNode + */ + gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteNode + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean + /** + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideleteNode + */ + orphanDependents?: boolean + /** + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideleteNode + */ + propagationPolicy?: string + /** + * + * @type V1DeleteOptions + * @memberof CoreV1ApideleteNode + */ + body?: V1DeleteOptions +} + +export interface CoreV1ApiDeletePersistentVolumeRequest { + /** + * name of the PersistentVolume + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideletePersistentVolume + */ + name: string + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideletePersistentVolume + */ + pretty?: string + /** + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideletePersistentVolume + */ + dryRun?: string + /** + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * Defaults to: undefined + * @type number + * @memberof CoreV1ApideletePersistentVolume + */ + gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideletePersistentVolume + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean + /** + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApideletePersistentVolume + */ + orphanDependents?: boolean + /** + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApideletePersistentVolume + */ + propagationPolicy?: string + /** + * + * @type V1DeleteOptions + * @memberof CoreV1ApideletePersistentVolume + */ + body?: V1DeleteOptions +} + +export interface CoreV1ApiGetAPIResourcesRequest { +} + +export interface CoreV1ApiListComponentStatusRequest { + /** + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApilistComponentStatus + */ + allowWatchBookmarks?: boolean + /** + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApilistComponentStatus + */ + _continue?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApilistComponentStatus + */ + fieldSelector?: string + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApilistComponentStatus + */ + labelSelector?: string + /** + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * Defaults to: undefined + * @type number + * @memberof CoreV1ApilistComponentStatus + */ + limit?: number + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof CoreV1ApilistComponentStatus + */ + pretty?: string + /** + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof CoreV1ApilistComponentStatus + */ + resourceVersion?: string + /** + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof CoreV1ApilistComponentStatus + */ + resourceVersionMatch?: string + /** + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApilistComponentStatus + */ + sendInitialEvents?: boolean + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * Defaults to: undefined + * @type number + * @memberof CoreV1ApilistComponentStatus + */ + timeoutSeconds?: number + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApilistComponentStatus + */ + watch?: boolean +} + +export interface CoreV1ApiListConfigMapForAllNamespacesRequest { + /** + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApilistConfigMapForAllNamespaces + */ + allowWatchBookmarks?: boolean + /** + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApilistConfigMapForAllNamespaces + */ + _continue?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApilistConfigMapForAllNamespaces + */ + fieldSelector?: string + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApilistConfigMapForAllNamespaces */ labelSelector?: string /** @@ -24691,6 +25652,64 @@ export interface CoreV1ApiPatchNamespacedPodEphemeralcontainersRequest { force?: boolean } +export interface CoreV1ApiPatchNamespacedPodResizeRequest { + /** + * name of the Pod + * Defaults to: undefined + * @type string + * @memberof CoreV1ApipatchNamespacedPodResize + */ + name: string + /** + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof CoreV1ApipatchNamespacedPodResize + */ + namespace: string + /** + * + * @type any + * @memberof CoreV1ApipatchNamespacedPodResize + */ + body: any + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof CoreV1ApipatchNamespacedPodResize + */ + pretty?: string + /** + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof CoreV1ApipatchNamespacedPodResize + */ + dryRun?: string + /** + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * Defaults to: undefined + * @type string + * @memberof CoreV1ApipatchNamespacedPodResize + */ + fieldManager?: string + /** + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApipatchNamespacedPodResize + */ + fieldValidation?: string + /** + * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * Defaults to: undefined + * @type boolean + * @memberof CoreV1ApipatchNamespacedPodResize + */ + force?: boolean +} + export interface CoreV1ApiPatchNamespacedPodStatusRequest { /** * name of the Pod @@ -25841,7 +26860,14 @@ export interface CoreV1ApiReadNamespacedPodLogRequest { */ sinceSeconds?: number /** - * If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime + * Specify which container log stream to return to the client. Acceptable values are \"All\", \"Stdout\" and \"Stderr\". If not specified, \"All\" is used, and both stdout and stderr are returned interleaved. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\". + * Defaults to: undefined + * @type string + * @memberof CoreV1ApireadNamespacedPodLog + */ + stream?: string + /** + * If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\". * Defaults to: undefined * @type number * @memberof CoreV1ApireadNamespacedPodLog @@ -25856,6 +26882,30 @@ export interface CoreV1ApiReadNamespacedPodLogRequest { timestamps?: boolean } +export interface CoreV1ApiReadNamespacedPodResizeRequest { + /** + * name of the Pod + * Defaults to: undefined + * @type string + * @memberof CoreV1ApireadNamespacedPodResize + */ + name: string + /** + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof CoreV1ApireadNamespacedPodResize + */ + namespace: string + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof CoreV1ApireadNamespacedPodResize + */ + pretty?: string +} + export interface CoreV1ApiReadNamespacedPodStatusRequest { /** * name of the Pod @@ -26728,6 +27778,57 @@ export interface CoreV1ApiReplaceNamespacedPodEphemeralcontainersRequest { fieldValidation?: string } +export interface CoreV1ApiReplaceNamespacedPodResizeRequest { + /** + * name of the Pod + * Defaults to: undefined + * @type string + * @memberof CoreV1ApireplaceNamespacedPodResize + */ + name: string + /** + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof CoreV1ApireplaceNamespacedPodResize + */ + namespace: string + /** + * + * @type V1Pod + * @memberof CoreV1ApireplaceNamespacedPodResize + */ + body: V1Pod + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof CoreV1ApireplaceNamespacedPodResize + */ + pretty?: string + /** + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof CoreV1ApireplaceNamespacedPodResize + */ + dryRun?: string + /** + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApireplaceNamespacedPodResize + */ + fieldManager?: string + /** + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Defaults to: undefined + * @type string + * @memberof CoreV1ApireplaceNamespacedPodResize + */ + fieldValidation?: string +} + export interface CoreV1ApiReplaceNamespacedPodStatusRequest { /** * name of the Pod @@ -28549,7 +29650,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteCollectionNamespacedConfigMapWithHttpInfo(param: CoreV1ApiDeleteCollectionNamespacedConfigMapRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedConfigMapWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedConfigMapWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -28557,7 +29658,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteCollectionNamespacedConfigMap(param: CoreV1ApiDeleteCollectionNamespacedConfigMapRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedConfigMap(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedConfigMap(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -28565,7 +29666,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteCollectionNamespacedEndpointsWithHttpInfo(param: CoreV1ApiDeleteCollectionNamespacedEndpointsRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedEndpointsWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedEndpointsWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -28573,7 +29674,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteCollectionNamespacedEndpoints(param: CoreV1ApiDeleteCollectionNamespacedEndpointsRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedEndpoints(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedEndpoints(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -28581,7 +29682,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteCollectionNamespacedEventWithHttpInfo(param: CoreV1ApiDeleteCollectionNamespacedEventRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedEventWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedEventWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -28589,7 +29690,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteCollectionNamespacedEvent(param: CoreV1ApiDeleteCollectionNamespacedEventRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedEvent(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedEvent(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -28597,7 +29698,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteCollectionNamespacedLimitRangeWithHttpInfo(param: CoreV1ApiDeleteCollectionNamespacedLimitRangeRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedLimitRangeWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedLimitRangeWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -28605,7 +29706,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteCollectionNamespacedLimitRange(param: CoreV1ApiDeleteCollectionNamespacedLimitRangeRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedLimitRange(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedLimitRange(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -28613,7 +29714,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteCollectionNamespacedPersistentVolumeClaimWithHttpInfo(param: CoreV1ApiDeleteCollectionNamespacedPersistentVolumeClaimRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedPersistentVolumeClaimWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedPersistentVolumeClaimWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -28621,7 +29722,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteCollectionNamespacedPersistentVolumeClaim(param: CoreV1ApiDeleteCollectionNamespacedPersistentVolumeClaimRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedPersistentVolumeClaim(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedPersistentVolumeClaim(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -28629,7 +29730,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteCollectionNamespacedPodWithHttpInfo(param: CoreV1ApiDeleteCollectionNamespacedPodRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedPodWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedPodWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -28637,7 +29738,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteCollectionNamespacedPod(param: CoreV1ApiDeleteCollectionNamespacedPodRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedPod(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedPod(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -28645,7 +29746,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteCollectionNamespacedPodTemplateWithHttpInfo(param: CoreV1ApiDeleteCollectionNamespacedPodTemplateRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedPodTemplateWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedPodTemplateWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -28653,7 +29754,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteCollectionNamespacedPodTemplate(param: CoreV1ApiDeleteCollectionNamespacedPodTemplateRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedPodTemplate(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedPodTemplate(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -28661,7 +29762,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteCollectionNamespacedReplicationControllerWithHttpInfo(param: CoreV1ApiDeleteCollectionNamespacedReplicationControllerRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedReplicationControllerWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedReplicationControllerWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -28669,7 +29770,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteCollectionNamespacedReplicationController(param: CoreV1ApiDeleteCollectionNamespacedReplicationControllerRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedReplicationController(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedReplicationController(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -28677,7 +29778,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteCollectionNamespacedResourceQuotaWithHttpInfo(param: CoreV1ApiDeleteCollectionNamespacedResourceQuotaRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedResourceQuotaWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedResourceQuotaWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -28685,7 +29786,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteCollectionNamespacedResourceQuota(param: CoreV1ApiDeleteCollectionNamespacedResourceQuotaRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedResourceQuota(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedResourceQuota(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -28693,7 +29794,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteCollectionNamespacedSecretWithHttpInfo(param: CoreV1ApiDeleteCollectionNamespacedSecretRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedSecretWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedSecretWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -28701,7 +29802,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteCollectionNamespacedSecret(param: CoreV1ApiDeleteCollectionNamespacedSecretRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedSecret(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedSecret(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -28709,7 +29810,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteCollectionNamespacedServiceWithHttpInfo(param: CoreV1ApiDeleteCollectionNamespacedServiceRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedServiceWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedServiceWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -28717,7 +29818,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteCollectionNamespacedService(param: CoreV1ApiDeleteCollectionNamespacedServiceRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedService(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedService(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -28725,7 +29826,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteCollectionNamespacedServiceAccountWithHttpInfo(param: CoreV1ApiDeleteCollectionNamespacedServiceAccountRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedServiceAccountWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedServiceAccountWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -28733,7 +29834,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteCollectionNamespacedServiceAccount(param: CoreV1ApiDeleteCollectionNamespacedServiceAccountRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedServiceAccount(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedServiceAccount(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -28741,7 +29842,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteCollectionNodeWithHttpInfo(param: CoreV1ApiDeleteCollectionNodeRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionNodeWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNodeWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -28749,7 +29850,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteCollectionNode(param: CoreV1ApiDeleteCollectionNodeRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionNode(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNode(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -28757,7 +29858,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteCollectionPersistentVolumeWithHttpInfo(param: CoreV1ApiDeleteCollectionPersistentVolumeRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionPersistentVolumeWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionPersistentVolumeWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -28765,7 +29866,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteCollectionPersistentVolume(param: CoreV1ApiDeleteCollectionPersistentVolumeRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionPersistentVolume(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionPersistentVolume(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -28773,7 +29874,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteNamespaceWithHttpInfo(param: CoreV1ApiDeleteNamespaceRequest, options?: Configuration): Promise> { - return this.api.deleteNamespaceWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespaceWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -28781,7 +29882,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteNamespace(param: CoreV1ApiDeleteNamespaceRequest, options?: Configuration): Promise { - return this.api.deleteNamespace(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespace(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -28789,7 +29890,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteNamespacedConfigMapWithHttpInfo(param: CoreV1ApiDeleteNamespacedConfigMapRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedConfigMapWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedConfigMapWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -28797,7 +29898,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteNamespacedConfigMap(param: CoreV1ApiDeleteNamespacedConfigMapRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedConfigMap(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedConfigMap(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -28805,7 +29906,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteNamespacedEndpointsWithHttpInfo(param: CoreV1ApiDeleteNamespacedEndpointsRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedEndpointsWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedEndpointsWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -28813,7 +29914,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteNamespacedEndpoints(param: CoreV1ApiDeleteNamespacedEndpointsRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedEndpoints(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedEndpoints(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -28821,7 +29922,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteNamespacedEventWithHttpInfo(param: CoreV1ApiDeleteNamespacedEventRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedEventWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedEventWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -28829,7 +29930,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteNamespacedEvent(param: CoreV1ApiDeleteNamespacedEventRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedEvent(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedEvent(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -28837,7 +29938,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteNamespacedLimitRangeWithHttpInfo(param: CoreV1ApiDeleteNamespacedLimitRangeRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedLimitRangeWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedLimitRangeWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -28845,7 +29946,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteNamespacedLimitRange(param: CoreV1ApiDeleteNamespacedLimitRangeRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedLimitRange(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedLimitRange(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -28853,7 +29954,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteNamespacedPersistentVolumeClaimWithHttpInfo(param: CoreV1ApiDeleteNamespacedPersistentVolumeClaimRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedPersistentVolumeClaimWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedPersistentVolumeClaimWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -28861,7 +29962,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteNamespacedPersistentVolumeClaim(param: CoreV1ApiDeleteNamespacedPersistentVolumeClaimRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedPersistentVolumeClaim(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedPersistentVolumeClaim(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -28869,7 +29970,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteNamespacedPodWithHttpInfo(param: CoreV1ApiDeleteNamespacedPodRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedPodWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedPodWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -28877,7 +29978,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteNamespacedPod(param: CoreV1ApiDeleteNamespacedPodRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedPod(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedPod(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -28885,7 +29986,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteNamespacedPodTemplateWithHttpInfo(param: CoreV1ApiDeleteNamespacedPodTemplateRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedPodTemplateWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedPodTemplateWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -28893,7 +29994,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteNamespacedPodTemplate(param: CoreV1ApiDeleteNamespacedPodTemplateRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedPodTemplate(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedPodTemplate(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -28901,7 +30002,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteNamespacedReplicationControllerWithHttpInfo(param: CoreV1ApiDeleteNamespacedReplicationControllerRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedReplicationControllerWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedReplicationControllerWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -28909,7 +30010,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteNamespacedReplicationController(param: CoreV1ApiDeleteNamespacedReplicationControllerRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedReplicationController(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedReplicationController(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -28917,7 +30018,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteNamespacedResourceQuotaWithHttpInfo(param: CoreV1ApiDeleteNamespacedResourceQuotaRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedResourceQuotaWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedResourceQuotaWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -28925,7 +30026,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteNamespacedResourceQuota(param: CoreV1ApiDeleteNamespacedResourceQuotaRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedResourceQuota(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedResourceQuota(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -28933,7 +30034,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteNamespacedSecretWithHttpInfo(param: CoreV1ApiDeleteNamespacedSecretRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedSecretWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedSecretWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -28941,7 +30042,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteNamespacedSecret(param: CoreV1ApiDeleteNamespacedSecretRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedSecret(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedSecret(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -28949,7 +30050,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteNamespacedServiceWithHttpInfo(param: CoreV1ApiDeleteNamespacedServiceRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedServiceWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedServiceWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -28957,7 +30058,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteNamespacedService(param: CoreV1ApiDeleteNamespacedServiceRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedService(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedService(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -28965,7 +30066,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteNamespacedServiceAccountWithHttpInfo(param: CoreV1ApiDeleteNamespacedServiceAccountRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedServiceAccountWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedServiceAccountWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -28973,7 +30074,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteNamespacedServiceAccount(param: CoreV1ApiDeleteNamespacedServiceAccountRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedServiceAccount(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedServiceAccount(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -28981,7 +30082,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteNodeWithHttpInfo(param: CoreV1ApiDeleteNodeRequest, options?: Configuration): Promise> { - return this.api.deleteNodeWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNodeWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -28989,7 +30090,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deleteNode(param: CoreV1ApiDeleteNodeRequest, options?: Configuration): Promise { - return this.api.deleteNode(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNode(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -28997,7 +30098,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deletePersistentVolumeWithHttpInfo(param: CoreV1ApiDeletePersistentVolumeRequest, options?: Configuration): Promise> { - return this.api.deletePersistentVolumeWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deletePersistentVolumeWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -29005,7 +30106,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public deletePersistentVolume(param: CoreV1ApiDeletePersistentVolumeRequest, options?: Configuration): Promise { - return this.api.deletePersistentVolume(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deletePersistentVolume(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -29632,6 +30733,22 @@ export class ObjectCoreV1Api { return this.api.patchNamespacedPodEphemeralcontainers(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); } + /** + * partially update resize of the specified Pod + * @param param the request object + */ + public patchNamespacedPodResizeWithHttpInfo(param: CoreV1ApiPatchNamespacedPodResizeRequest, options?: Configuration): Promise> { + return this.api.patchNamespacedPodResizeWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + + /** + * partially update resize of the specified Pod + * @param param the request object + */ + public patchNamespacedPodResize(param: CoreV1ApiPatchNamespacedPodResizeRequest, options?: Configuration): Promise { + return this.api.patchNamespacedPodResize(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + /** * partially update status of the specified Pod * @param param the request object @@ -30053,7 +31170,7 @@ export class ObjectCoreV1Api { * @param param the request object */ public readNamespacedPodLogWithHttpInfo(param: CoreV1ApiReadNamespacedPodLogRequest, options?: Configuration): Promise> { - return this.api.readNamespacedPodLogWithHttpInfo(param.name, param.namespace, param.container, param.follow, param.insecureSkipTLSVerifyBackend, param.limitBytes, param.pretty, param.previous, param.sinceSeconds, param.tailLines, param.timestamps, options).toPromise(); + return this.api.readNamespacedPodLogWithHttpInfo(param.name, param.namespace, param.container, param.follow, param.insecureSkipTLSVerifyBackend, param.limitBytes, param.pretty, param.previous, param.sinceSeconds, param.stream, param.tailLines, param.timestamps, options).toPromise(); } /** @@ -30061,7 +31178,23 @@ export class ObjectCoreV1Api { * @param param the request object */ public readNamespacedPodLog(param: CoreV1ApiReadNamespacedPodLogRequest, options?: Configuration): Promise { - return this.api.readNamespacedPodLog(param.name, param.namespace, param.container, param.follow, param.insecureSkipTLSVerifyBackend, param.limitBytes, param.pretty, param.previous, param.sinceSeconds, param.tailLines, param.timestamps, options).toPromise(); + return this.api.readNamespacedPodLog(param.name, param.namespace, param.container, param.follow, param.insecureSkipTLSVerifyBackend, param.limitBytes, param.pretty, param.previous, param.sinceSeconds, param.stream, param.tailLines, param.timestamps, options).toPromise(); + } + + /** + * read resize of the specified Pod + * @param param the request object + */ + public readNamespacedPodResizeWithHttpInfo(param: CoreV1ApiReadNamespacedPodResizeRequest, options?: Configuration): Promise> { + return this.api.readNamespacedPodResizeWithHttpInfo(param.name, param.namespace, param.pretty, options).toPromise(); + } + + /** + * read resize of the specified Pod + * @param param the request object + */ + public readNamespacedPodResize(param: CoreV1ApiReadNamespacedPodResizeRequest, options?: Configuration): Promise { + return this.api.readNamespacedPodResize(param.name, param.namespace, param.pretty, options).toPromise(); } /** @@ -30480,6 +31613,22 @@ export class ObjectCoreV1Api { return this.api.replaceNamespacedPodEphemeralcontainers(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } + /** + * replace resize of the specified Pod + * @param param the request object + */ + public replaceNamespacedPodResizeWithHttpInfo(param: CoreV1ApiReplaceNamespacedPodResizeRequest, options?: Configuration): Promise> { + return this.api.replaceNamespacedPodResizeWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + + /** + * replace resize of the specified Pod + * @param param the request object + */ + public replaceNamespacedPodResize(param: CoreV1ApiReplaceNamespacedPodResizeRequest, options?: Configuration): Promise { + return this.api.replaceNamespacedPodResize(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** * replace status of the specified Pod * @param param the request object @@ -30722,8 +31871,8 @@ export class ObjectCoreV1Api { } -import { ObservableCustomObjectsApi } from "./ObservableAPI.js"; -import { CustomObjectsApiRequestFactory, CustomObjectsApiResponseProcessor} from "../apis/CustomObjectsApi.js"; +import { ObservableCustomObjectsApi } from "./ObservableAPI"; +import { CustomObjectsApiRequestFactory, CustomObjectsApiResponseProcessor} from "../apis/CustomObjectsApi"; export interface CustomObjectsApiCreateClusterCustomObjectRequest { /** @@ -32664,8 +33813,8 @@ export class ObjectCustomObjectsApi { } -import { ObservableDiscoveryApi } from "./ObservableAPI.js"; -import { DiscoveryApiRequestFactory, DiscoveryApiResponseProcessor} from "../apis/DiscoveryApi.js"; +import { ObservableDiscoveryApi } from "./ObservableAPI"; +import { DiscoveryApiRequestFactory, DiscoveryApiResponseProcessor} from "../apis/DiscoveryApi"; export interface DiscoveryApiGetAPIGroupRequest { } @@ -32695,8 +33844,8 @@ export class ObjectDiscoveryApi { } -import { ObservableDiscoveryV1Api } from "./ObservableAPI.js"; -import { DiscoveryV1ApiRequestFactory, DiscoveryV1ApiResponseProcessor} from "../apis/DiscoveryV1Api.js"; +import { ObservableDiscoveryV1Api } from "./ObservableAPI"; +import { DiscoveryV1ApiRequestFactory, DiscoveryV1ApiResponseProcessor} from "../apis/DiscoveryV1Api"; export interface DiscoveryV1ApiCreateNamespacedEndpointSliceRequest { /** @@ -32785,6 +33934,13 @@ export interface DiscoveryV1ApiDeleteCollectionNamespacedEndpointSliceRequest { * @memberof DiscoveryV1ApideleteCollectionNamespacedEndpointSlice */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof DiscoveryV1ApideleteCollectionNamespacedEndpointSlice + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -32885,6 +34041,13 @@ export interface DiscoveryV1ApiDeleteNamespacedEndpointSliceRequest { * @memberof DiscoveryV1ApideleteNamespacedEndpointSlice */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof DiscoveryV1ApideleteNamespacedEndpointSlice + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -33238,7 +34401,7 @@ export class ObjectDiscoveryV1Api { * @param param the request object */ public deleteCollectionNamespacedEndpointSliceWithHttpInfo(param: DiscoveryV1ApiDeleteCollectionNamespacedEndpointSliceRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedEndpointSliceWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedEndpointSliceWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -33246,7 +34409,7 @@ export class ObjectDiscoveryV1Api { * @param param the request object */ public deleteCollectionNamespacedEndpointSlice(param: DiscoveryV1ApiDeleteCollectionNamespacedEndpointSliceRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedEndpointSlice(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedEndpointSlice(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -33254,7 +34417,7 @@ export class ObjectDiscoveryV1Api { * @param param the request object */ public deleteNamespacedEndpointSliceWithHttpInfo(param: DiscoveryV1ApiDeleteNamespacedEndpointSliceRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedEndpointSliceWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedEndpointSliceWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -33262,7 +34425,7 @@ export class ObjectDiscoveryV1Api { * @param param the request object */ public deleteNamespacedEndpointSlice(param: DiscoveryV1ApiDeleteNamespacedEndpointSliceRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedEndpointSlice(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedEndpointSlice(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -33363,8 +34526,8 @@ export class ObjectDiscoveryV1Api { } -import { ObservableEventsApi } from "./ObservableAPI.js"; -import { EventsApiRequestFactory, EventsApiResponseProcessor} from "../apis/EventsApi.js"; +import { ObservableEventsApi } from "./ObservableAPI"; +import { EventsApiRequestFactory, EventsApiResponseProcessor} from "../apis/EventsApi"; export interface EventsApiGetAPIGroupRequest { } @@ -33394,8 +34557,8 @@ export class ObjectEventsApi { } -import { ObservableEventsV1Api } from "./ObservableAPI.js"; -import { EventsV1ApiRequestFactory, EventsV1ApiResponseProcessor} from "../apis/EventsV1Api.js"; +import { ObservableEventsV1Api } from "./ObservableAPI"; +import { EventsV1ApiRequestFactory, EventsV1ApiResponseProcessor} from "../apis/EventsV1Api"; export interface EventsV1ApiCreateNamespacedEventRequest { /** @@ -33484,6 +34647,13 @@ export interface EventsV1ApiDeleteCollectionNamespacedEventRequest { * @memberof EventsV1ApideleteCollectionNamespacedEvent */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof EventsV1ApideleteCollectionNamespacedEvent + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -33584,6 +34754,13 @@ export interface EventsV1ApiDeleteNamespacedEventRequest { * @memberof EventsV1ApideleteNamespacedEvent */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof EventsV1ApideleteNamespacedEvent + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -33937,7 +35114,7 @@ export class ObjectEventsV1Api { * @param param the request object */ public deleteCollectionNamespacedEventWithHttpInfo(param: EventsV1ApiDeleteCollectionNamespacedEventRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedEventWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedEventWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -33945,7 +35122,7 @@ export class ObjectEventsV1Api { * @param param the request object */ public deleteCollectionNamespacedEvent(param: EventsV1ApiDeleteCollectionNamespacedEventRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedEvent(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedEvent(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -33953,7 +35130,7 @@ export class ObjectEventsV1Api { * @param param the request object */ public deleteNamespacedEventWithHttpInfo(param: EventsV1ApiDeleteNamespacedEventRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedEventWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedEventWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -33961,7 +35138,7 @@ export class ObjectEventsV1Api { * @param param the request object */ public deleteNamespacedEvent(param: EventsV1ApiDeleteNamespacedEventRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedEvent(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedEvent(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -34062,8 +35239,8 @@ export class ObjectEventsV1Api { } -import { ObservableFlowcontrolApiserverApi } from "./ObservableAPI.js"; -import { FlowcontrolApiserverApiRequestFactory, FlowcontrolApiserverApiResponseProcessor} from "../apis/FlowcontrolApiserverApi.js"; +import { ObservableFlowcontrolApiserverApi } from "./ObservableAPI"; +import { FlowcontrolApiserverApiRequestFactory, FlowcontrolApiserverApiResponseProcessor} from "../apis/FlowcontrolApiserverApi"; export interface FlowcontrolApiserverApiGetAPIGroupRequest { } @@ -34093,8 +35270,8 @@ export class ObjectFlowcontrolApiserverApi { } -import { ObservableFlowcontrolApiserverV1Api } from "./ObservableAPI.js"; -import { FlowcontrolApiserverV1ApiRequestFactory, FlowcontrolApiserverV1ApiResponseProcessor} from "../apis/FlowcontrolApiserverV1Api.js"; +import { ObservableFlowcontrolApiserverV1Api } from "./ObservableAPI"; +import { FlowcontrolApiserverV1ApiRequestFactory, FlowcontrolApiserverV1ApiResponseProcessor} from "../apis/FlowcontrolApiserverV1Api"; export interface FlowcontrolApiserverV1ApiCreateFlowSchemaRequest { /** @@ -34206,6 +35383,13 @@ export interface FlowcontrolApiserverV1ApiDeleteCollectionFlowSchemaRequest { * @memberof FlowcontrolApiserverV1ApideleteCollectionFlowSchema */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof FlowcontrolApiserverV1ApideleteCollectionFlowSchema + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -34306,6 +35490,13 @@ export interface FlowcontrolApiserverV1ApiDeleteCollectionPriorityLevelConfigura * @memberof FlowcontrolApiserverV1ApideleteCollectionPriorityLevelConfiguration */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof FlowcontrolApiserverV1ApideleteCollectionPriorityLevelConfiguration + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -34399,6 +35590,13 @@ export interface FlowcontrolApiserverV1ApiDeleteFlowSchemaRequest { * @memberof FlowcontrolApiserverV1ApideleteFlowSchema */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof FlowcontrolApiserverV1ApideleteFlowSchema + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -34450,6 +35648,13 @@ export interface FlowcontrolApiserverV1ApiDeletePriorityLevelConfigurationReques * @memberof FlowcontrolApiserverV1ApideletePriorityLevelConfiguration */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof FlowcontrolApiserverV1ApideletePriorityLevelConfiguration + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -35127,7 +36332,7 @@ export class ObjectFlowcontrolApiserverV1Api { * @param param the request object */ public deleteCollectionFlowSchemaWithHttpInfo(param: FlowcontrolApiserverV1ApiDeleteCollectionFlowSchemaRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionFlowSchemaWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionFlowSchemaWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -35135,7 +36340,7 @@ export class ObjectFlowcontrolApiserverV1Api { * @param param the request object */ public deleteCollectionFlowSchema(param: FlowcontrolApiserverV1ApiDeleteCollectionFlowSchemaRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionFlowSchema(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionFlowSchema(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -35143,7 +36348,7 @@ export class ObjectFlowcontrolApiserverV1Api { * @param param the request object */ public deleteCollectionPriorityLevelConfigurationWithHttpInfo(param: FlowcontrolApiserverV1ApiDeleteCollectionPriorityLevelConfigurationRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionPriorityLevelConfigurationWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionPriorityLevelConfigurationWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -35151,7 +36356,7 @@ export class ObjectFlowcontrolApiserverV1Api { * @param param the request object */ public deleteCollectionPriorityLevelConfiguration(param: FlowcontrolApiserverV1ApiDeleteCollectionPriorityLevelConfigurationRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionPriorityLevelConfiguration(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionPriorityLevelConfiguration(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -35159,7 +36364,7 @@ export class ObjectFlowcontrolApiserverV1Api { * @param param the request object */ public deleteFlowSchemaWithHttpInfo(param: FlowcontrolApiserverV1ApiDeleteFlowSchemaRequest, options?: Configuration): Promise> { - return this.api.deleteFlowSchemaWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteFlowSchemaWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -35167,7 +36372,7 @@ export class ObjectFlowcontrolApiserverV1Api { * @param param the request object */ public deleteFlowSchema(param: FlowcontrolApiserverV1ApiDeleteFlowSchemaRequest, options?: Configuration): Promise { - return this.api.deleteFlowSchema(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteFlowSchema(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -35175,7 +36380,7 @@ export class ObjectFlowcontrolApiserverV1Api { * @param param the request object */ public deletePriorityLevelConfigurationWithHttpInfo(param: FlowcontrolApiserverV1ApiDeletePriorityLevelConfigurationRequest, options?: Configuration): Promise> { - return this.api.deletePriorityLevelConfigurationWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deletePriorityLevelConfigurationWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -35183,7 +36388,7 @@ export class ObjectFlowcontrolApiserverV1Api { * @param param the request object */ public deletePriorityLevelConfiguration(param: FlowcontrolApiserverV1ApiDeletePriorityLevelConfigurationRequest, options?: Configuration): Promise { - return this.api.deletePriorityLevelConfiguration(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deletePriorityLevelConfiguration(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -35428,1104 +36633,609 @@ export class ObjectFlowcontrolApiserverV1Api { } -import { ObservableFlowcontrolApiserverV1beta3Api } from "./ObservableAPI.js"; -import { FlowcontrolApiserverV1beta3ApiRequestFactory, FlowcontrolApiserverV1beta3ApiResponseProcessor} from "../apis/FlowcontrolApiserverV1beta3Api.js"; +import { ObservableInternalApiserverApi } from "./ObservableAPI"; +import { InternalApiserverApiRequestFactory, InternalApiserverApiResponseProcessor} from "../apis/InternalApiserverApi"; + +export interface InternalApiserverApiGetAPIGroupRequest { +} + +export class ObjectInternalApiserverApi { + private api: ObservableInternalApiserverApi + + public constructor(configuration: Configuration, requestFactory?: InternalApiserverApiRequestFactory, responseProcessor?: InternalApiserverApiResponseProcessor) { + this.api = new ObservableInternalApiserverApi(configuration, requestFactory, responseProcessor); + } -export interface FlowcontrolApiserverV1beta3ApiCreateFlowSchemaRequest { - /** - * - * @type V1beta3FlowSchema - * @memberof FlowcontrolApiserverV1beta3ApicreateFlowSchema - */ - body: V1beta3FlowSchema - /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApicreateFlowSchema - */ - pretty?: string - /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApicreateFlowSchema - */ - dryRun?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApicreateFlowSchema + * get information of a group + * @param param the request object */ - fieldManager?: string + public getAPIGroupWithHttpInfo(param: InternalApiserverApiGetAPIGroupRequest = {}, options?: Configuration): Promise> { + return this.api.getAPIGroupWithHttpInfo( options).toPromise(); + } + /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApicreateFlowSchema + * get information of a group + * @param param the request object */ - fieldValidation?: string + public getAPIGroup(param: InternalApiserverApiGetAPIGroupRequest = {}, options?: Configuration): Promise { + return this.api.getAPIGroup( options).toPromise(); + } + } -export interface FlowcontrolApiserverV1beta3ApiCreatePriorityLevelConfigurationRequest { +import { ObservableInternalApiserverV1alpha1Api } from "./ObservableAPI"; +import { InternalApiserverV1alpha1ApiRequestFactory, InternalApiserverV1alpha1ApiResponseProcessor} from "../apis/InternalApiserverV1alpha1Api"; + +export interface InternalApiserverV1alpha1ApiCreateStorageVersionRequest { /** * - * @type V1beta3PriorityLevelConfiguration - * @memberof FlowcontrolApiserverV1beta3ApicreatePriorityLevelConfiguration + * @type V1alpha1StorageVersion + * @memberof InternalApiserverV1alpha1ApicreateStorageVersion */ - body: V1beta3PriorityLevelConfiguration + body: V1alpha1StorageVersion /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApicreatePriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApicreateStorageVersion */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApicreatePriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApicreateStorageVersion */ dryRun?: string /** * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApicreatePriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApicreateStorageVersion */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApicreatePriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApicreateStorageVersion */ fieldValidation?: string } -export interface FlowcontrolApiserverV1beta3ApiDeleteCollectionFlowSchemaRequest { +export interface InternalApiserverV1alpha1ApiDeleteCollectionStorageVersionRequest { /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApideleteCollectionFlowSchema + * @memberof InternalApiserverV1alpha1ApideleteCollectionStorageVersion */ pretty?: string /** * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApideleteCollectionFlowSchema + * @memberof InternalApiserverV1alpha1ApideleteCollectionStorageVersion */ _continue?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApideleteCollectionFlowSchema + * @memberof InternalApiserverV1alpha1ApideleteCollectionStorageVersion */ dryRun?: string /** * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApideleteCollectionFlowSchema + * @memberof InternalApiserverV1alpha1ApideleteCollectionStorageVersion */ fieldSelector?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof FlowcontrolApiserverV1beta3ApideleteCollectionFlowSchema + * @memberof InternalApiserverV1alpha1ApideleteCollectionStorageVersion */ gracePeriodSeconds?: number /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApideleteCollectionFlowSchema - */ - labelSelector?: string - /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * Defaults to: undefined - * @type number - * @memberof FlowcontrolApiserverV1beta3ApideleteCollectionFlowSchema - */ - limit?: number - /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * Defaults to: undefined - * @type boolean - * @memberof FlowcontrolApiserverV1beta3ApideleteCollectionFlowSchema - */ - orphanDependents?: boolean - /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApideleteCollectionFlowSchema - */ - propagationPolicy?: string - /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApideleteCollectionFlowSchema - */ - resourceVersion?: string - /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApideleteCollectionFlowSchema - */ - resourceVersionMatch?: string - /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * Defaults to: undefined * @type boolean - * @memberof FlowcontrolApiserverV1beta3ApideleteCollectionFlowSchema - */ - sendInitialEvents?: boolean - /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * Defaults to: undefined - * @type number - * @memberof FlowcontrolApiserverV1beta3ApideleteCollectionFlowSchema - */ - timeoutSeconds?: number - /** - * - * @type V1DeleteOptions - * @memberof FlowcontrolApiserverV1beta3ApideleteCollectionFlowSchema - */ - body?: V1DeleteOptions -} - -export interface FlowcontrolApiserverV1beta3ApiDeleteCollectionPriorityLevelConfigurationRequest { - /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApideleteCollectionPriorityLevelConfiguration - */ - pretty?: string - /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApideleteCollectionPriorityLevelConfiguration - */ - _continue?: string - /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApideleteCollectionPriorityLevelConfiguration - */ - dryRun?: string - /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApideleteCollectionPriorityLevelConfiguration - */ - fieldSelector?: string - /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * Defaults to: undefined - * @type number - * @memberof FlowcontrolApiserverV1beta3ApideleteCollectionPriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApideleteCollectionStorageVersion */ - gracePeriodSeconds?: number + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApideleteCollectionPriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApideleteCollectionStorageVersion */ labelSelector?: string /** * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined * @type number - * @memberof FlowcontrolApiserverV1beta3ApideleteCollectionPriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApideleteCollectionStorageVersion */ limit?: number /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof FlowcontrolApiserverV1beta3ApideleteCollectionPriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApideleteCollectionStorageVersion */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApideleteCollectionPriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApideleteCollectionStorageVersion */ propagationPolicy?: string /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApideleteCollectionPriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApideleteCollectionStorageVersion */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApideleteCollectionPriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApideleteCollectionStorageVersion */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof FlowcontrolApiserverV1beta3ApideleteCollectionPriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApideleteCollectionStorageVersion */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof FlowcontrolApiserverV1beta3ApideleteCollectionPriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApideleteCollectionStorageVersion */ timeoutSeconds?: number /** * * @type V1DeleteOptions - * @memberof FlowcontrolApiserverV1beta3ApideleteCollectionPriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApideleteCollectionStorageVersion */ body?: V1DeleteOptions } -export interface FlowcontrolApiserverV1beta3ApiDeleteFlowSchemaRequest { +export interface InternalApiserverV1alpha1ApiDeleteStorageVersionRequest { /** - * name of the FlowSchema + * name of the StorageVersion * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApideleteFlowSchema + * @memberof InternalApiserverV1alpha1ApideleteStorageVersion */ name: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApideleteFlowSchema + * @memberof InternalApiserverV1alpha1ApideleteStorageVersion */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApideleteFlowSchema + * @memberof InternalApiserverV1alpha1ApideleteStorageVersion */ dryRun?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof FlowcontrolApiserverV1beta3ApideleteFlowSchema + * @memberof InternalApiserverV1alpha1ApideleteStorageVersion */ gracePeriodSeconds?: number /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * Defaults to: undefined * @type boolean - * @memberof FlowcontrolApiserverV1beta3ApideleteFlowSchema - */ - orphanDependents?: boolean - /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApideleteFlowSchema - */ - propagationPolicy?: string - /** - * - * @type V1DeleteOptions - * @memberof FlowcontrolApiserverV1beta3ApideleteFlowSchema - */ - body?: V1DeleteOptions -} - -export interface FlowcontrolApiserverV1beta3ApiDeletePriorityLevelConfigurationRequest { - /** - * name of the PriorityLevelConfiguration - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApideletePriorityLevelConfiguration - */ - name: string - /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApideletePriorityLevelConfiguration - */ - pretty?: string - /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApideletePriorityLevelConfiguration - */ - dryRun?: string - /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * Defaults to: undefined - * @type number - * @memberof FlowcontrolApiserverV1beta3ApideletePriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApideleteStorageVersion */ - gracePeriodSeconds?: number + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof FlowcontrolApiserverV1beta3ApideletePriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApideleteStorageVersion */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApideletePriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApideleteStorageVersion */ propagationPolicy?: string /** * * @type V1DeleteOptions - * @memberof FlowcontrolApiserverV1beta3ApideletePriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApideleteStorageVersion */ body?: V1DeleteOptions } -export interface FlowcontrolApiserverV1beta3ApiGetAPIResourcesRequest { -} - -export interface FlowcontrolApiserverV1beta3ApiListFlowSchemaRequest { - /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApilistFlowSchema - */ - pretty?: string - /** - * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * Defaults to: undefined - * @type boolean - * @memberof FlowcontrolApiserverV1beta3ApilistFlowSchema - */ - allowWatchBookmarks?: boolean - /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApilistFlowSchema - */ - _continue?: string - /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApilistFlowSchema - */ - fieldSelector?: string - /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApilistFlowSchema - */ - labelSelector?: string - /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * Defaults to: undefined - * @type number - * @memberof FlowcontrolApiserverV1beta3ApilistFlowSchema - */ - limit?: number - /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApilistFlowSchema - */ - resourceVersion?: string - /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApilistFlowSchema - */ - resourceVersionMatch?: string - /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * Defaults to: undefined - * @type boolean - * @memberof FlowcontrolApiserverV1beta3ApilistFlowSchema - */ - sendInitialEvents?: boolean - /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * Defaults to: undefined - * @type number - * @memberof FlowcontrolApiserverV1beta3ApilistFlowSchema - */ - timeoutSeconds?: number - /** - * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * Defaults to: undefined - * @type boolean - * @memberof FlowcontrolApiserverV1beta3ApilistFlowSchema - */ - watch?: boolean +export interface InternalApiserverV1alpha1ApiGetAPIResourcesRequest { } -export interface FlowcontrolApiserverV1beta3ApiListPriorityLevelConfigurationRequest { +export interface InternalApiserverV1alpha1ApiListStorageVersionRequest { /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApilistPriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApilistStorageVersion */ pretty?: string /** * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * Defaults to: undefined * @type boolean - * @memberof FlowcontrolApiserverV1beta3ApilistPriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApilistStorageVersion */ allowWatchBookmarks?: boolean /** * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApilistPriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApilistStorageVersion */ _continue?: string /** * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApilistPriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApilistStorageVersion */ fieldSelector?: string /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApilistPriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApilistStorageVersion */ labelSelector?: string /** * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined * @type number - * @memberof FlowcontrolApiserverV1beta3ApilistPriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApilistStorageVersion */ limit?: number /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApilistPriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApilistStorageVersion */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApilistPriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApilistStorageVersion */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof FlowcontrolApiserverV1beta3ApilistPriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApilistStorageVersion */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof FlowcontrolApiserverV1beta3ApilistPriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApilistStorageVersion */ timeoutSeconds?: number /** * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. * Defaults to: undefined * @type boolean - * @memberof FlowcontrolApiserverV1beta3ApilistPriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApilistStorageVersion */ watch?: boolean } -export interface FlowcontrolApiserverV1beta3ApiPatchFlowSchemaRequest { +export interface InternalApiserverV1alpha1ApiPatchStorageVersionRequest { /** - * name of the FlowSchema + * name of the StorageVersion * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApipatchFlowSchema + * @memberof InternalApiserverV1alpha1ApipatchStorageVersion */ name: string /** * * @type any - * @memberof FlowcontrolApiserverV1beta3ApipatchFlowSchema + * @memberof InternalApiserverV1alpha1ApipatchStorageVersion */ body: any /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApipatchFlowSchema + * @memberof InternalApiserverV1alpha1ApipatchStorageVersion */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApipatchFlowSchema + * @memberof InternalApiserverV1alpha1ApipatchStorageVersion */ dryRun?: string /** * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApipatchFlowSchema + * @memberof InternalApiserverV1alpha1ApipatchStorageVersion */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApipatchFlowSchema + * @memberof InternalApiserverV1alpha1ApipatchStorageVersion */ fieldValidation?: string /** * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. * Defaults to: undefined * @type boolean - * @memberof FlowcontrolApiserverV1beta3ApipatchFlowSchema + * @memberof InternalApiserverV1alpha1ApipatchStorageVersion */ force?: boolean } -export interface FlowcontrolApiserverV1beta3ApiPatchFlowSchemaStatusRequest { +export interface InternalApiserverV1alpha1ApiPatchStorageVersionStatusRequest { /** - * name of the FlowSchema + * name of the StorageVersion * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApipatchFlowSchemaStatus + * @memberof InternalApiserverV1alpha1ApipatchStorageVersionStatus */ name: string /** * * @type any - * @memberof FlowcontrolApiserverV1beta3ApipatchFlowSchemaStatus + * @memberof InternalApiserverV1alpha1ApipatchStorageVersionStatus */ body: any /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApipatchFlowSchemaStatus + * @memberof InternalApiserverV1alpha1ApipatchStorageVersionStatus */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApipatchFlowSchemaStatus + * @memberof InternalApiserverV1alpha1ApipatchStorageVersionStatus */ dryRun?: string /** * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApipatchFlowSchemaStatus + * @memberof InternalApiserverV1alpha1ApipatchStorageVersionStatus */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApipatchFlowSchemaStatus + * @memberof InternalApiserverV1alpha1ApipatchStorageVersionStatus */ fieldValidation?: string /** * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. * Defaults to: undefined * @type boolean - * @memberof FlowcontrolApiserverV1beta3ApipatchFlowSchemaStatus + * @memberof InternalApiserverV1alpha1ApipatchStorageVersionStatus */ force?: boolean } -export interface FlowcontrolApiserverV1beta3ApiPatchPriorityLevelConfigurationRequest { +export interface InternalApiserverV1alpha1ApiReadStorageVersionRequest { /** - * name of the PriorityLevelConfiguration + * name of the StorageVersion * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApipatchPriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApireadStorageVersion */ name: string - /** - * - * @type any - * @memberof FlowcontrolApiserverV1beta3ApipatchPriorityLevelConfiguration - */ - body: any /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApipatchPriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApireadStorageVersion */ pretty?: string +} + +export interface InternalApiserverV1alpha1ApiReadStorageVersionStatusRequest { /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * name of the StorageVersion * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApipatchPriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApireadStorageVersionStatus */ - dryRun?: string + name: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApipatchPriorityLevelConfiguration - */ - fieldManager?: string - /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApipatchPriorityLevelConfiguration - */ - fieldValidation?: string - /** - * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - * Defaults to: undefined - * @type boolean - * @memberof FlowcontrolApiserverV1beta3ApipatchPriorityLevelConfiguration - */ - force?: boolean -} - -export interface FlowcontrolApiserverV1beta3ApiPatchPriorityLevelConfigurationStatusRequest { - /** - * name of the PriorityLevelConfiguration - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApipatchPriorityLevelConfigurationStatus - */ - name: string - /** - * - * @type any - * @memberof FlowcontrolApiserverV1beta3ApipatchPriorityLevelConfigurationStatus - */ - body: any - /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApipatchPriorityLevelConfigurationStatus - */ - pretty?: string - /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApipatchPriorityLevelConfigurationStatus - */ - dryRun?: string - /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApipatchPriorityLevelConfigurationStatus - */ - fieldManager?: string - /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApipatchPriorityLevelConfigurationStatus - */ - fieldValidation?: string - /** - * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - * Defaults to: undefined - * @type boolean - * @memberof FlowcontrolApiserverV1beta3ApipatchPriorityLevelConfigurationStatus - */ - force?: boolean -} - -export interface FlowcontrolApiserverV1beta3ApiReadFlowSchemaRequest { - /** - * name of the FlowSchema - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApireadFlowSchema - */ - name: string - /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApireadFlowSchema - */ - pretty?: string -} - -export interface FlowcontrolApiserverV1beta3ApiReadFlowSchemaStatusRequest { - /** - * name of the FlowSchema - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApireadFlowSchemaStatus - */ - name: string - /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApireadFlowSchemaStatus - */ - pretty?: string -} - -export interface FlowcontrolApiserverV1beta3ApiReadPriorityLevelConfigurationRequest { - /** - * name of the PriorityLevelConfiguration - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApireadPriorityLevelConfiguration - */ - name: string - /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApireadPriorityLevelConfiguration - */ - pretty?: string -} - -export interface FlowcontrolApiserverV1beta3ApiReadPriorityLevelConfigurationStatusRequest { - /** - * name of the PriorityLevelConfiguration - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApireadPriorityLevelConfigurationStatus - */ - name: string - /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApireadPriorityLevelConfigurationStatus - */ - pretty?: string -} - -export interface FlowcontrolApiserverV1beta3ApiReplaceFlowSchemaRequest { - /** - * name of the FlowSchema - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApireplaceFlowSchema - */ - name: string - /** - * - * @type V1beta3FlowSchema - * @memberof FlowcontrolApiserverV1beta3ApireplaceFlowSchema - */ - body: V1beta3FlowSchema - /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApireplaceFlowSchema - */ - pretty?: string - /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApireplaceFlowSchema - */ - dryRun?: string - /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApireplaceFlowSchema - */ - fieldManager?: string - /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApireplaceFlowSchema - */ - fieldValidation?: string -} - -export interface FlowcontrolApiserverV1beta3ApiReplaceFlowSchemaStatusRequest { - /** - * name of the FlowSchema - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApireplaceFlowSchemaStatus - */ - name: string - /** - * - * @type V1beta3FlowSchema - * @memberof FlowcontrolApiserverV1beta3ApireplaceFlowSchemaStatus - */ - body: V1beta3FlowSchema - /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApireplaceFlowSchemaStatus + * @memberof InternalApiserverV1alpha1ApireadStorageVersionStatus */ pretty?: string - /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApireplaceFlowSchemaStatus - */ - dryRun?: string - /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApireplaceFlowSchemaStatus - */ - fieldManager?: string - /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * Defaults to: undefined - * @type string - * @memberof FlowcontrolApiserverV1beta3ApireplaceFlowSchemaStatus - */ - fieldValidation?: string } -export interface FlowcontrolApiserverV1beta3ApiReplacePriorityLevelConfigurationRequest { +export interface InternalApiserverV1alpha1ApiReplaceStorageVersionRequest { /** - * name of the PriorityLevelConfiguration + * name of the StorageVersion * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApireplacePriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApireplaceStorageVersion */ name: string /** * - * @type V1beta3PriorityLevelConfiguration - * @memberof FlowcontrolApiserverV1beta3ApireplacePriorityLevelConfiguration + * @type V1alpha1StorageVersion + * @memberof InternalApiserverV1alpha1ApireplaceStorageVersion */ - body: V1beta3PriorityLevelConfiguration + body: V1alpha1StorageVersion /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApireplacePriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApireplaceStorageVersion */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApireplacePriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApireplaceStorageVersion */ dryRun?: string /** * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApireplacePriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApireplaceStorageVersion */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApireplacePriorityLevelConfiguration + * @memberof InternalApiserverV1alpha1ApireplaceStorageVersion */ fieldValidation?: string } -export interface FlowcontrolApiserverV1beta3ApiReplacePriorityLevelConfigurationStatusRequest { +export interface InternalApiserverV1alpha1ApiReplaceStorageVersionStatusRequest { /** - * name of the PriorityLevelConfiguration + * name of the StorageVersion * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApireplacePriorityLevelConfigurationStatus + * @memberof InternalApiserverV1alpha1ApireplaceStorageVersionStatus */ name: string /** * - * @type V1beta3PriorityLevelConfiguration - * @memberof FlowcontrolApiserverV1beta3ApireplacePriorityLevelConfigurationStatus + * @type V1alpha1StorageVersion + * @memberof InternalApiserverV1alpha1ApireplaceStorageVersionStatus */ - body: V1beta3PriorityLevelConfiguration + body: V1alpha1StorageVersion /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApireplacePriorityLevelConfigurationStatus + * @memberof InternalApiserverV1alpha1ApireplaceStorageVersionStatus */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApireplacePriorityLevelConfigurationStatus + * @memberof InternalApiserverV1alpha1ApireplaceStorageVersionStatus */ dryRun?: string /** * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApireplacePriorityLevelConfigurationStatus + * @memberof InternalApiserverV1alpha1ApireplaceStorageVersionStatus */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof FlowcontrolApiserverV1beta3ApireplacePriorityLevelConfigurationStatus + * @memberof InternalApiserverV1alpha1ApireplaceStorageVersionStatus */ fieldValidation?: string } -export class ObjectFlowcontrolApiserverV1beta3Api { - private api: ObservableFlowcontrolApiserverV1beta3Api - - public constructor(configuration: Configuration, requestFactory?: FlowcontrolApiserverV1beta3ApiRequestFactory, responseProcessor?: FlowcontrolApiserverV1beta3ApiResponseProcessor) { - this.api = new ObservableFlowcontrolApiserverV1beta3Api(configuration, requestFactory, responseProcessor); - } - - /** - * create a FlowSchema - * @param param the request object - */ - public createFlowSchemaWithHttpInfo(param: FlowcontrolApiserverV1beta3ApiCreateFlowSchemaRequest, options?: Configuration): Promise> { - return this.api.createFlowSchemaWithHttpInfo(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - - /** - * create a FlowSchema - * @param param the request object - */ - public createFlowSchema(param: FlowcontrolApiserverV1beta3ApiCreateFlowSchemaRequest, options?: Configuration): Promise { - return this.api.createFlowSchema(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - - /** - * create a PriorityLevelConfiguration - * @param param the request object - */ - public createPriorityLevelConfigurationWithHttpInfo(param: FlowcontrolApiserverV1beta3ApiCreatePriorityLevelConfigurationRequest, options?: Configuration): Promise> { - return this.api.createPriorityLevelConfigurationWithHttpInfo(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - - /** - * create a PriorityLevelConfiguration - * @param param the request object - */ - public createPriorityLevelConfiguration(param: FlowcontrolApiserverV1beta3ApiCreatePriorityLevelConfigurationRequest, options?: Configuration): Promise { - return this.api.createPriorityLevelConfiguration(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - - /** - * delete collection of FlowSchema - * @param param the request object - */ - public deleteCollectionFlowSchemaWithHttpInfo(param: FlowcontrolApiserverV1beta3ApiDeleteCollectionFlowSchemaRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionFlowSchemaWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); - } +export class ObjectInternalApiserverV1alpha1Api { + private api: ObservableInternalApiserverV1alpha1Api - /** - * delete collection of FlowSchema - * @param param the request object - */ - public deleteCollectionFlowSchema(param: FlowcontrolApiserverV1beta3ApiDeleteCollectionFlowSchemaRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionFlowSchema(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + public constructor(configuration: Configuration, requestFactory?: InternalApiserverV1alpha1ApiRequestFactory, responseProcessor?: InternalApiserverV1alpha1ApiResponseProcessor) { + this.api = new ObservableInternalApiserverV1alpha1Api(configuration, requestFactory, responseProcessor); } /** - * delete collection of PriorityLevelConfiguration + * create a StorageVersion * @param param the request object */ - public deleteCollectionPriorityLevelConfigurationWithHttpInfo(param: FlowcontrolApiserverV1beta3ApiDeleteCollectionPriorityLevelConfigurationRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionPriorityLevelConfigurationWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + public createStorageVersionWithHttpInfo(param: InternalApiserverV1alpha1ApiCreateStorageVersionRequest, options?: Configuration): Promise> { + return this.api.createStorageVersionWithHttpInfo(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } /** - * delete collection of PriorityLevelConfiguration + * create a StorageVersion * @param param the request object */ - public deleteCollectionPriorityLevelConfiguration(param: FlowcontrolApiserverV1beta3ApiDeleteCollectionPriorityLevelConfigurationRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionPriorityLevelConfiguration(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + public createStorageVersion(param: InternalApiserverV1alpha1ApiCreateStorageVersionRequest, options?: Configuration): Promise { + return this.api.createStorageVersion(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } /** - * delete a FlowSchema + * delete collection of StorageVersion * @param param the request object */ - public deleteFlowSchemaWithHttpInfo(param: FlowcontrolApiserverV1beta3ApiDeleteFlowSchemaRequest, options?: Configuration): Promise> { - return this.api.deleteFlowSchemaWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + public deleteCollectionStorageVersionWithHttpInfo(param: InternalApiserverV1alpha1ApiDeleteCollectionStorageVersionRequest = {}, options?: Configuration): Promise> { + return this.api.deleteCollectionStorageVersionWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** - * delete a FlowSchema + * delete collection of StorageVersion * @param param the request object */ - public deleteFlowSchema(param: FlowcontrolApiserverV1beta3ApiDeleteFlowSchemaRequest, options?: Configuration): Promise { - return this.api.deleteFlowSchema(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + public deleteCollectionStorageVersion(param: InternalApiserverV1alpha1ApiDeleteCollectionStorageVersionRequest = {}, options?: Configuration): Promise { + return this.api.deleteCollectionStorageVersion(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** - * delete a PriorityLevelConfiguration + * delete a StorageVersion * @param param the request object */ - public deletePriorityLevelConfigurationWithHttpInfo(param: FlowcontrolApiserverV1beta3ApiDeletePriorityLevelConfigurationRequest, options?: Configuration): Promise> { - return this.api.deletePriorityLevelConfigurationWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + public deleteStorageVersionWithHttpInfo(param: InternalApiserverV1alpha1ApiDeleteStorageVersionRequest, options?: Configuration): Promise> { + return this.api.deleteStorageVersionWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** - * delete a PriorityLevelConfiguration + * delete a StorageVersion * @param param the request object */ - public deletePriorityLevelConfiguration(param: FlowcontrolApiserverV1beta3ApiDeletePriorityLevelConfigurationRequest, options?: Configuration): Promise { - return this.api.deletePriorityLevelConfiguration(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + public deleteStorageVersion(param: InternalApiserverV1alpha1ApiDeleteStorageVersionRequest, options?: Configuration): Promise { + return this.api.deleteStorageVersion(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** * get available resources * @param param the request object */ - public getAPIResourcesWithHttpInfo(param: FlowcontrolApiserverV1beta3ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise> { + public getAPIResourcesWithHttpInfo(param: InternalApiserverV1alpha1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise> { return this.api.getAPIResourcesWithHttpInfo( options).toPromise(); } @@ -36533,254 +37243,195 @@ export class ObjectFlowcontrolApiserverV1beta3Api { * get available resources * @param param the request object */ - public getAPIResources(param: FlowcontrolApiserverV1beta3ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise { + public getAPIResources(param: InternalApiserverV1alpha1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise { return this.api.getAPIResources( options).toPromise(); } /** - * list or watch objects of kind FlowSchema - * @param param the request object - */ - public listFlowSchemaWithHttpInfo(param: FlowcontrolApiserverV1beta3ApiListFlowSchemaRequest = {}, options?: Configuration): Promise> { - return this.api.listFlowSchemaWithHttpInfo(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - - /** - * list or watch objects of kind FlowSchema - * @param param the request object - */ - public listFlowSchema(param: FlowcontrolApiserverV1beta3ApiListFlowSchemaRequest = {}, options?: Configuration): Promise { - return this.api.listFlowSchema(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - - /** - * list or watch objects of kind PriorityLevelConfiguration - * @param param the request object - */ - public listPriorityLevelConfigurationWithHttpInfo(param: FlowcontrolApiserverV1beta3ApiListPriorityLevelConfigurationRequest = {}, options?: Configuration): Promise> { - return this.api.listPriorityLevelConfigurationWithHttpInfo(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - - /** - * list or watch objects of kind PriorityLevelConfiguration - * @param param the request object - */ - public listPriorityLevelConfiguration(param: FlowcontrolApiserverV1beta3ApiListPriorityLevelConfigurationRequest = {}, options?: Configuration): Promise { - return this.api.listPriorityLevelConfiguration(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - - /** - * partially update the specified FlowSchema + * list or watch objects of kind StorageVersion * @param param the request object */ - public patchFlowSchemaWithHttpInfo(param: FlowcontrolApiserverV1beta3ApiPatchFlowSchemaRequest, options?: Configuration): Promise> { - return this.api.patchFlowSchemaWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + public listStorageVersionWithHttpInfo(param: InternalApiserverV1alpha1ApiListStorageVersionRequest = {}, options?: Configuration): Promise> { + return this.api.listStorageVersionWithHttpInfo(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); } /** - * partially update the specified FlowSchema + * list or watch objects of kind StorageVersion * @param param the request object */ - public patchFlowSchema(param: FlowcontrolApiserverV1beta3ApiPatchFlowSchemaRequest, options?: Configuration): Promise { - return this.api.patchFlowSchema(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + public listStorageVersion(param: InternalApiserverV1alpha1ApiListStorageVersionRequest = {}, options?: Configuration): Promise { + return this.api.listStorageVersion(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); } /** - * partially update status of the specified FlowSchema + * partially update the specified StorageVersion * @param param the request object */ - public patchFlowSchemaStatusWithHttpInfo(param: FlowcontrolApiserverV1beta3ApiPatchFlowSchemaStatusRequest, options?: Configuration): Promise> { - return this.api.patchFlowSchemaStatusWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + public patchStorageVersionWithHttpInfo(param: InternalApiserverV1alpha1ApiPatchStorageVersionRequest, options?: Configuration): Promise> { + return this.api.patchStorageVersionWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); } /** - * partially update status of the specified FlowSchema + * partially update the specified StorageVersion * @param param the request object */ - public patchFlowSchemaStatus(param: FlowcontrolApiserverV1beta3ApiPatchFlowSchemaStatusRequest, options?: Configuration): Promise { - return this.api.patchFlowSchemaStatus(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + public patchStorageVersion(param: InternalApiserverV1alpha1ApiPatchStorageVersionRequest, options?: Configuration): Promise { + return this.api.patchStorageVersion(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); } /** - * partially update the specified PriorityLevelConfiguration + * partially update status of the specified StorageVersion * @param param the request object */ - public patchPriorityLevelConfigurationWithHttpInfo(param: FlowcontrolApiserverV1beta3ApiPatchPriorityLevelConfigurationRequest, options?: Configuration): Promise> { - return this.api.patchPriorityLevelConfigurationWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + public patchStorageVersionStatusWithHttpInfo(param: InternalApiserverV1alpha1ApiPatchStorageVersionStatusRequest, options?: Configuration): Promise> { + return this.api.patchStorageVersionStatusWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); } /** - * partially update the specified PriorityLevelConfiguration + * partially update status of the specified StorageVersion * @param param the request object */ - public patchPriorityLevelConfiguration(param: FlowcontrolApiserverV1beta3ApiPatchPriorityLevelConfigurationRequest, options?: Configuration): Promise { - return this.api.patchPriorityLevelConfiguration(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + public patchStorageVersionStatus(param: InternalApiserverV1alpha1ApiPatchStorageVersionStatusRequest, options?: Configuration): Promise { + return this.api.patchStorageVersionStatus(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); } /** - * partially update status of the specified PriorityLevelConfiguration + * read the specified StorageVersion * @param param the request object */ - public patchPriorityLevelConfigurationStatusWithHttpInfo(param: FlowcontrolApiserverV1beta3ApiPatchPriorityLevelConfigurationStatusRequest, options?: Configuration): Promise> { - return this.api.patchPriorityLevelConfigurationStatusWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + public readStorageVersionWithHttpInfo(param: InternalApiserverV1alpha1ApiReadStorageVersionRequest, options?: Configuration): Promise> { + return this.api.readStorageVersionWithHttpInfo(param.name, param.pretty, options).toPromise(); } /** - * partially update status of the specified PriorityLevelConfiguration + * read the specified StorageVersion * @param param the request object */ - public patchPriorityLevelConfigurationStatus(param: FlowcontrolApiserverV1beta3ApiPatchPriorityLevelConfigurationStatusRequest, options?: Configuration): Promise { - return this.api.patchPriorityLevelConfigurationStatus(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + public readStorageVersion(param: InternalApiserverV1alpha1ApiReadStorageVersionRequest, options?: Configuration): Promise { + return this.api.readStorageVersion(param.name, param.pretty, options).toPromise(); } /** - * read the specified FlowSchema + * read status of the specified StorageVersion * @param param the request object */ - public readFlowSchemaWithHttpInfo(param: FlowcontrolApiserverV1beta3ApiReadFlowSchemaRequest, options?: Configuration): Promise> { - return this.api.readFlowSchemaWithHttpInfo(param.name, param.pretty, options).toPromise(); + public readStorageVersionStatusWithHttpInfo(param: InternalApiserverV1alpha1ApiReadStorageVersionStatusRequest, options?: Configuration): Promise> { + return this.api.readStorageVersionStatusWithHttpInfo(param.name, param.pretty, options).toPromise(); } /** - * read the specified FlowSchema + * read status of the specified StorageVersion * @param param the request object */ - public readFlowSchema(param: FlowcontrolApiserverV1beta3ApiReadFlowSchemaRequest, options?: Configuration): Promise { - return this.api.readFlowSchema(param.name, param.pretty, options).toPromise(); + public readStorageVersionStatus(param: InternalApiserverV1alpha1ApiReadStorageVersionStatusRequest, options?: Configuration): Promise { + return this.api.readStorageVersionStatus(param.name, param.pretty, options).toPromise(); } /** - * read status of the specified FlowSchema + * replace the specified StorageVersion * @param param the request object */ - public readFlowSchemaStatusWithHttpInfo(param: FlowcontrolApiserverV1beta3ApiReadFlowSchemaStatusRequest, options?: Configuration): Promise> { - return this.api.readFlowSchemaStatusWithHttpInfo(param.name, param.pretty, options).toPromise(); + public replaceStorageVersionWithHttpInfo(param: InternalApiserverV1alpha1ApiReplaceStorageVersionRequest, options?: Configuration): Promise> { + return this.api.replaceStorageVersionWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } /** - * read status of the specified FlowSchema + * replace the specified StorageVersion * @param param the request object */ - public readFlowSchemaStatus(param: FlowcontrolApiserverV1beta3ApiReadFlowSchemaStatusRequest, options?: Configuration): Promise { - return this.api.readFlowSchemaStatus(param.name, param.pretty, options).toPromise(); + public replaceStorageVersion(param: InternalApiserverV1alpha1ApiReplaceStorageVersionRequest, options?: Configuration): Promise { + return this.api.replaceStorageVersion(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } /** - * read the specified PriorityLevelConfiguration + * replace status of the specified StorageVersion * @param param the request object */ - public readPriorityLevelConfigurationWithHttpInfo(param: FlowcontrolApiserverV1beta3ApiReadPriorityLevelConfigurationRequest, options?: Configuration): Promise> { - return this.api.readPriorityLevelConfigurationWithHttpInfo(param.name, param.pretty, options).toPromise(); + public replaceStorageVersionStatusWithHttpInfo(param: InternalApiserverV1alpha1ApiReplaceStorageVersionStatusRequest, options?: Configuration): Promise> { + return this.api.replaceStorageVersionStatusWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } /** - * read the specified PriorityLevelConfiguration + * replace status of the specified StorageVersion * @param param the request object */ - public readPriorityLevelConfiguration(param: FlowcontrolApiserverV1beta3ApiReadPriorityLevelConfigurationRequest, options?: Configuration): Promise { - return this.api.readPriorityLevelConfiguration(param.name, param.pretty, options).toPromise(); + public replaceStorageVersionStatus(param: InternalApiserverV1alpha1ApiReplaceStorageVersionStatusRequest, options?: Configuration): Promise { + return this.api.replaceStorageVersionStatus(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } - /** - * read status of the specified PriorityLevelConfiguration - * @param param the request object - */ - public readPriorityLevelConfigurationStatusWithHttpInfo(param: FlowcontrolApiserverV1beta3ApiReadPriorityLevelConfigurationStatusRequest, options?: Configuration): Promise> { - return this.api.readPriorityLevelConfigurationStatusWithHttpInfo(param.name, param.pretty, options).toPromise(); - } +} - /** - * read status of the specified PriorityLevelConfiguration - * @param param the request object - */ - public readPriorityLevelConfigurationStatus(param: FlowcontrolApiserverV1beta3ApiReadPriorityLevelConfigurationStatusRequest, options?: Configuration): Promise { - return this.api.readPriorityLevelConfigurationStatus(param.name, param.pretty, options).toPromise(); - } +import { ObservableLogsApi } from "./ObservableAPI"; +import { LogsApiRequestFactory, LogsApiResponseProcessor} from "../apis/LogsApi"; +export interface LogsApiLogFileHandlerRequest { /** - * replace the specified FlowSchema - * @param param the request object + * path to the log + * Defaults to: undefined + * @type string + * @memberof LogsApilogFileHandler */ - public replaceFlowSchemaWithHttpInfo(param: FlowcontrolApiserverV1beta3ApiReplaceFlowSchemaRequest, options?: Configuration): Promise> { - return this.api.replaceFlowSchemaWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } + logpath: string +} - /** - * replace the specified FlowSchema - * @param param the request object - */ - public replaceFlowSchema(param: FlowcontrolApiserverV1beta3ApiReplaceFlowSchemaRequest, options?: Configuration): Promise { - return this.api.replaceFlowSchema(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } +export interface LogsApiLogFileListHandlerRequest { +} - /** - * replace status of the specified FlowSchema - * @param param the request object - */ - public replaceFlowSchemaStatusWithHttpInfo(param: FlowcontrolApiserverV1beta3ApiReplaceFlowSchemaStatusRequest, options?: Configuration): Promise> { - return this.api.replaceFlowSchemaStatusWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } +export class ObjectLogsApi { + private api: ObservableLogsApi - /** - * replace status of the specified FlowSchema - * @param param the request object - */ - public replaceFlowSchemaStatus(param: FlowcontrolApiserverV1beta3ApiReplaceFlowSchemaStatusRequest, options?: Configuration): Promise { - return this.api.replaceFlowSchemaStatus(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + public constructor(configuration: Configuration, requestFactory?: LogsApiRequestFactory, responseProcessor?: LogsApiResponseProcessor) { + this.api = new ObservableLogsApi(configuration, requestFactory, responseProcessor); } /** - * replace the specified PriorityLevelConfiguration * @param param the request object */ - public replacePriorityLevelConfigurationWithHttpInfo(param: FlowcontrolApiserverV1beta3ApiReplacePriorityLevelConfigurationRequest, options?: Configuration): Promise> { - return this.api.replacePriorityLevelConfigurationWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + public logFileHandlerWithHttpInfo(param: LogsApiLogFileHandlerRequest, options?: Configuration): Promise> { + return this.api.logFileHandlerWithHttpInfo(param.logpath, options).toPromise(); } /** - * replace the specified PriorityLevelConfiguration * @param param the request object */ - public replacePriorityLevelConfiguration(param: FlowcontrolApiserverV1beta3ApiReplacePriorityLevelConfigurationRequest, options?: Configuration): Promise { - return this.api.replacePriorityLevelConfiguration(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + public logFileHandler(param: LogsApiLogFileHandlerRequest, options?: Configuration): Promise { + return this.api.logFileHandler(param.logpath, options).toPromise(); } /** - * replace status of the specified PriorityLevelConfiguration * @param param the request object */ - public replacePriorityLevelConfigurationStatusWithHttpInfo(param: FlowcontrolApiserverV1beta3ApiReplacePriorityLevelConfigurationStatusRequest, options?: Configuration): Promise> { - return this.api.replacePriorityLevelConfigurationStatusWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + public logFileListHandlerWithHttpInfo(param: LogsApiLogFileListHandlerRequest = {}, options?: Configuration): Promise> { + return this.api.logFileListHandlerWithHttpInfo( options).toPromise(); } /** - * replace status of the specified PriorityLevelConfiguration * @param param the request object */ - public replacePriorityLevelConfigurationStatus(param: FlowcontrolApiserverV1beta3ApiReplacePriorityLevelConfigurationStatusRequest, options?: Configuration): Promise { - return this.api.replacePriorityLevelConfigurationStatus(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + public logFileListHandler(param: LogsApiLogFileListHandlerRequest = {}, options?: Configuration): Promise { + return this.api.logFileListHandler( options).toPromise(); } } -import { ObservableInternalApiserverApi } from "./ObservableAPI.js"; -import { InternalApiserverApiRequestFactory, InternalApiserverApiResponseProcessor} from "../apis/InternalApiserverApi.js"; +import { ObservableNetworkingApi } from "./ObservableAPI"; +import { NetworkingApiRequestFactory, NetworkingApiResponseProcessor} from "../apis/NetworkingApi"; -export interface InternalApiserverApiGetAPIGroupRequest { +export interface NetworkingApiGetAPIGroupRequest { } -export class ObjectInternalApiserverApi { - private api: ObservableInternalApiserverApi +export class ObjectNetworkingApi { + private api: ObservableNetworkingApi - public constructor(configuration: Configuration, requestFactory?: InternalApiserverApiRequestFactory, responseProcessor?: InternalApiserverApiResponseProcessor) { - this.api = new ObservableInternalApiserverApi(configuration, requestFactory, responseProcessor); + public constructor(configuration: Configuration, requestFactory?: NetworkingApiRequestFactory, responseProcessor?: NetworkingApiResponseProcessor) { + this.api = new ObservableNetworkingApi(configuration, requestFactory, responseProcessor); } /** * get information of a group * @param param the request object */ - public getAPIGroupWithHttpInfo(param: InternalApiserverApiGetAPIGroupRequest = {}, options?: Configuration): Promise> { + public getAPIGroupWithHttpInfo(param: NetworkingApiGetAPIGroupRequest = {}, options?: Configuration): Promise> { return this.api.getAPIGroupWithHttpInfo( options).toPromise(); } @@ -36788,3743 +37439,3726 @@ export class ObjectInternalApiserverApi { * get information of a group * @param param the request object */ - public getAPIGroup(param: InternalApiserverApiGetAPIGroupRequest = {}, options?: Configuration): Promise { + public getAPIGroup(param: NetworkingApiGetAPIGroupRequest = {}, options?: Configuration): Promise { return this.api.getAPIGroup( options).toPromise(); } } -import { ObservableInternalApiserverV1alpha1Api } from "./ObservableAPI.js"; -import { InternalApiserverV1alpha1ApiRequestFactory, InternalApiserverV1alpha1ApiResponseProcessor} from "../apis/InternalApiserverV1alpha1Api.js"; +import { ObservableNetworkingV1Api } from "./ObservableAPI"; +import { NetworkingV1ApiRequestFactory, NetworkingV1ApiResponseProcessor} from "../apis/NetworkingV1Api"; -export interface InternalApiserverV1alpha1ApiCreateStorageVersionRequest { +export interface NetworkingV1ApiCreateIngressClassRequest { /** * - * @type V1alpha1StorageVersion - * @memberof InternalApiserverV1alpha1ApicreateStorageVersion + * @type V1IngressClass + * @memberof NetworkingV1ApicreateIngressClass */ - body: V1alpha1StorageVersion + body: V1IngressClass /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApicreateStorageVersion + * @memberof NetworkingV1ApicreateIngressClass */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApicreateStorageVersion + * @memberof NetworkingV1ApicreateIngressClass */ dryRun?: string /** * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApicreateStorageVersion + * @memberof NetworkingV1ApicreateIngressClass */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApicreateStorageVersion + * @memberof NetworkingV1ApicreateIngressClass */ fieldValidation?: string } -export interface InternalApiserverV1alpha1ApiDeleteCollectionStorageVersionRequest { +export interface NetworkingV1ApiCreateNamespacedIngressRequest { /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApideleteCollectionStorageVersion + * @memberof NetworkingV1ApicreateNamespacedIngress */ - pretty?: string + namespace: string /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * + * @type V1Ingress + * @memberof NetworkingV1ApicreateNamespacedIngress + */ + body: V1Ingress + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApideleteCollectionStorageVersion + * @memberof NetworkingV1ApicreateNamespacedIngress */ - _continue?: string + pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApideleteCollectionStorageVersion + * @memberof NetworkingV1ApicreateNamespacedIngress */ dryRun?: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApideleteCollectionStorageVersion + * @memberof NetworkingV1ApicreateNamespacedIngress */ - fieldSelector?: string + fieldManager?: string /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined - * @type number - * @memberof InternalApiserverV1alpha1ApideleteCollectionStorageVersion + * @type string + * @memberof NetworkingV1ApicreateNamespacedIngress */ - gracePeriodSeconds?: number + fieldValidation?: string +} + +export interface NetworkingV1ApiCreateNamespacedNetworkPolicyRequest { /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApideleteCollectionStorageVersion + * @memberof NetworkingV1ApicreateNamespacedNetworkPolicy */ - labelSelector?: string + namespace: string /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * Defaults to: undefined - * @type number - * @memberof InternalApiserverV1alpha1ApideleteCollectionStorageVersion + * + * @type V1NetworkPolicy + * @memberof NetworkingV1ApicreateNamespacedNetworkPolicy */ - limit?: number + body: V1NetworkPolicy + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof NetworkingV1ApicreateNamespacedNetworkPolicy + */ + pretty?: string + /** + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof NetworkingV1ApicreateNamespacedNetworkPolicy + */ + dryRun?: string + /** + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * Defaults to: undefined + * @type string + * @memberof NetworkingV1ApicreateNamespacedNetworkPolicy + */ + fieldManager?: string + /** + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Defaults to: undefined + * @type string + * @memberof NetworkingV1ApicreateNamespacedNetworkPolicy + */ + fieldValidation?: string +} + +export interface NetworkingV1ApiDeleteCollectionIngressClassRequest { + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof NetworkingV1ApideleteCollectionIngressClass + */ + pretty?: string + /** + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * Defaults to: undefined + * @type string + * @memberof NetworkingV1ApideleteCollectionIngressClass + */ + _continue?: string + /** + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof NetworkingV1ApideleteCollectionIngressClass + */ + dryRun?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof NetworkingV1ApideleteCollectionIngressClass + */ + fieldSelector?: string + /** + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * Defaults to: undefined + * @type number + * @memberof NetworkingV1ApideleteCollectionIngressClass + */ + gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1ApideleteCollectionIngressClass + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof NetworkingV1ApideleteCollectionIngressClass + */ + labelSelector?: string + /** + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * Defaults to: undefined + * @type number + * @memberof NetworkingV1ApideleteCollectionIngressClass + */ + limit?: number /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof InternalApiserverV1alpha1ApideleteCollectionStorageVersion + * @memberof NetworkingV1ApideleteCollectionIngressClass */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApideleteCollectionStorageVersion + * @memberof NetworkingV1ApideleteCollectionIngressClass */ propagationPolicy?: string /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApideleteCollectionStorageVersion + * @memberof NetworkingV1ApideleteCollectionIngressClass */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApideleteCollectionStorageVersion + * @memberof NetworkingV1ApideleteCollectionIngressClass */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof InternalApiserverV1alpha1ApideleteCollectionStorageVersion + * @memberof NetworkingV1ApideleteCollectionIngressClass */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof InternalApiserverV1alpha1ApideleteCollectionStorageVersion + * @memberof NetworkingV1ApideleteCollectionIngressClass */ timeoutSeconds?: number /** * * @type V1DeleteOptions - * @memberof InternalApiserverV1alpha1ApideleteCollectionStorageVersion + * @memberof NetworkingV1ApideleteCollectionIngressClass */ body?: V1DeleteOptions } -export interface InternalApiserverV1alpha1ApiDeleteStorageVersionRequest { +export interface NetworkingV1ApiDeleteCollectionNamespacedIngressRequest { /** - * name of the StorageVersion + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApideleteStorageVersion + * @memberof NetworkingV1ApideleteCollectionNamespacedIngress */ - name: string + namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApideleteStorageVersion + * @memberof NetworkingV1ApideleteCollectionNamespacedIngress */ pretty?: string + /** + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * Defaults to: undefined + * @type string + * @memberof NetworkingV1ApideleteCollectionNamespacedIngress + */ + _continue?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApideleteStorageVersion + * @memberof NetworkingV1ApideleteCollectionNamespacedIngress */ dryRun?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof NetworkingV1ApideleteCollectionNamespacedIngress + */ + fieldSelector?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof InternalApiserverV1alpha1ApideleteStorageVersion + * @memberof NetworkingV1ApideleteCollectionNamespacedIngress */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1ApideleteCollectionNamespacedIngress + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof NetworkingV1ApideleteCollectionNamespacedIngress + */ + labelSelector?: string + /** + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * Defaults to: undefined + * @type number + * @memberof NetworkingV1ApideleteCollectionNamespacedIngress + */ + limit?: number /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof InternalApiserverV1alpha1ApideleteStorageVersion + * @memberof NetworkingV1ApideleteCollectionNamespacedIngress */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApideleteStorageVersion + * @memberof NetworkingV1ApideleteCollectionNamespacedIngress */ propagationPolicy?: string + /** + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof NetworkingV1ApideleteCollectionNamespacedIngress + */ + resourceVersion?: string + /** + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof NetworkingV1ApideleteCollectionNamespacedIngress + */ + resourceVersionMatch?: string + /** + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1ApideleteCollectionNamespacedIngress + */ + sendInitialEvents?: boolean + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * Defaults to: undefined + * @type number + * @memberof NetworkingV1ApideleteCollectionNamespacedIngress + */ + timeoutSeconds?: number /** * * @type V1DeleteOptions - * @memberof InternalApiserverV1alpha1ApideleteStorageVersion + * @memberof NetworkingV1ApideleteCollectionNamespacedIngress */ body?: V1DeleteOptions } -export interface InternalApiserverV1alpha1ApiGetAPIResourcesRequest { -} - -export interface InternalApiserverV1alpha1ApiListStorageVersionRequest { +export interface NetworkingV1ApiDeleteCollectionNamespacedNetworkPolicyRequest { /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApilistStorageVersion + * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy */ - pretty?: string + namespace: string /** - * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined - * @type boolean - * @memberof InternalApiserverV1alpha1ApilistStorageVersion + * @type string + * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy */ - allowWatchBookmarks?: boolean + pretty?: string /** * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApilistStorageVersion + * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy */ _continue?: string + /** + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy + */ + dryRun?: string /** * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApilistStorageVersion + * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy */ fieldSelector?: string + /** + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * Defaults to: undefined + * @type number + * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy + */ + gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApilistStorageVersion + * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy */ labelSelector?: string /** * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined * @type number - * @memberof InternalApiserverV1alpha1ApilistStorageVersion + * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy */ limit?: number + /** + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy + */ + orphanDependents?: boolean + /** + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * Defaults to: undefined + * @type string + * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy + */ + propagationPolicy?: string /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApilistStorageVersion + * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApilistStorageVersion + * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof InternalApiserverV1alpha1ApilistStorageVersion + * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof InternalApiserverV1alpha1ApilistStorageVersion + * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy */ timeoutSeconds?: number /** - * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * Defaults to: undefined - * @type boolean - * @memberof InternalApiserverV1alpha1ApilistStorageVersion + * + * @type V1DeleteOptions + * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy */ - watch?: boolean + body?: V1DeleteOptions } -export interface InternalApiserverV1alpha1ApiPatchStorageVersionRequest { +export interface NetworkingV1ApiDeleteIngressClassRequest { /** - * name of the StorageVersion + * name of the IngressClass * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApipatchStorageVersion + * @memberof NetworkingV1ApideleteIngressClass */ name: string - /** - * - * @type any - * @memberof InternalApiserverV1alpha1ApipatchStorageVersion - */ - body: any /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApipatchStorageVersion + * @memberof NetworkingV1ApideleteIngressClass */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApipatchStorageVersion + * @memberof NetworkingV1ApideleteIngressClass */ dryRun?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined - * @type string - * @memberof InternalApiserverV1alpha1ApipatchStorageVersion + * @type number + * @memberof NetworkingV1ApideleteIngressClass */ - fieldManager?: string + gracePeriodSeconds?: number /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * Defaults to: undefined - * @type string - * @memberof InternalApiserverV1alpha1ApipatchStorageVersion + * @type boolean + * @memberof NetworkingV1ApideleteIngressClass */ - fieldValidation?: string + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** - * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof InternalApiserverV1alpha1ApipatchStorageVersion + * @memberof NetworkingV1ApideleteIngressClass */ - force?: boolean + orphanDependents?: boolean + /** + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * Defaults to: undefined + * @type string + * @memberof NetworkingV1ApideleteIngressClass + */ + propagationPolicy?: string + /** + * + * @type V1DeleteOptions + * @memberof NetworkingV1ApideleteIngressClass + */ + body?: V1DeleteOptions } -export interface InternalApiserverV1alpha1ApiPatchStorageVersionStatusRequest { +export interface NetworkingV1ApiDeleteNamespacedIngressRequest { /** - * name of the StorageVersion + * name of the Ingress * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApipatchStorageVersionStatus + * @memberof NetworkingV1ApideleteNamespacedIngress */ name: string /** - * - * @type any - * @memberof InternalApiserverV1alpha1ApipatchStorageVersionStatus + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof NetworkingV1ApideleteNamespacedIngress */ - body: any + namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApipatchStorageVersionStatus + * @memberof NetworkingV1ApideleteNamespacedIngress */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApipatchStorageVersionStatus + * @memberof NetworkingV1ApideleteNamespacedIngress */ dryRun?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined - * @type string - * @memberof InternalApiserverV1alpha1ApipatchStorageVersionStatus + * @type number + * @memberof NetworkingV1ApideleteNamespacedIngress */ - fieldManager?: string + gracePeriodSeconds?: number /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * Defaults to: undefined - * @type string - * @memberof InternalApiserverV1alpha1ApipatchStorageVersionStatus + * @type boolean + * @memberof NetworkingV1ApideleteNamespacedIngress */ - fieldValidation?: string + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** - * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof InternalApiserverV1alpha1ApipatchStorageVersionStatus + * @memberof NetworkingV1ApideleteNamespacedIngress */ - force?: boolean -} - -export interface InternalApiserverV1alpha1ApiReadStorageVersionRequest { + orphanDependents?: boolean /** - * name of the StorageVersion + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApireadStorageVersion + * @memberof NetworkingV1ApideleteNamespacedIngress */ - name: string + propagationPolicy?: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof InternalApiserverV1alpha1ApireadStorageVersion + * + * @type V1DeleteOptions + * @memberof NetworkingV1ApideleteNamespacedIngress */ - pretty?: string + body?: V1DeleteOptions } -export interface InternalApiserverV1alpha1ApiReadStorageVersionStatusRequest { +export interface NetworkingV1ApiDeleteNamespacedNetworkPolicyRequest { /** - * name of the StorageVersion + * name of the NetworkPolicy * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApireadStorageVersionStatus + * @memberof NetworkingV1ApideleteNamespacedNetworkPolicy */ name: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof InternalApiserverV1alpha1ApireadStorageVersionStatus - */ - pretty?: string -} - -export interface InternalApiserverV1alpha1ApiReplaceStorageVersionRequest { - /** - * name of the StorageVersion + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApireplaceStorageVersion - */ - name: string - /** - * - * @type V1alpha1StorageVersion - * @memberof InternalApiserverV1alpha1ApireplaceStorageVersion + * @memberof NetworkingV1ApideleteNamespacedNetworkPolicy */ - body: V1alpha1StorageVersion + namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApireplaceStorageVersion + * @memberof NetworkingV1ApideleteNamespacedNetworkPolicy */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApireplaceStorageVersion + * @memberof NetworkingV1ApideleteNamespacedNetworkPolicy */ dryRun?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined - * @type string - * @memberof InternalApiserverV1alpha1ApireplaceStorageVersion + * @type number + * @memberof NetworkingV1ApideleteNamespacedNetworkPolicy */ - fieldManager?: string + gracePeriodSeconds?: number /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * Defaults to: undefined - * @type string - * @memberof InternalApiserverV1alpha1ApireplaceStorageVersion + * @type boolean + * @memberof NetworkingV1ApideleteNamespacedNetworkPolicy */ - fieldValidation?: string -} - -export interface InternalApiserverV1alpha1ApiReplaceStorageVersionStatusRequest { + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** - * name of the StorageVersion + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1ApideleteNamespacedNetworkPolicy + */ + orphanDependents?: boolean + /** + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApireplaceStorageVersionStatus + * @memberof NetworkingV1ApideleteNamespacedNetworkPolicy */ - name: string + propagationPolicy?: string /** * - * @type V1alpha1StorageVersion - * @memberof InternalApiserverV1alpha1ApireplaceStorageVersionStatus + * @type V1DeleteOptions + * @memberof NetworkingV1ApideleteNamespacedNetworkPolicy */ - body: V1alpha1StorageVersion + body?: V1DeleteOptions +} + +export interface NetworkingV1ApiGetAPIResourcesRequest { +} + +export interface NetworkingV1ApiListIngressClassRequest { /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApireplaceStorageVersionStatus + * @memberof NetworkingV1ApilistIngressClass */ pretty?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * Defaults to: undefined - * @type string - * @memberof InternalApiserverV1alpha1ApireplaceStorageVersionStatus + * @type boolean + * @memberof NetworkingV1ApilistIngressClass */ - dryRun?: string + allowWatchBookmarks?: boolean /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApireplaceStorageVersionStatus + * @memberof NetworkingV1ApilistIngressClass */ - fieldManager?: string + _continue?: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof InternalApiserverV1alpha1ApireplaceStorageVersionStatus + * @memberof NetworkingV1ApilistIngressClass */ - fieldValidation?: string -} - -export class ObjectInternalApiserverV1alpha1Api { - private api: ObservableInternalApiserverV1alpha1Api - - public constructor(configuration: Configuration, requestFactory?: InternalApiserverV1alpha1ApiRequestFactory, responseProcessor?: InternalApiserverV1alpha1ApiResponseProcessor) { - this.api = new ObservableInternalApiserverV1alpha1Api(configuration, requestFactory, responseProcessor); - } - + fieldSelector?: string /** - * create a StorageVersion - * @param param the request object + * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof NetworkingV1ApilistIngressClass */ - public createStorageVersionWithHttpInfo(param: InternalApiserverV1alpha1ApiCreateStorageVersionRequest, options?: Configuration): Promise> { - return this.api.createStorageVersionWithHttpInfo(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + labelSelector?: string /** - * create a StorageVersion - * @param param the request object + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * Defaults to: undefined + * @type number + * @memberof NetworkingV1ApilistIngressClass */ - public createStorageVersion(param: InternalApiserverV1alpha1ApiCreateStorageVersionRequest, options?: Configuration): Promise { - return this.api.createStorageVersion(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + limit?: number /** - * delete collection of StorageVersion - * @param param the request object + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof NetworkingV1ApilistIngressClass */ - public deleteCollectionStorageVersionWithHttpInfo(param: InternalApiserverV1alpha1ApiDeleteCollectionStorageVersionRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionStorageVersionWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); - } - + resourceVersion?: string /** - * delete collection of StorageVersion - * @param param the request object + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof NetworkingV1ApilistIngressClass */ - public deleteCollectionStorageVersion(param: InternalApiserverV1alpha1ApiDeleteCollectionStorageVersionRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionStorageVersion(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); - } - + resourceVersionMatch?: string /** - * delete a StorageVersion - * @param param the request object - */ - public deleteStorageVersionWithHttpInfo(param: InternalApiserverV1alpha1ApiDeleteStorageVersionRequest, options?: Configuration): Promise> { - return this.api.deleteStorageVersionWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); - } - - /** - * delete a StorageVersion - * @param param the request object - */ - public deleteStorageVersion(param: InternalApiserverV1alpha1ApiDeleteStorageVersionRequest, options?: Configuration): Promise { - return this.api.deleteStorageVersion(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); - } - - /** - * get available resources - * @param param the request object - */ - public getAPIResourcesWithHttpInfo(param: InternalApiserverV1alpha1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise> { - return this.api.getAPIResourcesWithHttpInfo( options).toPromise(); - } - - /** - * get available resources - * @param param the request object - */ - public getAPIResources(param: InternalApiserverV1alpha1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise { - return this.api.getAPIResources( options).toPromise(); - } - - /** - * list or watch objects of kind StorageVersion - * @param param the request object - */ - public listStorageVersionWithHttpInfo(param: InternalApiserverV1alpha1ApiListStorageVersionRequest = {}, options?: Configuration): Promise> { - return this.api.listStorageVersionWithHttpInfo(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - - /** - * list or watch objects of kind StorageVersion - * @param param the request object - */ - public listStorageVersion(param: InternalApiserverV1alpha1ApiListStorageVersionRequest = {}, options?: Configuration): Promise { - return this.api.listStorageVersion(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - - /** - * partially update the specified StorageVersion - * @param param the request object - */ - public patchStorageVersionWithHttpInfo(param: InternalApiserverV1alpha1ApiPatchStorageVersionRequest, options?: Configuration): Promise> { - return this.api.patchStorageVersionWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - - /** - * partially update the specified StorageVersion - * @param param the request object - */ - public patchStorageVersion(param: InternalApiserverV1alpha1ApiPatchStorageVersionRequest, options?: Configuration): Promise { - return this.api.patchStorageVersion(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - - /** - * partially update status of the specified StorageVersion - * @param param the request object - */ - public patchStorageVersionStatusWithHttpInfo(param: InternalApiserverV1alpha1ApiPatchStorageVersionStatusRequest, options?: Configuration): Promise> { - return this.api.patchStorageVersionStatusWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - - /** - * partially update status of the specified StorageVersion - * @param param the request object - */ - public patchStorageVersionStatus(param: InternalApiserverV1alpha1ApiPatchStorageVersionStatusRequest, options?: Configuration): Promise { - return this.api.patchStorageVersionStatus(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - - /** - * read the specified StorageVersion - * @param param the request object - */ - public readStorageVersionWithHttpInfo(param: InternalApiserverV1alpha1ApiReadStorageVersionRequest, options?: Configuration): Promise> { - return this.api.readStorageVersionWithHttpInfo(param.name, param.pretty, options).toPromise(); - } - - /** - * read the specified StorageVersion - * @param param the request object - */ - public readStorageVersion(param: InternalApiserverV1alpha1ApiReadStorageVersionRequest, options?: Configuration): Promise { - return this.api.readStorageVersion(param.name, param.pretty, options).toPromise(); - } - - /** - * read status of the specified StorageVersion - * @param param the request object - */ - public readStorageVersionStatusWithHttpInfo(param: InternalApiserverV1alpha1ApiReadStorageVersionStatusRequest, options?: Configuration): Promise> { - return this.api.readStorageVersionStatusWithHttpInfo(param.name, param.pretty, options).toPromise(); - } - - /** - * read status of the specified StorageVersion - * @param param the request object - */ - public readStorageVersionStatus(param: InternalApiserverV1alpha1ApiReadStorageVersionStatusRequest, options?: Configuration): Promise { - return this.api.readStorageVersionStatus(param.name, param.pretty, options).toPromise(); - } - - /** - * replace the specified StorageVersion - * @param param the request object - */ - public replaceStorageVersionWithHttpInfo(param: InternalApiserverV1alpha1ApiReplaceStorageVersionRequest, options?: Configuration): Promise> { - return this.api.replaceStorageVersionWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - - /** - * replace the specified StorageVersion - * @param param the request object - */ - public replaceStorageVersion(param: InternalApiserverV1alpha1ApiReplaceStorageVersionRequest, options?: Configuration): Promise { - return this.api.replaceStorageVersion(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - - /** - * replace status of the specified StorageVersion - * @param param the request object - */ - public replaceStorageVersionStatusWithHttpInfo(param: InternalApiserverV1alpha1ApiReplaceStorageVersionStatusRequest, options?: Configuration): Promise> { - return this.api.replaceStorageVersionStatusWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - - /** - * replace status of the specified StorageVersion - * @param param the request object - */ - public replaceStorageVersionStatus(param: InternalApiserverV1alpha1ApiReplaceStorageVersionStatusRequest, options?: Configuration): Promise { - return this.api.replaceStorageVersionStatus(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - -} - -import { ObservableLogsApi } from "./ObservableAPI.js"; -import { LogsApiRequestFactory, LogsApiResponseProcessor} from "../apis/LogsApi.js"; - -export interface LogsApiLogFileHandlerRequest { - /** - * path to the log + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined - * @type string - * @memberof LogsApilogFileHandler - */ - logpath: string -} - -export interface LogsApiLogFileListHandlerRequest { -} - -export class ObjectLogsApi { - private api: ObservableLogsApi - - public constructor(configuration: Configuration, requestFactory?: LogsApiRequestFactory, responseProcessor?: LogsApiResponseProcessor) { - this.api = new ObservableLogsApi(configuration, requestFactory, responseProcessor); - } - - /** - * @param param the request object - */ - public logFileHandlerWithHttpInfo(param: LogsApiLogFileHandlerRequest, options?: Configuration): Promise> { - return this.api.logFileHandlerWithHttpInfo(param.logpath, options).toPromise(); - } - - /** - * @param param the request object - */ - public logFileHandler(param: LogsApiLogFileHandlerRequest, options?: Configuration): Promise { - return this.api.logFileHandler(param.logpath, options).toPromise(); - } - - /** - * @param param the request object - */ - public logFileListHandlerWithHttpInfo(param: LogsApiLogFileListHandlerRequest = {}, options?: Configuration): Promise> { - return this.api.logFileListHandlerWithHttpInfo( options).toPromise(); - } - - /** - * @param param the request object + * @type boolean + * @memberof NetworkingV1ApilistIngressClass */ - public logFileListHandler(param: LogsApiLogFileListHandlerRequest = {}, options?: Configuration): Promise { - return this.api.logFileListHandler( options).toPromise(); - } - -} - -import { ObservableNetworkingApi } from "./ObservableAPI.js"; -import { NetworkingApiRequestFactory, NetworkingApiResponseProcessor} from "../apis/NetworkingApi.js"; - -export interface NetworkingApiGetAPIGroupRequest { -} - -export class ObjectNetworkingApi { - private api: ObservableNetworkingApi - - public constructor(configuration: Configuration, requestFactory?: NetworkingApiRequestFactory, responseProcessor?: NetworkingApiResponseProcessor) { - this.api = new ObservableNetworkingApi(configuration, requestFactory, responseProcessor); - } - + sendInitialEvents?: boolean /** - * get information of a group - * @param param the request object + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * Defaults to: undefined + * @type number + * @memberof NetworkingV1ApilistIngressClass */ - public getAPIGroupWithHttpInfo(param: NetworkingApiGetAPIGroupRequest = {}, options?: Configuration): Promise> { - return this.api.getAPIGroupWithHttpInfo( options).toPromise(); - } - + timeoutSeconds?: number /** - * get information of a group - * @param param the request object + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1ApilistIngressClass */ - public getAPIGroup(param: NetworkingApiGetAPIGroupRequest = {}, options?: Configuration): Promise { - return this.api.getAPIGroup( options).toPromise(); - } - + watch?: boolean } -import { ObservableNetworkingV1Api } from "./ObservableAPI.js"; -import { NetworkingV1ApiRequestFactory, NetworkingV1ApiResponseProcessor} from "../apis/NetworkingV1Api.js"; - -export interface NetworkingV1ApiCreateIngressClassRequest { +export interface NetworkingV1ApiListIngressForAllNamespacesRequest { /** - * - * @type V1IngressClass - * @memberof NetworkingV1ApicreateIngressClass + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1ApilistIngressForAllNamespaces */ - body: V1IngressClass + allowWatchBookmarks?: boolean /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof NetworkingV1ApicreateIngressClass + * @memberof NetworkingV1ApilistIngressForAllNamespaces */ - pretty?: string + _continue?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof NetworkingV1ApicreateIngressClass + * @memberof NetworkingV1ApilistIngressForAllNamespaces */ - dryRun?: string + fieldSelector?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof NetworkingV1ApicreateIngressClass + * @memberof NetworkingV1ApilistIngressForAllNamespaces */ - fieldManager?: string + labelSelector?: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApicreateIngressClass + * @type number + * @memberof NetworkingV1ApilistIngressForAllNamespaces */ - fieldValidation?: string -} - -export interface NetworkingV1ApiCreateNamespacedIngressRequest { + limit?: number /** - * object name and auth scope, such as for teams and projects + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1ApicreateNamespacedIngress + * @memberof NetworkingV1ApilistIngressForAllNamespaces */ - namespace: string + pretty?: string /** - * - * @type V1Ingress - * @memberof NetworkingV1ApicreateNamespacedIngress + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof NetworkingV1ApilistIngressForAllNamespaces */ - body: V1Ingress + resourceVersion?: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof NetworkingV1ApicreateNamespacedIngress + * @memberof NetworkingV1ApilistIngressForAllNamespaces */ - pretty?: string + resourceVersionMatch?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApicreateNamespacedIngress + * @type boolean + * @memberof NetworkingV1ApilistIngressForAllNamespaces */ - dryRun?: string + sendInitialEvents?: boolean /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApicreateNamespacedIngress + * @type number + * @memberof NetworkingV1ApilistIngressForAllNamespaces */ - fieldManager?: string + timeoutSeconds?: number /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApicreateNamespacedIngress + * @type boolean + * @memberof NetworkingV1ApilistIngressForAllNamespaces */ - fieldValidation?: string + watch?: boolean } -export interface NetworkingV1ApiCreateNamespacedNetworkPolicyRequest { +export interface NetworkingV1ApiListNamespacedIngressRequest { /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof NetworkingV1ApicreateNamespacedNetworkPolicy + * @memberof NetworkingV1ApilistNamespacedIngress */ namespace: string - /** - * - * @type V1NetworkPolicy - * @memberof NetworkingV1ApicreateNamespacedNetworkPolicy - */ - body: V1NetworkPolicy /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1ApicreateNamespacedNetworkPolicy + * @memberof NetworkingV1ApilistNamespacedIngress */ pretty?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApicreateNamespacedNetworkPolicy - */ - dryRun?: string - /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApicreateNamespacedNetworkPolicy - */ - fieldManager?: string - /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApicreateNamespacedNetworkPolicy - */ - fieldValidation?: string -} - -export interface NetworkingV1ApiDeleteCollectionIngressClassRequest { - /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApideleteCollectionIngressClass + * @type boolean + * @memberof NetworkingV1ApilistNamespacedIngress */ - pretty?: string + allowWatchBookmarks?: boolean /** * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteCollectionIngressClass + * @memberof NetworkingV1ApilistNamespacedIngress */ _continue?: string - /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApideleteCollectionIngressClass - */ - dryRun?: string /** * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteCollectionIngressClass + * @memberof NetworkingV1ApilistNamespacedIngress */ fieldSelector?: string - /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * Defaults to: undefined - * @type number - * @memberof NetworkingV1ApideleteCollectionIngressClass - */ - gracePeriodSeconds?: number /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteCollectionIngressClass + * @memberof NetworkingV1ApilistNamespacedIngress */ labelSelector?: string /** * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined * @type number - * @memberof NetworkingV1ApideleteCollectionIngressClass + * @memberof NetworkingV1ApilistNamespacedIngress */ limit?: number - /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1ApideleteCollectionIngressClass - */ - orphanDependents?: boolean - /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApideleteCollectionIngressClass - */ - propagationPolicy?: string /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteCollectionIngressClass + * @memberof NetworkingV1ApilistNamespacedIngress */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteCollectionIngressClass + * @memberof NetworkingV1ApilistNamespacedIngress */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof NetworkingV1ApideleteCollectionIngressClass + * @memberof NetworkingV1ApilistNamespacedIngress */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof NetworkingV1ApideleteCollectionIngressClass + * @memberof NetworkingV1ApilistNamespacedIngress */ timeoutSeconds?: number /** - * - * @type V1DeleteOptions - * @memberof NetworkingV1ApideleteCollectionIngressClass + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1ApilistNamespacedIngress */ - body?: V1DeleteOptions + watch?: boolean } -export interface NetworkingV1ApiDeleteCollectionNamespacedIngressRequest { +export interface NetworkingV1ApiListNamespacedNetworkPolicyRequest { /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteCollectionNamespacedIngress + * @memberof NetworkingV1ApilistNamespacedNetworkPolicy */ namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteCollectionNamespacedIngress + * @memberof NetworkingV1ApilistNamespacedNetworkPolicy */ pretty?: string /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApideleteCollectionNamespacedIngress + * @type boolean + * @memberof NetworkingV1ApilistNamespacedNetworkPolicy */ - _continue?: string + allowWatchBookmarks?: boolean /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteCollectionNamespacedIngress + * @memberof NetworkingV1ApilistNamespacedNetworkPolicy */ - dryRun?: string + _continue?: string /** * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteCollectionNamespacedIngress + * @memberof NetworkingV1ApilistNamespacedNetworkPolicy */ fieldSelector?: string - /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * Defaults to: undefined - * @type number - * @memberof NetworkingV1ApideleteCollectionNamespacedIngress - */ - gracePeriodSeconds?: number /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteCollectionNamespacedIngress + * @memberof NetworkingV1ApilistNamespacedNetworkPolicy */ labelSelector?: string /** * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined * @type number - * @memberof NetworkingV1ApideleteCollectionNamespacedIngress + * @memberof NetworkingV1ApilistNamespacedNetworkPolicy */ limit?: number - /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1ApideleteCollectionNamespacedIngress - */ - orphanDependents?: boolean - /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApideleteCollectionNamespacedIngress - */ - propagationPolicy?: string /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteCollectionNamespacedIngress + * @memberof NetworkingV1ApilistNamespacedNetworkPolicy */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteCollectionNamespacedIngress + * @memberof NetworkingV1ApilistNamespacedNetworkPolicy */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof NetworkingV1ApideleteCollectionNamespacedIngress + * @memberof NetworkingV1ApilistNamespacedNetworkPolicy */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof NetworkingV1ApideleteCollectionNamespacedIngress + * @memberof NetworkingV1ApilistNamespacedNetworkPolicy */ timeoutSeconds?: number /** - * - * @type V1DeleteOptions - * @memberof NetworkingV1ApideleteCollectionNamespacedIngress + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1ApilistNamespacedNetworkPolicy */ - body?: V1DeleteOptions + watch?: boolean } -export interface NetworkingV1ApiDeleteCollectionNamespacedNetworkPolicyRequest { - /** - * object name and auth scope, such as for teams and projects - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy - */ - namespace: string +export interface NetworkingV1ApiListNetworkPolicyForAllNamespacesRequest { /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy + * @type boolean + * @memberof NetworkingV1ApilistNetworkPolicyForAllNamespaces */ - pretty?: string + allowWatchBookmarks?: boolean /** * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy + * @memberof NetworkingV1ApilistNetworkPolicyForAllNamespaces */ _continue?: string - /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy - */ - dryRun?: string /** * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy + * @memberof NetworkingV1ApilistNetworkPolicyForAllNamespaces */ fieldSelector?: string - /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * Defaults to: undefined - * @type number - * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy - */ - gracePeriodSeconds?: number /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy + * @memberof NetworkingV1ApilistNetworkPolicyForAllNamespaces */ labelSelector?: string /** * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined * @type number - * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy + * @memberof NetworkingV1ApilistNetworkPolicyForAllNamespaces */ limit?: number /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy - */ - orphanDependents?: boolean - /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy + * @memberof NetworkingV1ApilistNetworkPolicyForAllNamespaces */ - propagationPolicy?: string + pretty?: string /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy + * @memberof NetworkingV1ApilistNetworkPolicyForAllNamespaces */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy + * @memberof NetworkingV1ApilistNetworkPolicyForAllNamespaces */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy + * @memberof NetworkingV1ApilistNetworkPolicyForAllNamespaces */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy + * @memberof NetworkingV1ApilistNetworkPolicyForAllNamespaces */ timeoutSeconds?: number /** - * - * @type V1DeleteOptions - * @memberof NetworkingV1ApideleteCollectionNamespacedNetworkPolicy + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1ApilistNetworkPolicyForAllNamespaces */ - body?: V1DeleteOptions + watch?: boolean } -export interface NetworkingV1ApiDeleteIngressClassRequest { +export interface NetworkingV1ApiPatchIngressClassRequest { /** * name of the IngressClass * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteIngressClass + * @memberof NetworkingV1ApipatchIngressClass */ name: string + /** + * + * @type any + * @memberof NetworkingV1ApipatchIngressClass + */ + body: any /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteIngressClass + * @memberof NetworkingV1ApipatchIngressClass */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteIngressClass + * @memberof NetworkingV1ApipatchIngressClass */ dryRun?: string /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * Defaults to: undefined - * @type number - * @memberof NetworkingV1ApideleteIngressClass - */ - gracePeriodSeconds?: number - /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1ApideleteIngressClass + * @type string + * @memberof NetworkingV1ApipatchIngressClass */ - orphanDependents?: boolean + fieldManager?: string /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteIngressClass + * @memberof NetworkingV1ApipatchIngressClass */ - propagationPolicy?: string + fieldValidation?: string /** - * - * @type V1DeleteOptions - * @memberof NetworkingV1ApideleteIngressClass + * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1ApipatchIngressClass */ - body?: V1DeleteOptions + force?: boolean } -export interface NetworkingV1ApiDeleteNamespacedIngressRequest { +export interface NetworkingV1ApiPatchNamespacedIngressRequest { /** * name of the Ingress * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteNamespacedIngress + * @memberof NetworkingV1ApipatchNamespacedIngress */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteNamespacedIngress + * @memberof NetworkingV1ApipatchNamespacedIngress */ namespace: string + /** + * + * @type any + * @memberof NetworkingV1ApipatchNamespacedIngress + */ + body: any /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteNamespacedIngress + * @memberof NetworkingV1ApipatchNamespacedIngress */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteNamespacedIngress + * @memberof NetworkingV1ApipatchNamespacedIngress */ dryRun?: string /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * Defaults to: undefined - * @type number - * @memberof NetworkingV1ApideleteNamespacedIngress - */ - gracePeriodSeconds?: number - /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1ApideleteNamespacedIngress + * @type string + * @memberof NetworkingV1ApipatchNamespacedIngress */ - orphanDependents?: boolean + fieldManager?: string /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteNamespacedIngress + * @memberof NetworkingV1ApipatchNamespacedIngress */ - propagationPolicy?: string + fieldValidation?: string /** - * - * @type V1DeleteOptions - * @memberof NetworkingV1ApideleteNamespacedIngress + * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1ApipatchNamespacedIngress */ - body?: V1DeleteOptions + force?: boolean } -export interface NetworkingV1ApiDeleteNamespacedNetworkPolicyRequest { +export interface NetworkingV1ApiPatchNamespacedIngressStatusRequest { /** - * name of the NetworkPolicy + * name of the Ingress * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteNamespacedNetworkPolicy + * @memberof NetworkingV1ApipatchNamespacedIngressStatus */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteNamespacedNetworkPolicy + * @memberof NetworkingV1ApipatchNamespacedIngressStatus */ namespace: string + /** + * + * @type any + * @memberof NetworkingV1ApipatchNamespacedIngressStatus + */ + body: any /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteNamespacedNetworkPolicy + * @memberof NetworkingV1ApipatchNamespacedIngressStatus */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteNamespacedNetworkPolicy + * @memberof NetworkingV1ApipatchNamespacedIngressStatus */ dryRun?: string /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * Defaults to: undefined - * @type number - * @memberof NetworkingV1ApideleteNamespacedNetworkPolicy - */ - gracePeriodSeconds?: number - /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1ApideleteNamespacedNetworkPolicy + * @type string + * @memberof NetworkingV1ApipatchNamespacedIngressStatus */ - orphanDependents?: boolean + fieldManager?: string /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof NetworkingV1ApideleteNamespacedNetworkPolicy + * @memberof NetworkingV1ApipatchNamespacedIngressStatus */ - propagationPolicy?: string + fieldValidation?: string /** - * - * @type V1DeleteOptions - * @memberof NetworkingV1ApideleteNamespacedNetworkPolicy + * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1ApipatchNamespacedIngressStatus */ - body?: V1DeleteOptions -} - -export interface NetworkingV1ApiGetAPIResourcesRequest { + force?: boolean } -export interface NetworkingV1ApiListIngressClassRequest { +export interface NetworkingV1ApiPatchNamespacedNetworkPolicyRequest { /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * name of the NetworkPolicy * Defaults to: undefined * @type string - * @memberof NetworkingV1ApilistIngressClass - */ - pretty?: string - /** - * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1ApilistIngressClass + * @memberof NetworkingV1ApipatchNamespacedNetworkPolicy */ - allowWatchBookmarks?: boolean + name: string /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof NetworkingV1ApilistIngressClass + * @memberof NetworkingV1ApipatchNamespacedNetworkPolicy */ - _continue?: string + namespace: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApilistIngressClass + * + * @type any + * @memberof NetworkingV1ApipatchNamespacedNetworkPolicy */ - fieldSelector?: string + body: any /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1ApilistIngressClass + * @memberof NetworkingV1ApipatchNamespacedNetworkPolicy */ - labelSelector?: string + pretty?: string /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined - * @type number - * @memberof NetworkingV1ApilistIngressClass + * @type string + * @memberof NetworkingV1ApipatchNamespacedNetworkPolicy */ - limit?: number + dryRun?: string /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * Defaults to: undefined * @type string - * @memberof NetworkingV1ApilistIngressClass + * @memberof NetworkingV1ApipatchNamespacedNetworkPolicy */ - resourceVersion?: string + fieldManager?: string /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof NetworkingV1ApilistIngressClass + * @memberof NetworkingV1ApipatchNamespacedNetworkPolicy */ - resourceVersionMatch?: string + fieldValidation?: string /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. * Defaults to: undefined * @type boolean - * @memberof NetworkingV1ApilistIngressClass + * @memberof NetworkingV1ApipatchNamespacedNetworkPolicy */ - sendInitialEvents?: boolean + force?: boolean +} + +export interface NetworkingV1ApiReadIngressClassRequest { /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * name of the IngressClass * Defaults to: undefined - * @type number - * @memberof NetworkingV1ApilistIngressClass + * @type string + * @memberof NetworkingV1ApireadIngressClass */ - timeoutSeconds?: number + name: string /** - * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1ApilistIngressClass + * @type string + * @memberof NetworkingV1ApireadIngressClass */ - watch?: boolean + pretty?: string } -export interface NetworkingV1ApiListIngressForAllNamespacesRequest { +export interface NetworkingV1ApiReadNamespacedIngressRequest { /** - * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * name of the Ingress * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1ApilistIngressForAllNamespaces + * @type string + * @memberof NetworkingV1ApireadNamespacedIngress */ - allowWatchBookmarks?: boolean + name: string /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof NetworkingV1ApilistIngressForAllNamespaces + * @memberof NetworkingV1ApireadNamespacedIngress */ - _continue?: string + namespace: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1ApilistIngressForAllNamespaces + * @memberof NetworkingV1ApireadNamespacedIngress */ - fieldSelector?: string + pretty?: string +} + +export interface NetworkingV1ApiReadNamespacedIngressStatusRequest { /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * name of the Ingress * Defaults to: undefined * @type string - * @memberof NetworkingV1ApilistIngressForAllNamespaces + * @memberof NetworkingV1ApireadNamespacedIngressStatus */ - labelSelector?: string + name: string /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * object name and auth scope, such as for teams and projects * Defaults to: undefined - * @type number - * @memberof NetworkingV1ApilistIngressForAllNamespaces + * @type string + * @memberof NetworkingV1ApireadNamespacedIngressStatus */ - limit?: number + namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1ApilistIngressForAllNamespaces + * @memberof NetworkingV1ApireadNamespacedIngressStatus */ pretty?: string +} + +export interface NetworkingV1ApiReadNamespacedNetworkPolicyRequest { /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * name of the NetworkPolicy * Defaults to: undefined * @type string - * @memberof NetworkingV1ApilistIngressForAllNamespaces + * @memberof NetworkingV1ApireadNamespacedNetworkPolicy */ - resourceVersion?: string + name: string /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof NetworkingV1ApilistIngressForAllNamespaces - */ - resourceVersionMatch?: string - /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1ApilistIngressForAllNamespaces - */ - sendInitialEvents?: boolean - /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * Defaults to: undefined - * @type number - * @memberof NetworkingV1ApilistIngressForAllNamespaces + * @memberof NetworkingV1ApireadNamespacedNetworkPolicy */ - timeoutSeconds?: number + namespace: string /** - * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1ApilistIngressForAllNamespaces + * @type string + * @memberof NetworkingV1ApireadNamespacedNetworkPolicy */ - watch?: boolean + pretty?: string } -export interface NetworkingV1ApiListNamespacedIngressRequest { +export interface NetworkingV1ApiReplaceIngressClassRequest { /** - * object name and auth scope, such as for teams and projects + * name of the IngressClass * Defaults to: undefined * @type string - * @memberof NetworkingV1ApilistNamespacedIngress + * @memberof NetworkingV1ApireplaceIngressClass */ - namespace: string + name: string + /** + * + * @type V1IngressClass + * @memberof NetworkingV1ApireplaceIngressClass + */ + body: V1IngressClass /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1ApilistNamespacedIngress + * @memberof NetworkingV1ApireplaceIngressClass */ pretty?: string /** - * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1ApilistNamespacedIngress + * @type string + * @memberof NetworkingV1ApireplaceIngressClass */ - allowWatchBookmarks?: boolean + dryRun?: string /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof NetworkingV1ApilistNamespacedIngress + * @memberof NetworkingV1ApireplaceIngressClass */ - _continue?: string + fieldManager?: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof NetworkingV1ApilistNamespacedIngress + * @memberof NetworkingV1ApireplaceIngressClass */ - fieldSelector?: string + fieldValidation?: string +} + +export interface NetworkingV1ApiReplaceNamespacedIngressRequest { /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * name of the Ingress * Defaults to: undefined * @type string - * @memberof NetworkingV1ApilistNamespacedIngress + * @memberof NetworkingV1ApireplaceNamespacedIngress */ - labelSelector?: string + name: string /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * object name and auth scope, such as for teams and projects * Defaults to: undefined - * @type number - * @memberof NetworkingV1ApilistNamespacedIngress + * @type string + * @memberof NetworkingV1ApireplaceNamespacedIngress */ - limit?: number + namespace: string /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApilistNamespacedIngress + * + * @type V1Ingress + * @memberof NetworkingV1ApireplaceNamespacedIngress */ - resourceVersion?: string + body: V1Ingress /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1ApilistNamespacedIngress + * @memberof NetworkingV1ApireplaceNamespacedIngress */ - resourceVersionMatch?: string + pretty?: string /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1ApilistNamespacedIngress + * @type string + * @memberof NetworkingV1ApireplaceNamespacedIngress */ - sendInitialEvents?: boolean + dryRun?: string /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined - * @type number - * @memberof NetworkingV1ApilistNamespacedIngress + * @type string + * @memberof NetworkingV1ApireplaceNamespacedIngress */ - timeoutSeconds?: number + fieldManager?: string /** - * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1ApilistNamespacedIngress + * @type string + * @memberof NetworkingV1ApireplaceNamespacedIngress */ - watch?: boolean + fieldValidation?: string } -export interface NetworkingV1ApiListNamespacedNetworkPolicyRequest { +export interface NetworkingV1ApiReplaceNamespacedIngressStatusRequest { + /** + * name of the Ingress + * Defaults to: undefined + * @type string + * @memberof NetworkingV1ApireplaceNamespacedIngressStatus + */ + name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof NetworkingV1ApilistNamespacedNetworkPolicy + * @memberof NetworkingV1ApireplaceNamespacedIngressStatus */ namespace: string + /** + * + * @type V1Ingress + * @memberof NetworkingV1ApireplaceNamespacedIngressStatus + */ + body: V1Ingress /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1ApilistNamespacedNetworkPolicy + * @memberof NetworkingV1ApireplaceNamespacedIngressStatus */ pretty?: string /** - * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1ApilistNamespacedNetworkPolicy + * @type string + * @memberof NetworkingV1ApireplaceNamespacedIngressStatus */ - allowWatchBookmarks?: boolean + dryRun?: string /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof NetworkingV1ApilistNamespacedNetworkPolicy + * @memberof NetworkingV1ApireplaceNamespacedIngressStatus */ - _continue?: string + fieldManager?: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof NetworkingV1ApilistNamespacedNetworkPolicy + * @memberof NetworkingV1ApireplaceNamespacedIngressStatus */ - fieldSelector?: string + fieldValidation?: string +} + +export interface NetworkingV1ApiReplaceNamespacedNetworkPolicyRequest { /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * name of the NetworkPolicy * Defaults to: undefined * @type string - * @memberof NetworkingV1ApilistNamespacedNetworkPolicy + * @memberof NetworkingV1ApireplaceNamespacedNetworkPolicy */ - labelSelector?: string + name: string /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * object name and auth scope, such as for teams and projects * Defaults to: undefined - * @type number - * @memberof NetworkingV1ApilistNamespacedNetworkPolicy + * @type string + * @memberof NetworkingV1ApireplaceNamespacedNetworkPolicy */ - limit?: number + namespace: string /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApilistNamespacedNetworkPolicy + * + * @type V1NetworkPolicy + * @memberof NetworkingV1ApireplaceNamespacedNetworkPolicy */ - resourceVersion?: string + body: V1NetworkPolicy /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1ApilistNamespacedNetworkPolicy + * @memberof NetworkingV1ApireplaceNamespacedNetworkPolicy */ - resourceVersionMatch?: string + pretty?: string /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1ApilistNamespacedNetworkPolicy + * @type string + * @memberof NetworkingV1ApireplaceNamespacedNetworkPolicy */ - sendInitialEvents?: boolean + dryRun?: string /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined - * @type number - * @memberof NetworkingV1ApilistNamespacedNetworkPolicy + * @type string + * @memberof NetworkingV1ApireplaceNamespacedNetworkPolicy */ - timeoutSeconds?: number + fieldManager?: string /** - * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1ApilistNamespacedNetworkPolicy + * @type string + * @memberof NetworkingV1ApireplaceNamespacedNetworkPolicy */ - watch?: boolean + fieldValidation?: string } -export interface NetworkingV1ApiListNetworkPolicyForAllNamespacesRequest { +export class ObjectNetworkingV1Api { + private api: ObservableNetworkingV1Api + + public constructor(configuration: Configuration, requestFactory?: NetworkingV1ApiRequestFactory, responseProcessor?: NetworkingV1ApiResponseProcessor) { + this.api = new ObservableNetworkingV1Api(configuration, requestFactory, responseProcessor); + } + /** - * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1ApilistNetworkPolicyForAllNamespaces + * create an IngressClass + * @param param the request object */ - allowWatchBookmarks?: boolean + public createIngressClassWithHttpInfo(param: NetworkingV1ApiCreateIngressClassRequest, options?: Configuration): Promise> { + return this.api.createIngressClassWithHttpInfo(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApilistNetworkPolicyForAllNamespaces + * create an IngressClass + * @param param the request object */ - _continue?: string + public createIngressClass(param: NetworkingV1ApiCreateIngressClassRequest, options?: Configuration): Promise { + return this.api.createIngressClass(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApilistNetworkPolicyForAllNamespaces + * create an Ingress + * @param param the request object */ - fieldSelector?: string + public createNamespacedIngressWithHttpInfo(param: NetworkingV1ApiCreateNamespacedIngressRequest, options?: Configuration): Promise> { + return this.api.createNamespacedIngressWithHttpInfo(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApilistNetworkPolicyForAllNamespaces + * create an Ingress + * @param param the request object */ - labelSelector?: string + public createNamespacedIngress(param: NetworkingV1ApiCreateNamespacedIngressRequest, options?: Configuration): Promise { + return this.api.createNamespacedIngress(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * Defaults to: undefined - * @type number - * @memberof NetworkingV1ApilistNetworkPolicyForAllNamespaces + * create a NetworkPolicy + * @param param the request object */ - limit?: number + public createNamespacedNetworkPolicyWithHttpInfo(param: NetworkingV1ApiCreateNamespacedNetworkPolicyRequest, options?: Configuration): Promise> { + return this.api.createNamespacedNetworkPolicyWithHttpInfo(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApilistNetworkPolicyForAllNamespaces + * create a NetworkPolicy + * @param param the request object */ - pretty?: string + public createNamespacedNetworkPolicy(param: NetworkingV1ApiCreateNamespacedNetworkPolicyRequest, options?: Configuration): Promise { + return this.api.createNamespacedNetworkPolicy(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApilistNetworkPolicyForAllNamespaces + * delete collection of IngressClass + * @param param the request object */ - resourceVersion?: string + public deleteCollectionIngressClassWithHttpInfo(param: NetworkingV1ApiDeleteCollectionIngressClassRequest = {}, options?: Configuration): Promise> { + return this.api.deleteCollectionIngressClassWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } + /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApilistNetworkPolicyForAllNamespaces + * delete collection of IngressClass + * @param param the request object */ - resourceVersionMatch?: string + public deleteCollectionIngressClass(param: NetworkingV1ApiDeleteCollectionIngressClassRequest = {}, options?: Configuration): Promise { + return this.api.deleteCollectionIngressClass(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } + /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1ApilistNetworkPolicyForAllNamespaces + * delete collection of Ingress + * @param param the request object */ - sendInitialEvents?: boolean + public deleteCollectionNamespacedIngressWithHttpInfo(param: NetworkingV1ApiDeleteCollectionNamespacedIngressRequest, options?: Configuration): Promise> { + return this.api.deleteCollectionNamespacedIngressWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } + /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * Defaults to: undefined - * @type number - * @memberof NetworkingV1ApilistNetworkPolicyForAllNamespaces + * delete collection of Ingress + * @param param the request object */ - timeoutSeconds?: number + public deleteCollectionNamespacedIngress(param: NetworkingV1ApiDeleteCollectionNamespacedIngressRequest, options?: Configuration): Promise { + return this.api.deleteCollectionNamespacedIngress(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } + /** - * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1ApilistNetworkPolicyForAllNamespaces + * delete collection of NetworkPolicy + * @param param the request object */ - watch?: boolean -} + public deleteCollectionNamespacedNetworkPolicyWithHttpInfo(param: NetworkingV1ApiDeleteCollectionNamespacedNetworkPolicyRequest, options?: Configuration): Promise> { + return this.api.deleteCollectionNamespacedNetworkPolicyWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } -export interface NetworkingV1ApiPatchIngressClassRequest { /** - * name of the IngressClass - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApipatchIngressClass + * delete collection of NetworkPolicy + * @param param the request object */ - name: string + public deleteCollectionNamespacedNetworkPolicy(param: NetworkingV1ApiDeleteCollectionNamespacedNetworkPolicyRequest, options?: Configuration): Promise { + return this.api.deleteCollectionNamespacedNetworkPolicy(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } + /** - * - * @type any - * @memberof NetworkingV1ApipatchIngressClass + * delete an IngressClass + * @param param the request object */ - body: any + public deleteIngressClassWithHttpInfo(param: NetworkingV1ApiDeleteIngressClassRequest, options?: Configuration): Promise> { + return this.api.deleteIngressClassWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } + /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApipatchIngressClass + * delete an IngressClass + * @param param the request object */ - pretty?: string + public deleteIngressClass(param: NetworkingV1ApiDeleteIngressClassRequest, options?: Configuration): Promise { + return this.api.deleteIngressClass(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } + /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApipatchIngressClass + * delete an Ingress + * @param param the request object */ - dryRun?: string + public deleteNamespacedIngressWithHttpInfo(param: NetworkingV1ApiDeleteNamespacedIngressRequest, options?: Configuration): Promise> { + return this.api.deleteNamespacedIngressWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } + /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApipatchIngressClass + * delete an Ingress + * @param param the request object */ - fieldManager?: string + public deleteNamespacedIngress(param: NetworkingV1ApiDeleteNamespacedIngressRequest, options?: Configuration): Promise { + return this.api.deleteNamespacedIngress(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } + /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApipatchIngressClass + * delete a NetworkPolicy + * @param param the request object */ - fieldValidation?: string + public deleteNamespacedNetworkPolicyWithHttpInfo(param: NetworkingV1ApiDeleteNamespacedNetworkPolicyRequest, options?: Configuration): Promise> { + return this.api.deleteNamespacedNetworkPolicyWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } + /** - * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1ApipatchIngressClass + * delete a NetworkPolicy + * @param param the request object */ - force?: boolean -} + public deleteNamespacedNetworkPolicy(param: NetworkingV1ApiDeleteNamespacedNetworkPolicyRequest, options?: Configuration): Promise { + return this.api.deleteNamespacedNetworkPolicy(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } -export interface NetworkingV1ApiPatchNamespacedIngressRequest { /** - * name of the Ingress - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApipatchNamespacedIngress + * get available resources + * @param param the request object */ - name: string + public getAPIResourcesWithHttpInfo(param: NetworkingV1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise> { + return this.api.getAPIResourcesWithHttpInfo( options).toPromise(); + } + /** - * object name and auth scope, such as for teams and projects - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApipatchNamespacedIngress + * get available resources + * @param param the request object */ - namespace: string + public getAPIResources(param: NetworkingV1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise { + return this.api.getAPIResources( options).toPromise(); + } + /** - * - * @type any - * @memberof NetworkingV1ApipatchNamespacedIngress + * list or watch objects of kind IngressClass + * @param param the request object */ - body: any + public listIngressClassWithHttpInfo(param: NetworkingV1ApiListIngressClassRequest = {}, options?: Configuration): Promise> { + return this.api.listIngressClassWithHttpInfo(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApipatchNamespacedIngress + * list or watch objects of kind IngressClass + * @param param the request object */ - pretty?: string + public listIngressClass(param: NetworkingV1ApiListIngressClassRequest = {}, options?: Configuration): Promise { + return this.api.listIngressClass(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApipatchNamespacedIngress + * list or watch objects of kind Ingress + * @param param the request object */ - dryRun?: string + public listIngressForAllNamespacesWithHttpInfo(param: NetworkingV1ApiListIngressForAllNamespacesRequest = {}, options?: Configuration): Promise> { + return this.api.listIngressForAllNamespacesWithHttpInfo(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApipatchNamespacedIngress + * list or watch objects of kind Ingress + * @param param the request object */ - fieldManager?: string + public listIngressForAllNamespaces(param: NetworkingV1ApiListIngressForAllNamespacesRequest = {}, options?: Configuration): Promise { + return this.api.listIngressForAllNamespaces(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApipatchNamespacedIngress + * list or watch objects of kind Ingress + * @param param the request object */ - fieldValidation?: string + public listNamespacedIngressWithHttpInfo(param: NetworkingV1ApiListNamespacedIngressRequest, options?: Configuration): Promise> { + return this.api.listNamespacedIngressWithHttpInfo(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1ApipatchNamespacedIngress + * list or watch objects of kind Ingress + * @param param the request object */ - force?: boolean -} + public listNamespacedIngress(param: NetworkingV1ApiListNamespacedIngressRequest, options?: Configuration): Promise { + return this.api.listNamespacedIngress(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } -export interface NetworkingV1ApiPatchNamespacedIngressStatusRequest { /** - * name of the Ingress - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApipatchNamespacedIngressStatus + * list or watch objects of kind NetworkPolicy + * @param param the request object */ - name: string + public listNamespacedNetworkPolicyWithHttpInfo(param: NetworkingV1ApiListNamespacedNetworkPolicyRequest, options?: Configuration): Promise> { + return this.api.listNamespacedNetworkPolicyWithHttpInfo(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * object name and auth scope, such as for teams and projects - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApipatchNamespacedIngressStatus + * list or watch objects of kind NetworkPolicy + * @param param the request object */ - namespace: string + public listNamespacedNetworkPolicy(param: NetworkingV1ApiListNamespacedNetworkPolicyRequest, options?: Configuration): Promise { + return this.api.listNamespacedNetworkPolicy(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * - * @type any - * @memberof NetworkingV1ApipatchNamespacedIngressStatus + * list or watch objects of kind NetworkPolicy + * @param param the request object */ - body: any + public listNetworkPolicyForAllNamespacesWithHttpInfo(param: NetworkingV1ApiListNetworkPolicyForAllNamespacesRequest = {}, options?: Configuration): Promise> { + return this.api.listNetworkPolicyForAllNamespacesWithHttpInfo(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApipatchNamespacedIngressStatus + * list or watch objects of kind NetworkPolicy + * @param param the request object */ - pretty?: string + public listNetworkPolicyForAllNamespaces(param: NetworkingV1ApiListNetworkPolicyForAllNamespacesRequest = {}, options?: Configuration): Promise { + return this.api.listNetworkPolicyForAllNamespaces(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApipatchNamespacedIngressStatus + * partially update the specified IngressClass + * @param param the request object */ - dryRun?: string + public patchIngressClassWithHttpInfo(param: NetworkingV1ApiPatchIngressClassRequest, options?: Configuration): Promise> { + return this.api.patchIngressClassWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApipatchNamespacedIngressStatus + * partially update the specified IngressClass + * @param param the request object */ - fieldManager?: string + public patchIngressClass(param: NetworkingV1ApiPatchIngressClassRequest, options?: Configuration): Promise { + return this.api.patchIngressClass(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApipatchNamespacedIngressStatus + * partially update the specified Ingress + * @param param the request object */ - fieldValidation?: string + public patchNamespacedIngressWithHttpInfo(param: NetworkingV1ApiPatchNamespacedIngressRequest, options?: Configuration): Promise> { + return this.api.patchNamespacedIngressWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + /** - * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1ApipatchNamespacedIngressStatus + * partially update the specified Ingress + * @param param the request object */ - force?: boolean -} + public patchNamespacedIngress(param: NetworkingV1ApiPatchNamespacedIngressRequest, options?: Configuration): Promise { + return this.api.patchNamespacedIngress(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } -export interface NetworkingV1ApiPatchNamespacedNetworkPolicyRequest { /** - * name of the NetworkPolicy - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApipatchNamespacedNetworkPolicy + * partially update status of the specified Ingress + * @param param the request object */ - name: string + public patchNamespacedIngressStatusWithHttpInfo(param: NetworkingV1ApiPatchNamespacedIngressStatusRequest, options?: Configuration): Promise> { + return this.api.patchNamespacedIngressStatusWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + /** - * object name and auth scope, such as for teams and projects - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApipatchNamespacedNetworkPolicy + * partially update status of the specified Ingress + * @param param the request object */ - namespace: string + public patchNamespacedIngressStatus(param: NetworkingV1ApiPatchNamespacedIngressStatusRequest, options?: Configuration): Promise { + return this.api.patchNamespacedIngressStatus(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + /** - * - * @type any - * @memberof NetworkingV1ApipatchNamespacedNetworkPolicy + * partially update the specified NetworkPolicy + * @param param the request object */ - body: any + public patchNamespacedNetworkPolicyWithHttpInfo(param: NetworkingV1ApiPatchNamespacedNetworkPolicyRequest, options?: Configuration): Promise> { + return this.api.patchNamespacedNetworkPolicyWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApipatchNamespacedNetworkPolicy + * partially update the specified NetworkPolicy + * @param param the request object */ - pretty?: string + public patchNamespacedNetworkPolicy(param: NetworkingV1ApiPatchNamespacedNetworkPolicyRequest, options?: Configuration): Promise { + return this.api.patchNamespacedNetworkPolicy(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApipatchNamespacedNetworkPolicy + * read the specified IngressClass + * @param param the request object */ - dryRun?: string + public readIngressClassWithHttpInfo(param: NetworkingV1ApiReadIngressClassRequest, options?: Configuration): Promise> { + return this.api.readIngressClassWithHttpInfo(param.name, param.pretty, options).toPromise(); + } + /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApipatchNamespacedNetworkPolicy + * read the specified IngressClass + * @param param the request object */ - fieldManager?: string + public readIngressClass(param: NetworkingV1ApiReadIngressClassRequest, options?: Configuration): Promise { + return this.api.readIngressClass(param.name, param.pretty, options).toPromise(); + } + /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApipatchNamespacedNetworkPolicy + * read the specified Ingress + * @param param the request object */ - fieldValidation?: string + public readNamespacedIngressWithHttpInfo(param: NetworkingV1ApiReadNamespacedIngressRequest, options?: Configuration): Promise> { + return this.api.readNamespacedIngressWithHttpInfo(param.name, param.namespace, param.pretty, options).toPromise(); + } + /** - * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1ApipatchNamespacedNetworkPolicy + * read the specified Ingress + * @param param the request object */ - force?: boolean -} + public readNamespacedIngress(param: NetworkingV1ApiReadNamespacedIngressRequest, options?: Configuration): Promise { + return this.api.readNamespacedIngress(param.name, param.namespace, param.pretty, options).toPromise(); + } -export interface NetworkingV1ApiReadIngressClassRequest { /** - * name of the IngressClass - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApireadIngressClass + * read status of the specified Ingress + * @param param the request object */ - name: string + public readNamespacedIngressStatusWithHttpInfo(param: NetworkingV1ApiReadNamespacedIngressStatusRequest, options?: Configuration): Promise> { + return this.api.readNamespacedIngressStatusWithHttpInfo(param.name, param.namespace, param.pretty, options).toPromise(); + } + /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApireadIngressClass + * read status of the specified Ingress + * @param param the request object */ - pretty?: string -} + public readNamespacedIngressStatus(param: NetworkingV1ApiReadNamespacedIngressStatusRequest, options?: Configuration): Promise { + return this.api.readNamespacedIngressStatus(param.name, param.namespace, param.pretty, options).toPromise(); + } -export interface NetworkingV1ApiReadNamespacedIngressRequest { /** - * name of the Ingress - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApireadNamespacedIngress + * read the specified NetworkPolicy + * @param param the request object */ - name: string + public readNamespacedNetworkPolicyWithHttpInfo(param: NetworkingV1ApiReadNamespacedNetworkPolicyRequest, options?: Configuration): Promise> { + return this.api.readNamespacedNetworkPolicyWithHttpInfo(param.name, param.namespace, param.pretty, options).toPromise(); + } + /** - * object name and auth scope, such as for teams and projects - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApireadNamespacedIngress + * read the specified NetworkPolicy + * @param param the request object */ - namespace: string + public readNamespacedNetworkPolicy(param: NetworkingV1ApiReadNamespacedNetworkPolicyRequest, options?: Configuration): Promise { + return this.api.readNamespacedNetworkPolicy(param.name, param.namespace, param.pretty, options).toPromise(); + } + /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApireadNamespacedIngress + * replace the specified IngressClass + * @param param the request object */ - pretty?: string -} + public replaceIngressClassWithHttpInfo(param: NetworkingV1ApiReplaceIngressClassRequest, options?: Configuration): Promise> { + return this.api.replaceIngressClassWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } -export interface NetworkingV1ApiReadNamespacedIngressStatusRequest { /** - * name of the Ingress - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApireadNamespacedIngressStatus + * replace the specified IngressClass + * @param param the request object */ - name: string + public replaceIngressClass(param: NetworkingV1ApiReplaceIngressClassRequest, options?: Configuration): Promise { + return this.api.replaceIngressClass(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * object name and auth scope, such as for teams and projects - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApireadNamespacedIngressStatus + * replace the specified Ingress + * @param param the request object */ - namespace: string + public replaceNamespacedIngressWithHttpInfo(param: NetworkingV1ApiReplaceNamespacedIngressRequest, options?: Configuration): Promise> { + return this.api.replaceNamespacedIngressWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApireadNamespacedIngressStatus + * replace the specified Ingress + * @param param the request object */ - pretty?: string -} + public replaceNamespacedIngress(param: NetworkingV1ApiReplaceNamespacedIngressRequest, options?: Configuration): Promise { + return this.api.replaceNamespacedIngress(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } -export interface NetworkingV1ApiReadNamespacedNetworkPolicyRequest { /** - * name of the NetworkPolicy - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApireadNamespacedNetworkPolicy + * replace status of the specified Ingress + * @param param the request object */ - name: string + public replaceNamespacedIngressStatusWithHttpInfo(param: NetworkingV1ApiReplaceNamespacedIngressStatusRequest, options?: Configuration): Promise> { + return this.api.replaceNamespacedIngressStatusWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * object name and auth scope, such as for teams and projects - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApireadNamespacedNetworkPolicy + * replace status of the specified Ingress + * @param param the request object */ - namespace: string + public replaceNamespacedIngressStatus(param: NetworkingV1ApiReplaceNamespacedIngressStatusRequest, options?: Configuration): Promise { + return this.api.replaceNamespacedIngressStatus(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApireadNamespacedNetworkPolicy + * replace the specified NetworkPolicy + * @param param the request object */ - pretty?: string -} + public replaceNamespacedNetworkPolicyWithHttpInfo(param: NetworkingV1ApiReplaceNamespacedNetworkPolicyRequest, options?: Configuration): Promise> { + return this.api.replaceNamespacedNetworkPolicyWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } -export interface NetworkingV1ApiReplaceIngressClassRequest { /** - * name of the IngressClass - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApireplaceIngressClass + * replace the specified NetworkPolicy + * @param param the request object */ - name: string + public replaceNamespacedNetworkPolicy(param: NetworkingV1ApiReplaceNamespacedNetworkPolicyRequest, options?: Configuration): Promise { + return this.api.replaceNamespacedNetworkPolicy(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + +} + +import { ObservableNetworkingV1beta1Api } from "./ObservableAPI"; +import { NetworkingV1beta1ApiRequestFactory, NetworkingV1beta1ApiResponseProcessor} from "../apis/NetworkingV1beta1Api"; + +export interface NetworkingV1beta1ApiCreateIPAddressRequest { /** * - * @type V1IngressClass - * @memberof NetworkingV1ApireplaceIngressClass + * @type V1beta1IPAddress + * @memberof NetworkingV1beta1ApicreateIPAddress */ - body: V1IngressClass + body: V1beta1IPAddress /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1ApireplaceIngressClass + * @memberof NetworkingV1beta1ApicreateIPAddress */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof NetworkingV1ApireplaceIngressClass + * @memberof NetworkingV1beta1ApicreateIPAddress */ dryRun?: string /** * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof NetworkingV1ApireplaceIngressClass + * @memberof NetworkingV1beta1ApicreateIPAddress */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof NetworkingV1ApireplaceIngressClass + * @memberof NetworkingV1beta1ApicreateIPAddress */ fieldValidation?: string } -export interface NetworkingV1ApiReplaceNamespacedIngressRequest { - /** - * name of the Ingress - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApireplaceNamespacedIngress - */ - name: string - /** - * object name and auth scope, such as for teams and projects - * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApireplaceNamespacedIngress - */ - namespace: string +export interface NetworkingV1beta1ApiCreateServiceCIDRRequest { /** * - * @type V1Ingress - * @memberof NetworkingV1ApireplaceNamespacedIngress + * @type V1beta1ServiceCIDR + * @memberof NetworkingV1beta1ApicreateServiceCIDR */ - body: V1Ingress + body: V1beta1ServiceCIDR /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1ApireplaceNamespacedIngress + * @memberof NetworkingV1beta1ApicreateServiceCIDR */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof NetworkingV1ApireplaceNamespacedIngress + * @memberof NetworkingV1beta1ApicreateServiceCIDR */ dryRun?: string /** * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof NetworkingV1ApireplaceNamespacedIngress + * @memberof NetworkingV1beta1ApicreateServiceCIDR */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof NetworkingV1ApireplaceNamespacedIngress + * @memberof NetworkingV1beta1ApicreateServiceCIDR */ fieldValidation?: string } -export interface NetworkingV1ApiReplaceNamespacedIngressStatusRequest { +export interface NetworkingV1beta1ApiDeleteCollectionIPAddressRequest { /** - * name of the Ingress + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1ApireplaceNamespacedIngressStatus + * @memberof NetworkingV1beta1ApideleteCollectionIPAddress */ - name: string + pretty?: string /** - * object name and auth scope, such as for teams and projects + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof NetworkingV1ApireplaceNamespacedIngressStatus + * @memberof NetworkingV1beta1ApideleteCollectionIPAddress */ - namespace: string + _continue?: string /** - * - * @type V1Ingress - * @memberof NetworkingV1ApireplaceNamespacedIngressStatus + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApideleteCollectionIPAddress */ - body: V1Ingress + dryRun?: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof NetworkingV1ApireplaceNamespacedIngressStatus + * @memberof NetworkingV1beta1ApideleteCollectionIPAddress */ - pretty?: string + fieldSelector?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApireplaceNamespacedIngressStatus + * @type number + * @memberof NetworkingV1beta1ApideleteCollectionIPAddress */ - dryRun?: string + gracePeriodSeconds?: number /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1beta1ApideleteCollectionIPAddress + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof NetworkingV1ApireplaceNamespacedIngressStatus + * @memberof NetworkingV1beta1ApideleteCollectionIPAddress */ - fieldManager?: string + labelSelector?: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * Defaults to: undefined + * @type number + * @memberof NetworkingV1beta1ApideleteCollectionIPAddress + */ + limit?: number + /** + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1beta1ApideleteCollectionIPAddress + */ + orphanDependents?: boolean + /** + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof NetworkingV1ApireplaceNamespacedIngressStatus + * @memberof NetworkingV1beta1ApideleteCollectionIPAddress */ - fieldValidation?: string -} - -export interface NetworkingV1ApiReplaceNamespacedNetworkPolicyRequest { + propagationPolicy?: string /** - * name of the NetworkPolicy + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof NetworkingV1ApireplaceNamespacedNetworkPolicy + * @memberof NetworkingV1beta1ApideleteCollectionIPAddress */ - name: string + resourceVersion?: string /** - * object name and auth scope, such as for teams and projects + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof NetworkingV1ApireplaceNamespacedNetworkPolicy + * @memberof NetworkingV1beta1ApideleteCollectionIPAddress */ - namespace: string + resourceVersionMatch?: string + /** + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1beta1ApideleteCollectionIPAddress + */ + sendInitialEvents?: boolean + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * Defaults to: undefined + * @type number + * @memberof NetworkingV1beta1ApideleteCollectionIPAddress + */ + timeoutSeconds?: number /** * - * @type V1NetworkPolicy - * @memberof NetworkingV1ApireplaceNamespacedNetworkPolicy + * @type V1DeleteOptions + * @memberof NetworkingV1beta1ApideleteCollectionIPAddress */ - body: V1NetworkPolicy + body?: V1DeleteOptions +} + +export interface NetworkingV1beta1ApiDeleteCollectionServiceCIDRRequest { /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1ApireplaceNamespacedNetworkPolicy + * @memberof NetworkingV1beta1ApideleteCollectionServiceCIDR */ pretty?: string + /** + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApideleteCollectionServiceCIDR + */ + _continue?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof NetworkingV1ApireplaceNamespacedNetworkPolicy + * @memberof NetworkingV1beta1ApideleteCollectionServiceCIDR */ dryRun?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof NetworkingV1ApireplaceNamespacedNetworkPolicy + * @memberof NetworkingV1beta1ApideleteCollectionServiceCIDR */ - fieldManager?: string + fieldSelector?: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined - * @type string - * @memberof NetworkingV1ApireplaceNamespacedNetworkPolicy + * @type number + * @memberof NetworkingV1beta1ApideleteCollectionServiceCIDR */ - fieldValidation?: string -} - -export class ObjectNetworkingV1Api { - private api: ObservableNetworkingV1Api - - public constructor(configuration: Configuration, requestFactory?: NetworkingV1ApiRequestFactory, responseProcessor?: NetworkingV1ApiResponseProcessor) { - this.api = new ObservableNetworkingV1Api(configuration, requestFactory, responseProcessor); - } - + gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1beta1ApideleteCollectionServiceCIDR + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** - * create an IngressClass - * @param param the request object + * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApideleteCollectionServiceCIDR */ - public createIngressClassWithHttpInfo(param: NetworkingV1ApiCreateIngressClassRequest, options?: Configuration): Promise> { - return this.api.createIngressClassWithHttpInfo(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + labelSelector?: string /** - * create an IngressClass - * @param param the request object + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * Defaults to: undefined + * @type number + * @memberof NetworkingV1beta1ApideleteCollectionServiceCIDR */ - public createIngressClass(param: NetworkingV1ApiCreateIngressClassRequest, options?: Configuration): Promise { - return this.api.createIngressClass(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + limit?: number /** - * create an Ingress - * @param param the request object + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1beta1ApideleteCollectionServiceCIDR */ - public createNamespacedIngressWithHttpInfo(param: NetworkingV1ApiCreateNamespacedIngressRequest, options?: Configuration): Promise> { - return this.api.createNamespacedIngressWithHttpInfo(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + orphanDependents?: boolean /** - * create an Ingress - * @param param the request object + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApideleteCollectionServiceCIDR */ - public createNamespacedIngress(param: NetworkingV1ApiCreateNamespacedIngressRequest, options?: Configuration): Promise { - return this.api.createNamespacedIngress(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + propagationPolicy?: string /** - * create a NetworkPolicy - * @param param the request object + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApideleteCollectionServiceCIDR */ - public createNamespacedNetworkPolicyWithHttpInfo(param: NetworkingV1ApiCreateNamespacedNetworkPolicyRequest, options?: Configuration): Promise> { - return this.api.createNamespacedNetworkPolicyWithHttpInfo(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + resourceVersion?: string /** - * create a NetworkPolicy - * @param param the request object + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApideleteCollectionServiceCIDR */ - public createNamespacedNetworkPolicy(param: NetworkingV1ApiCreateNamespacedNetworkPolicyRequest, options?: Configuration): Promise { - return this.api.createNamespacedNetworkPolicy(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + resourceVersionMatch?: string /** - * delete collection of IngressClass - * @param param the request object + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1beta1ApideleteCollectionServiceCIDR */ - public deleteCollectionIngressClassWithHttpInfo(param: NetworkingV1ApiDeleteCollectionIngressClassRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionIngressClassWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); - } - + sendInitialEvents?: boolean /** - * delete collection of IngressClass - * @param param the request object + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * Defaults to: undefined + * @type number + * @memberof NetworkingV1beta1ApideleteCollectionServiceCIDR */ - public deleteCollectionIngressClass(param: NetworkingV1ApiDeleteCollectionIngressClassRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionIngressClass(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); - } - + timeoutSeconds?: number /** - * delete collection of Ingress - * @param param the request object + * + * @type V1DeleteOptions + * @memberof NetworkingV1beta1ApideleteCollectionServiceCIDR */ - public deleteCollectionNamespacedIngressWithHttpInfo(param: NetworkingV1ApiDeleteCollectionNamespacedIngressRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedIngressWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); - } + body?: V1DeleteOptions +} +export interface NetworkingV1beta1ApiDeleteIPAddressRequest { /** - * delete collection of Ingress - * @param param the request object + * name of the IPAddress + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApideleteIPAddress */ - public deleteCollectionNamespacedIngress(param: NetworkingV1ApiDeleteCollectionNamespacedIngressRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedIngress(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); - } - + name: string /** - * delete collection of NetworkPolicy - * @param param the request object + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApideleteIPAddress */ - public deleteCollectionNamespacedNetworkPolicyWithHttpInfo(param: NetworkingV1ApiDeleteCollectionNamespacedNetworkPolicyRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedNetworkPolicyWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); - } - + pretty?: string /** - * delete collection of NetworkPolicy - * @param param the request object + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApideleteIPAddress */ - public deleteCollectionNamespacedNetworkPolicy(param: NetworkingV1ApiDeleteCollectionNamespacedNetworkPolicyRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedNetworkPolicy(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); - } - + dryRun?: string /** - * delete an IngressClass - * @param param the request object + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * Defaults to: undefined + * @type number + * @memberof NetworkingV1beta1ApideleteIPAddress */ - public deleteIngressClassWithHttpInfo(param: NetworkingV1ApiDeleteIngressClassRequest, options?: Configuration): Promise> { - return this.api.deleteIngressClassWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); - } - + gracePeriodSeconds?: number /** - * delete an IngressClass - * @param param the request object + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1beta1ApideleteIPAddress */ - public deleteIngressClass(param: NetworkingV1ApiDeleteIngressClassRequest, options?: Configuration): Promise { - return this.api.deleteIngressClass(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); - } - + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** - * delete an Ingress - * @param param the request object + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1beta1ApideleteIPAddress */ - public deleteNamespacedIngressWithHttpInfo(param: NetworkingV1ApiDeleteNamespacedIngressRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedIngressWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); - } - + orphanDependents?: boolean /** - * delete an Ingress - * @param param the request object + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApideleteIPAddress */ - public deleteNamespacedIngress(param: NetworkingV1ApiDeleteNamespacedIngressRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedIngress(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); - } - + propagationPolicy?: string /** - * delete a NetworkPolicy - * @param param the request object + * + * @type V1DeleteOptions + * @memberof NetworkingV1beta1ApideleteIPAddress */ - public deleteNamespacedNetworkPolicyWithHttpInfo(param: NetworkingV1ApiDeleteNamespacedNetworkPolicyRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedNetworkPolicyWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); - } + body?: V1DeleteOptions +} +export interface NetworkingV1beta1ApiDeleteServiceCIDRRequest { /** - * delete a NetworkPolicy - * @param param the request object + * name of the ServiceCIDR + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApideleteServiceCIDR */ - public deleteNamespacedNetworkPolicy(param: NetworkingV1ApiDeleteNamespacedNetworkPolicyRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedNetworkPolicy(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); - } - + name: string /** - * get available resources - * @param param the request object + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApideleteServiceCIDR */ - public getAPIResourcesWithHttpInfo(param: NetworkingV1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise> { - return this.api.getAPIResourcesWithHttpInfo( options).toPromise(); - } - + pretty?: string /** - * get available resources - * @param param the request object + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApideleteServiceCIDR */ - public getAPIResources(param: NetworkingV1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise { - return this.api.getAPIResources( options).toPromise(); - } - + dryRun?: string /** - * list or watch objects of kind IngressClass - * @param param the request object + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * Defaults to: undefined + * @type number + * @memberof NetworkingV1beta1ApideleteServiceCIDR */ - public listIngressClassWithHttpInfo(param: NetworkingV1ApiListIngressClassRequest = {}, options?: Configuration): Promise> { - return this.api.listIngressClassWithHttpInfo(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - + gracePeriodSeconds?: number /** - * list or watch objects of kind IngressClass - * @param param the request object + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1beta1ApideleteServiceCIDR */ - public listIngressClass(param: NetworkingV1ApiListIngressClassRequest = {}, options?: Configuration): Promise { - return this.api.listIngressClass(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** - * list or watch objects of kind Ingress - * @param param the request object + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1beta1ApideleteServiceCIDR */ - public listIngressForAllNamespacesWithHttpInfo(param: NetworkingV1ApiListIngressForAllNamespacesRequest = {}, options?: Configuration): Promise> { - return this.api.listIngressForAllNamespacesWithHttpInfo(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - + orphanDependents?: boolean /** - * list or watch objects of kind Ingress - * @param param the request object + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApideleteServiceCIDR */ - public listIngressForAllNamespaces(param: NetworkingV1ApiListIngressForAllNamespacesRequest = {}, options?: Configuration): Promise { - return this.api.listIngressForAllNamespaces(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - + propagationPolicy?: string /** - * list or watch objects of kind Ingress - * @param param the request object + * + * @type V1DeleteOptions + * @memberof NetworkingV1beta1ApideleteServiceCIDR */ - public listNamespacedIngressWithHttpInfo(param: NetworkingV1ApiListNamespacedIngressRequest, options?: Configuration): Promise> { - return this.api.listNamespacedIngressWithHttpInfo(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } + body?: V1DeleteOptions +} + +export interface NetworkingV1beta1ApiGetAPIResourcesRequest { +} +export interface NetworkingV1beta1ApiListIPAddressRequest { /** - * list or watch objects of kind Ingress - * @param param the request object + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApilistIPAddress */ - public listNamespacedIngress(param: NetworkingV1ApiListNamespacedIngressRequest, options?: Configuration): Promise { - return this.api.listNamespacedIngress(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - + pretty?: string /** - * list or watch objects of kind NetworkPolicy - * @param param the request object + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1beta1ApilistIPAddress */ - public listNamespacedNetworkPolicyWithHttpInfo(param: NetworkingV1ApiListNamespacedNetworkPolicyRequest, options?: Configuration): Promise> { - return this.api.listNamespacedNetworkPolicyWithHttpInfo(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - + allowWatchBookmarks?: boolean /** - * list or watch objects of kind NetworkPolicy - * @param param the request object + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApilistIPAddress */ - public listNamespacedNetworkPolicy(param: NetworkingV1ApiListNamespacedNetworkPolicyRequest, options?: Configuration): Promise { - return this.api.listNamespacedNetworkPolicy(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - + _continue?: string /** - * list or watch objects of kind NetworkPolicy - * @param param the request object + * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApilistIPAddress */ - public listNetworkPolicyForAllNamespacesWithHttpInfo(param: NetworkingV1ApiListNetworkPolicyForAllNamespacesRequest = {}, options?: Configuration): Promise> { - return this.api.listNetworkPolicyForAllNamespacesWithHttpInfo(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - + fieldSelector?: string /** - * list or watch objects of kind NetworkPolicy - * @param param the request object + * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApilistIPAddress */ - public listNetworkPolicyForAllNamespaces(param: NetworkingV1ApiListNetworkPolicyForAllNamespacesRequest = {}, options?: Configuration): Promise { - return this.api.listNetworkPolicyForAllNamespaces(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - + labelSelector?: string /** - * partially update the specified IngressClass - * @param param the request object + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * Defaults to: undefined + * @type number + * @memberof NetworkingV1beta1ApilistIPAddress */ - public patchIngressClassWithHttpInfo(param: NetworkingV1ApiPatchIngressClassRequest, options?: Configuration): Promise> { - return this.api.patchIngressClassWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - + limit?: number /** - * partially update the specified IngressClass - * @param param the request object + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApilistIPAddress */ - public patchIngressClass(param: NetworkingV1ApiPatchIngressClassRequest, options?: Configuration): Promise { - return this.api.patchIngressClass(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - + resourceVersion?: string /** - * partially update the specified Ingress - * @param param the request object + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApilistIPAddress */ - public patchNamespacedIngressWithHttpInfo(param: NetworkingV1ApiPatchNamespacedIngressRequest, options?: Configuration): Promise> { - return this.api.patchNamespacedIngressWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - + resourceVersionMatch?: string /** - * partially update the specified Ingress - * @param param the request object + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1beta1ApilistIPAddress */ - public patchNamespacedIngress(param: NetworkingV1ApiPatchNamespacedIngressRequest, options?: Configuration): Promise { - return this.api.patchNamespacedIngress(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - + sendInitialEvents?: boolean /** - * partially update status of the specified Ingress - * @param param the request object + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * Defaults to: undefined + * @type number + * @memberof NetworkingV1beta1ApilistIPAddress */ - public patchNamespacedIngressStatusWithHttpInfo(param: NetworkingV1ApiPatchNamespacedIngressStatusRequest, options?: Configuration): Promise> { - return this.api.patchNamespacedIngressStatusWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - + timeoutSeconds?: number /** - * partially update status of the specified Ingress - * @param param the request object + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1beta1ApilistIPAddress */ - public patchNamespacedIngressStatus(param: NetworkingV1ApiPatchNamespacedIngressStatusRequest, options?: Configuration): Promise { - return this.api.patchNamespacedIngressStatus(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } + watch?: boolean +} +export interface NetworkingV1beta1ApiListServiceCIDRRequest { /** - * partially update the specified NetworkPolicy - * @param param the request object + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApilistServiceCIDR */ - public patchNamespacedNetworkPolicyWithHttpInfo(param: NetworkingV1ApiPatchNamespacedNetworkPolicyRequest, options?: Configuration): Promise> { - return this.api.patchNamespacedNetworkPolicyWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - + pretty?: string /** - * partially update the specified NetworkPolicy - * @param param the request object + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1beta1ApilistServiceCIDR */ - public patchNamespacedNetworkPolicy(param: NetworkingV1ApiPatchNamespacedNetworkPolicyRequest, options?: Configuration): Promise { - return this.api.patchNamespacedNetworkPolicy(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - + allowWatchBookmarks?: boolean /** - * read the specified IngressClass - * @param param the request object + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApilistServiceCIDR */ - public readIngressClassWithHttpInfo(param: NetworkingV1ApiReadIngressClassRequest, options?: Configuration): Promise> { - return this.api.readIngressClassWithHttpInfo(param.name, param.pretty, options).toPromise(); - } - + _continue?: string /** - * read the specified IngressClass - * @param param the request object + * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApilistServiceCIDR */ - public readIngressClass(param: NetworkingV1ApiReadIngressClassRequest, options?: Configuration): Promise { - return this.api.readIngressClass(param.name, param.pretty, options).toPromise(); - } - + fieldSelector?: string /** - * read the specified Ingress - * @param param the request object + * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApilistServiceCIDR */ - public readNamespacedIngressWithHttpInfo(param: NetworkingV1ApiReadNamespacedIngressRequest, options?: Configuration): Promise> { - return this.api.readNamespacedIngressWithHttpInfo(param.name, param.namespace, param.pretty, options).toPromise(); - } - + labelSelector?: string /** - * read the specified Ingress - * @param param the request object + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * Defaults to: undefined + * @type number + * @memberof NetworkingV1beta1ApilistServiceCIDR */ - public readNamespacedIngress(param: NetworkingV1ApiReadNamespacedIngressRequest, options?: Configuration): Promise { - return this.api.readNamespacedIngress(param.name, param.namespace, param.pretty, options).toPromise(); - } - + limit?: number /** - * read status of the specified Ingress - * @param param the request object + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApilistServiceCIDR */ - public readNamespacedIngressStatusWithHttpInfo(param: NetworkingV1ApiReadNamespacedIngressStatusRequest, options?: Configuration): Promise> { - return this.api.readNamespacedIngressStatusWithHttpInfo(param.name, param.namespace, param.pretty, options).toPromise(); - } - + resourceVersion?: string /** - * read status of the specified Ingress - * @param param the request object + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApilistServiceCIDR */ - public readNamespacedIngressStatus(param: NetworkingV1ApiReadNamespacedIngressStatusRequest, options?: Configuration): Promise { - return this.api.readNamespacedIngressStatus(param.name, param.namespace, param.pretty, options).toPromise(); - } - + resourceVersionMatch?: string /** - * read the specified NetworkPolicy - * @param param the request object + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1beta1ApilistServiceCIDR */ - public readNamespacedNetworkPolicyWithHttpInfo(param: NetworkingV1ApiReadNamespacedNetworkPolicyRequest, options?: Configuration): Promise> { - return this.api.readNamespacedNetworkPolicyWithHttpInfo(param.name, param.namespace, param.pretty, options).toPromise(); - } - + sendInitialEvents?: boolean /** - * read the specified NetworkPolicy - * @param param the request object + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * Defaults to: undefined + * @type number + * @memberof NetworkingV1beta1ApilistServiceCIDR */ - public readNamespacedNetworkPolicy(param: NetworkingV1ApiReadNamespacedNetworkPolicyRequest, options?: Configuration): Promise { - return this.api.readNamespacedNetworkPolicy(param.name, param.namespace, param.pretty, options).toPromise(); - } - + timeoutSeconds?: number /** - * replace the specified IngressClass - * @param param the request object + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1beta1ApilistServiceCIDR */ - public replaceIngressClassWithHttpInfo(param: NetworkingV1ApiReplaceIngressClassRequest, options?: Configuration): Promise> { - return this.api.replaceIngressClassWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } + watch?: boolean +} +export interface NetworkingV1beta1ApiPatchIPAddressRequest { /** - * replace the specified IngressClass - * @param param the request object + * name of the IPAddress + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApipatchIPAddress */ - public replaceIngressClass(param: NetworkingV1ApiReplaceIngressClassRequest, options?: Configuration): Promise { - return this.api.replaceIngressClass(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + name: string /** - * replace the specified Ingress - * @param param the request object + * + * @type any + * @memberof NetworkingV1beta1ApipatchIPAddress */ - public replaceNamespacedIngressWithHttpInfo(param: NetworkingV1ApiReplaceNamespacedIngressRequest, options?: Configuration): Promise> { - return this.api.replaceNamespacedIngressWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + body: any /** - * replace the specified Ingress - * @param param the request object + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApipatchIPAddress */ - public replaceNamespacedIngress(param: NetworkingV1ApiReplaceNamespacedIngressRequest, options?: Configuration): Promise { - return this.api.replaceNamespacedIngress(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + pretty?: string /** - * replace status of the specified Ingress - * @param param the request object + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApipatchIPAddress */ - public replaceNamespacedIngressStatusWithHttpInfo(param: NetworkingV1ApiReplaceNamespacedIngressStatusRequest, options?: Configuration): Promise> { - return this.api.replaceNamespacedIngressStatusWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + dryRun?: string /** - * replace status of the specified Ingress - * @param param the request object + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApipatchIPAddress */ - public replaceNamespacedIngressStatus(param: NetworkingV1ApiReplaceNamespacedIngressStatusRequest, options?: Configuration): Promise { - return this.api.replaceNamespacedIngressStatus(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + fieldManager?: string /** - * replace the specified NetworkPolicy - * @param param the request object + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApipatchIPAddress */ - public replaceNamespacedNetworkPolicyWithHttpInfo(param: NetworkingV1ApiReplaceNamespacedNetworkPolicyRequest, options?: Configuration): Promise> { - return this.api.replaceNamespacedNetworkPolicyWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + fieldValidation?: string /** - * replace the specified NetworkPolicy - * @param param the request object + * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1beta1ApipatchIPAddress */ - public replaceNamespacedNetworkPolicy(param: NetworkingV1ApiReplaceNamespacedNetworkPolicyRequest, options?: Configuration): Promise { - return this.api.replaceNamespacedNetworkPolicy(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + force?: boolean } -import { ObservableNetworkingV1alpha1Api } from "./ObservableAPI.js"; -import { NetworkingV1alpha1ApiRequestFactory, NetworkingV1alpha1ApiResponseProcessor} from "../apis/NetworkingV1alpha1Api.js"; - -export interface NetworkingV1alpha1ApiCreateIPAddressRequest { +export interface NetworkingV1beta1ApiPatchServiceCIDRRequest { + /** + * name of the ServiceCIDR + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApipatchServiceCIDR + */ + name: string /** * - * @type V1alpha1IPAddress - * @memberof NetworkingV1alpha1ApicreateIPAddress + * @type any + * @memberof NetworkingV1beta1ApipatchServiceCIDR */ - body: V1alpha1IPAddress + body: any /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApicreateIPAddress + * @memberof NetworkingV1beta1ApipatchServiceCIDR */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApicreateIPAddress + * @memberof NetworkingV1beta1ApipatchServiceCIDR */ dryRun?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApicreateIPAddress + * @memberof NetworkingV1beta1ApipatchServiceCIDR */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApicreateIPAddress + * @memberof NetworkingV1beta1ApipatchServiceCIDR */ fieldValidation?: string + /** + * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1beta1ApipatchServiceCIDR + */ + force?: boolean } -export interface NetworkingV1alpha1ApiCreateServiceCIDRRequest { +export interface NetworkingV1beta1ApiPatchServiceCIDRStatusRequest { + /** + * name of the ServiceCIDR + * Defaults to: undefined + * @type string + * @memberof NetworkingV1beta1ApipatchServiceCIDRStatus + */ + name: string /** * - * @type V1alpha1ServiceCIDR - * @memberof NetworkingV1alpha1ApicreateServiceCIDR + * @type any + * @memberof NetworkingV1beta1ApipatchServiceCIDRStatus */ - body: V1alpha1ServiceCIDR + body: any /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApicreateServiceCIDR + * @memberof NetworkingV1beta1ApipatchServiceCIDRStatus */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApicreateServiceCIDR + * @memberof NetworkingV1beta1ApipatchServiceCIDRStatus */ dryRun?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApicreateServiceCIDR + * @memberof NetworkingV1beta1ApipatchServiceCIDRStatus */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApicreateServiceCIDR + * @memberof NetworkingV1beta1ApipatchServiceCIDRStatus */ fieldValidation?: string + /** + * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * Defaults to: undefined + * @type boolean + * @memberof NetworkingV1beta1ApipatchServiceCIDRStatus + */ + force?: boolean } -export interface NetworkingV1alpha1ApiDeleteCollectionIPAddressRequest { +export interface NetworkingV1beta1ApiReadIPAddressRequest { /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * name of the IPAddress * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApideleteCollectionIPAddress + * @memberof NetworkingV1beta1ApireadIPAddress */ - pretty?: string + name: string /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApideleteCollectionIPAddress + * @memberof NetworkingV1beta1ApireadIPAddress */ - _continue?: string + pretty?: string +} + +export interface NetworkingV1beta1ApiReadServiceCIDRRequest { /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * name of the ServiceCIDR * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApideleteCollectionIPAddress + * @memberof NetworkingV1beta1ApireadServiceCIDR */ - dryRun?: string + name: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApideleteCollectionIPAddress + * @memberof NetworkingV1beta1ApireadServiceCIDR */ - fieldSelector?: string + pretty?: string +} + +export interface NetworkingV1beta1ApiReadServiceCIDRStatusRequest { /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * name of the ServiceCIDR * Defaults to: undefined - * @type number - * @memberof NetworkingV1alpha1ApideleteCollectionIPAddress + * @type string + * @memberof NetworkingV1beta1ApireadServiceCIDRStatus */ - gracePeriodSeconds?: number + name: string /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApideleteCollectionIPAddress + * @memberof NetworkingV1beta1ApireadServiceCIDRStatus */ - labelSelector?: string + pretty?: string +} + +export interface NetworkingV1beta1ApiReplaceIPAddressRequest { /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * name of the IPAddress * Defaults to: undefined - * @type number - * @memberof NetworkingV1alpha1ApideleteCollectionIPAddress + * @type string + * @memberof NetworkingV1beta1ApireplaceIPAddress */ - limit?: number + name: string /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1alpha1ApideleteCollectionIPAddress + * + * @type V1beta1IPAddress + * @memberof NetworkingV1beta1ApireplaceIPAddress */ - orphanDependents?: boolean + body: V1beta1IPAddress /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApideleteCollectionIPAddress + * @memberof NetworkingV1beta1ApireplaceIPAddress */ - propagationPolicy?: string + pretty?: string /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApideleteCollectionIPAddress + * @memberof NetworkingV1beta1ApireplaceIPAddress */ - resourceVersion?: string + dryRun?: string /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApideleteCollectionIPAddress + * @memberof NetworkingV1beta1ApireplaceIPAddress */ - resourceVersionMatch?: string + fieldManager?: string /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1alpha1ApideleteCollectionIPAddress + * @type string + * @memberof NetworkingV1beta1ApireplaceIPAddress */ - sendInitialEvents?: boolean + fieldValidation?: string +} + +export interface NetworkingV1beta1ApiReplaceServiceCIDRRequest { /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * name of the ServiceCIDR * Defaults to: undefined - * @type number - * @memberof NetworkingV1alpha1ApideleteCollectionIPAddress + * @type string + * @memberof NetworkingV1beta1ApireplaceServiceCIDR */ - timeoutSeconds?: number + name: string /** * - * @type V1DeleteOptions - * @memberof NetworkingV1alpha1ApideleteCollectionIPAddress + * @type V1beta1ServiceCIDR + * @memberof NetworkingV1beta1ApireplaceServiceCIDR */ - body?: V1DeleteOptions -} - -export interface NetworkingV1alpha1ApiDeleteCollectionServiceCIDRRequest { + body: V1beta1ServiceCIDR /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApideleteCollectionServiceCIDR + * @memberof NetworkingV1beta1ApireplaceServiceCIDR */ pretty?: string - /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * Defaults to: undefined - * @type string - * @memberof NetworkingV1alpha1ApideleteCollectionServiceCIDR - */ - _continue?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApideleteCollectionServiceCIDR + * @memberof NetworkingV1beta1ApireplaceServiceCIDR */ dryRun?: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApideleteCollectionServiceCIDR + * @memberof NetworkingV1beta1ApireplaceServiceCIDR */ - fieldSelector?: string + fieldManager?: string /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined - * @type number - * @memberof NetworkingV1alpha1ApideleteCollectionServiceCIDR + * @type string + * @memberof NetworkingV1beta1ApireplaceServiceCIDR */ - gracePeriodSeconds?: number + fieldValidation?: string +} + +export interface NetworkingV1beta1ApiReplaceServiceCIDRStatusRequest { /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * name of the ServiceCIDR * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApideleteCollectionServiceCIDR + * @memberof NetworkingV1beta1ApireplaceServiceCIDRStatus */ - labelSelector?: string + name: string /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * Defaults to: undefined - * @type number - * @memberof NetworkingV1alpha1ApideleteCollectionServiceCIDR + * + * @type V1beta1ServiceCIDR + * @memberof NetworkingV1beta1ApireplaceServiceCIDRStatus */ - limit?: number + body: V1beta1ServiceCIDR /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1alpha1ApideleteCollectionServiceCIDR + * @type string + * @memberof NetworkingV1beta1ApireplaceServiceCIDRStatus */ - orphanDependents?: boolean + pretty?: string /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApideleteCollectionServiceCIDR + * @memberof NetworkingV1beta1ApireplaceServiceCIDRStatus */ - propagationPolicy?: string + dryRun?: string /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApideleteCollectionServiceCIDR + * @memberof NetworkingV1beta1ApireplaceServiceCIDRStatus */ - resourceVersion?: string + fieldManager?: string /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApideleteCollectionServiceCIDR + * @memberof NetworkingV1beta1ApireplaceServiceCIDRStatus */ - resourceVersionMatch?: string + fieldValidation?: string +} + +export class ObjectNetworkingV1beta1Api { + private api: ObservableNetworkingV1beta1Api + + public constructor(configuration: Configuration, requestFactory?: NetworkingV1beta1ApiRequestFactory, responseProcessor?: NetworkingV1beta1ApiResponseProcessor) { + this.api = new ObservableNetworkingV1beta1Api(configuration, requestFactory, responseProcessor); + } + /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1alpha1ApideleteCollectionServiceCIDR + * create an IPAddress + * @param param the request object */ - sendInitialEvents?: boolean + public createIPAddressWithHttpInfo(param: NetworkingV1beta1ApiCreateIPAddressRequest, options?: Configuration): Promise> { + return this.api.createIPAddressWithHttpInfo(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * Defaults to: undefined - * @type number - * @memberof NetworkingV1alpha1ApideleteCollectionServiceCIDR + * create an IPAddress + * @param param the request object */ - timeoutSeconds?: number + public createIPAddress(param: NetworkingV1beta1ApiCreateIPAddressRequest, options?: Configuration): Promise { + return this.api.createIPAddress(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * - * @type V1DeleteOptions - * @memberof NetworkingV1alpha1ApideleteCollectionServiceCIDR + * create a ServiceCIDR + * @param param the request object */ - body?: V1DeleteOptions -} + public createServiceCIDRWithHttpInfo(param: NetworkingV1beta1ApiCreateServiceCIDRRequest, options?: Configuration): Promise> { + return this.api.createServiceCIDRWithHttpInfo(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } -export interface NetworkingV1alpha1ApiDeleteIPAddressRequest { /** - * name of the IPAddress - * Defaults to: undefined - * @type string - * @memberof NetworkingV1alpha1ApideleteIPAddress + * create a ServiceCIDR + * @param param the request object */ - name: string + public createServiceCIDR(param: NetworkingV1beta1ApiCreateServiceCIDRRequest, options?: Configuration): Promise { + return this.api.createServiceCIDR(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof NetworkingV1alpha1ApideleteIPAddress + * delete collection of IPAddress + * @param param the request object */ - pretty?: string + public deleteCollectionIPAddressWithHttpInfo(param: NetworkingV1beta1ApiDeleteCollectionIPAddressRequest = {}, options?: Configuration): Promise> { + return this.api.deleteCollectionIPAddressWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } + /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * Defaults to: undefined - * @type string - * @memberof NetworkingV1alpha1ApideleteIPAddress + * delete collection of IPAddress + * @param param the request object */ - dryRun?: string + public deleteCollectionIPAddress(param: NetworkingV1beta1ApiDeleteCollectionIPAddressRequest = {}, options?: Configuration): Promise { + return this.api.deleteCollectionIPAddress(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } + /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * Defaults to: undefined - * @type number - * @memberof NetworkingV1alpha1ApideleteIPAddress + * delete collection of ServiceCIDR + * @param param the request object */ - gracePeriodSeconds?: number + public deleteCollectionServiceCIDRWithHttpInfo(param: NetworkingV1beta1ApiDeleteCollectionServiceCIDRRequest = {}, options?: Configuration): Promise> { + return this.api.deleteCollectionServiceCIDRWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } + /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1alpha1ApideleteIPAddress + * delete collection of ServiceCIDR + * @param param the request object */ - orphanDependents?: boolean + public deleteCollectionServiceCIDR(param: NetworkingV1beta1ApiDeleteCollectionServiceCIDRRequest = {}, options?: Configuration): Promise { + return this.api.deleteCollectionServiceCIDR(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } + /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * Defaults to: undefined - * @type string - * @memberof NetworkingV1alpha1ApideleteIPAddress + * delete an IPAddress + * @param param the request object */ - propagationPolicy?: string + public deleteIPAddressWithHttpInfo(param: NetworkingV1beta1ApiDeleteIPAddressRequest, options?: Configuration): Promise> { + return this.api.deleteIPAddressWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } + /** - * - * @type V1DeleteOptions - * @memberof NetworkingV1alpha1ApideleteIPAddress + * delete an IPAddress + * @param param the request object */ - body?: V1DeleteOptions -} + public deleteIPAddress(param: NetworkingV1beta1ApiDeleteIPAddressRequest, options?: Configuration): Promise { + return this.api.deleteIPAddress(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } -export interface NetworkingV1alpha1ApiDeleteServiceCIDRRequest { /** - * name of the ServiceCIDR - * Defaults to: undefined - * @type string - * @memberof NetworkingV1alpha1ApideleteServiceCIDR + * delete a ServiceCIDR + * @param param the request object */ - name: string + public deleteServiceCIDRWithHttpInfo(param: NetworkingV1beta1ApiDeleteServiceCIDRRequest, options?: Configuration): Promise> { + return this.api.deleteServiceCIDRWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } + /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof NetworkingV1alpha1ApideleteServiceCIDR + * delete a ServiceCIDR + * @param param the request object */ - pretty?: string + public deleteServiceCIDR(param: NetworkingV1beta1ApiDeleteServiceCIDRRequest, options?: Configuration): Promise { + return this.api.deleteServiceCIDR(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } + /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * Defaults to: undefined - * @type string - * @memberof NetworkingV1alpha1ApideleteServiceCIDR + * get available resources + * @param param the request object */ - dryRun?: string + public getAPIResourcesWithHttpInfo(param: NetworkingV1beta1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise> { + return this.api.getAPIResourcesWithHttpInfo( options).toPromise(); + } + /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * Defaults to: undefined - * @type number - * @memberof NetworkingV1alpha1ApideleteServiceCIDR + * get available resources + * @param param the request object */ - gracePeriodSeconds?: number + public getAPIResources(param: NetworkingV1beta1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise { + return this.api.getAPIResources( options).toPromise(); + } + /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1alpha1ApideleteServiceCIDR + * list or watch objects of kind IPAddress + * @param param the request object */ - orphanDependents?: boolean + public listIPAddressWithHttpInfo(param: NetworkingV1beta1ApiListIPAddressRequest = {}, options?: Configuration): Promise> { + return this.api.listIPAddressWithHttpInfo(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * Defaults to: undefined - * @type string - * @memberof NetworkingV1alpha1ApideleteServiceCIDR + * list or watch objects of kind IPAddress + * @param param the request object */ - propagationPolicy?: string + public listIPAddress(param: NetworkingV1beta1ApiListIPAddressRequest = {}, options?: Configuration): Promise { + return this.api.listIPAddress(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * - * @type V1DeleteOptions - * @memberof NetworkingV1alpha1ApideleteServiceCIDR + * list or watch objects of kind ServiceCIDR + * @param param the request object */ - body?: V1DeleteOptions -} + public listServiceCIDRWithHttpInfo(param: NetworkingV1beta1ApiListServiceCIDRRequest = {}, options?: Configuration): Promise> { + return this.api.listServiceCIDRWithHttpInfo(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } -export interface NetworkingV1alpha1ApiGetAPIResourcesRequest { -} + /** + * list or watch objects of kind ServiceCIDR + * @param param the request object + */ + public listServiceCIDR(param: NetworkingV1beta1ApiListServiceCIDRRequest = {}, options?: Configuration): Promise { + return this.api.listServiceCIDR(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } -export interface NetworkingV1alpha1ApiListIPAddressRequest { /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof NetworkingV1alpha1ApilistIPAddress + * partially update the specified IPAddress + * @param param the request object */ - pretty?: string + public patchIPAddressWithHttpInfo(param: NetworkingV1beta1ApiPatchIPAddressRequest, options?: Configuration): Promise> { + return this.api.patchIPAddressWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + /** - * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1alpha1ApilistIPAddress + * partially update the specified IPAddress + * @param param the request object */ - allowWatchBookmarks?: boolean + public patchIPAddress(param: NetworkingV1beta1ApiPatchIPAddressRequest, options?: Configuration): Promise { + return this.api.patchIPAddress(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * Defaults to: undefined - * @type string - * @memberof NetworkingV1alpha1ApilistIPAddress + * partially update the specified ServiceCIDR + * @param param the request object */ - _continue?: string + public patchServiceCIDRWithHttpInfo(param: NetworkingV1beta1ApiPatchServiceCIDRRequest, options?: Configuration): Promise> { + return this.api.patchServiceCIDRWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof NetworkingV1alpha1ApilistIPAddress + * partially update the specified ServiceCIDR + * @param param the request object */ - fieldSelector?: string + public patchServiceCIDR(param: NetworkingV1beta1ApiPatchServiceCIDRRequest, options?: Configuration): Promise { + return this.api.patchServiceCIDR(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof NetworkingV1alpha1ApilistIPAddress + * partially update status of the specified ServiceCIDR + * @param param the request object */ - labelSelector?: string + public patchServiceCIDRStatusWithHttpInfo(param: NetworkingV1beta1ApiPatchServiceCIDRStatusRequest, options?: Configuration): Promise> { + return this.api.patchServiceCIDRStatusWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * Defaults to: undefined - * @type number - * @memberof NetworkingV1alpha1ApilistIPAddress + * partially update status of the specified ServiceCIDR + * @param param the request object */ - limit?: number + public patchServiceCIDRStatus(param: NetworkingV1beta1ApiPatchServiceCIDRStatusRequest, options?: Configuration): Promise { + return this.api.patchServiceCIDRStatus(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * Defaults to: undefined - * @type string - * @memberof NetworkingV1alpha1ApilistIPAddress + * read the specified IPAddress + * @param param the request object */ - resourceVersion?: string + public readIPAddressWithHttpInfo(param: NetworkingV1beta1ApiReadIPAddressRequest, options?: Configuration): Promise> { + return this.api.readIPAddressWithHttpInfo(param.name, param.pretty, options).toPromise(); + } + /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * read the specified IPAddress + * @param param the request object + */ + public readIPAddress(param: NetworkingV1beta1ApiReadIPAddressRequest, options?: Configuration): Promise { + return this.api.readIPAddress(param.name, param.pretty, options).toPromise(); + } + + /** + * read the specified ServiceCIDR + * @param param the request object + */ + public readServiceCIDRWithHttpInfo(param: NetworkingV1beta1ApiReadServiceCIDRRequest, options?: Configuration): Promise> { + return this.api.readServiceCIDRWithHttpInfo(param.name, param.pretty, options).toPromise(); + } + + /** + * read the specified ServiceCIDR + * @param param the request object + */ + public readServiceCIDR(param: NetworkingV1beta1ApiReadServiceCIDRRequest, options?: Configuration): Promise { + return this.api.readServiceCIDR(param.name, param.pretty, options).toPromise(); + } + + /** + * read status of the specified ServiceCIDR + * @param param the request object + */ + public readServiceCIDRStatusWithHttpInfo(param: NetworkingV1beta1ApiReadServiceCIDRStatusRequest, options?: Configuration): Promise> { + return this.api.readServiceCIDRStatusWithHttpInfo(param.name, param.pretty, options).toPromise(); + } + + /** + * read status of the specified ServiceCIDR + * @param param the request object + */ + public readServiceCIDRStatus(param: NetworkingV1beta1ApiReadServiceCIDRStatusRequest, options?: Configuration): Promise { + return this.api.readServiceCIDRStatus(param.name, param.pretty, options).toPromise(); + } + + /** + * replace the specified IPAddress + * @param param the request object + */ + public replaceIPAddressWithHttpInfo(param: NetworkingV1beta1ApiReplaceIPAddressRequest, options?: Configuration): Promise> { + return this.api.replaceIPAddressWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + + /** + * replace the specified IPAddress + * @param param the request object + */ + public replaceIPAddress(param: NetworkingV1beta1ApiReplaceIPAddressRequest, options?: Configuration): Promise { + return this.api.replaceIPAddress(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + + /** + * replace the specified ServiceCIDR + * @param param the request object + */ + public replaceServiceCIDRWithHttpInfo(param: NetworkingV1beta1ApiReplaceServiceCIDRRequest, options?: Configuration): Promise> { + return this.api.replaceServiceCIDRWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + + /** + * replace the specified ServiceCIDR + * @param param the request object + */ + public replaceServiceCIDR(param: NetworkingV1beta1ApiReplaceServiceCIDRRequest, options?: Configuration): Promise { + return this.api.replaceServiceCIDR(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + + /** + * replace status of the specified ServiceCIDR + * @param param the request object + */ + public replaceServiceCIDRStatusWithHttpInfo(param: NetworkingV1beta1ApiReplaceServiceCIDRStatusRequest, options?: Configuration): Promise> { + return this.api.replaceServiceCIDRStatusWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + + /** + * replace status of the specified ServiceCIDR + * @param param the request object + */ + public replaceServiceCIDRStatus(param: NetworkingV1beta1ApiReplaceServiceCIDRStatusRequest, options?: Configuration): Promise { + return this.api.replaceServiceCIDRStatus(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + +} + +import { ObservableNodeApi } from "./ObservableAPI"; +import { NodeApiRequestFactory, NodeApiResponseProcessor} from "../apis/NodeApi"; + +export interface NodeApiGetAPIGroupRequest { +} + +export class ObjectNodeApi { + private api: ObservableNodeApi + + public constructor(configuration: Configuration, requestFactory?: NodeApiRequestFactory, responseProcessor?: NodeApiResponseProcessor) { + this.api = new ObservableNodeApi(configuration, requestFactory, responseProcessor); + } + + /** + * get information of a group + * @param param the request object + */ + public getAPIGroupWithHttpInfo(param: NodeApiGetAPIGroupRequest = {}, options?: Configuration): Promise> { + return this.api.getAPIGroupWithHttpInfo( options).toPromise(); + } + + /** + * get information of a group + * @param param the request object + */ + public getAPIGroup(param: NodeApiGetAPIGroupRequest = {}, options?: Configuration): Promise { + return this.api.getAPIGroup( options).toPromise(); + } + +} + +import { ObservableNodeV1Api } from "./ObservableAPI"; +import { NodeV1ApiRequestFactory, NodeV1ApiResponseProcessor} from "../apis/NodeV1Api"; + +export interface NodeV1ApiCreateRuntimeClassRequest { + /** + * + * @type V1RuntimeClass + * @memberof NodeV1ApicreateRuntimeClass + */ + body: V1RuntimeClass + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApilistIPAddress + * @memberof NodeV1ApicreateRuntimeClass */ - resourceVersionMatch?: string + pretty?: string /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1alpha1ApilistIPAddress + * @type string + * @memberof NodeV1ApicreateRuntimeClass */ - sendInitialEvents?: boolean + dryRun?: string /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined - * @type number - * @memberof NetworkingV1alpha1ApilistIPAddress + * @type string + * @memberof NodeV1ApicreateRuntimeClass */ - timeoutSeconds?: number + fieldManager?: string /** - * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1alpha1ApilistIPAddress + * @type string + * @memberof NodeV1ApicreateRuntimeClass */ - watch?: boolean + fieldValidation?: string } -export interface NetworkingV1alpha1ApiListServiceCIDRRequest { +export interface NodeV1ApiDeleteCollectionRuntimeClassRequest { /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApilistServiceCIDR + * @memberof NodeV1ApideleteCollectionRuntimeClass */ pretty?: string - /** - * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1alpha1ApilistServiceCIDR - */ - allowWatchBookmarks?: boolean /** * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApilistServiceCIDR + * @memberof NodeV1ApideleteCollectionRuntimeClass */ _continue?: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApilistServiceCIDR + * @memberof NodeV1ApideleteCollectionRuntimeClass */ - fieldSelector?: string + dryRun?: string /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApilistServiceCIDR + * @memberof NodeV1ApideleteCollectionRuntimeClass */ - labelSelector?: string + fieldSelector?: string /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof NetworkingV1alpha1ApilistServiceCIDR + * @memberof NodeV1ApideleteCollectionRuntimeClass */ - limit?: number + gracePeriodSeconds?: number /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * Defaults to: undefined - * @type string - * @memberof NetworkingV1alpha1ApilistServiceCIDR + * @type boolean + * @memberof NodeV1ApideleteCollectionRuntimeClass */ - resourceVersion?: string + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApilistServiceCIDR - */ - resourceVersionMatch?: string - /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1alpha1ApilistServiceCIDR + * @memberof NodeV1ApideleteCollectionRuntimeClass */ - sendInitialEvents?: boolean + labelSelector?: string /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined * @type number - * @memberof NetworkingV1alpha1ApilistServiceCIDR + * @memberof NodeV1ApideleteCollectionRuntimeClass */ - timeoutSeconds?: number + limit?: number /** - * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof NetworkingV1alpha1ApilistServiceCIDR + * @memberof NodeV1ApideleteCollectionRuntimeClass */ - watch?: boolean -} - -export interface NetworkingV1alpha1ApiPatchIPAddressRequest { + orphanDependents?: boolean /** - * name of the IPAddress + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApipatchIPAddress - */ - name: string - /** - * - * @type any - * @memberof NetworkingV1alpha1ApipatchIPAddress + * @memberof NodeV1ApideleteCollectionRuntimeClass */ - body: any + propagationPolicy?: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApipatchIPAddress + * @memberof NodeV1ApideleteCollectionRuntimeClass */ - pretty?: string + resourceVersion?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApipatchIPAddress + * @memberof NodeV1ApideleteCollectionRuntimeClass */ - dryRun?: string + resourceVersionMatch?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined - * @type string - * @memberof NetworkingV1alpha1ApipatchIPAddress + * @type boolean + * @memberof NodeV1ApideleteCollectionRuntimeClass */ - fieldManager?: string + sendInitialEvents?: boolean /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined - * @type string - * @memberof NetworkingV1alpha1ApipatchIPAddress + * @type number + * @memberof NodeV1ApideleteCollectionRuntimeClass */ - fieldValidation?: string + timeoutSeconds?: number /** - * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1alpha1ApipatchIPAddress + * + * @type V1DeleteOptions + * @memberof NodeV1ApideleteCollectionRuntimeClass */ - force?: boolean + body?: V1DeleteOptions } -export interface NetworkingV1alpha1ApiPatchServiceCIDRRequest { +export interface NodeV1ApiDeleteRuntimeClassRequest { /** - * name of the ServiceCIDR + * name of the RuntimeClass * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApipatchServiceCIDR + * @memberof NodeV1ApideleteRuntimeClass */ name: string - /** - * - * @type any - * @memberof NetworkingV1alpha1ApipatchServiceCIDR - */ - body: any /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApipatchServiceCIDR + * @memberof NodeV1ApideleteRuntimeClass */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApipatchServiceCIDR + * @memberof NodeV1ApideleteRuntimeClass */ dryRun?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined - * @type string - * @memberof NetworkingV1alpha1ApipatchServiceCIDR + * @type number + * @memberof NodeV1ApideleteRuntimeClass */ - fieldManager?: string + gracePeriodSeconds?: number /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * Defaults to: undefined - * @type string - * @memberof NetworkingV1alpha1ApipatchServiceCIDR + * @type boolean + * @memberof NodeV1ApideleteRuntimeClass */ - fieldValidation?: string + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** - * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof NetworkingV1alpha1ApipatchServiceCIDR + * @memberof NodeV1ApideleteRuntimeClass */ - force?: boolean -} - -export interface NetworkingV1alpha1ApiPatchServiceCIDRStatusRequest { + orphanDependents?: boolean /** - * name of the ServiceCIDR + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApipatchServiceCIDRStatus + * @memberof NodeV1ApideleteRuntimeClass */ - name: string + propagationPolicy?: string /** * - * @type any - * @memberof NetworkingV1alpha1ApipatchServiceCIDRStatus + * @type V1DeleteOptions + * @memberof NodeV1ApideleteRuntimeClass */ - body: any + body?: V1DeleteOptions +} + +export interface NodeV1ApiGetAPIResourcesRequest { +} + +export interface NodeV1ApiListRuntimeClassRequest { /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApipatchServiceCIDRStatus + * @memberof NodeV1ApilistRuntimeClass */ pretty?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * Defaults to: undefined - * @type string - * @memberof NetworkingV1alpha1ApipatchServiceCIDRStatus + * @type boolean + * @memberof NodeV1ApilistRuntimeClass */ - dryRun?: string + allowWatchBookmarks?: boolean /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApipatchServiceCIDRStatus + * @memberof NodeV1ApilistRuntimeClass */ - fieldManager?: string + _continue?: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApipatchServiceCIDRStatus + * @memberof NodeV1ApilistRuntimeClass */ - fieldValidation?: string + fieldSelector?: string /** - * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined - * @type boolean - * @memberof NetworkingV1alpha1ApipatchServiceCIDRStatus + * @type string + * @memberof NodeV1ApilistRuntimeClass */ - force?: boolean -} - -export interface NetworkingV1alpha1ApiReadIPAddressRequest { + labelSelector?: string /** - * name of the IPAddress + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined - * @type string - * @memberof NetworkingV1alpha1ApireadIPAddress + * @type number + * @memberof NodeV1ApilistRuntimeClass */ - name: string + limit?: number /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApireadIPAddress + * @memberof NodeV1ApilistRuntimeClass */ - pretty?: string -} - -export interface NetworkingV1alpha1ApiReadServiceCIDRRequest { + resourceVersion?: string /** - * name of the ServiceCIDR + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApireadServiceCIDR + * @memberof NodeV1ApilistRuntimeClass */ - name: string + resourceVersionMatch?: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined - * @type string - * @memberof NetworkingV1alpha1ApireadServiceCIDR + * @type boolean + * @memberof NodeV1ApilistRuntimeClass */ - pretty?: string -} - -export interface NetworkingV1alpha1ApiReadServiceCIDRStatusRequest { + sendInitialEvents?: boolean /** - * name of the ServiceCIDR + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined - * @type string - * @memberof NetworkingV1alpha1ApireadServiceCIDRStatus + * @type number + * @memberof NodeV1ApilistRuntimeClass */ - name: string + timeoutSeconds?: number /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. * Defaults to: undefined - * @type string - * @memberof NetworkingV1alpha1ApireadServiceCIDRStatus + * @type boolean + * @memberof NodeV1ApilistRuntimeClass */ - pretty?: string + watch?: boolean } -export interface NetworkingV1alpha1ApiReplaceIPAddressRequest { +export interface NodeV1ApiPatchRuntimeClassRequest { /** - * name of the IPAddress + * name of the RuntimeClass * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApireplaceIPAddress + * @memberof NodeV1ApipatchRuntimeClass */ name: string /** * - * @type V1alpha1IPAddress - * @memberof NetworkingV1alpha1ApireplaceIPAddress + * @type any + * @memberof NodeV1ApipatchRuntimeClass */ - body: V1alpha1IPAddress + body: any /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApireplaceIPAddress + * @memberof NodeV1ApipatchRuntimeClass */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApireplaceIPAddress + * @memberof NodeV1ApipatchRuntimeClass */ dryRun?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApireplaceIPAddress + * @memberof NodeV1ApipatchRuntimeClass */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApireplaceIPAddress + * @memberof NodeV1ApipatchRuntimeClass */ fieldValidation?: string + /** + * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * Defaults to: undefined + * @type boolean + * @memberof NodeV1ApipatchRuntimeClass + */ + force?: boolean } -export interface NetworkingV1alpha1ApiReplaceServiceCIDRRequest { +export interface NodeV1ApiReadRuntimeClassRequest { /** - * name of the ServiceCIDR + * name of the RuntimeClass * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApireplaceServiceCIDR + * @memberof NodeV1ApireadRuntimeClass */ name: string - /** - * - * @type V1alpha1ServiceCIDR - * @memberof NetworkingV1alpha1ApireplaceServiceCIDR - */ - body: V1alpha1ServiceCIDR /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApireplaceServiceCIDR + * @memberof NodeV1ApireadRuntimeClass */ pretty?: string - /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * Defaults to: undefined - * @type string - * @memberof NetworkingV1alpha1ApireplaceServiceCIDR - */ - dryRun?: string - /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * Defaults to: undefined - * @type string - * @memberof NetworkingV1alpha1ApireplaceServiceCIDR - */ - fieldManager?: string - /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * Defaults to: undefined - * @type string - * @memberof NetworkingV1alpha1ApireplaceServiceCIDR - */ - fieldValidation?: string } -export interface NetworkingV1alpha1ApiReplaceServiceCIDRStatusRequest { +export interface NodeV1ApiReplaceRuntimeClassRequest { /** - * name of the ServiceCIDR + * name of the RuntimeClass * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApireplaceServiceCIDRStatus + * @memberof NodeV1ApireplaceRuntimeClass */ name: string /** * - * @type V1alpha1ServiceCIDR - * @memberof NetworkingV1alpha1ApireplaceServiceCIDRStatus + * @type V1RuntimeClass + * @memberof NodeV1ApireplaceRuntimeClass */ - body: V1alpha1ServiceCIDR + body: V1RuntimeClass /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApireplaceServiceCIDRStatus + * @memberof NodeV1ApireplaceRuntimeClass */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApireplaceServiceCIDRStatus + * @memberof NodeV1ApireplaceRuntimeClass */ dryRun?: string /** * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApireplaceServiceCIDRStatus + * @memberof NodeV1ApireplaceRuntimeClass */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof NetworkingV1alpha1ApireplaceServiceCIDRStatus + * @memberof NodeV1ApireplaceRuntimeClass */ fieldValidation?: string } -export class ObjectNetworkingV1alpha1Api { - private api: ObservableNetworkingV1alpha1Api - - public constructor(configuration: Configuration, requestFactory?: NetworkingV1alpha1ApiRequestFactory, responseProcessor?: NetworkingV1alpha1ApiResponseProcessor) { - this.api = new ObservableNetworkingV1alpha1Api(configuration, requestFactory, responseProcessor); - } - - /** - * create an IPAddress - * @param param the request object - */ - public createIPAddressWithHttpInfo(param: NetworkingV1alpha1ApiCreateIPAddressRequest, options?: Configuration): Promise> { - return this.api.createIPAddressWithHttpInfo(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - - /** - * create an IPAddress - * @param param the request object - */ - public createIPAddress(param: NetworkingV1alpha1ApiCreateIPAddressRequest, options?: Configuration): Promise { - return this.api.createIPAddress(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - - /** - * create a ServiceCIDR - * @param param the request object - */ - public createServiceCIDRWithHttpInfo(param: NetworkingV1alpha1ApiCreateServiceCIDRRequest, options?: Configuration): Promise> { - return this.api.createServiceCIDRWithHttpInfo(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - - /** - * create a ServiceCIDR - * @param param the request object - */ - public createServiceCIDR(param: NetworkingV1alpha1ApiCreateServiceCIDRRequest, options?: Configuration): Promise { - return this.api.createServiceCIDR(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - - /** - * delete collection of IPAddress - * @param param the request object - */ - public deleteCollectionIPAddressWithHttpInfo(param: NetworkingV1alpha1ApiDeleteCollectionIPAddressRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionIPAddressWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); - } +export class ObjectNodeV1Api { + private api: ObservableNodeV1Api - /** - * delete collection of IPAddress - * @param param the request object - */ - public deleteCollectionIPAddress(param: NetworkingV1alpha1ApiDeleteCollectionIPAddressRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionIPAddress(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + public constructor(configuration: Configuration, requestFactory?: NodeV1ApiRequestFactory, responseProcessor?: NodeV1ApiResponseProcessor) { + this.api = new ObservableNodeV1Api(configuration, requestFactory, responseProcessor); } /** - * delete collection of ServiceCIDR + * create a RuntimeClass * @param param the request object */ - public deleteCollectionServiceCIDRWithHttpInfo(param: NetworkingV1alpha1ApiDeleteCollectionServiceCIDRRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionServiceCIDRWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + public createRuntimeClassWithHttpInfo(param: NodeV1ApiCreateRuntimeClassRequest, options?: Configuration): Promise> { + return this.api.createRuntimeClassWithHttpInfo(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } /** - * delete collection of ServiceCIDR + * create a RuntimeClass * @param param the request object */ - public deleteCollectionServiceCIDR(param: NetworkingV1alpha1ApiDeleteCollectionServiceCIDRRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionServiceCIDR(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + public createRuntimeClass(param: NodeV1ApiCreateRuntimeClassRequest, options?: Configuration): Promise { + return this.api.createRuntimeClass(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } /** - * delete an IPAddress + * delete collection of RuntimeClass * @param param the request object */ - public deleteIPAddressWithHttpInfo(param: NetworkingV1alpha1ApiDeleteIPAddressRequest, options?: Configuration): Promise> { - return this.api.deleteIPAddressWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + public deleteCollectionRuntimeClassWithHttpInfo(param: NodeV1ApiDeleteCollectionRuntimeClassRequest = {}, options?: Configuration): Promise> { + return this.api.deleteCollectionRuntimeClassWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** - * delete an IPAddress + * delete collection of RuntimeClass * @param param the request object */ - public deleteIPAddress(param: NetworkingV1alpha1ApiDeleteIPAddressRequest, options?: Configuration): Promise { - return this.api.deleteIPAddress(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + public deleteCollectionRuntimeClass(param: NodeV1ApiDeleteCollectionRuntimeClassRequest = {}, options?: Configuration): Promise { + return this.api.deleteCollectionRuntimeClass(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** - * delete a ServiceCIDR + * delete a RuntimeClass * @param param the request object */ - public deleteServiceCIDRWithHttpInfo(param: NetworkingV1alpha1ApiDeleteServiceCIDRRequest, options?: Configuration): Promise> { - return this.api.deleteServiceCIDRWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + public deleteRuntimeClassWithHttpInfo(param: NodeV1ApiDeleteRuntimeClassRequest, options?: Configuration): Promise> { + return this.api.deleteRuntimeClassWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** - * delete a ServiceCIDR + * delete a RuntimeClass * @param param the request object */ - public deleteServiceCIDR(param: NetworkingV1alpha1ApiDeleteServiceCIDRRequest, options?: Configuration): Promise { - return this.api.deleteServiceCIDR(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + public deleteRuntimeClass(param: NodeV1ApiDeleteRuntimeClassRequest, options?: Configuration): Promise { + return this.api.deleteRuntimeClass(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** * get available resources * @param param the request object */ - public getAPIResourcesWithHttpInfo(param: NetworkingV1alpha1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise> { + public getAPIResourcesWithHttpInfo(param: NodeV1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise> { return this.api.getAPIResourcesWithHttpInfo( options).toPromise(); } @@ -40532,206 +41166,125 @@ export class ObjectNetworkingV1alpha1Api { * get available resources * @param param the request object */ - public getAPIResources(param: NetworkingV1alpha1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise { + public getAPIResources(param: NodeV1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise { return this.api.getAPIResources( options).toPromise(); } /** - * list or watch objects of kind IPAddress - * @param param the request object - */ - public listIPAddressWithHttpInfo(param: NetworkingV1alpha1ApiListIPAddressRequest = {}, options?: Configuration): Promise> { - return this.api.listIPAddressWithHttpInfo(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - - /** - * list or watch objects of kind IPAddress - * @param param the request object - */ - public listIPAddress(param: NetworkingV1alpha1ApiListIPAddressRequest = {}, options?: Configuration): Promise { - return this.api.listIPAddress(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - - /** - * list or watch objects of kind ServiceCIDR - * @param param the request object - */ - public listServiceCIDRWithHttpInfo(param: NetworkingV1alpha1ApiListServiceCIDRRequest = {}, options?: Configuration): Promise> { - return this.api.listServiceCIDRWithHttpInfo(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - - /** - * list or watch objects of kind ServiceCIDR - * @param param the request object - */ - public listServiceCIDR(param: NetworkingV1alpha1ApiListServiceCIDRRequest = {}, options?: Configuration): Promise { - return this.api.listServiceCIDR(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - - /** - * partially update the specified IPAddress - * @param param the request object - */ - public patchIPAddressWithHttpInfo(param: NetworkingV1alpha1ApiPatchIPAddressRequest, options?: Configuration): Promise> { - return this.api.patchIPAddressWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - - /** - * partially update the specified IPAddress - * @param param the request object - */ - public patchIPAddress(param: NetworkingV1alpha1ApiPatchIPAddressRequest, options?: Configuration): Promise { - return this.api.patchIPAddress(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - - /** - * partially update the specified ServiceCIDR - * @param param the request object - */ - public patchServiceCIDRWithHttpInfo(param: NetworkingV1alpha1ApiPatchServiceCIDRRequest, options?: Configuration): Promise> { - return this.api.patchServiceCIDRWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - - /** - * partially update the specified ServiceCIDR + * list or watch objects of kind RuntimeClass * @param param the request object */ - public patchServiceCIDR(param: NetworkingV1alpha1ApiPatchServiceCIDRRequest, options?: Configuration): Promise { - return this.api.patchServiceCIDR(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + public listRuntimeClassWithHttpInfo(param: NodeV1ApiListRuntimeClassRequest = {}, options?: Configuration): Promise> { + return this.api.listRuntimeClassWithHttpInfo(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); } /** - * partially update status of the specified ServiceCIDR + * list or watch objects of kind RuntimeClass * @param param the request object */ - public patchServiceCIDRStatusWithHttpInfo(param: NetworkingV1alpha1ApiPatchServiceCIDRStatusRequest, options?: Configuration): Promise> { - return this.api.patchServiceCIDRStatusWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + public listRuntimeClass(param: NodeV1ApiListRuntimeClassRequest = {}, options?: Configuration): Promise { + return this.api.listRuntimeClass(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); } /** - * partially update status of the specified ServiceCIDR + * partially update the specified RuntimeClass * @param param the request object */ - public patchServiceCIDRStatus(param: NetworkingV1alpha1ApiPatchServiceCIDRStatusRequest, options?: Configuration): Promise { - return this.api.patchServiceCIDRStatus(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + public patchRuntimeClassWithHttpInfo(param: NodeV1ApiPatchRuntimeClassRequest, options?: Configuration): Promise> { + return this.api.patchRuntimeClassWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); } /** - * read the specified IPAddress + * partially update the specified RuntimeClass * @param param the request object */ - public readIPAddressWithHttpInfo(param: NetworkingV1alpha1ApiReadIPAddressRequest, options?: Configuration): Promise> { - return this.api.readIPAddressWithHttpInfo(param.name, param.pretty, options).toPromise(); + public patchRuntimeClass(param: NodeV1ApiPatchRuntimeClassRequest, options?: Configuration): Promise { + return this.api.patchRuntimeClass(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); } /** - * read the specified IPAddress + * read the specified RuntimeClass * @param param the request object */ - public readIPAddress(param: NetworkingV1alpha1ApiReadIPAddressRequest, options?: Configuration): Promise { - return this.api.readIPAddress(param.name, param.pretty, options).toPromise(); + public readRuntimeClassWithHttpInfo(param: NodeV1ApiReadRuntimeClassRequest, options?: Configuration): Promise> { + return this.api.readRuntimeClassWithHttpInfo(param.name, param.pretty, options).toPromise(); } /** - * read the specified ServiceCIDR + * read the specified RuntimeClass * @param param the request object */ - public readServiceCIDRWithHttpInfo(param: NetworkingV1alpha1ApiReadServiceCIDRRequest, options?: Configuration): Promise> { - return this.api.readServiceCIDRWithHttpInfo(param.name, param.pretty, options).toPromise(); + public readRuntimeClass(param: NodeV1ApiReadRuntimeClassRequest, options?: Configuration): Promise { + return this.api.readRuntimeClass(param.name, param.pretty, options).toPromise(); } /** - * read the specified ServiceCIDR + * replace the specified RuntimeClass * @param param the request object */ - public readServiceCIDR(param: NetworkingV1alpha1ApiReadServiceCIDRRequest, options?: Configuration): Promise { - return this.api.readServiceCIDR(param.name, param.pretty, options).toPromise(); + public replaceRuntimeClassWithHttpInfo(param: NodeV1ApiReplaceRuntimeClassRequest, options?: Configuration): Promise> { + return this.api.replaceRuntimeClassWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } /** - * read status of the specified ServiceCIDR + * replace the specified RuntimeClass * @param param the request object */ - public readServiceCIDRStatusWithHttpInfo(param: NetworkingV1alpha1ApiReadServiceCIDRStatusRequest, options?: Configuration): Promise> { - return this.api.readServiceCIDRStatusWithHttpInfo(param.name, param.pretty, options).toPromise(); + public replaceRuntimeClass(param: NodeV1ApiReplaceRuntimeClassRequest, options?: Configuration): Promise { + return this.api.replaceRuntimeClass(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } - /** - * read status of the specified ServiceCIDR - * @param param the request object - */ - public readServiceCIDRStatus(param: NetworkingV1alpha1ApiReadServiceCIDRStatusRequest, options?: Configuration): Promise { - return this.api.readServiceCIDRStatus(param.name, param.pretty, options).toPromise(); - } +} - /** - * replace the specified IPAddress - * @param param the request object - */ - public replaceIPAddressWithHttpInfo(param: NetworkingV1alpha1ApiReplaceIPAddressRequest, options?: Configuration): Promise> { - return this.api.replaceIPAddressWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } +import { ObservableOpenidApi } from "./ObservableAPI"; +import { OpenidApiRequestFactory, OpenidApiResponseProcessor} from "../apis/OpenidApi"; - /** - * replace the specified IPAddress - * @param param the request object - */ - public replaceIPAddress(param: NetworkingV1alpha1ApiReplaceIPAddressRequest, options?: Configuration): Promise { - return this.api.replaceIPAddress(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } +export interface OpenidApiGetServiceAccountIssuerOpenIDKeysetRequest { +} - /** - * replace the specified ServiceCIDR - * @param param the request object - */ - public replaceServiceCIDRWithHttpInfo(param: NetworkingV1alpha1ApiReplaceServiceCIDRRequest, options?: Configuration): Promise> { - return this.api.replaceServiceCIDRWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } +export class ObjectOpenidApi { + private api: ObservableOpenidApi - /** - * replace the specified ServiceCIDR - * @param param the request object - */ - public replaceServiceCIDR(param: NetworkingV1alpha1ApiReplaceServiceCIDRRequest, options?: Configuration): Promise { - return this.api.replaceServiceCIDR(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + public constructor(configuration: Configuration, requestFactory?: OpenidApiRequestFactory, responseProcessor?: OpenidApiResponseProcessor) { + this.api = new ObservableOpenidApi(configuration, requestFactory, responseProcessor); } /** - * replace status of the specified ServiceCIDR + * get service account issuer OpenID JSON Web Key Set (contains public token verification keys) * @param param the request object */ - public replaceServiceCIDRStatusWithHttpInfo(param: NetworkingV1alpha1ApiReplaceServiceCIDRStatusRequest, options?: Configuration): Promise> { - return this.api.replaceServiceCIDRStatusWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + public getServiceAccountIssuerOpenIDKeysetWithHttpInfo(param: OpenidApiGetServiceAccountIssuerOpenIDKeysetRequest = {}, options?: Configuration): Promise> { + return this.api.getServiceAccountIssuerOpenIDKeysetWithHttpInfo( options).toPromise(); } /** - * replace status of the specified ServiceCIDR + * get service account issuer OpenID JSON Web Key Set (contains public token verification keys) * @param param the request object */ - public replaceServiceCIDRStatus(param: NetworkingV1alpha1ApiReplaceServiceCIDRStatusRequest, options?: Configuration): Promise { - return this.api.replaceServiceCIDRStatus(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + public getServiceAccountIssuerOpenIDKeyset(param: OpenidApiGetServiceAccountIssuerOpenIDKeysetRequest = {}, options?: Configuration): Promise { + return this.api.getServiceAccountIssuerOpenIDKeyset( options).toPromise(); } } -import { ObservableNodeApi } from "./ObservableAPI.js"; -import { NodeApiRequestFactory, NodeApiResponseProcessor} from "../apis/NodeApi.js"; +import { ObservablePolicyApi } from "./ObservableAPI"; +import { PolicyApiRequestFactory, PolicyApiResponseProcessor} from "../apis/PolicyApi"; -export interface NodeApiGetAPIGroupRequest { +export interface PolicyApiGetAPIGroupRequest { } -export class ObjectNodeApi { - private api: ObservableNodeApi +export class ObjectPolicyApi { + private api: ObservablePolicyApi - public constructor(configuration: Configuration, requestFactory?: NodeApiRequestFactory, responseProcessor?: NodeApiResponseProcessor) { - this.api = new ObservableNodeApi(configuration, requestFactory, responseProcessor); + public constructor(configuration: Configuration, requestFactory?: PolicyApiRequestFactory, responseProcessor?: PolicyApiResponseProcessor) { + this.api = new ObservablePolicyApi(configuration, requestFactory, responseProcessor); } /** * get information of a group * @param param the request object */ - public getAPIGroupWithHttpInfo(param: NodeApiGetAPIGroupRequest = {}, options?: Configuration): Promise> { + public getAPIGroupWithHttpInfo(param: PolicyApiGetAPIGroupRequest = {}, options?: Configuration): Promise> { return this.api.getAPIGroupWithHttpInfo( options).toPromise(); } @@ -40739,458 +41292,734 @@ export class ObjectNodeApi { * get information of a group * @param param the request object */ - public getAPIGroup(param: NodeApiGetAPIGroupRequest = {}, options?: Configuration): Promise { + public getAPIGroup(param: PolicyApiGetAPIGroupRequest = {}, options?: Configuration): Promise { return this.api.getAPIGroup( options).toPromise(); } } -import { ObservableNodeV1Api } from "./ObservableAPI.js"; -import { NodeV1ApiRequestFactory, NodeV1ApiResponseProcessor} from "../apis/NodeV1Api.js"; +import { ObservablePolicyV1Api } from "./ObservableAPI"; +import { PolicyV1ApiRequestFactory, PolicyV1ApiResponseProcessor} from "../apis/PolicyV1Api"; -export interface NodeV1ApiCreateRuntimeClassRequest { +export interface PolicyV1ApiCreateNamespacedPodDisruptionBudgetRequest { + /** + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof PolicyV1ApicreateNamespacedPodDisruptionBudget + */ + namespace: string /** * - * @type V1RuntimeClass - * @memberof NodeV1ApicreateRuntimeClass + * @type V1PodDisruptionBudget + * @memberof PolicyV1ApicreateNamespacedPodDisruptionBudget */ - body: V1RuntimeClass + body: V1PodDisruptionBudget /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NodeV1ApicreateRuntimeClass + * @memberof PolicyV1ApicreateNamespacedPodDisruptionBudget */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof NodeV1ApicreateRuntimeClass + * @memberof PolicyV1ApicreateNamespacedPodDisruptionBudget */ dryRun?: string /** * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof NodeV1ApicreateRuntimeClass + * @memberof PolicyV1ApicreateNamespacedPodDisruptionBudget */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof NodeV1ApicreateRuntimeClass + * @memberof PolicyV1ApicreateNamespacedPodDisruptionBudget */ fieldValidation?: string } -export interface NodeV1ApiDeleteCollectionRuntimeClassRequest { +export interface PolicyV1ApiDeleteCollectionNamespacedPodDisruptionBudgetRequest { + /** + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget + */ + namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NodeV1ApideleteCollectionRuntimeClass + * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget */ pretty?: string /** * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof NodeV1ApideleteCollectionRuntimeClass + * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget */ _continue?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof NodeV1ApideleteCollectionRuntimeClass + * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget */ dryRun?: string /** * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof NodeV1ApideleteCollectionRuntimeClass + * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget */ fieldSelector?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof NodeV1ApideleteCollectionRuntimeClass + * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof NodeV1ApideleteCollectionRuntimeClass + * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget */ labelSelector?: string /** * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined * @type number - * @memberof NodeV1ApideleteCollectionRuntimeClass + * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget */ limit?: number /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof NodeV1ApideleteCollectionRuntimeClass + * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof NodeV1ApideleteCollectionRuntimeClass + * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget */ propagationPolicy?: string /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof NodeV1ApideleteCollectionRuntimeClass + * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof NodeV1ApideleteCollectionRuntimeClass + * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof NodeV1ApideleteCollectionRuntimeClass + * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof NodeV1ApideleteCollectionRuntimeClass + * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget */ timeoutSeconds?: number /** * * @type V1DeleteOptions - * @memberof NodeV1ApideleteCollectionRuntimeClass + * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget */ body?: V1DeleteOptions } -export interface NodeV1ApiDeleteRuntimeClassRequest { +export interface PolicyV1ApiDeleteNamespacedPodDisruptionBudgetRequest { /** - * name of the RuntimeClass + * name of the PodDisruptionBudget * Defaults to: undefined * @type string - * @memberof NodeV1ApideleteRuntimeClass + * @memberof PolicyV1ApideleteNamespacedPodDisruptionBudget */ name: string + /** + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof PolicyV1ApideleteNamespacedPodDisruptionBudget + */ + namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NodeV1ApideleteRuntimeClass + * @memberof PolicyV1ApideleteNamespacedPodDisruptionBudget */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof NodeV1ApideleteRuntimeClass + * @memberof PolicyV1ApideleteNamespacedPodDisruptionBudget */ dryRun?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof NodeV1ApideleteRuntimeClass + * @memberof PolicyV1ApideleteNamespacedPodDisruptionBudget */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof PolicyV1ApideleteNamespacedPodDisruptionBudget + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof NodeV1ApideleteRuntimeClass + * @memberof PolicyV1ApideleteNamespacedPodDisruptionBudget */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof NodeV1ApideleteRuntimeClass + * @memberof PolicyV1ApideleteNamespacedPodDisruptionBudget */ propagationPolicy?: string /** * * @type V1DeleteOptions - * @memberof NodeV1ApideleteRuntimeClass + * @memberof PolicyV1ApideleteNamespacedPodDisruptionBudget */ body?: V1DeleteOptions } -export interface NodeV1ApiGetAPIResourcesRequest { +export interface PolicyV1ApiGetAPIResourcesRequest { } -export interface NodeV1ApiListRuntimeClassRequest { +export interface PolicyV1ApiListNamespacedPodDisruptionBudgetRequest { + /** + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof PolicyV1ApilistNamespacedPodDisruptionBudget + */ + namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NodeV1ApilistRuntimeClass + * @memberof PolicyV1ApilistNamespacedPodDisruptionBudget */ pretty?: string /** * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * Defaults to: undefined * @type boolean - * @memberof NodeV1ApilistRuntimeClass + * @memberof PolicyV1ApilistNamespacedPodDisruptionBudget */ allowWatchBookmarks?: boolean /** * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof NodeV1ApilistRuntimeClass + * @memberof PolicyV1ApilistNamespacedPodDisruptionBudget */ _continue?: string /** * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof NodeV1ApilistRuntimeClass + * @memberof PolicyV1ApilistNamespacedPodDisruptionBudget */ fieldSelector?: string /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof NodeV1ApilistRuntimeClass + * @memberof PolicyV1ApilistNamespacedPodDisruptionBudget */ labelSelector?: string /** * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined * @type number - * @memberof NodeV1ApilistRuntimeClass + * @memberof PolicyV1ApilistNamespacedPodDisruptionBudget */ limit?: number /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof NodeV1ApilistRuntimeClass + * @memberof PolicyV1ApilistNamespacedPodDisruptionBudget */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof NodeV1ApilistRuntimeClass + * @memberof PolicyV1ApilistNamespacedPodDisruptionBudget */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof NodeV1ApilistRuntimeClass + * @memberof PolicyV1ApilistNamespacedPodDisruptionBudget */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof NodeV1ApilistRuntimeClass + * @memberof PolicyV1ApilistNamespacedPodDisruptionBudget */ timeoutSeconds?: number /** * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. * Defaults to: undefined * @type boolean - * @memberof NodeV1ApilistRuntimeClass + * @memberof PolicyV1ApilistNamespacedPodDisruptionBudget */ watch?: boolean } -export interface NodeV1ApiPatchRuntimeClassRequest { +export interface PolicyV1ApiListPodDisruptionBudgetForAllNamespacesRequest { /** - * name of the RuntimeClass + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * Defaults to: undefined + * @type boolean + * @memberof PolicyV1ApilistPodDisruptionBudgetForAllNamespaces + */ + allowWatchBookmarks?: boolean + /** + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof NodeV1ApipatchRuntimeClass + * @memberof PolicyV1ApilistPodDisruptionBudgetForAllNamespaces + */ + _continue?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof PolicyV1ApilistPodDisruptionBudgetForAllNamespaces + */ + fieldSelector?: string + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof PolicyV1ApilistPodDisruptionBudgetForAllNamespaces + */ + labelSelector?: string + /** + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * Defaults to: undefined + * @type number + * @memberof PolicyV1ApilistPodDisruptionBudgetForAllNamespaces + */ + limit?: number + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof PolicyV1ApilistPodDisruptionBudgetForAllNamespaces + */ + pretty?: string + /** + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof PolicyV1ApilistPodDisruptionBudgetForAllNamespaces + */ + resourceVersion?: string + /** + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof PolicyV1ApilistPodDisruptionBudgetForAllNamespaces + */ + resourceVersionMatch?: string + /** + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * Defaults to: undefined + * @type boolean + * @memberof PolicyV1ApilistPodDisruptionBudgetForAllNamespaces + */ + sendInitialEvents?: boolean + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * Defaults to: undefined + * @type number + * @memberof PolicyV1ApilistPodDisruptionBudgetForAllNamespaces + */ + timeoutSeconds?: number + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * Defaults to: undefined + * @type boolean + * @memberof PolicyV1ApilistPodDisruptionBudgetForAllNamespaces + */ + watch?: boolean +} + +export interface PolicyV1ApiPatchNamespacedPodDisruptionBudgetRequest { + /** + * name of the PodDisruptionBudget + * Defaults to: undefined + * @type string + * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudget */ name: string + /** + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudget + */ + namespace: string /** * * @type any - * @memberof NodeV1ApipatchRuntimeClass + * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudget */ body: any /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NodeV1ApipatchRuntimeClass + * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudget */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof NodeV1ApipatchRuntimeClass + * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudget */ dryRun?: string /** * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * Defaults to: undefined * @type string - * @memberof NodeV1ApipatchRuntimeClass + * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudget */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof NodeV1ApipatchRuntimeClass + * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudget */ fieldValidation?: string /** * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. * Defaults to: undefined * @type boolean - * @memberof NodeV1ApipatchRuntimeClass + * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudget */ force?: boolean } -export interface NodeV1ApiReadRuntimeClassRequest { +export interface PolicyV1ApiPatchNamespacedPodDisruptionBudgetStatusRequest { /** - * name of the RuntimeClass + * name of the PodDisruptionBudget * Defaults to: undefined * @type string - * @memberof NodeV1ApireadRuntimeClass + * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudgetStatus */ name: string + /** + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudgetStatus + */ + namespace: string + /** + * + * @type any + * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudgetStatus + */ + body: any /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NodeV1ApireadRuntimeClass + * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudgetStatus + */ + pretty?: string + /** + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudgetStatus + */ + dryRun?: string + /** + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * Defaults to: undefined + * @type string + * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudgetStatus + */ + fieldManager?: string + /** + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Defaults to: undefined + * @type string + * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudgetStatus + */ + fieldValidation?: string + /** + * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * Defaults to: undefined + * @type boolean + * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudgetStatus + */ + force?: boolean +} + +export interface PolicyV1ApiReadNamespacedPodDisruptionBudgetRequest { + /** + * name of the PodDisruptionBudget + * Defaults to: undefined + * @type string + * @memberof PolicyV1ApireadNamespacedPodDisruptionBudget + */ + name: string + /** + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof PolicyV1ApireadNamespacedPodDisruptionBudget + */ + namespace: string + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof PolicyV1ApireadNamespacedPodDisruptionBudget */ pretty?: string } -export interface NodeV1ApiReplaceRuntimeClassRequest { +export interface PolicyV1ApiReadNamespacedPodDisruptionBudgetStatusRequest { /** - * name of the RuntimeClass + * name of the PodDisruptionBudget * Defaults to: undefined * @type string - * @memberof NodeV1ApireplaceRuntimeClass + * @memberof PolicyV1ApireadNamespacedPodDisruptionBudgetStatus + */ + name: string + /** + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof PolicyV1ApireadNamespacedPodDisruptionBudgetStatus + */ + namespace: string + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof PolicyV1ApireadNamespacedPodDisruptionBudgetStatus + */ + pretty?: string +} + +export interface PolicyV1ApiReplaceNamespacedPodDisruptionBudgetRequest { + /** + * name of the PodDisruptionBudget + * Defaults to: undefined + * @type string + * @memberof PolicyV1ApireplaceNamespacedPodDisruptionBudget */ name: string + /** + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof PolicyV1ApireplaceNamespacedPodDisruptionBudget + */ + namespace: string /** * - * @type V1RuntimeClass - * @memberof NodeV1ApireplaceRuntimeClass + * @type V1PodDisruptionBudget + * @memberof PolicyV1ApireplaceNamespacedPodDisruptionBudget */ - body: V1RuntimeClass + body: V1PodDisruptionBudget /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof NodeV1ApireplaceRuntimeClass + * @memberof PolicyV1ApireplaceNamespacedPodDisruptionBudget */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof NodeV1ApireplaceRuntimeClass + * @memberof PolicyV1ApireplaceNamespacedPodDisruptionBudget */ dryRun?: string /** * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof NodeV1ApireplaceRuntimeClass + * @memberof PolicyV1ApireplaceNamespacedPodDisruptionBudget */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof NodeV1ApireplaceRuntimeClass + * @memberof PolicyV1ApireplaceNamespacedPodDisruptionBudget */ fieldValidation?: string } -export class ObjectNodeV1Api { - private api: ObservableNodeV1Api +export interface PolicyV1ApiReplaceNamespacedPodDisruptionBudgetStatusRequest { + /** + * name of the PodDisruptionBudget + * Defaults to: undefined + * @type string + * @memberof PolicyV1ApireplaceNamespacedPodDisruptionBudgetStatus + */ + name: string + /** + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof PolicyV1ApireplaceNamespacedPodDisruptionBudgetStatus + */ + namespace: string + /** + * + * @type V1PodDisruptionBudget + * @memberof PolicyV1ApireplaceNamespacedPodDisruptionBudgetStatus + */ + body: V1PodDisruptionBudget + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof PolicyV1ApireplaceNamespacedPodDisruptionBudgetStatus + */ + pretty?: string + /** + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof PolicyV1ApireplaceNamespacedPodDisruptionBudgetStatus + */ + dryRun?: string + /** + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * Defaults to: undefined + * @type string + * @memberof PolicyV1ApireplaceNamespacedPodDisruptionBudgetStatus + */ + fieldManager?: string + /** + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Defaults to: undefined + * @type string + * @memberof PolicyV1ApireplaceNamespacedPodDisruptionBudgetStatus + */ + fieldValidation?: string +} - public constructor(configuration: Configuration, requestFactory?: NodeV1ApiRequestFactory, responseProcessor?: NodeV1ApiResponseProcessor) { - this.api = new ObservableNodeV1Api(configuration, requestFactory, responseProcessor); +export class ObjectPolicyV1Api { + private api: ObservablePolicyV1Api + + public constructor(configuration: Configuration, requestFactory?: PolicyV1ApiRequestFactory, responseProcessor?: PolicyV1ApiResponseProcessor) { + this.api = new ObservablePolicyV1Api(configuration, requestFactory, responseProcessor); } /** - * create a RuntimeClass + * create a PodDisruptionBudget * @param param the request object */ - public createRuntimeClassWithHttpInfo(param: NodeV1ApiCreateRuntimeClassRequest, options?: Configuration): Promise> { - return this.api.createRuntimeClassWithHttpInfo(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + public createNamespacedPodDisruptionBudgetWithHttpInfo(param: PolicyV1ApiCreateNamespacedPodDisruptionBudgetRequest, options?: Configuration): Promise> { + return this.api.createNamespacedPodDisruptionBudgetWithHttpInfo(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } /** - * create a RuntimeClass + * create a PodDisruptionBudget * @param param the request object */ - public createRuntimeClass(param: NodeV1ApiCreateRuntimeClassRequest, options?: Configuration): Promise { - return this.api.createRuntimeClass(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + public createNamespacedPodDisruptionBudget(param: PolicyV1ApiCreateNamespacedPodDisruptionBudgetRequest, options?: Configuration): Promise { + return this.api.createNamespacedPodDisruptionBudget(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } /** - * delete collection of RuntimeClass + * delete collection of PodDisruptionBudget * @param param the request object */ - public deleteCollectionRuntimeClassWithHttpInfo(param: NodeV1ApiDeleteCollectionRuntimeClassRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionRuntimeClassWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + public deleteCollectionNamespacedPodDisruptionBudgetWithHttpInfo(param: PolicyV1ApiDeleteCollectionNamespacedPodDisruptionBudgetRequest, options?: Configuration): Promise> { + return this.api.deleteCollectionNamespacedPodDisruptionBudgetWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** - * delete collection of RuntimeClass + * delete collection of PodDisruptionBudget * @param param the request object */ - public deleteCollectionRuntimeClass(param: NodeV1ApiDeleteCollectionRuntimeClassRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionRuntimeClass(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + public deleteCollectionNamespacedPodDisruptionBudget(param: PolicyV1ApiDeleteCollectionNamespacedPodDisruptionBudgetRequest, options?: Configuration): Promise { + return this.api.deleteCollectionNamespacedPodDisruptionBudget(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** - * delete a RuntimeClass + * delete a PodDisruptionBudget * @param param the request object */ - public deleteRuntimeClassWithHttpInfo(param: NodeV1ApiDeleteRuntimeClassRequest, options?: Configuration): Promise> { - return this.api.deleteRuntimeClassWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + public deleteNamespacedPodDisruptionBudgetWithHttpInfo(param: PolicyV1ApiDeleteNamespacedPodDisruptionBudgetRequest, options?: Configuration): Promise> { + return this.api.deleteNamespacedPodDisruptionBudgetWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** - * delete a RuntimeClass + * delete a PodDisruptionBudget * @param param the request object */ - public deleteRuntimeClass(param: NodeV1ApiDeleteRuntimeClassRequest, options?: Configuration): Promise { - return this.api.deleteRuntimeClass(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + public deleteNamespacedPodDisruptionBudget(param: PolicyV1ApiDeleteNamespacedPodDisruptionBudgetRequest, options?: Configuration): Promise { + return this.api.deleteNamespacedPodDisruptionBudget(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** * get available resources * @param param the request object */ - public getAPIResourcesWithHttpInfo(param: NodeV1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise> { + public getAPIResourcesWithHttpInfo(param: PolicyV1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise> { return this.api.getAPIResourcesWithHttpInfo( options).toPromise(); } @@ -41198,125 +42027,158 @@ export class ObjectNodeV1Api { * get available resources * @param param the request object */ - public getAPIResources(param: NodeV1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise { + public getAPIResources(param: PolicyV1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise { return this.api.getAPIResources( options).toPromise(); } /** - * list or watch objects of kind RuntimeClass + * list or watch objects of kind PodDisruptionBudget * @param param the request object */ - public listRuntimeClassWithHttpInfo(param: NodeV1ApiListRuntimeClassRequest = {}, options?: Configuration): Promise> { - return this.api.listRuntimeClassWithHttpInfo(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + public listNamespacedPodDisruptionBudgetWithHttpInfo(param: PolicyV1ApiListNamespacedPodDisruptionBudgetRequest, options?: Configuration): Promise> { + return this.api.listNamespacedPodDisruptionBudgetWithHttpInfo(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); } /** - * list or watch objects of kind RuntimeClass + * list or watch objects of kind PodDisruptionBudget * @param param the request object */ - public listRuntimeClass(param: NodeV1ApiListRuntimeClassRequest = {}, options?: Configuration): Promise { - return this.api.listRuntimeClass(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + public listNamespacedPodDisruptionBudget(param: PolicyV1ApiListNamespacedPodDisruptionBudgetRequest, options?: Configuration): Promise { + return this.api.listNamespacedPodDisruptionBudget(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); } /** - * partially update the specified RuntimeClass + * list or watch objects of kind PodDisruptionBudget * @param param the request object */ - public patchRuntimeClassWithHttpInfo(param: NodeV1ApiPatchRuntimeClassRequest, options?: Configuration): Promise> { - return this.api.patchRuntimeClassWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + public listPodDisruptionBudgetForAllNamespacesWithHttpInfo(param: PolicyV1ApiListPodDisruptionBudgetForAllNamespacesRequest = {}, options?: Configuration): Promise> { + return this.api.listPodDisruptionBudgetForAllNamespacesWithHttpInfo(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); } /** - * partially update the specified RuntimeClass + * list or watch objects of kind PodDisruptionBudget * @param param the request object */ - public patchRuntimeClass(param: NodeV1ApiPatchRuntimeClassRequest, options?: Configuration): Promise { - return this.api.patchRuntimeClass(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + public listPodDisruptionBudgetForAllNamespaces(param: PolicyV1ApiListPodDisruptionBudgetForAllNamespacesRequest = {}, options?: Configuration): Promise { + return this.api.listPodDisruptionBudgetForAllNamespaces(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); } /** - * read the specified RuntimeClass + * partially update the specified PodDisruptionBudget * @param param the request object */ - public readRuntimeClassWithHttpInfo(param: NodeV1ApiReadRuntimeClassRequest, options?: Configuration): Promise> { - return this.api.readRuntimeClassWithHttpInfo(param.name, param.pretty, options).toPromise(); + public patchNamespacedPodDisruptionBudgetWithHttpInfo(param: PolicyV1ApiPatchNamespacedPodDisruptionBudgetRequest, options?: Configuration): Promise> { + return this.api.patchNamespacedPodDisruptionBudgetWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); } /** - * read the specified RuntimeClass + * partially update the specified PodDisruptionBudget * @param param the request object */ - public readRuntimeClass(param: NodeV1ApiReadRuntimeClassRequest, options?: Configuration): Promise { - return this.api.readRuntimeClass(param.name, param.pretty, options).toPromise(); + public patchNamespacedPodDisruptionBudget(param: PolicyV1ApiPatchNamespacedPodDisruptionBudgetRequest, options?: Configuration): Promise { + return this.api.patchNamespacedPodDisruptionBudget(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); } /** - * replace the specified RuntimeClass + * partially update status of the specified PodDisruptionBudget * @param param the request object */ - public replaceRuntimeClassWithHttpInfo(param: NodeV1ApiReplaceRuntimeClassRequest, options?: Configuration): Promise> { - return this.api.replaceRuntimeClassWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + public patchNamespacedPodDisruptionBudgetStatusWithHttpInfo(param: PolicyV1ApiPatchNamespacedPodDisruptionBudgetStatusRequest, options?: Configuration): Promise> { + return this.api.patchNamespacedPodDisruptionBudgetStatusWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + + /** + * partially update status of the specified PodDisruptionBudget + * @param param the request object + */ + public patchNamespacedPodDisruptionBudgetStatus(param: PolicyV1ApiPatchNamespacedPodDisruptionBudgetStatusRequest, options?: Configuration): Promise { + return this.api.patchNamespacedPodDisruptionBudgetStatus(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + + /** + * read the specified PodDisruptionBudget + * @param param the request object + */ + public readNamespacedPodDisruptionBudgetWithHttpInfo(param: PolicyV1ApiReadNamespacedPodDisruptionBudgetRequest, options?: Configuration): Promise> { + return this.api.readNamespacedPodDisruptionBudgetWithHttpInfo(param.name, param.namespace, param.pretty, options).toPromise(); + } + + /** + * read the specified PodDisruptionBudget + * @param param the request object + */ + public readNamespacedPodDisruptionBudget(param: PolicyV1ApiReadNamespacedPodDisruptionBudgetRequest, options?: Configuration): Promise { + return this.api.readNamespacedPodDisruptionBudget(param.name, param.namespace, param.pretty, options).toPromise(); + } + + /** + * read status of the specified PodDisruptionBudget + * @param param the request object + */ + public readNamespacedPodDisruptionBudgetStatusWithHttpInfo(param: PolicyV1ApiReadNamespacedPodDisruptionBudgetStatusRequest, options?: Configuration): Promise> { + return this.api.readNamespacedPodDisruptionBudgetStatusWithHttpInfo(param.name, param.namespace, param.pretty, options).toPromise(); + } + + /** + * read status of the specified PodDisruptionBudget + * @param param the request object + */ + public readNamespacedPodDisruptionBudgetStatus(param: PolicyV1ApiReadNamespacedPodDisruptionBudgetStatusRequest, options?: Configuration): Promise { + return this.api.readNamespacedPodDisruptionBudgetStatus(param.name, param.namespace, param.pretty, options).toPromise(); + } + + /** + * replace the specified PodDisruptionBudget + * @param param the request object + */ + public replaceNamespacedPodDisruptionBudgetWithHttpInfo(param: PolicyV1ApiReplaceNamespacedPodDisruptionBudgetRequest, options?: Configuration): Promise> { + return this.api.replaceNamespacedPodDisruptionBudgetWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } /** - * replace the specified RuntimeClass + * replace the specified PodDisruptionBudget * @param param the request object */ - public replaceRuntimeClass(param: NodeV1ApiReplaceRuntimeClassRequest, options?: Configuration): Promise { - return this.api.replaceRuntimeClass(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - -} - -import { ObservableOpenidApi } from "./ObservableAPI.js"; -import { OpenidApiRequestFactory, OpenidApiResponseProcessor} from "../apis/OpenidApi.js"; - -export interface OpenidApiGetServiceAccountIssuerOpenIDKeysetRequest { -} - -export class ObjectOpenidApi { - private api: ObservableOpenidApi - - public constructor(configuration: Configuration, requestFactory?: OpenidApiRequestFactory, responseProcessor?: OpenidApiResponseProcessor) { - this.api = new ObservableOpenidApi(configuration, requestFactory, responseProcessor); + public replaceNamespacedPodDisruptionBudget(param: PolicyV1ApiReplaceNamespacedPodDisruptionBudgetRequest, options?: Configuration): Promise { + return this.api.replaceNamespacedPodDisruptionBudget(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } /** - * get service account issuer OpenID JSON Web Key Set (contains public token verification keys) + * replace status of the specified PodDisruptionBudget * @param param the request object */ - public getServiceAccountIssuerOpenIDKeysetWithHttpInfo(param: OpenidApiGetServiceAccountIssuerOpenIDKeysetRequest = {}, options?: Configuration): Promise> { - return this.api.getServiceAccountIssuerOpenIDKeysetWithHttpInfo( options).toPromise(); + public replaceNamespacedPodDisruptionBudgetStatusWithHttpInfo(param: PolicyV1ApiReplaceNamespacedPodDisruptionBudgetStatusRequest, options?: Configuration): Promise> { + return this.api.replaceNamespacedPodDisruptionBudgetStatusWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } /** - * get service account issuer OpenID JSON Web Key Set (contains public token verification keys) + * replace status of the specified PodDisruptionBudget * @param param the request object */ - public getServiceAccountIssuerOpenIDKeyset(param: OpenidApiGetServiceAccountIssuerOpenIDKeysetRequest = {}, options?: Configuration): Promise { - return this.api.getServiceAccountIssuerOpenIDKeyset( options).toPromise(); + public replaceNamespacedPodDisruptionBudgetStatus(param: PolicyV1ApiReplaceNamespacedPodDisruptionBudgetStatusRequest, options?: Configuration): Promise { + return this.api.replaceNamespacedPodDisruptionBudgetStatus(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } } -import { ObservablePolicyApi } from "./ObservableAPI.js"; -import { PolicyApiRequestFactory, PolicyApiResponseProcessor} from "../apis/PolicyApi.js"; +import { ObservableRbacAuthorizationApi } from "./ObservableAPI"; +import { RbacAuthorizationApiRequestFactory, RbacAuthorizationApiResponseProcessor} from "../apis/RbacAuthorizationApi"; -export interface PolicyApiGetAPIGroupRequest { +export interface RbacAuthorizationApiGetAPIGroupRequest { } -export class ObjectPolicyApi { - private api: ObservablePolicyApi +export class ObjectRbacAuthorizationApi { + private api: ObservableRbacAuthorizationApi - public constructor(configuration: Configuration, requestFactory?: PolicyApiRequestFactory, responseProcessor?: PolicyApiResponseProcessor) { - this.api = new ObservablePolicyApi(configuration, requestFactory, responseProcessor); + public constructor(configuration: Configuration, requestFactory?: RbacAuthorizationApiRequestFactory, responseProcessor?: RbacAuthorizationApiResponseProcessor) { + this.api = new ObservableRbacAuthorizationApi(configuration, requestFactory, responseProcessor); } /** * get information of a group * @param param the request object */ - public getAPIGroupWithHttpInfo(param: PolicyApiGetAPIGroupRequest = {}, options?: Configuration): Promise> { + public getAPIGroupWithHttpInfo(param: RbacAuthorizationApiGetAPIGroupRequest = {}, options?: Configuration): Promise> { return this.api.getAPIGroupWithHttpInfo( options).toPromise(); } @@ -41324,6817 +42186,6915 @@ export class ObjectPolicyApi { * get information of a group * @param param the request object */ - public getAPIGroup(param: PolicyApiGetAPIGroupRequest = {}, options?: Configuration): Promise { + public getAPIGroup(param: RbacAuthorizationApiGetAPIGroupRequest = {}, options?: Configuration): Promise { return this.api.getAPIGroup( options).toPromise(); } } -import { ObservablePolicyV1Api } from "./ObservableAPI.js"; -import { PolicyV1ApiRequestFactory, PolicyV1ApiResponseProcessor} from "../apis/PolicyV1Api.js"; +import { ObservableRbacAuthorizationV1Api } from "./ObservableAPI"; +import { RbacAuthorizationV1ApiRequestFactory, RbacAuthorizationV1ApiResponseProcessor} from "../apis/RbacAuthorizationV1Api"; -export interface PolicyV1ApiCreateNamespacedPodDisruptionBudgetRequest { +export interface RbacAuthorizationV1ApiCreateClusterRoleRequest { /** - * object name and auth scope, such as for teams and projects + * + * @type V1ClusterRole + * @memberof RbacAuthorizationV1ApicreateClusterRole + */ + body: V1ClusterRole + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof PolicyV1ApicreateNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApicreateClusterRole */ - namespace: string + pretty?: string + /** + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApicreateClusterRole + */ + dryRun?: string + /** + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApicreateClusterRole + */ + fieldManager?: string + /** + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApicreateClusterRole + */ + fieldValidation?: string +} + +export interface RbacAuthorizationV1ApiCreateClusterRoleBindingRequest { /** * - * @type V1PodDisruptionBudget - * @memberof PolicyV1ApicreateNamespacedPodDisruptionBudget + * @type V1ClusterRoleBinding + * @memberof RbacAuthorizationV1ApicreateClusterRoleBinding */ - body: V1PodDisruptionBudget + body: V1ClusterRoleBinding /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof PolicyV1ApicreateNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApicreateClusterRoleBinding */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof PolicyV1ApicreateNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApicreateClusterRoleBinding */ dryRun?: string /** * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof PolicyV1ApicreateNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApicreateClusterRoleBinding */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof PolicyV1ApicreateNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApicreateClusterRoleBinding */ fieldValidation?: string } -export interface PolicyV1ApiDeleteCollectionNamespacedPodDisruptionBudgetRequest { +export interface RbacAuthorizationV1ApiCreateNamespacedRoleRequest { /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApicreateNamespacedRole */ namespace: string + /** + * + * @type V1Role + * @memberof RbacAuthorizationV1ApicreateNamespacedRole + */ + body: V1Role /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApicreateNamespacedRole */ pretty?: string /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApicreateNamespacedRole */ - _continue?: string + dryRun?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApicreateNamespacedRole */ - dryRun?: string + fieldManager?: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApicreateNamespacedRole */ - fieldSelector?: string + fieldValidation?: string +} + +export interface RbacAuthorizationV1ApiCreateNamespacedRoleBindingRequest { /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * object name and auth scope, such as for teams and projects * Defaults to: undefined - * @type number - * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget + * @type string + * @memberof RbacAuthorizationV1ApicreateNamespacedRoleBinding */ - gracePeriodSeconds?: number + namespace: string /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * + * @type V1RoleBinding + * @memberof RbacAuthorizationV1ApicreateNamespacedRoleBinding + */ + body: V1RoleBinding + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApicreateNamespacedRoleBinding */ - labelSelector?: string + pretty?: string /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined - * @type number - * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget + * @type string + * @memberof RbacAuthorizationV1ApicreateNamespacedRoleBinding */ - limit?: number + dryRun?: string /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined - * @type boolean - * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget + * @type string + * @memberof RbacAuthorizationV1ApicreateNamespacedRoleBinding */ - orphanDependents?: boolean + fieldManager?: string /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApicreateNamespacedRoleBinding */ - propagationPolicy?: string + fieldValidation?: string +} + +export interface RbacAuthorizationV1ApiDeleteClusterRoleRequest { /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * name of the ClusterRole * Defaults to: undefined * @type string - * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteClusterRole */ - resourceVersion?: string + name: string /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteClusterRole */ - resourceVersionMatch?: string + pretty?: string /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined - * @type boolean - * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget + * @type string + * @memberof RbacAuthorizationV1ApideleteClusterRole */ - sendInitialEvents?: boolean + dryRun?: string /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteClusterRole */ - timeoutSeconds?: number + gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof RbacAuthorizationV1ApideleteClusterRole + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean + /** + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * Defaults to: undefined + * @type boolean + * @memberof RbacAuthorizationV1ApideleteClusterRole + */ + orphanDependents?: boolean + /** + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApideleteClusterRole + */ + propagationPolicy?: string /** * * @type V1DeleteOptions - * @memberof PolicyV1ApideleteCollectionNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteClusterRole */ body?: V1DeleteOptions } -export interface PolicyV1ApiDeleteNamespacedPodDisruptionBudgetRequest { +export interface RbacAuthorizationV1ApiDeleteClusterRoleBindingRequest { /** - * name of the PodDisruptionBudget + * name of the ClusterRoleBinding * Defaults to: undefined * @type string - * @memberof PolicyV1ApideleteNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteClusterRoleBinding */ name: string - /** - * object name and auth scope, such as for teams and projects - * Defaults to: undefined - * @type string - * @memberof PolicyV1ApideleteNamespacedPodDisruptionBudget - */ - namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof PolicyV1ApideleteNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteClusterRoleBinding */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof PolicyV1ApideleteNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteClusterRoleBinding */ dryRun?: string /** * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof PolicyV1ApideleteNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteClusterRoleBinding */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof RbacAuthorizationV1ApideleteClusterRoleBinding + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof PolicyV1ApideleteNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteClusterRoleBinding */ orphanDependents?: boolean /** * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof PolicyV1ApideleteNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteClusterRoleBinding */ propagationPolicy?: string /** * * @type V1DeleteOptions - * @memberof PolicyV1ApideleteNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteClusterRoleBinding */ body?: V1DeleteOptions } -export interface PolicyV1ApiGetAPIResourcesRequest { -} - -export interface PolicyV1ApiListNamespacedPodDisruptionBudgetRequest { - /** - * object name and auth scope, such as for teams and projects - * Defaults to: undefined - * @type string - * @memberof PolicyV1ApilistNamespacedPodDisruptionBudget - */ - namespace: string +export interface RbacAuthorizationV1ApiDeleteCollectionClusterRoleRequest { /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof PolicyV1ApilistNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRole */ pretty?: string /** - * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined - * @type boolean - * @memberof PolicyV1ApilistNamespacedPodDisruptionBudget + * @type string + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRole */ - allowWatchBookmarks?: boolean + _continue?: string /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof PolicyV1ApilistNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRole */ - _continue?: string + dryRun?: string /** * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof PolicyV1ApilistNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRole */ fieldSelector?: string + /** + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * Defaults to: undefined + * @type number + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRole + */ + gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRole + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof PolicyV1ApilistNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRole */ labelSelector?: string /** * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined * @type number - * @memberof PolicyV1ApilistNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRole */ limit?: number + /** + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * Defaults to: undefined + * @type boolean + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRole + */ + orphanDependents?: boolean + /** + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRole + */ + propagationPolicy?: string /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof PolicyV1ApilistNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRole */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof PolicyV1ApilistNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRole */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof PolicyV1ApilistNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRole */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof PolicyV1ApilistNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRole */ timeoutSeconds?: number /** - * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * Defaults to: undefined - * @type boolean - * @memberof PolicyV1ApilistNamespacedPodDisruptionBudget + * + * @type V1DeleteOptions + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRole */ - watch?: boolean + body?: V1DeleteOptions } -export interface PolicyV1ApiListPodDisruptionBudgetForAllNamespacesRequest { +export interface RbacAuthorizationV1ApiDeleteCollectionClusterRoleBindingRequest { /** - * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined - * @type boolean - * @memberof PolicyV1ApilistPodDisruptionBudgetForAllNamespaces + * @type string + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRoleBinding */ - allowWatchBookmarks?: boolean + pretty?: string /** * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof PolicyV1ApilistPodDisruptionBudgetForAllNamespaces + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRoleBinding */ _continue?: string + /** + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRoleBinding + */ + dryRun?: string /** * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof PolicyV1ApilistPodDisruptionBudgetForAllNamespaces + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRoleBinding */ fieldSelector?: string + /** + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * Defaults to: undefined + * @type number + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRoleBinding + */ + gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRoleBinding + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof PolicyV1ApilistPodDisruptionBudgetForAllNamespaces + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRoleBinding */ labelSelector?: string /** * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined * @type number - * @memberof PolicyV1ApilistPodDisruptionBudgetForAllNamespaces + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRoleBinding */ limit?: number /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * Defaults to: undefined + * @type boolean + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRoleBinding + */ + orphanDependents?: boolean + /** + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof PolicyV1ApilistPodDisruptionBudgetForAllNamespaces + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRoleBinding */ - pretty?: string + propagationPolicy?: string /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof PolicyV1ApilistPodDisruptionBudgetForAllNamespaces + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRoleBinding */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof PolicyV1ApilistPodDisruptionBudgetForAllNamespaces + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRoleBinding */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof PolicyV1ApilistPodDisruptionBudgetForAllNamespaces + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRoleBinding */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof PolicyV1ApilistPodDisruptionBudgetForAllNamespaces + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRoleBinding */ timeoutSeconds?: number /** - * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * Defaults to: undefined - * @type boolean - * @memberof PolicyV1ApilistPodDisruptionBudgetForAllNamespaces + * + * @type V1DeleteOptions + * @memberof RbacAuthorizationV1ApideleteCollectionClusterRoleBinding */ - watch?: boolean + body?: V1DeleteOptions } -export interface PolicyV1ApiPatchNamespacedPodDisruptionBudgetRequest { - /** - * name of the PodDisruptionBudget - * Defaults to: undefined - * @type string - * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudget - */ - name: string +export interface RbacAuthorizationV1ApiDeleteCollectionNamespacedRoleRequest { /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole */ namespace: string - /** - * - * @type any - * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudget - */ - body: any /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole */ pretty?: string + /** + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole + */ + _continue?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole */ dryRun?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole */ - fieldManager?: string + fieldSelector?: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * Defaults to: undefined + * @type number + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole + */ + gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole */ - fieldValidation?: string + labelSelector?: string /** - * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * Defaults to: undefined + * @type number + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole + */ + limit?: number + /** + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole */ - force?: boolean -} - -export interface PolicyV1ApiPatchNamespacedPodDisruptionBudgetStatusRequest { + orphanDependents?: boolean /** - * name of the PodDisruptionBudget + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudgetStatus + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole */ - name: string + propagationPolicy?: string + /** + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole + */ + resourceVersion?: string + /** + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole + */ + resourceVersionMatch?: string + /** + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * Defaults to: undefined + * @type boolean + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole + */ + sendInitialEvents?: boolean + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * Defaults to: undefined + * @type number + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole + */ + timeoutSeconds?: number + /** + * + * @type V1DeleteOptions + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole + */ + body?: V1DeleteOptions +} + +export interface RbacAuthorizationV1ApiDeleteCollectionNamespacedRoleBindingRequest { /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudgetStatus + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding */ namespace: string - /** - * - * @type any - * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudgetStatus - */ - body: any /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudgetStatus + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding */ pretty?: string + /** + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding + */ + _continue?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudgetStatus + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding */ dryRun?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudgetStatus + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding */ - fieldManager?: string + fieldSelector?: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined - * @type string - * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudgetStatus + * @type number + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding */ - fieldValidation?: string + gracePeriodSeconds?: number /** - * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * Defaults to: undefined * @type boolean - * @memberof PolicyV1ApipatchNamespacedPodDisruptionBudgetStatus + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding */ - force?: boolean -} - -export interface PolicyV1ApiReadNamespacedPodDisruptionBudgetRequest { + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** - * name of the PodDisruptionBudget + * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof PolicyV1ApireadNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding */ - name: string + labelSelector?: string /** - * object name and auth scope, such as for teams and projects + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined - * @type string - * @memberof PolicyV1ApireadNamespacedPodDisruptionBudget + * @type number + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding */ - namespace: string + limit?: number /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined - * @type string - * @memberof PolicyV1ApireadNamespacedPodDisruptionBudget + * @type boolean + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding */ - pretty?: string -} - -export interface PolicyV1ApiReadNamespacedPodDisruptionBudgetStatusRequest { + orphanDependents?: boolean /** - * name of the PodDisruptionBudget + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof PolicyV1ApireadNamespacedPodDisruptionBudgetStatus + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding */ - name: string + propagationPolicy?: string /** - * object name and auth scope, such as for teams and projects + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof PolicyV1ApireadNamespacedPodDisruptionBudgetStatus + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding */ - namespace: string + resourceVersion?: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof PolicyV1ApireadNamespacedPodDisruptionBudgetStatus + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding */ - pretty?: string + resourceVersionMatch?: string + /** + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * Defaults to: undefined + * @type boolean + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding + */ + sendInitialEvents?: boolean + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * Defaults to: undefined + * @type number + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding + */ + timeoutSeconds?: number + /** + * + * @type V1DeleteOptions + * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding + */ + body?: V1DeleteOptions } -export interface PolicyV1ApiReplaceNamespacedPodDisruptionBudgetRequest { +export interface RbacAuthorizationV1ApiDeleteNamespacedRoleRequest { /** - * name of the PodDisruptionBudget + * name of the Role * Defaults to: undefined * @type string - * @memberof PolicyV1ApireplaceNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteNamespacedRole */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof PolicyV1ApireplaceNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteNamespacedRole */ namespace: string - /** - * - * @type V1PodDisruptionBudget - * @memberof PolicyV1ApireplaceNamespacedPodDisruptionBudget - */ - body: V1PodDisruptionBudget /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof PolicyV1ApireplaceNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteNamespacedRole */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof PolicyV1ApireplaceNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteNamespacedRole */ dryRun?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined - * @type string - * @memberof PolicyV1ApireplaceNamespacedPodDisruptionBudget + * @type number + * @memberof RbacAuthorizationV1ApideleteNamespacedRole */ - fieldManager?: string + gracePeriodSeconds?: number /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof RbacAuthorizationV1ApideleteNamespacedRole + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean + /** + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * Defaults to: undefined + * @type boolean + * @memberof RbacAuthorizationV1ApideleteNamespacedRole + */ + orphanDependents?: boolean + /** + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof PolicyV1ApireplaceNamespacedPodDisruptionBudget + * @memberof RbacAuthorizationV1ApideleteNamespacedRole */ - fieldValidation?: string + propagationPolicy?: string + /** + * + * @type V1DeleteOptions + * @memberof RbacAuthorizationV1ApideleteNamespacedRole + */ + body?: V1DeleteOptions } -export interface PolicyV1ApiReplaceNamespacedPodDisruptionBudgetStatusRequest { +export interface RbacAuthorizationV1ApiDeleteNamespacedRoleBindingRequest { /** - * name of the PodDisruptionBudget + * name of the RoleBinding * Defaults to: undefined * @type string - * @memberof PolicyV1ApireplaceNamespacedPodDisruptionBudgetStatus + * @memberof RbacAuthorizationV1ApideleteNamespacedRoleBinding */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof PolicyV1ApireplaceNamespacedPodDisruptionBudgetStatus + * @memberof RbacAuthorizationV1ApideleteNamespacedRoleBinding */ namespace: string - /** - * - * @type V1PodDisruptionBudget - * @memberof PolicyV1ApireplaceNamespacedPodDisruptionBudgetStatus - */ - body: V1PodDisruptionBudget /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof PolicyV1ApireplaceNamespacedPodDisruptionBudgetStatus + * @memberof RbacAuthorizationV1ApideleteNamespacedRoleBinding */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof PolicyV1ApireplaceNamespacedPodDisruptionBudgetStatus + * @memberof RbacAuthorizationV1ApideleteNamespacedRoleBinding */ dryRun?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined - * @type string - * @memberof PolicyV1ApireplaceNamespacedPodDisruptionBudgetStatus + * @type number + * @memberof RbacAuthorizationV1ApideleteNamespacedRoleBinding */ - fieldManager?: string + gracePeriodSeconds?: number /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * Defaults to: undefined - * @type string - * @memberof PolicyV1ApireplaceNamespacedPodDisruptionBudgetStatus - */ - fieldValidation?: string -} - -export class ObjectPolicyV1Api { - private api: ObservablePolicyV1Api - - public constructor(configuration: Configuration, requestFactory?: PolicyV1ApiRequestFactory, responseProcessor?: PolicyV1ApiResponseProcessor) { - this.api = new ObservablePolicyV1Api(configuration, requestFactory, responseProcessor); - } - - /** - * create a PodDisruptionBudget - * @param param the request object - */ - public createNamespacedPodDisruptionBudgetWithHttpInfo(param: PolicyV1ApiCreateNamespacedPodDisruptionBudgetRequest, options?: Configuration): Promise> { - return this.api.createNamespacedPodDisruptionBudgetWithHttpInfo(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - - /** - * create a PodDisruptionBudget - * @param param the request object - */ - public createNamespacedPodDisruptionBudget(param: PolicyV1ApiCreateNamespacedPodDisruptionBudgetRequest, options?: Configuration): Promise { - return this.api.createNamespacedPodDisruptionBudget(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - - /** - * delete collection of PodDisruptionBudget - * @param param the request object - */ - public deleteCollectionNamespacedPodDisruptionBudgetWithHttpInfo(param: PolicyV1ApiDeleteCollectionNamespacedPodDisruptionBudgetRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedPodDisruptionBudgetWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); - } - - /** - * delete collection of PodDisruptionBudget - * @param param the request object - */ - public deleteCollectionNamespacedPodDisruptionBudget(param: PolicyV1ApiDeleteCollectionNamespacedPodDisruptionBudgetRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedPodDisruptionBudget(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); - } - - /** - * delete a PodDisruptionBudget - * @param param the request object + * @type boolean + * @memberof RbacAuthorizationV1ApideleteNamespacedRoleBinding */ - public deleteNamespacedPodDisruptionBudgetWithHttpInfo(param: PolicyV1ApiDeleteNamespacedPodDisruptionBudgetRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedPodDisruptionBudgetWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); - } - + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** - * delete a PodDisruptionBudget - * @param param the request object + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * Defaults to: undefined + * @type boolean + * @memberof RbacAuthorizationV1ApideleteNamespacedRoleBinding */ - public deleteNamespacedPodDisruptionBudget(param: PolicyV1ApiDeleteNamespacedPodDisruptionBudgetRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedPodDisruptionBudget(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); - } - + orphanDependents?: boolean /** - * get available resources - * @param param the request object + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApideleteNamespacedRoleBinding */ - public getAPIResourcesWithHttpInfo(param: PolicyV1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise> { - return this.api.getAPIResourcesWithHttpInfo( options).toPromise(); - } - + propagationPolicy?: string /** - * get available resources - * @param param the request object + * + * @type V1DeleteOptions + * @memberof RbacAuthorizationV1ApideleteNamespacedRoleBinding */ - public getAPIResources(param: PolicyV1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise { - return this.api.getAPIResources( options).toPromise(); - } + body?: V1DeleteOptions +} - /** - * list or watch objects of kind PodDisruptionBudget - * @param param the request object - */ - public listNamespacedPodDisruptionBudgetWithHttpInfo(param: PolicyV1ApiListNamespacedPodDisruptionBudgetRequest, options?: Configuration): Promise> { - return this.api.listNamespacedPodDisruptionBudgetWithHttpInfo(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } +export interface RbacAuthorizationV1ApiGetAPIResourcesRequest { +} +export interface RbacAuthorizationV1ApiListClusterRoleRequest { /** - * list or watch objects of kind PodDisruptionBudget - * @param param the request object + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApilistClusterRole */ - public listNamespacedPodDisruptionBudget(param: PolicyV1ApiListNamespacedPodDisruptionBudgetRequest, options?: Configuration): Promise { - return this.api.listNamespacedPodDisruptionBudget(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - + pretty?: string /** - * list or watch objects of kind PodDisruptionBudget - * @param param the request object + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * Defaults to: undefined + * @type boolean + * @memberof RbacAuthorizationV1ApilistClusterRole */ - public listPodDisruptionBudgetForAllNamespacesWithHttpInfo(param: PolicyV1ApiListPodDisruptionBudgetForAllNamespacesRequest = {}, options?: Configuration): Promise> { - return this.api.listPodDisruptionBudgetForAllNamespacesWithHttpInfo(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - + allowWatchBookmarks?: boolean /** - * list or watch objects of kind PodDisruptionBudget - * @param param the request object + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApilistClusterRole */ - public listPodDisruptionBudgetForAllNamespaces(param: PolicyV1ApiListPodDisruptionBudgetForAllNamespacesRequest = {}, options?: Configuration): Promise { - return this.api.listPodDisruptionBudgetForAllNamespaces(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - + _continue?: string /** - * partially update the specified PodDisruptionBudget - * @param param the request object + * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApilistClusterRole */ - public patchNamespacedPodDisruptionBudgetWithHttpInfo(param: PolicyV1ApiPatchNamespacedPodDisruptionBudgetRequest, options?: Configuration): Promise> { - return this.api.patchNamespacedPodDisruptionBudgetWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - + fieldSelector?: string /** - * partially update the specified PodDisruptionBudget - * @param param the request object + * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApilistClusterRole */ - public patchNamespacedPodDisruptionBudget(param: PolicyV1ApiPatchNamespacedPodDisruptionBudgetRequest, options?: Configuration): Promise { - return this.api.patchNamespacedPodDisruptionBudget(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - + labelSelector?: string /** - * partially update status of the specified PodDisruptionBudget - * @param param the request object + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * Defaults to: undefined + * @type number + * @memberof RbacAuthorizationV1ApilistClusterRole */ - public patchNamespacedPodDisruptionBudgetStatusWithHttpInfo(param: PolicyV1ApiPatchNamespacedPodDisruptionBudgetStatusRequest, options?: Configuration): Promise> { - return this.api.patchNamespacedPodDisruptionBudgetStatusWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - + limit?: number /** - * partially update status of the specified PodDisruptionBudget - * @param param the request object + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApilistClusterRole */ - public patchNamespacedPodDisruptionBudgetStatus(param: PolicyV1ApiPatchNamespacedPodDisruptionBudgetStatusRequest, options?: Configuration): Promise { - return this.api.patchNamespacedPodDisruptionBudgetStatus(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - + resourceVersion?: string /** - * read the specified PodDisruptionBudget - * @param param the request object + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApilistClusterRole */ - public readNamespacedPodDisruptionBudgetWithHttpInfo(param: PolicyV1ApiReadNamespacedPodDisruptionBudgetRequest, options?: Configuration): Promise> { - return this.api.readNamespacedPodDisruptionBudgetWithHttpInfo(param.name, param.namespace, param.pretty, options).toPromise(); - } - + resourceVersionMatch?: string /** - * read the specified PodDisruptionBudget - * @param param the request object + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * Defaults to: undefined + * @type boolean + * @memberof RbacAuthorizationV1ApilistClusterRole */ - public readNamespacedPodDisruptionBudget(param: PolicyV1ApiReadNamespacedPodDisruptionBudgetRequest, options?: Configuration): Promise { - return this.api.readNamespacedPodDisruptionBudget(param.name, param.namespace, param.pretty, options).toPromise(); - } - + sendInitialEvents?: boolean /** - * read status of the specified PodDisruptionBudget - * @param param the request object + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * Defaults to: undefined + * @type number + * @memberof RbacAuthorizationV1ApilistClusterRole */ - public readNamespacedPodDisruptionBudgetStatusWithHttpInfo(param: PolicyV1ApiReadNamespacedPodDisruptionBudgetStatusRequest, options?: Configuration): Promise> { - return this.api.readNamespacedPodDisruptionBudgetStatusWithHttpInfo(param.name, param.namespace, param.pretty, options).toPromise(); - } - + timeoutSeconds?: number /** - * read status of the specified PodDisruptionBudget - * @param param the request object + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * Defaults to: undefined + * @type boolean + * @memberof RbacAuthorizationV1ApilistClusterRole */ - public readNamespacedPodDisruptionBudgetStatus(param: PolicyV1ApiReadNamespacedPodDisruptionBudgetStatusRequest, options?: Configuration): Promise { - return this.api.readNamespacedPodDisruptionBudgetStatus(param.name, param.namespace, param.pretty, options).toPromise(); - } + watch?: boolean +} +export interface RbacAuthorizationV1ApiListClusterRoleBindingRequest { /** - * replace the specified PodDisruptionBudget - * @param param the request object + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApilistClusterRoleBinding */ - public replaceNamespacedPodDisruptionBudgetWithHttpInfo(param: PolicyV1ApiReplaceNamespacedPodDisruptionBudgetRequest, options?: Configuration): Promise> { - return this.api.replaceNamespacedPodDisruptionBudgetWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + pretty?: string /** - * replace the specified PodDisruptionBudget - * @param param the request object + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * Defaults to: undefined + * @type boolean + * @memberof RbacAuthorizationV1ApilistClusterRoleBinding */ - public replaceNamespacedPodDisruptionBudget(param: PolicyV1ApiReplaceNamespacedPodDisruptionBudgetRequest, options?: Configuration): Promise { - return this.api.replaceNamespacedPodDisruptionBudget(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + allowWatchBookmarks?: boolean /** - * replace status of the specified PodDisruptionBudget - * @param param the request object + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApilistClusterRoleBinding */ - public replaceNamespacedPodDisruptionBudgetStatusWithHttpInfo(param: PolicyV1ApiReplaceNamespacedPodDisruptionBudgetStatusRequest, options?: Configuration): Promise> { - return this.api.replaceNamespacedPodDisruptionBudgetStatusWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + _continue?: string /** - * replace status of the specified PodDisruptionBudget - * @param param the request object + * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApilistClusterRoleBinding */ - public replaceNamespacedPodDisruptionBudgetStatus(param: PolicyV1ApiReplaceNamespacedPodDisruptionBudgetStatusRequest, options?: Configuration): Promise { - return this.api.replaceNamespacedPodDisruptionBudgetStatus(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - -} - -import { ObservableRbacAuthorizationApi } from "./ObservableAPI.js"; -import { RbacAuthorizationApiRequestFactory, RbacAuthorizationApiResponseProcessor} from "../apis/RbacAuthorizationApi.js"; - -export interface RbacAuthorizationApiGetAPIGroupRequest { -} - -export class ObjectRbacAuthorizationApi { - private api: ObservableRbacAuthorizationApi - - public constructor(configuration: Configuration, requestFactory?: RbacAuthorizationApiRequestFactory, responseProcessor?: RbacAuthorizationApiResponseProcessor) { - this.api = new ObservableRbacAuthorizationApi(configuration, requestFactory, responseProcessor); - } - + fieldSelector?: string /** - * get information of a group - * @param param the request object + * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApilistClusterRoleBinding */ - public getAPIGroupWithHttpInfo(param: RbacAuthorizationApiGetAPIGroupRequest = {}, options?: Configuration): Promise> { - return this.api.getAPIGroupWithHttpInfo( options).toPromise(); - } - + labelSelector?: string /** - * get information of a group - * @param param the request object + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * Defaults to: undefined + * @type number + * @memberof RbacAuthorizationV1ApilistClusterRoleBinding */ - public getAPIGroup(param: RbacAuthorizationApiGetAPIGroupRequest = {}, options?: Configuration): Promise { - return this.api.getAPIGroup( options).toPromise(); - } - -} - -import { ObservableRbacAuthorizationV1Api } from "./ObservableAPI.js"; -import { RbacAuthorizationV1ApiRequestFactory, RbacAuthorizationV1ApiResponseProcessor} from "../apis/RbacAuthorizationV1Api.js"; - -export interface RbacAuthorizationV1ApiCreateClusterRoleRequest { + limit?: number /** - * - * @type V1ClusterRole - * @memberof RbacAuthorizationV1ApicreateClusterRole + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApilistClusterRoleBinding */ - body: V1ClusterRole + resourceVersion?: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApicreateClusterRole + * @memberof RbacAuthorizationV1ApilistClusterRoleBinding */ - pretty?: string + resourceVersionMatch?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApicreateClusterRole + * @type boolean + * @memberof RbacAuthorizationV1ApilistClusterRoleBinding */ - dryRun?: string + sendInitialEvents?: boolean /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApicreateClusterRole + * @type number + * @memberof RbacAuthorizationV1ApilistClusterRoleBinding */ - fieldManager?: string + timeoutSeconds?: number /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApicreateClusterRole + * @type boolean + * @memberof RbacAuthorizationV1ApilistClusterRoleBinding */ - fieldValidation?: string + watch?: boolean } -export interface RbacAuthorizationV1ApiCreateClusterRoleBindingRequest { +export interface RbacAuthorizationV1ApiListNamespacedRoleRequest { /** - * - * @type V1ClusterRoleBinding - * @memberof RbacAuthorizationV1ApicreateClusterRoleBinding + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApilistNamespacedRole */ - body: V1ClusterRoleBinding + namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApicreateClusterRoleBinding + * @memberof RbacAuthorizationV1ApilistNamespacedRole */ pretty?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApicreateClusterRoleBinding + * @type boolean + * @memberof RbacAuthorizationV1ApilistNamespacedRole */ - dryRun?: string + allowWatchBookmarks?: boolean /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApicreateClusterRoleBinding + * @memberof RbacAuthorizationV1ApilistNamespacedRole */ - fieldManager?: string + _continue?: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApicreateClusterRoleBinding + * @memberof RbacAuthorizationV1ApilistNamespacedRole */ - fieldValidation?: string -} - -export interface RbacAuthorizationV1ApiCreateNamespacedRoleRequest { + fieldSelector?: string /** - * object name and auth scope, such as for teams and projects + * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApicreateNamespacedRole + * @memberof RbacAuthorizationV1ApilistNamespacedRole */ - namespace: string + labelSelector?: string /** - * - * @type V1Role - * @memberof RbacAuthorizationV1ApicreateNamespacedRole + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * Defaults to: undefined + * @type number + * @memberof RbacAuthorizationV1ApilistNamespacedRole */ - body: V1Role + limit?: number /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApicreateNamespacedRole + * @memberof RbacAuthorizationV1ApilistNamespacedRole */ - pretty?: string + resourceVersion?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApicreateNamespacedRole + * @memberof RbacAuthorizationV1ApilistNamespacedRole */ - dryRun?: string + resourceVersionMatch?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApicreateNamespacedRole + * @type boolean + * @memberof RbacAuthorizationV1ApilistNamespacedRole */ - fieldManager?: string + sendInitialEvents?: boolean /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApicreateNamespacedRole + * @type number + * @memberof RbacAuthorizationV1ApilistNamespacedRole */ - fieldValidation?: string + timeoutSeconds?: number + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * Defaults to: undefined + * @type boolean + * @memberof RbacAuthorizationV1ApilistNamespacedRole + */ + watch?: boolean } -export interface RbacAuthorizationV1ApiCreateNamespacedRoleBindingRequest { +export interface RbacAuthorizationV1ApiListNamespacedRoleBindingRequest { /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApicreateNamespacedRoleBinding + * @memberof RbacAuthorizationV1ApilistNamespacedRoleBinding */ namespace: string - /** - * - * @type V1RoleBinding - * @memberof RbacAuthorizationV1ApicreateNamespacedRoleBinding - */ - body: V1RoleBinding /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApicreateNamespacedRoleBinding + * @memberof RbacAuthorizationV1ApilistNamespacedRoleBinding */ pretty?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApicreateNamespacedRoleBinding + * @type boolean + * @memberof RbacAuthorizationV1ApilistNamespacedRoleBinding */ - dryRun?: string + allowWatchBookmarks?: boolean /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApicreateNamespacedRoleBinding + * @memberof RbacAuthorizationV1ApilistNamespacedRoleBinding */ - fieldManager?: string + _continue?: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApicreateNamespacedRoleBinding + * @memberof RbacAuthorizationV1ApilistNamespacedRoleBinding */ - fieldValidation?: string -} - -export interface RbacAuthorizationV1ApiDeleteClusterRoleRequest { + fieldSelector?: string /** - * name of the ClusterRole + * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteClusterRole + * @memberof RbacAuthorizationV1ApilistNamespacedRoleBinding */ - name: string + labelSelector?: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * Defaults to: undefined + * @type number + * @memberof RbacAuthorizationV1ApilistNamespacedRoleBinding + */ + limit?: number + /** + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteClusterRole + * @memberof RbacAuthorizationV1ApilistNamespacedRoleBinding */ - pretty?: string + resourceVersion?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteClusterRole + * @memberof RbacAuthorizationV1ApilistNamespacedRoleBinding */ - dryRun?: string + resourceVersionMatch?: string /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * Defaults to: undefined + * @type boolean + * @memberof RbacAuthorizationV1ApilistNamespacedRoleBinding + */ + sendInitialEvents?: boolean + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof RbacAuthorizationV1ApideleteClusterRole + * @memberof RbacAuthorizationV1ApilistNamespacedRoleBinding */ - gracePeriodSeconds?: number + timeoutSeconds?: number /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. * Defaults to: undefined * @type boolean - * @memberof RbacAuthorizationV1ApideleteClusterRole + * @memberof RbacAuthorizationV1ApilistNamespacedRoleBinding */ - orphanDependents?: boolean + watch?: boolean +} + +export interface RbacAuthorizationV1ApiListRoleBindingForAllNamespacesRequest { /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * Defaults to: undefined + * @type boolean + * @memberof RbacAuthorizationV1ApilistRoleBindingForAllNamespaces + */ + allowWatchBookmarks?: boolean + /** + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteClusterRole + * @memberof RbacAuthorizationV1ApilistRoleBindingForAllNamespaces */ - propagationPolicy?: string + _continue?: string /** - * - * @type V1DeleteOptions - * @memberof RbacAuthorizationV1ApideleteClusterRole + * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApilistRoleBindingForAllNamespaces */ - body?: V1DeleteOptions -} - -export interface RbacAuthorizationV1ApiDeleteClusterRoleBindingRequest { + fieldSelector?: string /** - * name of the ClusterRoleBinding + * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteClusterRoleBinding + * @memberof RbacAuthorizationV1ApilistRoleBindingForAllNamespaces */ - name: string + labelSelector?: string + /** + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * Defaults to: undefined + * @type number + * @memberof RbacAuthorizationV1ApilistRoleBindingForAllNamespaces + */ + limit?: number /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteClusterRoleBinding + * @memberof RbacAuthorizationV1ApilistRoleBindingForAllNamespaces */ pretty?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteClusterRoleBinding + * @memberof RbacAuthorizationV1ApilistRoleBindingForAllNamespaces */ - dryRun?: string + resourceVersion?: string /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined - * @type number - * @memberof RbacAuthorizationV1ApideleteClusterRoleBinding + * @type string + * @memberof RbacAuthorizationV1ApilistRoleBindingForAllNamespaces */ - gracePeriodSeconds?: number + resourceVersionMatch?: string /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof RbacAuthorizationV1ApideleteClusterRoleBinding + * @memberof RbacAuthorizationV1ApilistRoleBindingForAllNamespaces */ - orphanDependents?: boolean + sendInitialEvents?: boolean /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApideleteClusterRoleBinding + * @type number + * @memberof RbacAuthorizationV1ApilistRoleBindingForAllNamespaces */ - propagationPolicy?: string + timeoutSeconds?: number /** - * - * @type V1DeleteOptions - * @memberof RbacAuthorizationV1ApideleteClusterRoleBinding + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * Defaults to: undefined + * @type boolean + * @memberof RbacAuthorizationV1ApilistRoleBindingForAllNamespaces */ - body?: V1DeleteOptions + watch?: boolean } -export interface RbacAuthorizationV1ApiDeleteCollectionClusterRoleRequest { +export interface RbacAuthorizationV1ApiListRoleForAllNamespacesRequest { /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionClusterRole + * @type boolean + * @memberof RbacAuthorizationV1ApilistRoleForAllNamespaces */ - pretty?: string + allowWatchBookmarks?: boolean /** * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionClusterRole + * @memberof RbacAuthorizationV1ApilistRoleForAllNamespaces */ _continue?: string - /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionClusterRole - */ - dryRun?: string /** * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionClusterRole + * @memberof RbacAuthorizationV1ApilistRoleForAllNamespaces */ fieldSelector?: string - /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * Defaults to: undefined - * @type number - * @memberof RbacAuthorizationV1ApideleteCollectionClusterRole - */ - gracePeriodSeconds?: number /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionClusterRole + * @memberof RbacAuthorizationV1ApilistRoleForAllNamespaces */ labelSelector?: string /** * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined * @type number - * @memberof RbacAuthorizationV1ApideleteCollectionClusterRole + * @memberof RbacAuthorizationV1ApilistRoleForAllNamespaces */ limit?: number /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * Defaults to: undefined - * @type boolean - * @memberof RbacAuthorizationV1ApideleteCollectionClusterRole - */ - orphanDependents?: boolean - /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionClusterRole + * @memberof RbacAuthorizationV1ApilistRoleForAllNamespaces */ - propagationPolicy?: string + pretty?: string /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionClusterRole + * @memberof RbacAuthorizationV1ApilistRoleForAllNamespaces */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionClusterRole + * @memberof RbacAuthorizationV1ApilistRoleForAllNamespaces */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof RbacAuthorizationV1ApideleteCollectionClusterRole + * @memberof RbacAuthorizationV1ApilistRoleForAllNamespaces */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof RbacAuthorizationV1ApideleteCollectionClusterRole + * @memberof RbacAuthorizationV1ApilistRoleForAllNamespaces */ timeoutSeconds?: number /** - * - * @type V1DeleteOptions - * @memberof RbacAuthorizationV1ApideleteCollectionClusterRole + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * Defaults to: undefined + * @type boolean + * @memberof RbacAuthorizationV1ApilistRoleForAllNamespaces */ - body?: V1DeleteOptions + watch?: boolean } -export interface RbacAuthorizationV1ApiDeleteCollectionClusterRoleBindingRequest { +export interface RbacAuthorizationV1ApiPatchClusterRoleRequest { /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * name of the ClusterRole * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionClusterRoleBinding + * @memberof RbacAuthorizationV1ApipatchClusterRole */ - pretty?: string + name: string /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * + * @type any + * @memberof RbacAuthorizationV1ApipatchClusterRole + */ + body: any + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionClusterRoleBinding + * @memberof RbacAuthorizationV1ApipatchClusterRole */ - _continue?: string + pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionClusterRoleBinding + * @memberof RbacAuthorizationV1ApipatchClusterRole */ dryRun?: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionClusterRoleBinding + * @memberof RbacAuthorizationV1ApipatchClusterRole */ - fieldSelector?: string + fieldManager?: string /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined - * @type number - * @memberof RbacAuthorizationV1ApideleteCollectionClusterRoleBinding + * @type string + * @memberof RbacAuthorizationV1ApipatchClusterRole */ - gracePeriodSeconds?: number + fieldValidation?: string /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionClusterRoleBinding + * @type boolean + * @memberof RbacAuthorizationV1ApipatchClusterRole */ - labelSelector?: string + force?: boolean +} + +export interface RbacAuthorizationV1ApiPatchClusterRoleBindingRequest { /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * name of the ClusterRoleBinding * Defaults to: undefined - * @type number - * @memberof RbacAuthorizationV1ApideleteCollectionClusterRoleBinding + * @type string + * @memberof RbacAuthorizationV1ApipatchClusterRoleBinding */ - limit?: number + name: string /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * Defaults to: undefined - * @type boolean - * @memberof RbacAuthorizationV1ApideleteCollectionClusterRoleBinding + * + * @type any + * @memberof RbacAuthorizationV1ApipatchClusterRoleBinding */ - orphanDependents?: boolean + body: any /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionClusterRoleBinding + * @memberof RbacAuthorizationV1ApipatchClusterRoleBinding */ - propagationPolicy?: string + pretty?: string /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionClusterRoleBinding + * @memberof RbacAuthorizationV1ApipatchClusterRoleBinding */ - resourceVersion?: string + dryRun?: string /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionClusterRoleBinding + * @memberof RbacAuthorizationV1ApipatchClusterRoleBinding */ - resourceVersionMatch?: string + fieldManager?: string /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined - * @type boolean - * @memberof RbacAuthorizationV1ApideleteCollectionClusterRoleBinding + * @type string + * @memberof RbacAuthorizationV1ApipatchClusterRoleBinding */ - sendInitialEvents?: boolean + fieldValidation?: string /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. * Defaults to: undefined - * @type number - * @memberof RbacAuthorizationV1ApideleteCollectionClusterRoleBinding - */ - timeoutSeconds?: number - /** - * - * @type V1DeleteOptions - * @memberof RbacAuthorizationV1ApideleteCollectionClusterRoleBinding + * @type boolean + * @memberof RbacAuthorizationV1ApipatchClusterRoleBinding */ - body?: V1DeleteOptions + force?: boolean } -export interface RbacAuthorizationV1ApiDeleteCollectionNamespacedRoleRequest { +export interface RbacAuthorizationV1ApiPatchNamespacedRoleRequest { + /** + * name of the Role + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApipatchNamespacedRole + */ + name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole + * @memberof RbacAuthorizationV1ApipatchNamespacedRole */ namespace: string + /** + * + * @type any + * @memberof RbacAuthorizationV1ApipatchNamespacedRole + */ + body: any /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole + * @memberof RbacAuthorizationV1ApipatchNamespacedRole */ pretty?: string /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole + * @memberof RbacAuthorizationV1ApipatchNamespacedRole */ - _continue?: string + dryRun?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole + * @memberof RbacAuthorizationV1ApipatchNamespacedRole */ - dryRun?: string + fieldManager?: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole + * @memberof RbacAuthorizationV1ApipatchNamespacedRole */ - fieldSelector?: string + fieldValidation?: string /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. * Defaults to: undefined - * @type number - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole + * @type boolean + * @memberof RbacAuthorizationV1ApipatchNamespacedRole */ - gracePeriodSeconds?: number + force?: boolean +} + +export interface RbacAuthorizationV1ApiPatchNamespacedRoleBindingRequest { /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * name of the RoleBinding * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole + * @memberof RbacAuthorizationV1ApipatchNamespacedRoleBinding */ - labelSelector?: string + name: string /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * object name and auth scope, such as for teams and projects * Defaults to: undefined - * @type number - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole + * @type string + * @memberof RbacAuthorizationV1ApipatchNamespacedRoleBinding */ - limit?: number + namespace: string /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * + * @type any + * @memberof RbacAuthorizationV1ApipatchNamespacedRoleBinding + */ + body: any + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApipatchNamespacedRoleBinding + */ + pretty?: string + /** + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApipatchNamespacedRoleBinding + */ + dryRun?: string + /** + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApipatchNamespacedRoleBinding + */ + fieldManager?: string + /** + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApipatchNamespacedRoleBinding + */ + fieldValidation?: string + /** + * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. * Defaults to: undefined * @type boolean - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole + * @memberof RbacAuthorizationV1ApipatchNamespacedRoleBinding */ - orphanDependents?: boolean + force?: boolean +} + +export interface RbacAuthorizationV1ApiReadClusterRoleRequest { /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * name of the ClusterRole * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole + * @memberof RbacAuthorizationV1ApireadClusterRole */ - propagationPolicy?: string + name: string /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole + * @memberof RbacAuthorizationV1ApireadClusterRole */ - resourceVersion?: string + pretty?: string +} + +export interface RbacAuthorizationV1ApiReadClusterRoleBindingRequest { /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * name of the ClusterRoleBinding * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole + * @memberof RbacAuthorizationV1ApireadClusterRoleBinding */ - resourceVersionMatch?: string + name: string /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined - * @type boolean - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole + * @type string + * @memberof RbacAuthorizationV1ApireadClusterRoleBinding */ - sendInitialEvents?: boolean + pretty?: string +} + +export interface RbacAuthorizationV1ApiReadNamespacedRoleRequest { /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * name of the Role * Defaults to: undefined - * @type number - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole - */ - timeoutSeconds?: number - /** - * - * @type V1DeleteOptions - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRole + * @type string + * @memberof RbacAuthorizationV1ApireadNamespacedRole */ - body?: V1DeleteOptions -} - -export interface RbacAuthorizationV1ApiDeleteCollectionNamespacedRoleBindingRequest { + name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding + * @memberof RbacAuthorizationV1ApireadNamespacedRole */ namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding + * @memberof RbacAuthorizationV1ApireadNamespacedRole */ pretty?: string +} + +export interface RbacAuthorizationV1ApiReadNamespacedRoleBindingRequest { /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * name of the RoleBinding * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding + * @memberof RbacAuthorizationV1ApireadNamespacedRoleBinding */ - _continue?: string + name: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding + * @memberof RbacAuthorizationV1ApireadNamespacedRoleBinding */ - dryRun?: string + namespace: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding + * @memberof RbacAuthorizationV1ApireadNamespacedRoleBinding */ - fieldSelector?: string + pretty?: string +} + +export interface RbacAuthorizationV1ApiReplaceClusterRoleRequest { /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * name of the ClusterRole * Defaults to: undefined - * @type number - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding + * @type string + * @memberof RbacAuthorizationV1ApireplaceClusterRole */ - gracePeriodSeconds?: number + name: string /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * + * @type V1ClusterRole + * @memberof RbacAuthorizationV1ApireplaceClusterRole + */ + body: V1ClusterRole + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding + * @memberof RbacAuthorizationV1ApireplaceClusterRole */ - labelSelector?: string + pretty?: string /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined - * @type number - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding + * @type string + * @memberof RbacAuthorizationV1ApireplaceClusterRole */ - limit?: number + dryRun?: string /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined - * @type boolean - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding + * @type string + * @memberof RbacAuthorizationV1ApireplaceClusterRole */ - orphanDependents?: boolean + fieldManager?: string /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding + * @memberof RbacAuthorizationV1ApireplaceClusterRole */ - propagationPolicy?: string + fieldValidation?: string +} + +export interface RbacAuthorizationV1ApiReplaceClusterRoleBindingRequest { /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * name of the ClusterRoleBinding * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding + * @memberof RbacAuthorizationV1ApireplaceClusterRoleBinding */ - resourceVersion?: string + name: string /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * + * @type V1ClusterRoleBinding + * @memberof RbacAuthorizationV1ApireplaceClusterRoleBinding + */ + body: V1ClusterRoleBinding + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding + * @memberof RbacAuthorizationV1ApireplaceClusterRoleBinding */ - resourceVersionMatch?: string + pretty?: string /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined - * @type boolean - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding + * @type string + * @memberof RbacAuthorizationV1ApireplaceClusterRoleBinding */ - sendInitialEvents?: boolean + dryRun?: string /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined - * @type number - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding + * @type string + * @memberof RbacAuthorizationV1ApireplaceClusterRoleBinding */ - timeoutSeconds?: number + fieldManager?: string /** - * - * @type V1DeleteOptions - * @memberof RbacAuthorizationV1ApideleteCollectionNamespacedRoleBinding + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Defaults to: undefined + * @type string + * @memberof RbacAuthorizationV1ApireplaceClusterRoleBinding */ - body?: V1DeleteOptions + fieldValidation?: string } -export interface RbacAuthorizationV1ApiDeleteNamespacedRoleRequest { +export interface RbacAuthorizationV1ApiReplaceNamespacedRoleRequest { /** * name of the Role * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteNamespacedRole + * @memberof RbacAuthorizationV1ApireplaceNamespacedRole */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteNamespacedRole + * @memberof RbacAuthorizationV1ApireplaceNamespacedRole */ namespace: string + /** + * + * @type V1Role + * @memberof RbacAuthorizationV1ApireplaceNamespacedRole + */ + body: V1Role /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteNamespacedRole + * @memberof RbacAuthorizationV1ApireplaceNamespacedRole */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteNamespacedRole + * @memberof RbacAuthorizationV1ApireplaceNamespacedRole */ dryRun?: string /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * Defaults to: undefined - * @type number - * @memberof RbacAuthorizationV1ApideleteNamespacedRole - */ - gracePeriodSeconds?: number - /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined - * @type boolean - * @memberof RbacAuthorizationV1ApideleteNamespacedRole + * @type string + * @memberof RbacAuthorizationV1ApireplaceNamespacedRole */ - orphanDependents?: boolean + fieldManager?: string /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteNamespacedRole - */ - propagationPolicy?: string - /** - * - * @type V1DeleteOptions - * @memberof RbacAuthorizationV1ApideleteNamespacedRole + * @memberof RbacAuthorizationV1ApireplaceNamespacedRole */ - body?: V1DeleteOptions + fieldValidation?: string } -export interface RbacAuthorizationV1ApiDeleteNamespacedRoleBindingRequest { +export interface RbacAuthorizationV1ApiReplaceNamespacedRoleBindingRequest { /** * name of the RoleBinding * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteNamespacedRoleBinding + * @memberof RbacAuthorizationV1ApireplaceNamespacedRoleBinding */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteNamespacedRoleBinding + * @memberof RbacAuthorizationV1ApireplaceNamespacedRoleBinding */ namespace: string + /** + * + * @type V1RoleBinding + * @memberof RbacAuthorizationV1ApireplaceNamespacedRoleBinding + */ + body: V1RoleBinding /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteNamespacedRoleBinding + * @memberof RbacAuthorizationV1ApireplaceNamespacedRoleBinding */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApideleteNamespacedRoleBinding + * @memberof RbacAuthorizationV1ApireplaceNamespacedRoleBinding */ dryRun?: string /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined - * @type number - * @memberof RbacAuthorizationV1ApideleteNamespacedRoleBinding + * @type string + * @memberof RbacAuthorizationV1ApireplaceNamespacedRoleBinding */ - gracePeriodSeconds?: number + fieldManager?: string /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined - * @type boolean - * @memberof RbacAuthorizationV1ApideleteNamespacedRoleBinding + * @type string + * @memberof RbacAuthorizationV1ApireplaceNamespacedRoleBinding */ - orphanDependents?: boolean + fieldValidation?: string +} + +export class ObjectRbacAuthorizationV1Api { + private api: ObservableRbacAuthorizationV1Api + + public constructor(configuration: Configuration, requestFactory?: RbacAuthorizationV1ApiRequestFactory, responseProcessor?: RbacAuthorizationV1ApiResponseProcessor) { + this.api = new ObservableRbacAuthorizationV1Api(configuration, requestFactory, responseProcessor); + } + /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApideleteNamespacedRoleBinding + * create a ClusterRole + * @param param the request object */ - propagationPolicy?: string + public createClusterRoleWithHttpInfo(param: RbacAuthorizationV1ApiCreateClusterRoleRequest, options?: Configuration): Promise> { + return this.api.createClusterRoleWithHttpInfo(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * - * @type V1DeleteOptions - * @memberof RbacAuthorizationV1ApideleteNamespacedRoleBinding + * create a ClusterRole + * @param param the request object */ - body?: V1DeleteOptions -} + public createClusterRole(param: RbacAuthorizationV1ApiCreateClusterRoleRequest, options?: Configuration): Promise { + return this.api.createClusterRole(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } -export interface RbacAuthorizationV1ApiGetAPIResourcesRequest { -} + /** + * create a ClusterRoleBinding + * @param param the request object + */ + public createClusterRoleBindingWithHttpInfo(param: RbacAuthorizationV1ApiCreateClusterRoleBindingRequest, options?: Configuration): Promise> { + return this.api.createClusterRoleBindingWithHttpInfo(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } -export interface RbacAuthorizationV1ApiListClusterRoleRequest { /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistClusterRole + * create a ClusterRoleBinding + * @param param the request object */ - pretty?: string + public createClusterRoleBinding(param: RbacAuthorizationV1ApiCreateClusterRoleBindingRequest, options?: Configuration): Promise { + return this.api.createClusterRoleBinding(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * Defaults to: undefined - * @type boolean - * @memberof RbacAuthorizationV1ApilistClusterRole + * create a Role + * @param param the request object */ - allowWatchBookmarks?: boolean + public createNamespacedRoleWithHttpInfo(param: RbacAuthorizationV1ApiCreateNamespacedRoleRequest, options?: Configuration): Promise> { + return this.api.createNamespacedRoleWithHttpInfo(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistClusterRole + * create a Role + * @param param the request object */ - _continue?: string + public createNamespacedRole(param: RbacAuthorizationV1ApiCreateNamespacedRoleRequest, options?: Configuration): Promise { + return this.api.createNamespacedRole(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistClusterRole + * create a RoleBinding + * @param param the request object */ - fieldSelector?: string + public createNamespacedRoleBindingWithHttpInfo(param: RbacAuthorizationV1ApiCreateNamespacedRoleBindingRequest, options?: Configuration): Promise> { + return this.api.createNamespacedRoleBindingWithHttpInfo(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistClusterRole + * create a RoleBinding + * @param param the request object */ - labelSelector?: string + public createNamespacedRoleBinding(param: RbacAuthorizationV1ApiCreateNamespacedRoleBindingRequest, options?: Configuration): Promise { + return this.api.createNamespacedRoleBinding(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * Defaults to: undefined - * @type number - * @memberof RbacAuthorizationV1ApilistClusterRole + * delete a ClusterRole + * @param param the request object */ - limit?: number + public deleteClusterRoleWithHttpInfo(param: RbacAuthorizationV1ApiDeleteClusterRoleRequest, options?: Configuration): Promise> { + return this.api.deleteClusterRoleWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } + /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistClusterRole + * delete a ClusterRole + * @param param the request object */ - resourceVersion?: string + public deleteClusterRole(param: RbacAuthorizationV1ApiDeleteClusterRoleRequest, options?: Configuration): Promise { + return this.api.deleteClusterRole(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } + /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistClusterRole + * delete a ClusterRoleBinding + * @param param the request object */ - resourceVersionMatch?: string + public deleteClusterRoleBindingWithHttpInfo(param: RbacAuthorizationV1ApiDeleteClusterRoleBindingRequest, options?: Configuration): Promise> { + return this.api.deleteClusterRoleBindingWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } + /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * Defaults to: undefined - * @type boolean - * @memberof RbacAuthorizationV1ApilistClusterRole + * delete a ClusterRoleBinding + * @param param the request object */ - sendInitialEvents?: boolean + public deleteClusterRoleBinding(param: RbacAuthorizationV1ApiDeleteClusterRoleBindingRequest, options?: Configuration): Promise { + return this.api.deleteClusterRoleBinding(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } + /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * Defaults to: undefined - * @type number - * @memberof RbacAuthorizationV1ApilistClusterRole + * delete collection of ClusterRole + * @param param the request object */ - timeoutSeconds?: number + public deleteCollectionClusterRoleWithHttpInfo(param: RbacAuthorizationV1ApiDeleteCollectionClusterRoleRequest = {}, options?: Configuration): Promise> { + return this.api.deleteCollectionClusterRoleWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } + /** - * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * Defaults to: undefined - * @type boolean - * @memberof RbacAuthorizationV1ApilistClusterRole + * delete collection of ClusterRole + * @param param the request object */ - watch?: boolean -} + public deleteCollectionClusterRole(param: RbacAuthorizationV1ApiDeleteCollectionClusterRoleRequest = {}, options?: Configuration): Promise { + return this.api.deleteCollectionClusterRole(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } -export interface RbacAuthorizationV1ApiListClusterRoleBindingRequest { /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistClusterRoleBinding + * delete collection of ClusterRoleBinding + * @param param the request object */ - pretty?: string + public deleteCollectionClusterRoleBindingWithHttpInfo(param: RbacAuthorizationV1ApiDeleteCollectionClusterRoleBindingRequest = {}, options?: Configuration): Promise> { + return this.api.deleteCollectionClusterRoleBindingWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } + /** - * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * Defaults to: undefined - * @type boolean - * @memberof RbacAuthorizationV1ApilistClusterRoleBinding + * delete collection of ClusterRoleBinding + * @param param the request object */ - allowWatchBookmarks?: boolean + public deleteCollectionClusterRoleBinding(param: RbacAuthorizationV1ApiDeleteCollectionClusterRoleBindingRequest = {}, options?: Configuration): Promise { + return this.api.deleteCollectionClusterRoleBinding(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } + /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistClusterRoleBinding + * delete collection of Role + * @param param the request object */ - _continue?: string + public deleteCollectionNamespacedRoleWithHttpInfo(param: RbacAuthorizationV1ApiDeleteCollectionNamespacedRoleRequest, options?: Configuration): Promise> { + return this.api.deleteCollectionNamespacedRoleWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } + /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistClusterRoleBinding + * delete collection of Role + * @param param the request object */ - fieldSelector?: string + public deleteCollectionNamespacedRole(param: RbacAuthorizationV1ApiDeleteCollectionNamespacedRoleRequest, options?: Configuration): Promise { + return this.api.deleteCollectionNamespacedRole(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } + /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistClusterRoleBinding + * delete collection of RoleBinding + * @param param the request object */ - labelSelector?: string + public deleteCollectionNamespacedRoleBindingWithHttpInfo(param: RbacAuthorizationV1ApiDeleteCollectionNamespacedRoleBindingRequest, options?: Configuration): Promise> { + return this.api.deleteCollectionNamespacedRoleBindingWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } + /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * Defaults to: undefined - * @type number - * @memberof RbacAuthorizationV1ApilistClusterRoleBinding + * delete collection of RoleBinding + * @param param the request object */ - limit?: number + public deleteCollectionNamespacedRoleBinding(param: RbacAuthorizationV1ApiDeleteCollectionNamespacedRoleBindingRequest, options?: Configuration): Promise { + return this.api.deleteCollectionNamespacedRoleBinding(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } + /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistClusterRoleBinding + * delete a Role + * @param param the request object */ - resourceVersion?: string + public deleteNamespacedRoleWithHttpInfo(param: RbacAuthorizationV1ApiDeleteNamespacedRoleRequest, options?: Configuration): Promise> { + return this.api.deleteNamespacedRoleWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } + /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistClusterRoleBinding + * delete a Role + * @param param the request object */ - resourceVersionMatch?: string + public deleteNamespacedRole(param: RbacAuthorizationV1ApiDeleteNamespacedRoleRequest, options?: Configuration): Promise { + return this.api.deleteNamespacedRole(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } + + /** + * delete a RoleBinding + * @param param the request object + */ + public deleteNamespacedRoleBindingWithHttpInfo(param: RbacAuthorizationV1ApiDeleteNamespacedRoleBindingRequest, options?: Configuration): Promise> { + return this.api.deleteNamespacedRoleBindingWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } + + /** + * delete a RoleBinding + * @param param the request object + */ + public deleteNamespacedRoleBinding(param: RbacAuthorizationV1ApiDeleteNamespacedRoleBindingRequest, options?: Configuration): Promise { + return this.api.deleteNamespacedRoleBinding(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } + + /** + * get available resources + * @param param the request object + */ + public getAPIResourcesWithHttpInfo(param: RbacAuthorizationV1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise> { + return this.api.getAPIResourcesWithHttpInfo( options).toPromise(); + } + + /** + * get available resources + * @param param the request object + */ + public getAPIResources(param: RbacAuthorizationV1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise { + return this.api.getAPIResources( options).toPromise(); + } + /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * Defaults to: undefined - * @type boolean - * @memberof RbacAuthorizationV1ApilistClusterRoleBinding + * list or watch objects of kind ClusterRole + * @param param the request object */ - sendInitialEvents?: boolean + public listClusterRoleWithHttpInfo(param: RbacAuthorizationV1ApiListClusterRoleRequest = {}, options?: Configuration): Promise> { + return this.api.listClusterRoleWithHttpInfo(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * Defaults to: undefined - * @type number - * @memberof RbacAuthorizationV1ApilistClusterRoleBinding + * list or watch objects of kind ClusterRole + * @param param the request object */ - timeoutSeconds?: number + public listClusterRole(param: RbacAuthorizationV1ApiListClusterRoleRequest = {}, options?: Configuration): Promise { + return this.api.listClusterRole(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * Defaults to: undefined - * @type boolean - * @memberof RbacAuthorizationV1ApilistClusterRoleBinding + * list or watch objects of kind ClusterRoleBinding + * @param param the request object */ - watch?: boolean -} + public listClusterRoleBindingWithHttpInfo(param: RbacAuthorizationV1ApiListClusterRoleBindingRequest = {}, options?: Configuration): Promise> { + return this.api.listClusterRoleBindingWithHttpInfo(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } -export interface RbacAuthorizationV1ApiListNamespacedRoleRequest { /** - * object name and auth scope, such as for teams and projects - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistNamespacedRole + * list or watch objects of kind ClusterRoleBinding + * @param param the request object */ - namespace: string + public listClusterRoleBinding(param: RbacAuthorizationV1ApiListClusterRoleBindingRequest = {}, options?: Configuration): Promise { + return this.api.listClusterRoleBinding(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistNamespacedRole + * list or watch objects of kind Role + * @param param the request object */ - pretty?: string + public listNamespacedRoleWithHttpInfo(param: RbacAuthorizationV1ApiListNamespacedRoleRequest, options?: Configuration): Promise> { + return this.api.listNamespacedRoleWithHttpInfo(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * Defaults to: undefined - * @type boolean - * @memberof RbacAuthorizationV1ApilistNamespacedRole + * list or watch objects of kind Role + * @param param the request object */ - allowWatchBookmarks?: boolean + public listNamespacedRole(param: RbacAuthorizationV1ApiListNamespacedRoleRequest, options?: Configuration): Promise { + return this.api.listNamespacedRole(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistNamespacedRole + * list or watch objects of kind RoleBinding + * @param param the request object */ - _continue?: string + public listNamespacedRoleBindingWithHttpInfo(param: RbacAuthorizationV1ApiListNamespacedRoleBindingRequest, options?: Configuration): Promise> { + return this.api.listNamespacedRoleBindingWithHttpInfo(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistNamespacedRole + * list or watch objects of kind RoleBinding + * @param param the request object */ - fieldSelector?: string + public listNamespacedRoleBinding(param: RbacAuthorizationV1ApiListNamespacedRoleBindingRequest, options?: Configuration): Promise { + return this.api.listNamespacedRoleBinding(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistNamespacedRole + * list or watch objects of kind RoleBinding + * @param param the request object */ - labelSelector?: string + public listRoleBindingForAllNamespacesWithHttpInfo(param: RbacAuthorizationV1ApiListRoleBindingForAllNamespacesRequest = {}, options?: Configuration): Promise> { + return this.api.listRoleBindingForAllNamespacesWithHttpInfo(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * Defaults to: undefined - * @type number - * @memberof RbacAuthorizationV1ApilistNamespacedRole + * list or watch objects of kind RoleBinding + * @param param the request object */ - limit?: number + public listRoleBindingForAllNamespaces(param: RbacAuthorizationV1ApiListRoleBindingForAllNamespacesRequest = {}, options?: Configuration): Promise { + return this.api.listRoleBindingForAllNamespaces(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistNamespacedRole + * list or watch objects of kind Role + * @param param the request object */ - resourceVersion?: string + public listRoleForAllNamespacesWithHttpInfo(param: RbacAuthorizationV1ApiListRoleForAllNamespacesRequest = {}, options?: Configuration): Promise> { + return this.api.listRoleForAllNamespacesWithHttpInfo(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistNamespacedRole + * list or watch objects of kind Role + * @param param the request object */ - resourceVersionMatch?: string + public listRoleForAllNamespaces(param: RbacAuthorizationV1ApiListRoleForAllNamespacesRequest = {}, options?: Configuration): Promise { + return this.api.listRoleForAllNamespaces(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * Defaults to: undefined - * @type boolean - * @memberof RbacAuthorizationV1ApilistNamespacedRole + * partially update the specified ClusterRole + * @param param the request object */ - sendInitialEvents?: boolean + public patchClusterRoleWithHttpInfo(param: RbacAuthorizationV1ApiPatchClusterRoleRequest, options?: Configuration): Promise> { + return this.api.patchClusterRoleWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * Defaults to: undefined - * @type number - * @memberof RbacAuthorizationV1ApilistNamespacedRole + * partially update the specified ClusterRole + * @param param the request object */ - timeoutSeconds?: number + public patchClusterRole(param: RbacAuthorizationV1ApiPatchClusterRoleRequest, options?: Configuration): Promise { + return this.api.patchClusterRole(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + /** - * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * Defaults to: undefined - * @type boolean - * @memberof RbacAuthorizationV1ApilistNamespacedRole + * partially update the specified ClusterRoleBinding + * @param param the request object */ - watch?: boolean -} + public patchClusterRoleBindingWithHttpInfo(param: RbacAuthorizationV1ApiPatchClusterRoleBindingRequest, options?: Configuration): Promise> { + return this.api.patchClusterRoleBindingWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } -export interface RbacAuthorizationV1ApiListNamespacedRoleBindingRequest { /** - * object name and auth scope, such as for teams and projects - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistNamespacedRoleBinding + * partially update the specified ClusterRoleBinding + * @param param the request object */ - namespace: string + public patchClusterRoleBinding(param: RbacAuthorizationV1ApiPatchClusterRoleBindingRequest, options?: Configuration): Promise { + return this.api.patchClusterRoleBinding(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistNamespacedRoleBinding + * partially update the specified Role + * @param param the request object */ - pretty?: string + public patchNamespacedRoleWithHttpInfo(param: RbacAuthorizationV1ApiPatchNamespacedRoleRequest, options?: Configuration): Promise> { + return this.api.patchNamespacedRoleWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + /** - * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * Defaults to: undefined - * @type boolean - * @memberof RbacAuthorizationV1ApilistNamespacedRoleBinding + * partially update the specified Role + * @param param the request object */ - allowWatchBookmarks?: boolean + public patchNamespacedRole(param: RbacAuthorizationV1ApiPatchNamespacedRoleRequest, options?: Configuration): Promise { + return this.api.patchNamespacedRole(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistNamespacedRoleBinding + * partially update the specified RoleBinding + * @param param the request object */ - _continue?: string + public patchNamespacedRoleBindingWithHttpInfo(param: RbacAuthorizationV1ApiPatchNamespacedRoleBindingRequest, options?: Configuration): Promise> { + return this.api.patchNamespacedRoleBindingWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistNamespacedRoleBinding + * partially update the specified RoleBinding + * @param param the request object */ - fieldSelector?: string + public patchNamespacedRoleBinding(param: RbacAuthorizationV1ApiPatchNamespacedRoleBindingRequest, options?: Configuration): Promise { + return this.api.patchNamespacedRoleBinding(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistNamespacedRoleBinding + * read the specified ClusterRole + * @param param the request object */ - labelSelector?: string + public readClusterRoleWithHttpInfo(param: RbacAuthorizationV1ApiReadClusterRoleRequest, options?: Configuration): Promise> { + return this.api.readClusterRoleWithHttpInfo(param.name, param.pretty, options).toPromise(); + } + /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * Defaults to: undefined - * @type number - * @memberof RbacAuthorizationV1ApilistNamespacedRoleBinding + * read the specified ClusterRole + * @param param the request object */ - limit?: number + public readClusterRole(param: RbacAuthorizationV1ApiReadClusterRoleRequest, options?: Configuration): Promise { + return this.api.readClusterRole(param.name, param.pretty, options).toPromise(); + } + /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistNamespacedRoleBinding + * read the specified ClusterRoleBinding + * @param param the request object */ - resourceVersion?: string + public readClusterRoleBindingWithHttpInfo(param: RbacAuthorizationV1ApiReadClusterRoleBindingRequest, options?: Configuration): Promise> { + return this.api.readClusterRoleBindingWithHttpInfo(param.name, param.pretty, options).toPromise(); + } + /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistNamespacedRoleBinding + * read the specified ClusterRoleBinding + * @param param the request object */ - resourceVersionMatch?: string + public readClusterRoleBinding(param: RbacAuthorizationV1ApiReadClusterRoleBindingRequest, options?: Configuration): Promise { + return this.api.readClusterRoleBinding(param.name, param.pretty, options).toPromise(); + } + /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * Defaults to: undefined - * @type boolean - * @memberof RbacAuthorizationV1ApilistNamespacedRoleBinding + * read the specified Role + * @param param the request object */ - sendInitialEvents?: boolean + public readNamespacedRoleWithHttpInfo(param: RbacAuthorizationV1ApiReadNamespacedRoleRequest, options?: Configuration): Promise> { + return this.api.readNamespacedRoleWithHttpInfo(param.name, param.namespace, param.pretty, options).toPromise(); + } + /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * Defaults to: undefined - * @type number - * @memberof RbacAuthorizationV1ApilistNamespacedRoleBinding + * read the specified Role + * @param param the request object */ - timeoutSeconds?: number + public readNamespacedRole(param: RbacAuthorizationV1ApiReadNamespacedRoleRequest, options?: Configuration): Promise { + return this.api.readNamespacedRole(param.name, param.namespace, param.pretty, options).toPromise(); + } + /** - * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * Defaults to: undefined - * @type boolean - * @memberof RbacAuthorizationV1ApilistNamespacedRoleBinding + * read the specified RoleBinding + * @param param the request object */ - watch?: boolean -} + public readNamespacedRoleBindingWithHttpInfo(param: RbacAuthorizationV1ApiReadNamespacedRoleBindingRequest, options?: Configuration): Promise> { + return this.api.readNamespacedRoleBindingWithHttpInfo(param.name, param.namespace, param.pretty, options).toPromise(); + } -export interface RbacAuthorizationV1ApiListRoleBindingForAllNamespacesRequest { /** - * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * Defaults to: undefined - * @type boolean - * @memberof RbacAuthorizationV1ApilistRoleBindingForAllNamespaces + * read the specified RoleBinding + * @param param the request object */ - allowWatchBookmarks?: boolean + public readNamespacedRoleBinding(param: RbacAuthorizationV1ApiReadNamespacedRoleBindingRequest, options?: Configuration): Promise { + return this.api.readNamespacedRoleBinding(param.name, param.namespace, param.pretty, options).toPromise(); + } + /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistRoleBindingForAllNamespaces + * replace the specified ClusterRole + * @param param the request object */ - _continue?: string + public replaceClusterRoleWithHttpInfo(param: RbacAuthorizationV1ApiReplaceClusterRoleRequest, options?: Configuration): Promise> { + return this.api.replaceClusterRoleWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistRoleBindingForAllNamespaces + * replace the specified ClusterRole + * @param param the request object */ - fieldSelector?: string + public replaceClusterRole(param: RbacAuthorizationV1ApiReplaceClusterRoleRequest, options?: Configuration): Promise { + return this.api.replaceClusterRole(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistRoleBindingForAllNamespaces + * replace the specified ClusterRoleBinding + * @param param the request object */ - labelSelector?: string + public replaceClusterRoleBindingWithHttpInfo(param: RbacAuthorizationV1ApiReplaceClusterRoleBindingRequest, options?: Configuration): Promise> { + return this.api.replaceClusterRoleBindingWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * Defaults to: undefined - * @type number - * @memberof RbacAuthorizationV1ApilistRoleBindingForAllNamespaces + * replace the specified ClusterRoleBinding + * @param param the request object */ - limit?: number + public replaceClusterRoleBinding(param: RbacAuthorizationV1ApiReplaceClusterRoleBindingRequest, options?: Configuration): Promise { + return this.api.replaceClusterRoleBinding(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistRoleBindingForAllNamespaces + * replace the specified Role + * @param param the request object */ - pretty?: string + public replaceNamespacedRoleWithHttpInfo(param: RbacAuthorizationV1ApiReplaceNamespacedRoleRequest, options?: Configuration): Promise> { + return this.api.replaceNamespacedRoleWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistRoleBindingForAllNamespaces + * replace the specified Role + * @param param the request object */ - resourceVersion?: string + public replaceNamespacedRole(param: RbacAuthorizationV1ApiReplaceNamespacedRoleRequest, options?: Configuration): Promise { + return this.api.replaceNamespacedRole(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistRoleBindingForAllNamespaces + * replace the specified RoleBinding + * @param param the request object */ - resourceVersionMatch?: string + public replaceNamespacedRoleBindingWithHttpInfo(param: RbacAuthorizationV1ApiReplaceNamespacedRoleBindingRequest, options?: Configuration): Promise> { + return this.api.replaceNamespacedRoleBindingWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * Defaults to: undefined - * @type boolean - * @memberof RbacAuthorizationV1ApilistRoleBindingForAllNamespaces + * replace the specified RoleBinding + * @param param the request object */ - sendInitialEvents?: boolean + public replaceNamespacedRoleBinding(param: RbacAuthorizationV1ApiReplaceNamespacedRoleBindingRequest, options?: Configuration): Promise { + return this.api.replaceNamespacedRoleBinding(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + +} + +import { ObservableResourceApi } from "./ObservableAPI"; +import { ResourceApiRequestFactory, ResourceApiResponseProcessor} from "../apis/ResourceApi"; + +export interface ResourceApiGetAPIGroupRequest { +} + +export class ObjectResourceApi { + private api: ObservableResourceApi + + public constructor(configuration: Configuration, requestFactory?: ResourceApiRequestFactory, responseProcessor?: ResourceApiResponseProcessor) { + this.api = new ObservableResourceApi(configuration, requestFactory, responseProcessor); + } + /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * Defaults to: undefined - * @type number - * @memberof RbacAuthorizationV1ApilistRoleBindingForAllNamespaces + * get information of a group + * @param param the request object */ - timeoutSeconds?: number + public getAPIGroupWithHttpInfo(param: ResourceApiGetAPIGroupRequest = {}, options?: Configuration): Promise> { + return this.api.getAPIGroupWithHttpInfo( options).toPromise(); + } + /** - * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * Defaults to: undefined - * @type boolean - * @memberof RbacAuthorizationV1ApilistRoleBindingForAllNamespaces + * get information of a group + * @param param the request object */ - watch?: boolean + public getAPIGroup(param: ResourceApiGetAPIGroupRequest = {}, options?: Configuration): Promise { + return this.api.getAPIGroup( options).toPromise(); + } + } -export interface RbacAuthorizationV1ApiListRoleForAllNamespacesRequest { +import { ObservableResourceV1alpha3Api } from "./ObservableAPI"; +import { ResourceV1alpha3ApiRequestFactory, ResourceV1alpha3ApiResponseProcessor} from "../apis/ResourceV1alpha3Api"; + +export interface ResourceV1alpha3ApiCreateDeviceClassRequest { /** - * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * Defaults to: undefined - * @type boolean - * @memberof RbacAuthorizationV1ApilistRoleForAllNamespaces + * + * @type V1alpha3DeviceClass + * @memberof ResourceV1alpha3ApicreateDeviceClass */ - allowWatchBookmarks?: boolean + body: V1alpha3DeviceClass /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApilistRoleForAllNamespaces + * @memberof ResourceV1alpha3ApicreateDeviceClass */ - _continue?: string + pretty?: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApilistRoleForAllNamespaces + * @memberof ResourceV1alpha3ApicreateDeviceClass */ - fieldSelector?: string + dryRun?: string /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApilistRoleForAllNamespaces + * @memberof ResourceV1alpha3ApicreateDeviceClass */ - labelSelector?: string + fieldManager?: string /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined - * @type number - * @memberof RbacAuthorizationV1ApilistRoleForAllNamespaces + * @type string + * @memberof ResourceV1alpha3ApicreateDeviceClass */ - limit?: number + fieldValidation?: string +} + +export interface ResourceV1alpha3ApiCreateNamespacedResourceClaimRequest { /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApilistRoleForAllNamespaces + * @memberof ResourceV1alpha3ApicreateNamespacedResourceClaim */ - pretty?: string + namespace: string /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApilistRoleForAllNamespaces + * + * @type V1alpha3ResourceClaim + * @memberof ResourceV1alpha3ApicreateNamespacedResourceClaim */ - resourceVersion?: string + body: V1alpha3ResourceClaim /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApilistRoleForAllNamespaces + * @memberof ResourceV1alpha3ApicreateNamespacedResourceClaim */ - resourceVersionMatch?: string + pretty?: string /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined - * @type boolean - * @memberof RbacAuthorizationV1ApilistRoleForAllNamespaces + * @type string + * @memberof ResourceV1alpha3ApicreateNamespacedResourceClaim */ - sendInitialEvents?: boolean + dryRun?: string /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined - * @type number - * @memberof RbacAuthorizationV1ApilistRoleForAllNamespaces + * @type string + * @memberof ResourceV1alpha3ApicreateNamespacedResourceClaim */ - timeoutSeconds?: number + fieldManager?: string /** - * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined - * @type boolean - * @memberof RbacAuthorizationV1ApilistRoleForAllNamespaces + * @type string + * @memberof ResourceV1alpha3ApicreateNamespacedResourceClaim */ - watch?: boolean + fieldValidation?: string } -export interface RbacAuthorizationV1ApiPatchClusterRoleRequest { +export interface ResourceV1alpha3ApiCreateNamespacedResourceClaimTemplateRequest { /** - * name of the ClusterRole + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApipatchClusterRole + * @memberof ResourceV1alpha3ApicreateNamespacedResourceClaimTemplate */ - name: string + namespace: string /** * - * @type any - * @memberof RbacAuthorizationV1ApipatchClusterRole + * @type V1alpha3ResourceClaimTemplate + * @memberof ResourceV1alpha3ApicreateNamespacedResourceClaimTemplate */ - body: any + body: V1alpha3ResourceClaimTemplate /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApipatchClusterRole + * @memberof ResourceV1alpha3ApicreateNamespacedResourceClaimTemplate */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApipatchClusterRole + * @memberof ResourceV1alpha3ApicreateNamespacedResourceClaimTemplate */ dryRun?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApipatchClusterRole + * @memberof ResourceV1alpha3ApicreateNamespacedResourceClaimTemplate */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApipatchClusterRole + * @memberof ResourceV1alpha3ApicreateNamespacedResourceClaimTemplate */ fieldValidation?: string - /** - * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - * Defaults to: undefined - * @type boolean - * @memberof RbacAuthorizationV1ApipatchClusterRole - */ - force?: boolean } -export interface RbacAuthorizationV1ApiPatchClusterRoleBindingRequest { - /** - * name of the ClusterRoleBinding - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApipatchClusterRoleBinding - */ - name: string +export interface ResourceV1alpha3ApiCreateResourceSliceRequest { /** * - * @type any - * @memberof RbacAuthorizationV1ApipatchClusterRoleBinding + * @type V1alpha3ResourceSlice + * @memberof ResourceV1alpha3ApicreateResourceSlice */ - body: any + body: V1alpha3ResourceSlice /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApipatchClusterRoleBinding + * @memberof ResourceV1alpha3ApicreateResourceSlice */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApipatchClusterRoleBinding + * @memberof ResourceV1alpha3ApicreateResourceSlice */ dryRun?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApipatchClusterRoleBinding + * @memberof ResourceV1alpha3ApicreateResourceSlice */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApipatchClusterRoleBinding + * @memberof ResourceV1alpha3ApicreateResourceSlice */ fieldValidation?: string - /** - * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - * Defaults to: undefined - * @type boolean - * @memberof RbacAuthorizationV1ApipatchClusterRoleBinding - */ - force?: boolean } -export interface RbacAuthorizationV1ApiPatchNamespacedRoleRequest { - /** - * name of the Role - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApipatchNamespacedRole - */ - name: string +export interface ResourceV1alpha3ApiDeleteCollectionDeviceClassRequest { /** - * object name and auth scope, such as for teams and projects + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApipatchNamespacedRole + * @memberof ResourceV1alpha3ApideleteCollectionDeviceClass */ - namespace: string - /** - * - * @type any - * @memberof RbacAuthorizationV1ApipatchNamespacedRole - */ - body: any + pretty?: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApipatchNamespacedRole + * @memberof ResourceV1alpha3ApideleteCollectionDeviceClass */ - pretty?: string + _continue?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApipatchNamespacedRole + * @memberof ResourceV1alpha3ApideleteCollectionDeviceClass */ dryRun?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApipatchNamespacedRole + * @memberof ResourceV1alpha3ApideleteCollectionDeviceClass */ - fieldManager?: string + fieldSelector?: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApipatchNamespacedRole + * @type number + * @memberof ResourceV1alpha3ApideleteCollectionDeviceClass */ - fieldValidation?: string + gracePeriodSeconds?: number /** - * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * Defaults to: undefined * @type boolean - * @memberof RbacAuthorizationV1ApipatchNamespacedRole + * @memberof ResourceV1alpha3ApideleteCollectionDeviceClass */ - force?: boolean -} - -export interface RbacAuthorizationV1ApiPatchNamespacedRoleBindingRequest { + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** - * name of the RoleBinding + * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApipatchNamespacedRoleBinding + * @memberof ResourceV1alpha3ApideleteCollectionDeviceClass */ - name: string + labelSelector?: string /** - * object name and auth scope, such as for teams and projects + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApipatchNamespacedRoleBinding - */ - namespace: string - /** - * - * @type any - * @memberof RbacAuthorizationV1ApipatchNamespacedRoleBinding + * @type number + * @memberof ResourceV1alpha3ApideleteCollectionDeviceClass */ - body: any + limit?: number /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApipatchNamespacedRoleBinding + * @type boolean + * @memberof ResourceV1alpha3ApideleteCollectionDeviceClass */ - pretty?: string + orphanDependents?: boolean /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApipatchNamespacedRoleBinding + * @memberof ResourceV1alpha3ApideleteCollectionDeviceClass */ - dryRun?: string + propagationPolicy?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApipatchNamespacedRoleBinding + * @memberof ResourceV1alpha3ApideleteCollectionDeviceClass */ - fieldManager?: string + resourceVersion?: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApipatchNamespacedRoleBinding + * @memberof ResourceV1alpha3ApideleteCollectionDeviceClass */ - fieldValidation?: string + resourceVersionMatch?: string /** - * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof RbacAuthorizationV1ApipatchNamespacedRoleBinding + * @memberof ResourceV1alpha3ApideleteCollectionDeviceClass */ - force?: boolean -} - -export interface RbacAuthorizationV1ApiReadClusterRoleRequest { + sendInitialEvents?: boolean /** - * name of the ClusterRole + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApireadClusterRole + * @type number + * @memberof ResourceV1alpha3ApideleteCollectionDeviceClass */ - name: string + timeoutSeconds?: number /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApireadClusterRole + * + * @type V1DeleteOptions + * @memberof ResourceV1alpha3ApideleteCollectionDeviceClass */ - pretty?: string + body?: V1DeleteOptions } -export interface RbacAuthorizationV1ApiReadClusterRoleBindingRequest { +export interface ResourceV1alpha3ApiDeleteCollectionNamespacedResourceClaimRequest { /** - * name of the ClusterRoleBinding + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApireadClusterRoleBinding + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaim */ - name: string + namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApireadClusterRoleBinding + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaim */ pretty?: string -} - -export interface RbacAuthorizationV1ApiReadNamespacedRoleRequest { /** - * name of the Role + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApireadNamespacedRole + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaim */ - name: string + _continue?: string /** - * object name and auth scope, such as for teams and projects + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApireadNamespacedRole + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaim */ - namespace: string + dryRun?: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApireadNamespacedRole + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaim */ - pretty?: string -} - -export interface RbacAuthorizationV1ApiReadNamespacedRoleBindingRequest { + fieldSelector?: string /** - * name of the RoleBinding + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApireadNamespacedRoleBinding + * @type number + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaim */ - name: string + gracePeriodSeconds?: number /** - * object name and auth scope, such as for teams and projects + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApireadNamespacedRoleBinding + * @type boolean + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaim */ - namespace: string + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApireadNamespacedRoleBinding + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaim */ - pretty?: string -} - -export interface RbacAuthorizationV1ApiReplaceClusterRoleRequest { + labelSelector?: string /** - * name of the ClusterRole + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApireplaceClusterRole + * @type number + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaim */ - name: string + limit?: number /** - * - * @type V1ClusterRole - * @memberof RbacAuthorizationV1ApireplaceClusterRole + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaim */ - body: V1ClusterRole + orphanDependents?: boolean /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApireplaceClusterRole + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaim */ - pretty?: string + propagationPolicy?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApireplaceClusterRole + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaim */ - dryRun?: string + resourceVersion?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApireplaceClusterRole + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaim */ - fieldManager?: string + resourceVersionMatch?: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApireplaceClusterRole + * @type boolean + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaim */ - fieldValidation?: string -} - -export interface RbacAuthorizationV1ApiReplaceClusterRoleBindingRequest { + sendInitialEvents?: boolean /** - * name of the ClusterRoleBinding + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApireplaceClusterRoleBinding + * @type number + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaim */ - name: string + timeoutSeconds?: number /** * - * @type V1ClusterRoleBinding - * @memberof RbacAuthorizationV1ApireplaceClusterRoleBinding + * @type V1DeleteOptions + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaim */ - body: V1ClusterRoleBinding + body?: V1DeleteOptions +} + +export interface ResourceV1alpha3ApiDeleteCollectionNamespacedResourceClaimTemplateRequest { + /** + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaimTemplate + */ + namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApireplaceClusterRoleBinding + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaimTemplate */ pretty?: string + /** + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaimTemplate + */ + _continue?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApireplaceClusterRoleBinding + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaimTemplate */ dryRun?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApireplaceClusterRoleBinding + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaimTemplate */ - fieldManager?: string + fieldSelector?: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApireplaceClusterRoleBinding + * @type number + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaimTemplate */ - fieldValidation?: string -} - -export interface RbacAuthorizationV1ApiReplaceNamespacedRoleRequest { + gracePeriodSeconds?: number /** - * name of the Role + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApireplaceNamespacedRole + * @type boolean + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaimTemplate */ - name: string + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** - * object name and auth scope, such as for teams and projects + * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApireplaceNamespacedRole + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaimTemplate */ - namespace: string + labelSelector?: string /** - * - * @type V1Role - * @memberof RbacAuthorizationV1ApireplaceNamespacedRole + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * Defaults to: undefined + * @type number + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaimTemplate */ - body: V1Role + limit?: number /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApireplaceNamespacedRole + * @type boolean + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaimTemplate */ - pretty?: string + orphanDependents?: boolean /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApireplaceNamespacedRole + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaimTemplate */ - dryRun?: string + propagationPolicy?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApireplaceNamespacedRole + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaimTemplate */ - fieldManager?: string + resourceVersion?: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApireplaceNamespacedRole + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaimTemplate */ - fieldValidation?: string -} - -export interface RbacAuthorizationV1ApiReplaceNamespacedRoleBindingRequest { + resourceVersionMatch?: string /** - * name of the RoleBinding + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApireplaceNamespacedRoleBinding + * @type boolean + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaimTemplate */ - name: string + sendInitialEvents?: boolean /** - * object name and auth scope, such as for teams and projects + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined - * @type string - * @memberof RbacAuthorizationV1ApireplaceNamespacedRoleBinding + * @type number + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaimTemplate */ - namespace: string + timeoutSeconds?: number /** * - * @type V1RoleBinding - * @memberof RbacAuthorizationV1ApireplaceNamespacedRoleBinding + * @type V1DeleteOptions + * @memberof ResourceV1alpha3ApideleteCollectionNamespacedResourceClaimTemplate */ - body: V1RoleBinding + body?: V1DeleteOptions +} + +export interface ResourceV1alpha3ApiDeleteCollectionResourceSliceRequest { /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApireplaceNamespacedRoleBinding + * @memberof ResourceV1alpha3ApideleteCollectionResourceSlice */ pretty?: string + /** + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApideleteCollectionResourceSlice + */ + _continue?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApireplaceNamespacedRoleBinding + * @memberof ResourceV1alpha3ApideleteCollectionResourceSlice */ dryRun?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApireplaceNamespacedRoleBinding + * @memberof ResourceV1alpha3ApideleteCollectionResourceSlice */ - fieldManager?: string + fieldSelector?: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * Defaults to: undefined + * @type number + * @memberof ResourceV1alpha3ApideleteCollectionResourceSlice + */ + gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1alpha3ApideleteCollectionResourceSlice + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof RbacAuthorizationV1ApireplaceNamespacedRoleBinding + * @memberof ResourceV1alpha3ApideleteCollectionResourceSlice */ - fieldValidation?: string -} - -export class ObjectRbacAuthorizationV1Api { - private api: ObservableRbacAuthorizationV1Api - - public constructor(configuration: Configuration, requestFactory?: RbacAuthorizationV1ApiRequestFactory, responseProcessor?: RbacAuthorizationV1ApiResponseProcessor) { - this.api = new ObservableRbacAuthorizationV1Api(configuration, requestFactory, responseProcessor); - } - + labelSelector?: string /** - * create a ClusterRole - * @param param the request object + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * Defaults to: undefined + * @type number + * @memberof ResourceV1alpha3ApideleteCollectionResourceSlice */ - public createClusterRoleWithHttpInfo(param: RbacAuthorizationV1ApiCreateClusterRoleRequest, options?: Configuration): Promise> { - return this.api.createClusterRoleWithHttpInfo(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + limit?: number /** - * create a ClusterRole - * @param param the request object + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1alpha3ApideleteCollectionResourceSlice */ - public createClusterRole(param: RbacAuthorizationV1ApiCreateClusterRoleRequest, options?: Configuration): Promise { - return this.api.createClusterRole(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + orphanDependents?: boolean /** - * create a ClusterRoleBinding - * @param param the request object + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApideleteCollectionResourceSlice */ - public createClusterRoleBindingWithHttpInfo(param: RbacAuthorizationV1ApiCreateClusterRoleBindingRequest, options?: Configuration): Promise> { - return this.api.createClusterRoleBindingWithHttpInfo(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + propagationPolicy?: string /** - * create a ClusterRoleBinding - * @param param the request object + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApideleteCollectionResourceSlice */ - public createClusterRoleBinding(param: RbacAuthorizationV1ApiCreateClusterRoleBindingRequest, options?: Configuration): Promise { - return this.api.createClusterRoleBinding(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + resourceVersion?: string /** - * create a Role - * @param param the request object + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApideleteCollectionResourceSlice */ - public createNamespacedRoleWithHttpInfo(param: RbacAuthorizationV1ApiCreateNamespacedRoleRequest, options?: Configuration): Promise> { - return this.api.createNamespacedRoleWithHttpInfo(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + resourceVersionMatch?: string /** - * create a Role - * @param param the request object + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1alpha3ApideleteCollectionResourceSlice */ - public createNamespacedRole(param: RbacAuthorizationV1ApiCreateNamespacedRoleRequest, options?: Configuration): Promise { - return this.api.createNamespacedRole(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + sendInitialEvents?: boolean /** - * create a RoleBinding - * @param param the request object + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * Defaults to: undefined + * @type number + * @memberof ResourceV1alpha3ApideleteCollectionResourceSlice */ - public createNamespacedRoleBindingWithHttpInfo(param: RbacAuthorizationV1ApiCreateNamespacedRoleBindingRequest, options?: Configuration): Promise> { - return this.api.createNamespacedRoleBindingWithHttpInfo(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + timeoutSeconds?: number /** - * create a RoleBinding - * @param param the request object + * + * @type V1DeleteOptions + * @memberof ResourceV1alpha3ApideleteCollectionResourceSlice */ - public createNamespacedRoleBinding(param: RbacAuthorizationV1ApiCreateNamespacedRoleBindingRequest, options?: Configuration): Promise { - return this.api.createNamespacedRoleBinding(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } + body?: V1DeleteOptions +} +export interface ResourceV1alpha3ApiDeleteDeviceClassRequest { /** - * delete a ClusterRole - * @param param the request object + * name of the DeviceClass + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApideleteDeviceClass */ - public deleteClusterRoleWithHttpInfo(param: RbacAuthorizationV1ApiDeleteClusterRoleRequest, options?: Configuration): Promise> { - return this.api.deleteClusterRoleWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); - } - + name: string /** - * delete a ClusterRole - * @param param the request object + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApideleteDeviceClass */ - public deleteClusterRole(param: RbacAuthorizationV1ApiDeleteClusterRoleRequest, options?: Configuration): Promise { - return this.api.deleteClusterRole(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); - } - + pretty?: string /** - * delete a ClusterRoleBinding - * @param param the request object + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApideleteDeviceClass */ - public deleteClusterRoleBindingWithHttpInfo(param: RbacAuthorizationV1ApiDeleteClusterRoleBindingRequest, options?: Configuration): Promise> { - return this.api.deleteClusterRoleBindingWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); - } - + dryRun?: string /** - * delete a ClusterRoleBinding - * @param param the request object + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * Defaults to: undefined + * @type number + * @memberof ResourceV1alpha3ApideleteDeviceClass */ - public deleteClusterRoleBinding(param: RbacAuthorizationV1ApiDeleteClusterRoleBindingRequest, options?: Configuration): Promise { - return this.api.deleteClusterRoleBinding(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); - } - + gracePeriodSeconds?: number /** - * delete collection of ClusterRole - * @param param the request object + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1alpha3ApideleteDeviceClass */ - public deleteCollectionClusterRoleWithHttpInfo(param: RbacAuthorizationV1ApiDeleteCollectionClusterRoleRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionClusterRoleWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); - } - + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** - * delete collection of ClusterRole - * @param param the request object + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1alpha3ApideleteDeviceClass */ - public deleteCollectionClusterRole(param: RbacAuthorizationV1ApiDeleteCollectionClusterRoleRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionClusterRole(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); - } - + orphanDependents?: boolean /** - * delete collection of ClusterRoleBinding - * @param param the request object + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApideleteDeviceClass + */ + propagationPolicy?: string + /** + * + * @type V1DeleteOptions + * @memberof ResourceV1alpha3ApideleteDeviceClass */ - public deleteCollectionClusterRoleBindingWithHttpInfo(param: RbacAuthorizationV1ApiDeleteCollectionClusterRoleBindingRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionClusterRoleBindingWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); - } + body?: V1DeleteOptions +} +export interface ResourceV1alpha3ApiDeleteNamespacedResourceClaimRequest { /** - * delete collection of ClusterRoleBinding - * @param param the request object + * name of the ResourceClaim + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApideleteNamespacedResourceClaim */ - public deleteCollectionClusterRoleBinding(param: RbacAuthorizationV1ApiDeleteCollectionClusterRoleBindingRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionClusterRoleBinding(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); - } - + name: string /** - * delete collection of Role - * @param param the request object + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApideleteNamespacedResourceClaim */ - public deleteCollectionNamespacedRoleWithHttpInfo(param: RbacAuthorizationV1ApiDeleteCollectionNamespacedRoleRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedRoleWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); - } - + namespace: string /** - * delete collection of Role - * @param param the request object + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApideleteNamespacedResourceClaim */ - public deleteCollectionNamespacedRole(param: RbacAuthorizationV1ApiDeleteCollectionNamespacedRoleRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedRole(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); - } - + pretty?: string /** - * delete collection of RoleBinding - * @param param the request object + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApideleteNamespacedResourceClaim */ - public deleteCollectionNamespacedRoleBindingWithHttpInfo(param: RbacAuthorizationV1ApiDeleteCollectionNamespacedRoleBindingRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedRoleBindingWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); - } - + dryRun?: string /** - * delete collection of RoleBinding - * @param param the request object + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * Defaults to: undefined + * @type number + * @memberof ResourceV1alpha3ApideleteNamespacedResourceClaim */ - public deleteCollectionNamespacedRoleBinding(param: RbacAuthorizationV1ApiDeleteCollectionNamespacedRoleBindingRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedRoleBinding(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); - } - + gracePeriodSeconds?: number /** - * delete a Role - * @param param the request object + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1alpha3ApideleteNamespacedResourceClaim */ - public deleteNamespacedRoleWithHttpInfo(param: RbacAuthorizationV1ApiDeleteNamespacedRoleRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedRoleWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); - } - + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** - * delete a Role - * @param param the request object + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1alpha3ApideleteNamespacedResourceClaim */ - public deleteNamespacedRole(param: RbacAuthorizationV1ApiDeleteNamespacedRoleRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedRole(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); - } - + orphanDependents?: boolean /** - * delete a RoleBinding - * @param param the request object + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApideleteNamespacedResourceClaim */ - public deleteNamespacedRoleBindingWithHttpInfo(param: RbacAuthorizationV1ApiDeleteNamespacedRoleBindingRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedRoleBindingWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); - } - + propagationPolicy?: string /** - * delete a RoleBinding - * @param param the request object + * + * @type V1DeleteOptions + * @memberof ResourceV1alpha3ApideleteNamespacedResourceClaim */ - public deleteNamespacedRoleBinding(param: RbacAuthorizationV1ApiDeleteNamespacedRoleBindingRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedRoleBinding(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); - } + body?: V1DeleteOptions +} +export interface ResourceV1alpha3ApiDeleteNamespacedResourceClaimTemplateRequest { /** - * get available resources - * @param param the request object + * name of the ResourceClaimTemplate + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApideleteNamespacedResourceClaimTemplate */ - public getAPIResourcesWithHttpInfo(param: RbacAuthorizationV1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise> { - return this.api.getAPIResourcesWithHttpInfo( options).toPromise(); - } - + name: string /** - * get available resources - * @param param the request object + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApideleteNamespacedResourceClaimTemplate */ - public getAPIResources(param: RbacAuthorizationV1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise { - return this.api.getAPIResources( options).toPromise(); - } - + namespace: string /** - * list or watch objects of kind ClusterRole - * @param param the request object + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApideleteNamespacedResourceClaimTemplate */ - public listClusterRoleWithHttpInfo(param: RbacAuthorizationV1ApiListClusterRoleRequest = {}, options?: Configuration): Promise> { - return this.api.listClusterRoleWithHttpInfo(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - + pretty?: string /** - * list or watch objects of kind ClusterRole - * @param param the request object + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApideleteNamespacedResourceClaimTemplate */ - public listClusterRole(param: RbacAuthorizationV1ApiListClusterRoleRequest = {}, options?: Configuration): Promise { - return this.api.listClusterRole(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - + dryRun?: string /** - * list or watch objects of kind ClusterRoleBinding - * @param param the request object + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * Defaults to: undefined + * @type number + * @memberof ResourceV1alpha3ApideleteNamespacedResourceClaimTemplate */ - public listClusterRoleBindingWithHttpInfo(param: RbacAuthorizationV1ApiListClusterRoleBindingRequest = {}, options?: Configuration): Promise> { - return this.api.listClusterRoleBindingWithHttpInfo(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - + gracePeriodSeconds?: number /** - * list or watch objects of kind ClusterRoleBinding - * @param param the request object + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1alpha3ApideleteNamespacedResourceClaimTemplate */ - public listClusterRoleBinding(param: RbacAuthorizationV1ApiListClusterRoleBindingRequest = {}, options?: Configuration): Promise { - return this.api.listClusterRoleBinding(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** - * list or watch objects of kind Role - * @param param the request object + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1alpha3ApideleteNamespacedResourceClaimTemplate */ - public listNamespacedRoleWithHttpInfo(param: RbacAuthorizationV1ApiListNamespacedRoleRequest, options?: Configuration): Promise> { - return this.api.listNamespacedRoleWithHttpInfo(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - + orphanDependents?: boolean /** - * list or watch objects of kind Role - * @param param the request object + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApideleteNamespacedResourceClaimTemplate */ - public listNamespacedRole(param: RbacAuthorizationV1ApiListNamespacedRoleRequest, options?: Configuration): Promise { - return this.api.listNamespacedRole(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - + propagationPolicy?: string /** - * list or watch objects of kind RoleBinding - * @param param the request object + * + * @type V1DeleteOptions + * @memberof ResourceV1alpha3ApideleteNamespacedResourceClaimTemplate */ - public listNamespacedRoleBindingWithHttpInfo(param: RbacAuthorizationV1ApiListNamespacedRoleBindingRequest, options?: Configuration): Promise> { - return this.api.listNamespacedRoleBindingWithHttpInfo(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } + body?: V1DeleteOptions +} +export interface ResourceV1alpha3ApiDeleteResourceSliceRequest { /** - * list or watch objects of kind RoleBinding - * @param param the request object + * name of the ResourceSlice + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApideleteResourceSlice */ - public listNamespacedRoleBinding(param: RbacAuthorizationV1ApiListNamespacedRoleBindingRequest, options?: Configuration): Promise { - return this.api.listNamespacedRoleBinding(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - + name: string /** - * list or watch objects of kind RoleBinding - * @param param the request object + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApideleteResourceSlice */ - public listRoleBindingForAllNamespacesWithHttpInfo(param: RbacAuthorizationV1ApiListRoleBindingForAllNamespacesRequest = {}, options?: Configuration): Promise> { - return this.api.listRoleBindingForAllNamespacesWithHttpInfo(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - + pretty?: string /** - * list or watch objects of kind RoleBinding - * @param param the request object + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApideleteResourceSlice */ - public listRoleBindingForAllNamespaces(param: RbacAuthorizationV1ApiListRoleBindingForAllNamespacesRequest = {}, options?: Configuration): Promise { - return this.api.listRoleBindingForAllNamespaces(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - + dryRun?: string /** - * list or watch objects of kind Role - * @param param the request object + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * Defaults to: undefined + * @type number + * @memberof ResourceV1alpha3ApideleteResourceSlice */ - public listRoleForAllNamespacesWithHttpInfo(param: RbacAuthorizationV1ApiListRoleForAllNamespacesRequest = {}, options?: Configuration): Promise> { - return this.api.listRoleForAllNamespacesWithHttpInfo(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - + gracePeriodSeconds?: number /** - * list or watch objects of kind Role - * @param param the request object + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1alpha3ApideleteResourceSlice */ - public listRoleForAllNamespaces(param: RbacAuthorizationV1ApiListRoleForAllNamespacesRequest = {}, options?: Configuration): Promise { - return this.api.listRoleForAllNamespaces(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** - * partially update the specified ClusterRole - * @param param the request object + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1alpha3ApideleteResourceSlice */ - public patchClusterRoleWithHttpInfo(param: RbacAuthorizationV1ApiPatchClusterRoleRequest, options?: Configuration): Promise> { - return this.api.patchClusterRoleWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - + orphanDependents?: boolean /** - * partially update the specified ClusterRole - * @param param the request object + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApideleteResourceSlice */ - public patchClusterRole(param: RbacAuthorizationV1ApiPatchClusterRoleRequest, options?: Configuration): Promise { - return this.api.patchClusterRole(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - + propagationPolicy?: string /** - * partially update the specified ClusterRoleBinding - * @param param the request object + * + * @type V1DeleteOptions + * @memberof ResourceV1alpha3ApideleteResourceSlice */ - public patchClusterRoleBindingWithHttpInfo(param: RbacAuthorizationV1ApiPatchClusterRoleBindingRequest, options?: Configuration): Promise> { - return this.api.patchClusterRoleBindingWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } + body?: V1DeleteOptions +} + +export interface ResourceV1alpha3ApiGetAPIResourcesRequest { +} +export interface ResourceV1alpha3ApiListDeviceClassRequest { /** - * partially update the specified ClusterRoleBinding - * @param param the request object + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApilistDeviceClass */ - public patchClusterRoleBinding(param: RbacAuthorizationV1ApiPatchClusterRoleBindingRequest, options?: Configuration): Promise { - return this.api.patchClusterRoleBinding(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - + pretty?: string /** - * partially update the specified Role - * @param param the request object + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1alpha3ApilistDeviceClass */ - public patchNamespacedRoleWithHttpInfo(param: RbacAuthorizationV1ApiPatchNamespacedRoleRequest, options?: Configuration): Promise> { - return this.api.patchNamespacedRoleWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - + allowWatchBookmarks?: boolean /** - * partially update the specified Role - * @param param the request object + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApilistDeviceClass */ - public patchNamespacedRole(param: RbacAuthorizationV1ApiPatchNamespacedRoleRequest, options?: Configuration): Promise { - return this.api.patchNamespacedRole(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - + _continue?: string /** - * partially update the specified RoleBinding - * @param param the request object + * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApilistDeviceClass */ - public patchNamespacedRoleBindingWithHttpInfo(param: RbacAuthorizationV1ApiPatchNamespacedRoleBindingRequest, options?: Configuration): Promise> { - return this.api.patchNamespacedRoleBindingWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - + fieldSelector?: string /** - * partially update the specified RoleBinding - * @param param the request object + * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApilistDeviceClass */ - public patchNamespacedRoleBinding(param: RbacAuthorizationV1ApiPatchNamespacedRoleBindingRequest, options?: Configuration): Promise { - return this.api.patchNamespacedRoleBinding(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - + labelSelector?: string /** - * read the specified ClusterRole - * @param param the request object + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * Defaults to: undefined + * @type number + * @memberof ResourceV1alpha3ApilistDeviceClass */ - public readClusterRoleWithHttpInfo(param: RbacAuthorizationV1ApiReadClusterRoleRequest, options?: Configuration): Promise> { - return this.api.readClusterRoleWithHttpInfo(param.name, param.pretty, options).toPromise(); - } - + limit?: number /** - * read the specified ClusterRole - * @param param the request object + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApilistDeviceClass */ - public readClusterRole(param: RbacAuthorizationV1ApiReadClusterRoleRequest, options?: Configuration): Promise { - return this.api.readClusterRole(param.name, param.pretty, options).toPromise(); - } - + resourceVersion?: string /** - * read the specified ClusterRoleBinding - * @param param the request object + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApilistDeviceClass */ - public readClusterRoleBindingWithHttpInfo(param: RbacAuthorizationV1ApiReadClusterRoleBindingRequest, options?: Configuration): Promise> { - return this.api.readClusterRoleBindingWithHttpInfo(param.name, param.pretty, options).toPromise(); - } - + resourceVersionMatch?: string /** - * read the specified ClusterRoleBinding - * @param param the request object + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1alpha3ApilistDeviceClass */ - public readClusterRoleBinding(param: RbacAuthorizationV1ApiReadClusterRoleBindingRequest, options?: Configuration): Promise { - return this.api.readClusterRoleBinding(param.name, param.pretty, options).toPromise(); - } - + sendInitialEvents?: boolean /** - * read the specified Role - * @param param the request object + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * Defaults to: undefined + * @type number + * @memberof ResourceV1alpha3ApilistDeviceClass */ - public readNamespacedRoleWithHttpInfo(param: RbacAuthorizationV1ApiReadNamespacedRoleRequest, options?: Configuration): Promise> { - return this.api.readNamespacedRoleWithHttpInfo(param.name, param.namespace, param.pretty, options).toPromise(); - } - + timeoutSeconds?: number /** - * read the specified Role - * @param param the request object + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1alpha3ApilistDeviceClass */ - public readNamespacedRole(param: RbacAuthorizationV1ApiReadNamespacedRoleRequest, options?: Configuration): Promise { - return this.api.readNamespacedRole(param.name, param.namespace, param.pretty, options).toPromise(); - } + watch?: boolean +} +export interface ResourceV1alpha3ApiListNamespacedResourceClaimRequest { /** - * read the specified RoleBinding - * @param param the request object + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApilistNamespacedResourceClaim */ - public readNamespacedRoleBindingWithHttpInfo(param: RbacAuthorizationV1ApiReadNamespacedRoleBindingRequest, options?: Configuration): Promise> { - return this.api.readNamespacedRoleBindingWithHttpInfo(param.name, param.namespace, param.pretty, options).toPromise(); - } - + namespace: string /** - * read the specified RoleBinding - * @param param the request object + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApilistNamespacedResourceClaim */ - public readNamespacedRoleBinding(param: RbacAuthorizationV1ApiReadNamespacedRoleBindingRequest, options?: Configuration): Promise { - return this.api.readNamespacedRoleBinding(param.name, param.namespace, param.pretty, options).toPromise(); - } - + pretty?: string /** - * replace the specified ClusterRole - * @param param the request object + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1alpha3ApilistNamespacedResourceClaim */ - public replaceClusterRoleWithHttpInfo(param: RbacAuthorizationV1ApiReplaceClusterRoleRequest, options?: Configuration): Promise> { - return this.api.replaceClusterRoleWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + allowWatchBookmarks?: boolean /** - * replace the specified ClusterRole - * @param param the request object + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApilistNamespacedResourceClaim */ - public replaceClusterRole(param: RbacAuthorizationV1ApiReplaceClusterRoleRequest, options?: Configuration): Promise { - return this.api.replaceClusterRole(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + _continue?: string /** - * replace the specified ClusterRoleBinding - * @param param the request object + * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApilistNamespacedResourceClaim */ - public replaceClusterRoleBindingWithHttpInfo(param: RbacAuthorizationV1ApiReplaceClusterRoleBindingRequest, options?: Configuration): Promise> { - return this.api.replaceClusterRoleBindingWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + fieldSelector?: string /** - * replace the specified ClusterRoleBinding - * @param param the request object + * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApilistNamespacedResourceClaim */ - public replaceClusterRoleBinding(param: RbacAuthorizationV1ApiReplaceClusterRoleBindingRequest, options?: Configuration): Promise { - return this.api.replaceClusterRoleBinding(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + labelSelector?: string /** - * replace the specified Role - * @param param the request object + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * Defaults to: undefined + * @type number + * @memberof ResourceV1alpha3ApilistNamespacedResourceClaim */ - public replaceNamespacedRoleWithHttpInfo(param: RbacAuthorizationV1ApiReplaceNamespacedRoleRequest, options?: Configuration): Promise> { - return this.api.replaceNamespacedRoleWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + limit?: number /** - * replace the specified Role - * @param param the request object + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApilistNamespacedResourceClaim */ - public replaceNamespacedRole(param: RbacAuthorizationV1ApiReplaceNamespacedRoleRequest, options?: Configuration): Promise { - return this.api.replaceNamespacedRole(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + resourceVersion?: string /** - * replace the specified RoleBinding - * @param param the request object + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApilistNamespacedResourceClaim */ - public replaceNamespacedRoleBindingWithHttpInfo(param: RbacAuthorizationV1ApiReplaceNamespacedRoleBindingRequest, options?: Configuration): Promise> { - return this.api.replaceNamespacedRoleBindingWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - + resourceVersionMatch?: string /** - * replace the specified RoleBinding - * @param param the request object + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1alpha3ApilistNamespacedResourceClaim */ - public replaceNamespacedRoleBinding(param: RbacAuthorizationV1ApiReplaceNamespacedRoleBindingRequest, options?: Configuration): Promise { - return this.api.replaceNamespacedRoleBinding(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - -} - -import { ObservableResourceApi } from "./ObservableAPI.js"; -import { ResourceApiRequestFactory, ResourceApiResponseProcessor} from "../apis/ResourceApi.js"; - -export interface ResourceApiGetAPIGroupRequest { -} - -export class ObjectResourceApi { - private api: ObservableResourceApi - - public constructor(configuration: Configuration, requestFactory?: ResourceApiRequestFactory, responseProcessor?: ResourceApiResponseProcessor) { - this.api = new ObservableResourceApi(configuration, requestFactory, responseProcessor); - } - + sendInitialEvents?: boolean /** - * get information of a group - * @param param the request object + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * Defaults to: undefined + * @type number + * @memberof ResourceV1alpha3ApilistNamespacedResourceClaim */ - public getAPIGroupWithHttpInfo(param: ResourceApiGetAPIGroupRequest = {}, options?: Configuration): Promise> { - return this.api.getAPIGroupWithHttpInfo( options).toPromise(); - } - + timeoutSeconds?: number /** - * get information of a group - * @param param the request object + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1alpha3ApilistNamespacedResourceClaim */ - public getAPIGroup(param: ResourceApiGetAPIGroupRequest = {}, options?: Configuration): Promise { - return this.api.getAPIGroup( options).toPromise(); - } - + watch?: boolean } -import { ObservableResourceV1alpha2Api } from "./ObservableAPI.js"; -import { ResourceV1alpha2ApiRequestFactory, ResourceV1alpha2ApiResponseProcessor} from "../apis/ResourceV1alpha2Api.js"; - -export interface ResourceV1alpha2ApiCreateNamespacedPodSchedulingContextRequest { +export interface ResourceV1alpha3ApiListNamespacedResourceClaimTemplateRequest { /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApicreateNamespacedPodSchedulingContext + * @memberof ResourceV1alpha3ApilistNamespacedResourceClaimTemplate + */ + namespace: string + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApilistNamespacedResourceClaimTemplate + */ + pretty?: string + /** + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1alpha3ApilistNamespacedResourceClaimTemplate + */ + allowWatchBookmarks?: boolean + /** + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApilistNamespacedResourceClaimTemplate */ - namespace: string + _continue?: string /** - * - * @type V1alpha2PodSchedulingContext - * @memberof ResourceV1alpha2ApicreateNamespacedPodSchedulingContext + * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApilistNamespacedResourceClaimTemplate */ - body: V1alpha2PodSchedulingContext + fieldSelector?: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApicreateNamespacedPodSchedulingContext + * @memberof ResourceV1alpha3ApilistNamespacedResourceClaimTemplate */ - pretty?: string + labelSelector?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApicreateNamespacedPodSchedulingContext + * @type number + * @memberof ResourceV1alpha3ApilistNamespacedResourceClaimTemplate */ - dryRun?: string + limit?: number /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApicreateNamespacedPodSchedulingContext + * @memberof ResourceV1alpha3ApilistNamespacedResourceClaimTemplate */ - fieldManager?: string + resourceVersion?: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApicreateNamespacedPodSchedulingContext + * @memberof ResourceV1alpha3ApilistNamespacedResourceClaimTemplate */ - fieldValidation?: string -} - -export interface ResourceV1alpha2ApiCreateNamespacedResourceClaimRequest { + resourceVersionMatch?: string /** - * object name and auth scope, such as for teams and projects + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApicreateNamespacedResourceClaim + * @type boolean + * @memberof ResourceV1alpha3ApilistNamespacedResourceClaimTemplate */ - namespace: string + sendInitialEvents?: boolean /** - * - * @type V1alpha2ResourceClaim - * @memberof ResourceV1alpha2ApicreateNamespacedResourceClaim + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * Defaults to: undefined + * @type number + * @memberof ResourceV1alpha3ApilistNamespacedResourceClaimTemplate */ - body: V1alpha2ResourceClaim + timeoutSeconds?: number /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApicreateNamespacedResourceClaim + * @type boolean + * @memberof ResourceV1alpha3ApilistNamespacedResourceClaimTemplate */ - pretty?: string + watch?: boolean +} + +export interface ResourceV1alpha3ApiListResourceClaimForAllNamespacesRequest { /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApicreateNamespacedResourceClaim + * @type boolean + * @memberof ResourceV1alpha3ApilistResourceClaimForAllNamespaces */ - dryRun?: string + allowWatchBookmarks?: boolean /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApicreateNamespacedResourceClaim + * @memberof ResourceV1alpha3ApilistResourceClaimForAllNamespaces */ - fieldManager?: string + _continue?: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApicreateNamespacedResourceClaim + * @memberof ResourceV1alpha3ApilistResourceClaimForAllNamespaces */ - fieldValidation?: string -} - -export interface ResourceV1alpha2ApiCreateNamespacedResourceClaimParametersRequest { + fieldSelector?: string /** - * object name and auth scope, such as for teams and projects + * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApicreateNamespacedResourceClaimParameters + * @memberof ResourceV1alpha3ApilistResourceClaimForAllNamespaces */ - namespace: string + labelSelector?: string /** - * - * @type V1alpha2ResourceClaimParameters - * @memberof ResourceV1alpha2ApicreateNamespacedResourceClaimParameters + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * Defaults to: undefined + * @type number + * @memberof ResourceV1alpha3ApilistResourceClaimForAllNamespaces */ - body: V1alpha2ResourceClaimParameters + limit?: number /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApicreateNamespacedResourceClaimParameters + * @memberof ResourceV1alpha3ApilistResourceClaimForAllNamespaces */ pretty?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApicreateNamespacedResourceClaimParameters + * @memberof ResourceV1alpha3ApilistResourceClaimForAllNamespaces */ - dryRun?: string + resourceVersion?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApicreateNamespacedResourceClaimParameters + * @memberof ResourceV1alpha3ApilistResourceClaimForAllNamespaces */ - fieldManager?: string + resourceVersionMatch?: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApicreateNamespacedResourceClaimParameters + * @type boolean + * @memberof ResourceV1alpha3ApilistResourceClaimForAllNamespaces */ - fieldValidation?: string + sendInitialEvents?: boolean + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * Defaults to: undefined + * @type number + * @memberof ResourceV1alpha3ApilistResourceClaimForAllNamespaces + */ + timeoutSeconds?: number + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1alpha3ApilistResourceClaimForAllNamespaces + */ + watch?: boolean } -export interface ResourceV1alpha2ApiCreateNamespacedResourceClaimTemplateRequest { +export interface ResourceV1alpha3ApiListResourceClaimTemplateForAllNamespacesRequest { /** - * object name and auth scope, such as for teams and projects + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1alpha3ApilistResourceClaimTemplateForAllNamespaces + */ + allowWatchBookmarks?: boolean + /** + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApicreateNamespacedResourceClaimTemplate + * @memberof ResourceV1alpha3ApilistResourceClaimTemplateForAllNamespaces */ - namespace: string + _continue?: string /** - * - * @type V1alpha2ResourceClaimTemplate - * @memberof ResourceV1alpha2ApicreateNamespacedResourceClaimTemplate + * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApilistResourceClaimTemplateForAllNamespaces */ - body: V1alpha2ResourceClaimTemplate + fieldSelector?: string + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApilistResourceClaimTemplateForAllNamespaces + */ + labelSelector?: string + /** + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * Defaults to: undefined + * @type number + * @memberof ResourceV1alpha3ApilistResourceClaimTemplateForAllNamespaces + */ + limit?: number /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApicreateNamespacedResourceClaimTemplate + * @memberof ResourceV1alpha3ApilistResourceClaimTemplateForAllNamespaces */ pretty?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApicreateNamespacedResourceClaimTemplate + * @memberof ResourceV1alpha3ApilistResourceClaimTemplateForAllNamespaces */ - dryRun?: string + resourceVersion?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApicreateNamespacedResourceClaimTemplate + * @memberof ResourceV1alpha3ApilistResourceClaimTemplateForAllNamespaces */ - fieldManager?: string + resourceVersionMatch?: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApicreateNamespacedResourceClaimTemplate + * @type boolean + * @memberof ResourceV1alpha3ApilistResourceClaimTemplateForAllNamespaces */ - fieldValidation?: string -} - -export interface ResourceV1alpha2ApiCreateNamespacedResourceClassParametersRequest { + sendInitialEvents?: boolean /** - * object name and auth scope, such as for teams and projects + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApicreateNamespacedResourceClassParameters + * @type number + * @memberof ResourceV1alpha3ApilistResourceClaimTemplateForAllNamespaces */ - namespace: string + timeoutSeconds?: number /** - * - * @type V1alpha2ResourceClassParameters - * @memberof ResourceV1alpha2ApicreateNamespacedResourceClassParameters + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1alpha3ApilistResourceClaimTemplateForAllNamespaces */ - body: V1alpha2ResourceClassParameters + watch?: boolean +} + +export interface ResourceV1alpha3ApiListResourceSliceRequest { /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApicreateNamespacedResourceClassParameters + * @memberof ResourceV1alpha3ApilistResourceSlice */ pretty?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1alpha3ApilistResourceSlice + */ + allowWatchBookmarks?: boolean + /** + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApicreateNamespacedResourceClassParameters + * @memberof ResourceV1alpha3ApilistResourceSlice */ - dryRun?: string + _continue?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApicreateNamespacedResourceClassParameters + * @memberof ResourceV1alpha3ApilistResourceSlice */ - fieldManager?: string + fieldSelector?: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApicreateNamespacedResourceClassParameters + * @memberof ResourceV1alpha3ApilistResourceSlice */ - fieldValidation?: string -} - -export interface ResourceV1alpha2ApiCreateResourceClassRequest { + labelSelector?: string /** - * - * @type V1alpha2ResourceClass - * @memberof ResourceV1alpha2ApicreateResourceClass + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * Defaults to: undefined + * @type number + * @memberof ResourceV1alpha3ApilistResourceSlice */ - body: V1alpha2ResourceClass + limit?: number /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApicreateResourceClass + * @memberof ResourceV1alpha3ApilistResourceSlice */ - pretty?: string + resourceVersion?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApicreateResourceClass + * @memberof ResourceV1alpha3ApilistResourceSlice */ - dryRun?: string + resourceVersionMatch?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApicreateResourceClass + * @type boolean + * @memberof ResourceV1alpha3ApilistResourceSlice */ - fieldManager?: string + sendInitialEvents?: boolean /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApicreateResourceClass + * @type number + * @memberof ResourceV1alpha3ApilistResourceSlice */ - fieldValidation?: string + timeoutSeconds?: number + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1alpha3ApilistResourceSlice + */ + watch?: boolean } -export interface ResourceV1alpha2ApiCreateResourceSliceRequest { +export interface ResourceV1alpha3ApiPatchDeviceClassRequest { + /** + * name of the DeviceClass + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApipatchDeviceClass + */ + name: string /** * - * @type V1alpha2ResourceSlice - * @memberof ResourceV1alpha2ApicreateResourceSlice + * @type any + * @memberof ResourceV1alpha3ApipatchDeviceClass */ - body: V1alpha2ResourceSlice + body: any /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApicreateResourceSlice + * @memberof ResourceV1alpha3ApipatchDeviceClass */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApicreateResourceSlice + * @memberof ResourceV1alpha3ApipatchDeviceClass */ dryRun?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApicreateResourceSlice + * @memberof ResourceV1alpha3ApipatchDeviceClass */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApicreateResourceSlice + * @memberof ResourceV1alpha3ApipatchDeviceClass */ fieldValidation?: string + /** + * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1alpha3ApipatchDeviceClass + */ + force?: boolean } -export interface ResourceV1alpha2ApiDeleteCollectionNamespacedPodSchedulingContextRequest { +export interface ResourceV1alpha3ApiPatchNamespacedResourceClaimRequest { + /** + * name of the ResourceClaim + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApipatchNamespacedResourceClaim + */ + name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedPodSchedulingContext + * @memberof ResourceV1alpha3ApipatchNamespacedResourceClaim */ namespace: string + /** + * + * @type any + * @memberof ResourceV1alpha3ApipatchNamespacedResourceClaim + */ + body: any /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedPodSchedulingContext + * @memberof ResourceV1alpha3ApipatchNamespacedResourceClaim */ pretty?: string /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedPodSchedulingContext + * @memberof ResourceV1alpha3ApipatchNamespacedResourceClaim */ - _continue?: string + dryRun?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedPodSchedulingContext + * @memberof ResourceV1alpha3ApipatchNamespacedResourceClaim */ - dryRun?: string + fieldManager?: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedPodSchedulingContext + * @memberof ResourceV1alpha3ApipatchNamespacedResourceClaim */ - fieldSelector?: string + fieldValidation?: string /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedPodSchedulingContext + * @type boolean + * @memberof ResourceV1alpha3ApipatchNamespacedResourceClaim */ - gracePeriodSeconds?: number + force?: boolean +} + +export interface ResourceV1alpha3ApiPatchNamespacedResourceClaimStatusRequest { /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * name of the ResourceClaim * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedPodSchedulingContext + * @memberof ResourceV1alpha3ApipatchNamespacedResourceClaimStatus */ - labelSelector?: string + name: string /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * object name and auth scope, such as for teams and projects * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedPodSchedulingContext + * @type string + * @memberof ResourceV1alpha3ApipatchNamespacedResourceClaimStatus */ - limit?: number + namespace: string /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedPodSchedulingContext + * + * @type any + * @memberof ResourceV1alpha3ApipatchNamespacedResourceClaimStatus */ - orphanDependents?: boolean + body: any /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedPodSchedulingContext + * @memberof ResourceV1alpha3ApipatchNamespacedResourceClaimStatus */ - propagationPolicy?: string + pretty?: string /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedPodSchedulingContext + * @memberof ResourceV1alpha3ApipatchNamespacedResourceClaimStatus */ - resourceVersion?: string + dryRun?: string /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedPodSchedulingContext + * @memberof ResourceV1alpha3ApipatchNamespacedResourceClaimStatus */ - resourceVersionMatch?: string + fieldManager?: string /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedPodSchedulingContext + * @type string + * @memberof ResourceV1alpha3ApipatchNamespacedResourceClaimStatus */ - sendInitialEvents?: boolean + fieldValidation?: string /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedPodSchedulingContext - */ - timeoutSeconds?: number - /** - * - * @type V1DeleteOptions - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedPodSchedulingContext + * @type boolean + * @memberof ResourceV1alpha3ApipatchNamespacedResourceClaimStatus */ - body?: V1DeleteOptions + force?: boolean } -export interface ResourceV1alpha2ApiDeleteCollectionNamespacedResourceClaimRequest { +export interface ResourceV1alpha3ApiPatchNamespacedResourceClaimTemplateRequest { + /** + * name of the ResourceClaimTemplate + * Defaults to: undefined + * @type string + * @memberof ResourceV1alpha3ApipatchNamespacedResourceClaimTemplate + */ + name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaim + * @memberof ResourceV1alpha3ApipatchNamespacedResourceClaimTemplate */ namespace: string + /** + * + * @type any + * @memberof ResourceV1alpha3ApipatchNamespacedResourceClaimTemplate + */ + body: any /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaim + * @memberof ResourceV1alpha3ApipatchNamespacedResourceClaimTemplate */ pretty?: string /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaim + * @memberof ResourceV1alpha3ApipatchNamespacedResourceClaimTemplate */ - _continue?: string + dryRun?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaim + * @memberof ResourceV1alpha3ApipatchNamespacedResourceClaimTemplate */ - dryRun?: string + fieldManager?: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaim + * @memberof ResourceV1alpha3ApipatchNamespacedResourceClaimTemplate */ - fieldSelector?: string + fieldValidation?: string /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaim + * @type boolean + * @memberof ResourceV1alpha3ApipatchNamespacedResourceClaimTemplate */ - gracePeriodSeconds?: number + force?: boolean +} + +export interface ResourceV1alpha3ApiPatchResourceSliceRequest { /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * name of the ResourceSlice * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaim + * @memberof ResourceV1alpha3ApipatchResourceSlice */ - labelSelector?: string + name: string /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaim + * + * @type any + * @memberof ResourceV1alpha3ApipatchResourceSlice */ - limit?: number + body: any /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaim + * @type string + * @memberof ResourceV1alpha3ApipatchResourceSlice */ - orphanDependents?: boolean + pretty?: string /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaim + * @memberof ResourceV1alpha3ApipatchResourceSlice */ - propagationPolicy?: string + dryRun?: string /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaim + * @memberof ResourceV1alpha3ApipatchResourceSlice */ - resourceVersion?: string + fieldManager?: string /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaim + * @memberof ResourceV1alpha3ApipatchResourceSlice */ - resourceVersionMatch?: string + fieldValidation?: string /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. * Defaults to: undefined * @type boolean - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaim - */ - sendInitialEvents?: boolean - /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaim - */ - timeoutSeconds?: number - /** - * - * @type V1DeleteOptions - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaim + * @memberof ResourceV1alpha3ApipatchResourceSlice */ - body?: V1DeleteOptions + force?: boolean } -export interface ResourceV1alpha2ApiDeleteCollectionNamespacedResourceClaimParametersRequest { +export interface ResourceV1alpha3ApiReadDeviceClassRequest { /** - * object name and auth scope, such as for teams and projects + * name of the DeviceClass * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimParameters + * @memberof ResourceV1alpha3ApireadDeviceClass */ - namespace: string + name: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimParameters + * @memberof ResourceV1alpha3ApireadDeviceClass */ pretty?: string +} + +export interface ResourceV1alpha3ApiReadNamespacedResourceClaimRequest { /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * name of the ResourceClaim * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimParameters + * @memberof ResourceV1alpha3ApireadNamespacedResourceClaim */ - _continue?: string + name: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimParameters + * @memberof ResourceV1alpha3ApireadNamespacedResourceClaim */ - dryRun?: string + namespace: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimParameters - */ - fieldSelector?: string - /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimParameters + * @memberof ResourceV1alpha3ApireadNamespacedResourceClaim */ - gracePeriodSeconds?: number + pretty?: string +} + +export interface ResourceV1alpha3ApiReadNamespacedResourceClaimStatusRequest { /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * name of the ResourceClaim * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimParameters + * @memberof ResourceV1alpha3ApireadNamespacedResourceClaimStatus */ - labelSelector?: string + name: string /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * object name and auth scope, such as for teams and projects * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimParameters + * @type string + * @memberof ResourceV1alpha3ApireadNamespacedResourceClaimStatus */ - limit?: number + namespace: string /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimParameters + * @type string + * @memberof ResourceV1alpha3ApireadNamespacedResourceClaimStatus */ - orphanDependents?: boolean + pretty?: string +} + +export interface ResourceV1alpha3ApiReadNamespacedResourceClaimTemplateRequest { /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * name of the ResourceClaimTemplate * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimParameters + * @memberof ResourceV1alpha3ApireadNamespacedResourceClaimTemplate */ - propagationPolicy?: string + name: string /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimParameters + * @memberof ResourceV1alpha3ApireadNamespacedResourceClaimTemplate */ - resourceVersion?: string + namespace: string /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimParameters + * @memberof ResourceV1alpha3ApireadNamespacedResourceClaimTemplate */ - resourceVersionMatch?: string + pretty?: string +} + +export interface ResourceV1alpha3ApiReadResourceSliceRequest { /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * name of the ResourceSlice * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimParameters + * @type string + * @memberof ResourceV1alpha3ApireadResourceSlice */ - sendInitialEvents?: boolean + name: string /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimParameters - */ - timeoutSeconds?: number - /** - * - * @type V1DeleteOptions - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimParameters + * @type string + * @memberof ResourceV1alpha3ApireadResourceSlice */ - body?: V1DeleteOptions + pretty?: string } -export interface ResourceV1alpha2ApiDeleteCollectionNamespacedResourceClaimTemplateRequest { +export interface ResourceV1alpha3ApiReplaceDeviceClassRequest { /** - * object name and auth scope, such as for teams and projects + * name of the DeviceClass * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimTemplate + * @memberof ResourceV1alpha3ApireplaceDeviceClass */ - namespace: string + name: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimTemplate + * + * @type V1alpha3DeviceClass + * @memberof ResourceV1alpha3ApireplaceDeviceClass */ - pretty?: string + body: V1alpha3DeviceClass /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimTemplate + * @memberof ResourceV1alpha3ApireplaceDeviceClass */ - _continue?: string + pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimTemplate + * @memberof ResourceV1alpha3ApireplaceDeviceClass */ dryRun?: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimTemplate + * @memberof ResourceV1alpha3ApireplaceDeviceClass */ - fieldSelector?: string + fieldManager?: string /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimTemplate + * @type string + * @memberof ResourceV1alpha3ApireplaceDeviceClass */ - gracePeriodSeconds?: number + fieldValidation?: string +} + +export interface ResourceV1alpha3ApiReplaceNamespacedResourceClaimRequest { /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * name of the ResourceClaim * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimTemplate + * @memberof ResourceV1alpha3ApireplaceNamespacedResourceClaim */ - labelSelector?: string + name: string /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * object name and auth scope, such as for teams and projects * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimTemplate + * @type string + * @memberof ResourceV1alpha3ApireplaceNamespacedResourceClaim */ - limit?: number + namespace: string /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimTemplate + * + * @type V1alpha3ResourceClaim + * @memberof ResourceV1alpha3ApireplaceNamespacedResourceClaim */ - orphanDependents?: boolean + body: V1alpha3ResourceClaim /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimTemplate + * @memberof ResourceV1alpha3ApireplaceNamespacedResourceClaim */ - propagationPolicy?: string + pretty?: string /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimTemplate + * @memberof ResourceV1alpha3ApireplaceNamespacedResourceClaim */ - resourceVersion?: string + dryRun?: string /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimTemplate - */ - resourceVersionMatch?: string - /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimTemplate + * @memberof ResourceV1alpha3ApireplaceNamespacedResourceClaim */ - sendInitialEvents?: boolean + fieldManager?: string /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimTemplate - */ - timeoutSeconds?: number - /** - * - * @type V1DeleteOptions - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClaimTemplate + * @type string + * @memberof ResourceV1alpha3ApireplaceNamespacedResourceClaim */ - body?: V1DeleteOptions + fieldValidation?: string } -export interface ResourceV1alpha2ApiDeleteCollectionNamespacedResourceClassParametersRequest { +export interface ResourceV1alpha3ApiReplaceNamespacedResourceClaimStatusRequest { /** - * object name and auth scope, such as for teams and projects + * name of the ResourceClaim * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClassParameters + * @memberof ResourceV1alpha3ApireplaceNamespacedResourceClaimStatus */ - namespace: string + name: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClassParameters + * @memberof ResourceV1alpha3ApireplaceNamespacedResourceClaimStatus */ - pretty?: string + namespace: string /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * + * @type V1alpha3ResourceClaim + * @memberof ResourceV1alpha3ApireplaceNamespacedResourceClaimStatus + */ + body: V1alpha3ResourceClaim + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClassParameters + * @memberof ResourceV1alpha3ApireplaceNamespacedResourceClaimStatus */ - _continue?: string + pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClassParameters + * @memberof ResourceV1alpha3ApireplaceNamespacedResourceClaimStatus */ dryRun?: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClassParameters + * @memberof ResourceV1alpha3ApireplaceNamespacedResourceClaimStatus */ - fieldSelector?: string + fieldManager?: string /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClassParameters + * @type string + * @memberof ResourceV1alpha3ApireplaceNamespacedResourceClaimStatus */ - gracePeriodSeconds?: number + fieldValidation?: string +} + +export interface ResourceV1alpha3ApiReplaceNamespacedResourceClaimTemplateRequest { /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * name of the ResourceClaimTemplate * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClassParameters + * @memberof ResourceV1alpha3ApireplaceNamespacedResourceClaimTemplate */ - labelSelector?: string + name: string /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * object name and auth scope, such as for teams and projects * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClassParameters + * @type string + * @memberof ResourceV1alpha3ApireplaceNamespacedResourceClaimTemplate */ - limit?: number + namespace: string /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClassParameters + * + * @type V1alpha3ResourceClaimTemplate + * @memberof ResourceV1alpha3ApireplaceNamespacedResourceClaimTemplate */ - orphanDependents?: boolean + body: V1alpha3ResourceClaimTemplate /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClassParameters + * @memberof ResourceV1alpha3ApireplaceNamespacedResourceClaimTemplate */ - propagationPolicy?: string + pretty?: string /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClassParameters + * @memberof ResourceV1alpha3ApireplaceNamespacedResourceClaimTemplate */ - resourceVersion?: string + dryRun?: string /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClassParameters + * @memberof ResourceV1alpha3ApireplaceNamespacedResourceClaimTemplate */ - resourceVersionMatch?: string + fieldManager?: string /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClassParameters + * @type string + * @memberof ResourceV1alpha3ApireplaceNamespacedResourceClaimTemplate */ - sendInitialEvents?: boolean + fieldValidation?: string +} + +export interface ResourceV1alpha3ApiReplaceResourceSliceRequest { /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * name of the ResourceSlice * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClassParameters + * @type string + * @memberof ResourceV1alpha3ApireplaceResourceSlice */ - timeoutSeconds?: number + name: string /** * - * @type V1DeleteOptions - * @memberof ResourceV1alpha2ApideleteCollectionNamespacedResourceClassParameters + * @type V1alpha3ResourceSlice + * @memberof ResourceV1alpha3ApireplaceResourceSlice */ - body?: V1DeleteOptions -} - -export interface ResourceV1alpha2ApiDeleteCollectionResourceClassRequest { + body: V1alpha3ResourceSlice /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionResourceClass + * @memberof ResourceV1alpha3ApireplaceResourceSlice */ pretty?: string /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionResourceClass + * @memberof ResourceV1alpha3ApireplaceResourceSlice */ - _continue?: string + dryRun?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionResourceClass + * @memberof ResourceV1alpha3ApireplaceResourceSlice */ - dryRun?: string + fieldManager?: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteCollectionResourceClass + * @memberof ResourceV1alpha3ApireplaceResourceSlice */ - fieldSelector?: string + fieldValidation?: string +} + +export class ObjectResourceV1alpha3Api { + private api: ObservableResourceV1alpha3Api + + public constructor(configuration: Configuration, requestFactory?: ResourceV1alpha3ApiRequestFactory, responseProcessor?: ResourceV1alpha3ApiResponseProcessor) { + this.api = new ObservableResourceV1alpha3Api(configuration, requestFactory, responseProcessor); + } + /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApideleteCollectionResourceClass + * create a DeviceClass + * @param param the request object */ - gracePeriodSeconds?: number + public createDeviceClassWithHttpInfo(param: ResourceV1alpha3ApiCreateDeviceClassRequest, options?: Configuration): Promise> { + return this.api.createDeviceClassWithHttpInfo(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteCollectionResourceClass + * create a DeviceClass + * @param param the request object */ - labelSelector?: string + public createDeviceClass(param: ResourceV1alpha3ApiCreateDeviceClassRequest, options?: Configuration): Promise { + return this.api.createDeviceClass(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApideleteCollectionResourceClass + * create a ResourceClaim + * @param param the request object */ - limit?: number + public createNamespacedResourceClaimWithHttpInfo(param: ResourceV1alpha3ApiCreateNamespacedResourceClaimRequest, options?: Configuration): Promise> { + return this.api.createNamespacedResourceClaimWithHttpInfo(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApideleteCollectionResourceClass + * create a ResourceClaim + * @param param the request object */ - orphanDependents?: boolean + public createNamespacedResourceClaim(param: ResourceV1alpha3ApiCreateNamespacedResourceClaimRequest, options?: Configuration): Promise { + return this.api.createNamespacedResourceClaim(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteCollectionResourceClass + * create a ResourceClaimTemplate + * @param param the request object */ - propagationPolicy?: string + public createNamespacedResourceClaimTemplateWithHttpInfo(param: ResourceV1alpha3ApiCreateNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise> { + return this.api.createNamespacedResourceClaimTemplateWithHttpInfo(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteCollectionResourceClass + * create a ResourceClaimTemplate + * @param param the request object */ - resourceVersion?: string + public createNamespacedResourceClaimTemplate(param: ResourceV1alpha3ApiCreateNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise { + return this.api.createNamespacedResourceClaimTemplate(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteCollectionResourceClass + * create a ResourceSlice + * @param param the request object */ - resourceVersionMatch?: string + public createResourceSliceWithHttpInfo(param: ResourceV1alpha3ApiCreateResourceSliceRequest, options?: Configuration): Promise> { + return this.api.createResourceSliceWithHttpInfo(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApideleteCollectionResourceClass + * create a ResourceSlice + * @param param the request object */ - sendInitialEvents?: boolean + public createResourceSlice(param: ResourceV1alpha3ApiCreateResourceSliceRequest, options?: Configuration): Promise { + return this.api.createResourceSlice(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApideleteCollectionResourceClass + * delete collection of DeviceClass + * @param param the request object */ - timeoutSeconds?: number + public deleteCollectionDeviceClassWithHttpInfo(param: ResourceV1alpha3ApiDeleteCollectionDeviceClassRequest = {}, options?: Configuration): Promise> { + return this.api.deleteCollectionDeviceClassWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } + /** - * - * @type V1DeleteOptions - * @memberof ResourceV1alpha2ApideleteCollectionResourceClass + * delete collection of DeviceClass + * @param param the request object */ - body?: V1DeleteOptions -} + public deleteCollectionDeviceClass(param: ResourceV1alpha3ApiDeleteCollectionDeviceClassRequest = {}, options?: Configuration): Promise { + return this.api.deleteCollectionDeviceClass(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } -export interface ResourceV1alpha2ApiDeleteCollectionResourceSliceRequest { /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteCollectionResourceSlice + * delete collection of ResourceClaim + * @param param the request object */ - pretty?: string + public deleteCollectionNamespacedResourceClaimWithHttpInfo(param: ResourceV1alpha3ApiDeleteCollectionNamespacedResourceClaimRequest, options?: Configuration): Promise> { + return this.api.deleteCollectionNamespacedResourceClaimWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } + /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteCollectionResourceSlice + * delete collection of ResourceClaim + * @param param the request object */ - _continue?: string + public deleteCollectionNamespacedResourceClaim(param: ResourceV1alpha3ApiDeleteCollectionNamespacedResourceClaimRequest, options?: Configuration): Promise { + return this.api.deleteCollectionNamespacedResourceClaim(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } + /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteCollectionResourceSlice + * delete collection of ResourceClaimTemplate + * @param param the request object */ - dryRun?: string + public deleteCollectionNamespacedResourceClaimTemplateWithHttpInfo(param: ResourceV1alpha3ApiDeleteCollectionNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise> { + return this.api.deleteCollectionNamespacedResourceClaimTemplateWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } + /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteCollectionResourceSlice + * delete collection of ResourceClaimTemplate + * @param param the request object */ - fieldSelector?: string + public deleteCollectionNamespacedResourceClaimTemplate(param: ResourceV1alpha3ApiDeleteCollectionNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise { + return this.api.deleteCollectionNamespacedResourceClaimTemplate(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } + /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApideleteCollectionResourceSlice + * delete collection of ResourceSlice + * @param param the request object */ - gracePeriodSeconds?: number + public deleteCollectionResourceSliceWithHttpInfo(param: ResourceV1alpha3ApiDeleteCollectionResourceSliceRequest = {}, options?: Configuration): Promise> { + return this.api.deleteCollectionResourceSliceWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } + /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteCollectionResourceSlice + * delete collection of ResourceSlice + * @param param the request object */ - labelSelector?: string + public deleteCollectionResourceSlice(param: ResourceV1alpha3ApiDeleteCollectionResourceSliceRequest = {}, options?: Configuration): Promise { + return this.api.deleteCollectionResourceSlice(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } + /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApideleteCollectionResourceSlice + * delete a DeviceClass + * @param param the request object */ - limit?: number + public deleteDeviceClassWithHttpInfo(param: ResourceV1alpha3ApiDeleteDeviceClassRequest, options?: Configuration): Promise> { + return this.api.deleteDeviceClassWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } + /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApideleteCollectionResourceSlice + * delete a DeviceClass + * @param param the request object */ - orphanDependents?: boolean + public deleteDeviceClass(param: ResourceV1alpha3ApiDeleteDeviceClassRequest, options?: Configuration): Promise { + return this.api.deleteDeviceClass(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } + /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteCollectionResourceSlice + * delete a ResourceClaim + * @param param the request object */ - propagationPolicy?: string + public deleteNamespacedResourceClaimWithHttpInfo(param: ResourceV1alpha3ApiDeleteNamespacedResourceClaimRequest, options?: Configuration): Promise> { + return this.api.deleteNamespacedResourceClaimWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } + /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteCollectionResourceSlice + * delete a ResourceClaim + * @param param the request object */ - resourceVersion?: string + public deleteNamespacedResourceClaim(param: ResourceV1alpha3ApiDeleteNamespacedResourceClaimRequest, options?: Configuration): Promise { + return this.api.deleteNamespacedResourceClaim(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } + /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteCollectionResourceSlice + * delete a ResourceClaimTemplate + * @param param the request object */ - resourceVersionMatch?: string + public deleteNamespacedResourceClaimTemplateWithHttpInfo(param: ResourceV1alpha3ApiDeleteNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise> { + return this.api.deleteNamespacedResourceClaimTemplateWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } + /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApideleteCollectionResourceSlice + * delete a ResourceClaimTemplate + * @param param the request object */ - sendInitialEvents?: boolean + public deleteNamespacedResourceClaimTemplate(param: ResourceV1alpha3ApiDeleteNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise { + return this.api.deleteNamespacedResourceClaimTemplate(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } + /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApideleteCollectionResourceSlice + * delete a ResourceSlice + * @param param the request object */ - timeoutSeconds?: number + public deleteResourceSliceWithHttpInfo(param: ResourceV1alpha3ApiDeleteResourceSliceRequest, options?: Configuration): Promise> { + return this.api.deleteResourceSliceWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } + /** - * - * @type V1DeleteOptions - * @memberof ResourceV1alpha2ApideleteCollectionResourceSlice + * delete a ResourceSlice + * @param param the request object */ - body?: V1DeleteOptions -} + public deleteResourceSlice(param: ResourceV1alpha3ApiDeleteResourceSliceRequest, options?: Configuration): Promise { + return this.api.deleteResourceSlice(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } -export interface ResourceV1alpha2ApiDeleteNamespacedPodSchedulingContextRequest { /** - * name of the PodSchedulingContext - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteNamespacedPodSchedulingContext + * get available resources + * @param param the request object */ - name: string + public getAPIResourcesWithHttpInfo(param: ResourceV1alpha3ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise> { + return this.api.getAPIResourcesWithHttpInfo( options).toPromise(); + } + /** - * object name and auth scope, such as for teams and projects - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteNamespacedPodSchedulingContext + * get available resources + * @param param the request object */ - namespace: string + public getAPIResources(param: ResourceV1alpha3ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise { + return this.api.getAPIResources( options).toPromise(); + } + /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteNamespacedPodSchedulingContext + * list or watch objects of kind DeviceClass + * @param param the request object */ - pretty?: string + public listDeviceClassWithHttpInfo(param: ResourceV1alpha3ApiListDeviceClassRequest = {}, options?: Configuration): Promise> { + return this.api.listDeviceClassWithHttpInfo(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteNamespacedPodSchedulingContext + * list or watch objects of kind DeviceClass + * @param param the request object */ - dryRun?: string + public listDeviceClass(param: ResourceV1alpha3ApiListDeviceClassRequest = {}, options?: Configuration): Promise { + return this.api.listDeviceClass(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApideleteNamespacedPodSchedulingContext + * list or watch objects of kind ResourceClaim + * @param param the request object */ - gracePeriodSeconds?: number + public listNamespacedResourceClaimWithHttpInfo(param: ResourceV1alpha3ApiListNamespacedResourceClaimRequest, options?: Configuration): Promise> { + return this.api.listNamespacedResourceClaimWithHttpInfo(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApideleteNamespacedPodSchedulingContext + * list or watch objects of kind ResourceClaim + * @param param the request object */ - orphanDependents?: boolean + public listNamespacedResourceClaim(param: ResourceV1alpha3ApiListNamespacedResourceClaimRequest, options?: Configuration): Promise { + return this.api.listNamespacedResourceClaim(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteNamespacedPodSchedulingContext + * list or watch objects of kind ResourceClaimTemplate + * @param param the request object */ - propagationPolicy?: string + public listNamespacedResourceClaimTemplateWithHttpInfo(param: ResourceV1alpha3ApiListNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise> { + return this.api.listNamespacedResourceClaimTemplateWithHttpInfo(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * - * @type V1DeleteOptions - * @memberof ResourceV1alpha2ApideleteNamespacedPodSchedulingContext + * list or watch objects of kind ResourceClaimTemplate + * @param param the request object */ - body?: V1DeleteOptions -} + public listNamespacedResourceClaimTemplate(param: ResourceV1alpha3ApiListNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise { + return this.api.listNamespacedResourceClaimTemplate(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } -export interface ResourceV1alpha2ApiDeleteNamespacedResourceClaimRequest { /** - * name of the ResourceClaim - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClaim + * list or watch objects of kind ResourceClaim + * @param param the request object */ - name: string + public listResourceClaimForAllNamespacesWithHttpInfo(param: ResourceV1alpha3ApiListResourceClaimForAllNamespacesRequest = {}, options?: Configuration): Promise> { + return this.api.listResourceClaimForAllNamespacesWithHttpInfo(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * object name and auth scope, such as for teams and projects - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClaim + * list or watch objects of kind ResourceClaim + * @param param the request object */ - namespace: string + public listResourceClaimForAllNamespaces(param: ResourceV1alpha3ApiListResourceClaimForAllNamespacesRequest = {}, options?: Configuration): Promise { + return this.api.listResourceClaimForAllNamespaces(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClaim + * list or watch objects of kind ResourceClaimTemplate + * @param param the request object */ - pretty?: string + public listResourceClaimTemplateForAllNamespacesWithHttpInfo(param: ResourceV1alpha3ApiListResourceClaimTemplateForAllNamespacesRequest = {}, options?: Configuration): Promise> { + return this.api.listResourceClaimTemplateForAllNamespacesWithHttpInfo(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClaim + * list or watch objects of kind ResourceClaimTemplate + * @param param the request object */ - dryRun?: string + public listResourceClaimTemplateForAllNamespaces(param: ResourceV1alpha3ApiListResourceClaimTemplateForAllNamespacesRequest = {}, options?: Configuration): Promise { + return this.api.listResourceClaimTemplateForAllNamespaces(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClaim + * list or watch objects of kind ResourceSlice + * @param param the request object + */ + public listResourceSliceWithHttpInfo(param: ResourceV1alpha3ApiListResourceSliceRequest = {}, options?: Configuration): Promise> { + return this.api.listResourceSliceWithHttpInfo(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + + /** + * list or watch objects of kind ResourceSlice + * @param param the request object + */ + public listResourceSlice(param: ResourceV1alpha3ApiListResourceSliceRequest = {}, options?: Configuration): Promise { + return this.api.listResourceSlice(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + + /** + * partially update the specified DeviceClass + * @param param the request object + */ + public patchDeviceClassWithHttpInfo(param: ResourceV1alpha3ApiPatchDeviceClassRequest, options?: Configuration): Promise> { + return this.api.patchDeviceClassWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + + /** + * partially update the specified DeviceClass + * @param param the request object + */ + public patchDeviceClass(param: ResourceV1alpha3ApiPatchDeviceClassRequest, options?: Configuration): Promise { + return this.api.patchDeviceClass(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + + /** + * partially update the specified ResourceClaim + * @param param the request object + */ + public patchNamespacedResourceClaimWithHttpInfo(param: ResourceV1alpha3ApiPatchNamespacedResourceClaimRequest, options?: Configuration): Promise> { + return this.api.patchNamespacedResourceClaimWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + + /** + * partially update the specified ResourceClaim + * @param param the request object + */ + public patchNamespacedResourceClaim(param: ResourceV1alpha3ApiPatchNamespacedResourceClaimRequest, options?: Configuration): Promise { + return this.api.patchNamespacedResourceClaim(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + + /** + * partially update status of the specified ResourceClaim + * @param param the request object + */ + public patchNamespacedResourceClaimStatusWithHttpInfo(param: ResourceV1alpha3ApiPatchNamespacedResourceClaimStatusRequest, options?: Configuration): Promise> { + return this.api.patchNamespacedResourceClaimStatusWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + + /** + * partially update status of the specified ResourceClaim + * @param param the request object + */ + public patchNamespacedResourceClaimStatus(param: ResourceV1alpha3ApiPatchNamespacedResourceClaimStatusRequest, options?: Configuration): Promise { + return this.api.patchNamespacedResourceClaimStatus(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + + /** + * partially update the specified ResourceClaimTemplate + * @param param the request object + */ + public patchNamespacedResourceClaimTemplateWithHttpInfo(param: ResourceV1alpha3ApiPatchNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise> { + return this.api.patchNamespacedResourceClaimTemplateWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + + /** + * partially update the specified ResourceClaimTemplate + * @param param the request object + */ + public patchNamespacedResourceClaimTemplate(param: ResourceV1alpha3ApiPatchNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise { + return this.api.patchNamespacedResourceClaimTemplate(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + + /** + * partially update the specified ResourceSlice + * @param param the request object + */ + public patchResourceSliceWithHttpInfo(param: ResourceV1alpha3ApiPatchResourceSliceRequest, options?: Configuration): Promise> { + return this.api.patchResourceSliceWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + + /** + * partially update the specified ResourceSlice + * @param param the request object + */ + public patchResourceSlice(param: ResourceV1alpha3ApiPatchResourceSliceRequest, options?: Configuration): Promise { + return this.api.patchResourceSlice(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + + /** + * read the specified DeviceClass + * @param param the request object + */ + public readDeviceClassWithHttpInfo(param: ResourceV1alpha3ApiReadDeviceClassRequest, options?: Configuration): Promise> { + return this.api.readDeviceClassWithHttpInfo(param.name, param.pretty, options).toPromise(); + } + + /** + * read the specified DeviceClass + * @param param the request object + */ + public readDeviceClass(param: ResourceV1alpha3ApiReadDeviceClassRequest, options?: Configuration): Promise { + return this.api.readDeviceClass(param.name, param.pretty, options).toPromise(); + } + + /** + * read the specified ResourceClaim + * @param param the request object + */ + public readNamespacedResourceClaimWithHttpInfo(param: ResourceV1alpha3ApiReadNamespacedResourceClaimRequest, options?: Configuration): Promise> { + return this.api.readNamespacedResourceClaimWithHttpInfo(param.name, param.namespace, param.pretty, options).toPromise(); + } + + /** + * read the specified ResourceClaim + * @param param the request object + */ + public readNamespacedResourceClaim(param: ResourceV1alpha3ApiReadNamespacedResourceClaimRequest, options?: Configuration): Promise { + return this.api.readNamespacedResourceClaim(param.name, param.namespace, param.pretty, options).toPromise(); + } + + /** + * read status of the specified ResourceClaim + * @param param the request object + */ + public readNamespacedResourceClaimStatusWithHttpInfo(param: ResourceV1alpha3ApiReadNamespacedResourceClaimStatusRequest, options?: Configuration): Promise> { + return this.api.readNamespacedResourceClaimStatusWithHttpInfo(param.name, param.namespace, param.pretty, options).toPromise(); + } + + /** + * read status of the specified ResourceClaim + * @param param the request object + */ + public readNamespacedResourceClaimStatus(param: ResourceV1alpha3ApiReadNamespacedResourceClaimStatusRequest, options?: Configuration): Promise { + return this.api.readNamespacedResourceClaimStatus(param.name, param.namespace, param.pretty, options).toPromise(); + } + + /** + * read the specified ResourceClaimTemplate + * @param param the request object + */ + public readNamespacedResourceClaimTemplateWithHttpInfo(param: ResourceV1alpha3ApiReadNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise> { + return this.api.readNamespacedResourceClaimTemplateWithHttpInfo(param.name, param.namespace, param.pretty, options).toPromise(); + } + + /** + * read the specified ResourceClaimTemplate + * @param param the request object */ - gracePeriodSeconds?: number + public readNamespacedResourceClaimTemplate(param: ResourceV1alpha3ApiReadNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise { + return this.api.readNamespacedResourceClaimTemplate(param.name, param.namespace, param.pretty, options).toPromise(); + } + /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClaim + * read the specified ResourceSlice + * @param param the request object */ - orphanDependents?: boolean + public readResourceSliceWithHttpInfo(param: ResourceV1alpha3ApiReadResourceSliceRequest, options?: Configuration): Promise> { + return this.api.readResourceSliceWithHttpInfo(param.name, param.pretty, options).toPromise(); + } + /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClaim + * read the specified ResourceSlice + * @param param the request object */ - propagationPolicy?: string + public readResourceSlice(param: ResourceV1alpha3ApiReadResourceSliceRequest, options?: Configuration): Promise { + return this.api.readResourceSlice(param.name, param.pretty, options).toPromise(); + } + /** - * - * @type V1DeleteOptions - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClaim + * replace the specified DeviceClass + * @param param the request object */ - body?: V1DeleteOptions -} + public replaceDeviceClassWithHttpInfo(param: ResourceV1alpha3ApiReplaceDeviceClassRequest, options?: Configuration): Promise> { + return this.api.replaceDeviceClassWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } -export interface ResourceV1alpha2ApiDeleteNamespacedResourceClaimParametersRequest { /** - * name of the ResourceClaimParameters - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClaimParameters + * replace the specified DeviceClass + * @param param the request object */ - name: string + public replaceDeviceClass(param: ResourceV1alpha3ApiReplaceDeviceClassRequest, options?: Configuration): Promise { + return this.api.replaceDeviceClass(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * object name and auth scope, such as for teams and projects - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClaimParameters + * replace the specified ResourceClaim + * @param param the request object */ - namespace: string + public replaceNamespacedResourceClaimWithHttpInfo(param: ResourceV1alpha3ApiReplaceNamespacedResourceClaimRequest, options?: Configuration): Promise> { + return this.api.replaceNamespacedResourceClaimWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClaimParameters + * replace the specified ResourceClaim + * @param param the request object */ - pretty?: string + public replaceNamespacedResourceClaim(param: ResourceV1alpha3ApiReplaceNamespacedResourceClaimRequest, options?: Configuration): Promise { + return this.api.replaceNamespacedResourceClaim(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClaimParameters + * replace status of the specified ResourceClaim + * @param param the request object */ - dryRun?: string + public replaceNamespacedResourceClaimStatusWithHttpInfo(param: ResourceV1alpha3ApiReplaceNamespacedResourceClaimStatusRequest, options?: Configuration): Promise> { + return this.api.replaceNamespacedResourceClaimStatusWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClaimParameters + * replace status of the specified ResourceClaim + * @param param the request object */ - gracePeriodSeconds?: number + public replaceNamespacedResourceClaimStatus(param: ResourceV1alpha3ApiReplaceNamespacedResourceClaimStatusRequest, options?: Configuration): Promise { + return this.api.replaceNamespacedResourceClaimStatus(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClaimParameters + * replace the specified ResourceClaimTemplate + * @param param the request object */ - orphanDependents?: boolean + public replaceNamespacedResourceClaimTemplateWithHttpInfo(param: ResourceV1alpha3ApiReplaceNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise> { + return this.api.replaceNamespacedResourceClaimTemplateWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClaimParameters + * replace the specified ResourceClaimTemplate + * @param param the request object */ - propagationPolicy?: string + public replaceNamespacedResourceClaimTemplate(param: ResourceV1alpha3ApiReplaceNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise { + return this.api.replaceNamespacedResourceClaimTemplate(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + /** - * - * @type V1DeleteOptions - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClaimParameters + * replace the specified ResourceSlice + * @param param the request object */ - body?: V1DeleteOptions -} + public replaceResourceSliceWithHttpInfo(param: ResourceV1alpha3ApiReplaceResourceSliceRequest, options?: Configuration): Promise> { + return this.api.replaceResourceSliceWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } -export interface ResourceV1alpha2ApiDeleteNamespacedResourceClaimTemplateRequest { /** - * name of the ResourceClaimTemplate - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClaimTemplate + * replace the specified ResourceSlice + * @param param the request object */ - name: string + public replaceResourceSlice(param: ResourceV1alpha3ApiReplaceResourceSliceRequest, options?: Configuration): Promise { + return this.api.replaceResourceSlice(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + +} + +import { ObservableResourceV1beta1Api } from "./ObservableAPI"; +import { ResourceV1beta1ApiRequestFactory, ResourceV1beta1ApiResponseProcessor} from "../apis/ResourceV1beta1Api"; + +export interface ResourceV1beta1ApiCreateDeviceClassRequest { /** - * object name and auth scope, such as for teams and projects - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClaimTemplate + * + * @type V1beta1DeviceClass + * @memberof ResourceV1beta1ApicreateDeviceClass */ - namespace: string + body: V1beta1DeviceClass /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClaimTemplate + * @memberof ResourceV1beta1ApicreateDeviceClass */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClaimTemplate + * @memberof ResourceV1beta1ApicreateDeviceClass */ dryRun?: string /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClaimTemplate - */ - gracePeriodSeconds?: number - /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClaimTemplate + * @type string + * @memberof ResourceV1beta1ApicreateDeviceClass */ - orphanDependents?: boolean + fieldManager?: string /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClaimTemplate + * @memberof ResourceV1beta1ApicreateDeviceClass */ - propagationPolicy?: string - /** - * - * @type V1DeleteOptions - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClaimTemplate - */ - body?: V1DeleteOptions + fieldValidation?: string } -export interface ResourceV1alpha2ApiDeleteNamespacedResourceClassParametersRequest { - /** - * name of the ResourceClassParameters - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClassParameters - */ - name: string +export interface ResourceV1beta1ApiCreateNamespacedResourceClaimRequest { /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClassParameters + * @memberof ResourceV1beta1ApicreateNamespacedResourceClaim */ namespace: string + /** + * + * @type V1beta1ResourceClaim + * @memberof ResourceV1beta1ApicreateNamespacedResourceClaim + */ + body: V1beta1ResourceClaim /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClassParameters + * @memberof ResourceV1beta1ApicreateNamespacedResourceClaim */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClassParameters + * @memberof ResourceV1beta1ApicreateNamespacedResourceClaim */ dryRun?: string /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClassParameters - */ - gracePeriodSeconds?: number - /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClassParameters + * @type string + * @memberof ResourceV1beta1ApicreateNamespacedResourceClaim */ - orphanDependents?: boolean + fieldManager?: string /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClassParameters - */ - propagationPolicy?: string - /** - * - * @type V1DeleteOptions - * @memberof ResourceV1alpha2ApideleteNamespacedResourceClassParameters + * @memberof ResourceV1beta1ApicreateNamespacedResourceClaim */ - body?: V1DeleteOptions + fieldValidation?: string } -export interface ResourceV1alpha2ApiDeleteResourceClassRequest { +export interface ResourceV1beta1ApiCreateNamespacedResourceClaimTemplateRequest { /** - * name of the ResourceClass + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteResourceClass + * @memberof ResourceV1beta1ApicreateNamespacedResourceClaimTemplate */ - name: string + namespace: string + /** + * + * @type V1beta1ResourceClaimTemplate + * @memberof ResourceV1beta1ApicreateNamespacedResourceClaimTemplate + */ + body: V1beta1ResourceClaimTemplate /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteResourceClass + * @memberof ResourceV1beta1ApicreateNamespacedResourceClaimTemplate */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteResourceClass + * @memberof ResourceV1beta1ApicreateNamespacedResourceClaimTemplate */ dryRun?: string /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApideleteResourceClass - */ - gracePeriodSeconds?: number - /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApideleteResourceClass + * @type string + * @memberof ResourceV1beta1ApicreateNamespacedResourceClaimTemplate */ - orphanDependents?: boolean + fieldManager?: string /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteResourceClass + * @memberof ResourceV1beta1ApicreateNamespacedResourceClaimTemplate */ - propagationPolicy?: string - /** - * - * @type V1DeleteOptions - * @memberof ResourceV1alpha2ApideleteResourceClass - */ - body?: V1DeleteOptions + fieldValidation?: string } -export interface ResourceV1alpha2ApiDeleteResourceSliceRequest { +export interface ResourceV1beta1ApiCreateResourceSliceRequest { /** - * name of the ResourceSlice - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApideleteResourceSlice + * + * @type V1beta1ResourceSlice + * @memberof ResourceV1beta1ApicreateResourceSlice */ - name: string + body: V1beta1ResourceSlice /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteResourceSlice + * @memberof ResourceV1beta1ApicreateResourceSlice */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteResourceSlice + * @memberof ResourceV1beta1ApicreateResourceSlice */ dryRun?: string /** - * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApideleteResourceSlice - */ - gracePeriodSeconds?: number - /** - * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApideleteResourceSlice + * @type string + * @memberof ResourceV1beta1ApicreateResourceSlice */ - orphanDependents?: boolean + fieldManager?: string /** - * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApideleteResourceSlice - */ - propagationPolicy?: string - /** - * - * @type V1DeleteOptions - * @memberof ResourceV1alpha2ApideleteResourceSlice + * @memberof ResourceV1beta1ApicreateResourceSlice */ - body?: V1DeleteOptions -} - -export interface ResourceV1alpha2ApiGetAPIResourcesRequest { + fieldValidation?: string } -export interface ResourceV1alpha2ApiListNamespacedPodSchedulingContextRequest { - /** - * object name and auth scope, such as for teams and projects - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApilistNamespacedPodSchedulingContext - */ - namespace: string +export interface ResourceV1beta1ApiDeleteCollectionDeviceClassRequest { /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistNamespacedPodSchedulingContext + * @memberof ResourceV1beta1ApideleteCollectionDeviceClass */ pretty?: string - /** - * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApilistNamespacedPodSchedulingContext - */ - allowWatchBookmarks?: boolean /** * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistNamespacedPodSchedulingContext + * @memberof ResourceV1beta1ApideleteCollectionDeviceClass */ _continue?: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApilistNamespacedPodSchedulingContext - */ - fieldSelector?: string - /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApilistNamespacedPodSchedulingContext - */ - labelSelector?: string - /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApilistNamespacedPodSchedulingContext - */ - limit?: number - /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistNamespacedPodSchedulingContext + * @memberof ResourceV1beta1ApideleteCollectionDeviceClass */ - resourceVersion?: string + dryRun?: string /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistNamespacedPodSchedulingContext - */ - resourceVersionMatch?: string - /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApilistNamespacedPodSchedulingContext + * @memberof ResourceV1beta1ApideleteCollectionDeviceClass */ - sendInitialEvents?: boolean + fieldSelector?: string /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof ResourceV1alpha2ApilistNamespacedPodSchedulingContext + * @memberof ResourceV1beta1ApideleteCollectionDeviceClass */ - timeoutSeconds?: number + gracePeriodSeconds?: number /** - * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * Defaults to: undefined * @type boolean - * @memberof ResourceV1alpha2ApilistNamespacedPodSchedulingContext + * @memberof ResourceV1beta1ApideleteCollectionDeviceClass */ - watch?: boolean -} - -export interface ResourceV1alpha2ApiListNamespacedResourceClaimRequest { + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** - * object name and auth scope, such as for teams and projects + * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaim + * @memberof ResourceV1beta1ApideleteCollectionDeviceClass */ - namespace: string + labelSelector?: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaim + * @type number + * @memberof ResourceV1beta1ApideleteCollectionDeviceClass */ - pretty?: string + limit?: number /** - * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaim - */ - allowWatchBookmarks?: boolean - /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaim - */ - _continue?: string - /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaim + * @memberof ResourceV1beta1ApideleteCollectionDeviceClass */ - fieldSelector?: string + orphanDependents?: boolean /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaim - */ - labelSelector?: string - /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaim + * @memberof ResourceV1beta1ApideleteCollectionDeviceClass */ - limit?: number + propagationPolicy?: string /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaim + * @memberof ResourceV1beta1ApideleteCollectionDeviceClass */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaim + * @memberof ResourceV1beta1ApideleteCollectionDeviceClass */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaim + * @memberof ResourceV1beta1ApideleteCollectionDeviceClass */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaim + * @memberof ResourceV1beta1ApideleteCollectionDeviceClass */ timeoutSeconds?: number /** - * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaim + * + * @type V1DeleteOptions + * @memberof ResourceV1beta1ApideleteCollectionDeviceClass */ - watch?: boolean + body?: V1DeleteOptions } -export interface ResourceV1alpha2ApiListNamespacedResourceClaimParametersRequest { +export interface ResourceV1beta1ApiDeleteCollectionNamespacedResourceClaimRequest { /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaimParameters + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaim */ namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaimParameters + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaim */ pretty?: string - /** - * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaimParameters - */ - allowWatchBookmarks?: boolean /** * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaimParameters + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaim */ _continue?: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaimParameters - */ - fieldSelector?: string - /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaimParameters - */ - labelSelector?: string - /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaimParameters - */ - limit?: number - /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaimParameters + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaim */ - resourceVersion?: string + dryRun?: string /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaimParameters + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaim */ - resourceVersionMatch?: string - /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaimParameters - */ - sendInitialEvents?: boolean + fieldSelector?: string /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaimParameters + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaim */ - timeoutSeconds?: number + gracePeriodSeconds?: number /** - * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * Defaults to: undefined * @type boolean - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaimParameters + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaim */ - watch?: boolean -} - -export interface ResourceV1alpha2ApiListNamespacedResourceClaimTemplateRequest { + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** - * object name and auth scope, such as for teams and projects + * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaimTemplate + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaim */ - namespace: string + labelSelector?: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaimTemplate + * @type number + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaim */ - pretty?: string + limit?: number /** - * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaimTemplate - */ - allowWatchBookmarks?: boolean - /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaimTemplate - */ - _continue?: string - /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaimTemplate + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaim */ - fieldSelector?: string + orphanDependents?: boolean /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaimTemplate - */ - labelSelector?: string - /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaimTemplate + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaim */ - limit?: number + propagationPolicy?: string /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaimTemplate + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaim */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaimTemplate + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaim */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaimTemplate + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaim */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaimTemplate + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaim */ timeoutSeconds?: number /** - * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApilistNamespacedResourceClaimTemplate + * + * @type V1DeleteOptions + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaim */ - watch?: boolean + body?: V1DeleteOptions } -export interface ResourceV1alpha2ApiListNamespacedResourceClassParametersRequest { +export interface ResourceV1beta1ApiDeleteCollectionNamespacedResourceClaimTemplateRequest { /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistNamespacedResourceClassParameters + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaimTemplate */ namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistNamespacedResourceClassParameters + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaimTemplate */ pretty?: string - /** - * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApilistNamespacedResourceClassParameters - */ - allowWatchBookmarks?: boolean /** * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistNamespacedResourceClassParameters + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaimTemplate */ _continue?: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApilistNamespacedResourceClassParameters - */ - fieldSelector?: string - /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApilistNamespacedResourceClassParameters - */ - labelSelector?: string - /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApilistNamespacedResourceClassParameters - */ - limit?: number - /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistNamespacedResourceClassParameters + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaimTemplate */ - resourceVersion?: string + dryRun?: string /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistNamespacedResourceClassParameters - */ - resourceVersionMatch?: string - /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApilistNamespacedResourceClassParameters + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaimTemplate */ - sendInitialEvents?: boolean + fieldSelector?: string /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof ResourceV1alpha2ApilistNamespacedResourceClassParameters - */ - timeoutSeconds?: number - /** - * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApilistNamespacedResourceClassParameters + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaimTemplate */ - watch?: boolean -} - -export interface ResourceV1alpha2ApiListPodSchedulingContextForAllNamespacesRequest { + gracePeriodSeconds?: number /** - * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * Defaults to: undefined * @type boolean - * @memberof ResourceV1alpha2ApilistPodSchedulingContextForAllNamespaces - */ - allowWatchBookmarks?: boolean - /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApilistPodSchedulingContextForAllNamespaces - */ - _continue?: string - /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApilistPodSchedulingContextForAllNamespaces + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaimTemplate */ - fieldSelector?: string + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistPodSchedulingContextForAllNamespaces + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaimTemplate */ labelSelector?: string /** * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined * @type number - * @memberof ResourceV1alpha2ApilistPodSchedulingContextForAllNamespaces + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaimTemplate */ limit?: number /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaimTemplate + */ + orphanDependents?: boolean + /** + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistPodSchedulingContextForAllNamespaces + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaimTemplate */ - pretty?: string + propagationPolicy?: string /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistPodSchedulingContextForAllNamespaces + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaimTemplate */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistPodSchedulingContextForAllNamespaces + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaimTemplate */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof ResourceV1alpha2ApilistPodSchedulingContextForAllNamespaces + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaimTemplate */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof ResourceV1alpha2ApilistPodSchedulingContextForAllNamespaces + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaimTemplate */ timeoutSeconds?: number /** - * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApilistPodSchedulingContextForAllNamespaces + * + * @type V1DeleteOptions + * @memberof ResourceV1beta1ApideleteCollectionNamespacedResourceClaimTemplate */ - watch?: boolean + body?: V1DeleteOptions } -export interface ResourceV1alpha2ApiListResourceClaimForAllNamespacesRequest { +export interface ResourceV1beta1ApiDeleteCollectionResourceSliceRequest { /** - * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApilistResourceClaimForAllNamespaces + * @type string + * @memberof ResourceV1beta1ApideleteCollectionResourceSlice */ - allowWatchBookmarks?: boolean + pretty?: string /** * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceClaimForAllNamespaces + * @memberof ResourceV1beta1ApideleteCollectionResourceSlice */ _continue?: string + /** + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof ResourceV1beta1ApideleteCollectionResourceSlice + */ + dryRun?: string /** * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceClaimForAllNamespaces + * @memberof ResourceV1beta1ApideleteCollectionResourceSlice */ fieldSelector?: string + /** + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * Defaults to: undefined + * @type number + * @memberof ResourceV1beta1ApideleteCollectionResourceSlice + */ + gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1beta1ApideleteCollectionResourceSlice + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceClaimForAllNamespaces + * @memberof ResourceV1beta1ApideleteCollectionResourceSlice */ labelSelector?: string /** * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined * @type number - * @memberof ResourceV1alpha2ApilistResourceClaimForAllNamespaces + * @memberof ResourceV1beta1ApideleteCollectionResourceSlice */ limit?: number /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1beta1ApideleteCollectionResourceSlice + */ + orphanDependents?: boolean + /** + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceClaimForAllNamespaces + * @memberof ResourceV1beta1ApideleteCollectionResourceSlice */ - pretty?: string + propagationPolicy?: string /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceClaimForAllNamespaces + * @memberof ResourceV1beta1ApideleteCollectionResourceSlice */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceClaimForAllNamespaces + * @memberof ResourceV1beta1ApideleteCollectionResourceSlice */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof ResourceV1alpha2ApilistResourceClaimForAllNamespaces + * @memberof ResourceV1beta1ApideleteCollectionResourceSlice */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof ResourceV1alpha2ApilistResourceClaimForAllNamespaces + * @memberof ResourceV1beta1ApideleteCollectionResourceSlice */ timeoutSeconds?: number /** - * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApilistResourceClaimForAllNamespaces + * + * @type V1DeleteOptions + * @memberof ResourceV1beta1ApideleteCollectionResourceSlice */ - watch?: boolean + body?: V1DeleteOptions } -export interface ResourceV1alpha2ApiListResourceClaimParametersForAllNamespacesRequest { +export interface ResourceV1beta1ApiDeleteDeviceClassRequest { /** - * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * name of the DeviceClass * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApilistResourceClaimParametersForAllNamespaces + * @type string + * @memberof ResourceV1beta1ApideleteDeviceClass */ - allowWatchBookmarks?: boolean + name: string /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceClaimParametersForAllNamespaces + * @memberof ResourceV1beta1ApideleteDeviceClass */ - _continue?: string + pretty?: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceClaimParametersForAllNamespaces + * @memberof ResourceV1beta1ApideleteDeviceClass */ - fieldSelector?: string + dryRun?: string /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApilistResourceClaimParametersForAllNamespaces + * @type number + * @memberof ResourceV1beta1ApideleteDeviceClass */ - labelSelector?: string + gracePeriodSeconds?: number /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApilistResourceClaimParametersForAllNamespaces + * @type boolean + * @memberof ResourceV1beta1ApideleteDeviceClass */ - limit?: number + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1beta1ApideleteDeviceClass + */ + orphanDependents?: boolean + /** + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceClaimParametersForAllNamespaces + * @memberof ResourceV1beta1ApideleteDeviceClass */ - pretty?: string + propagationPolicy?: string /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * + * @type V1DeleteOptions + * @memberof ResourceV1beta1ApideleteDeviceClass + */ + body?: V1DeleteOptions +} + +export interface ResourceV1beta1ApiDeleteNamespacedResourceClaimRequest { + /** + * name of the ResourceClaim * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceClaimParametersForAllNamespaces + * @memberof ResourceV1beta1ApideleteNamespacedResourceClaim */ - resourceVersion?: string + name: string /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceClaimParametersForAllNamespaces + * @memberof ResourceV1beta1ApideleteNamespacedResourceClaim */ - resourceVersionMatch?: string + namespace: string /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApilistResourceClaimParametersForAllNamespaces + * @type string + * @memberof ResourceV1beta1ApideleteNamespacedResourceClaim */ - sendInitialEvents?: boolean + pretty?: string /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof ResourceV1beta1ApideleteNamespacedResourceClaim + */ + dryRun?: string + /** + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof ResourceV1alpha2ApilistResourceClaimParametersForAllNamespaces + * @memberof ResourceV1beta1ApideleteNamespacedResourceClaim */ - timeoutSeconds?: number + gracePeriodSeconds?: number /** - * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * Defaults to: undefined * @type boolean - * @memberof ResourceV1alpha2ApilistResourceClaimParametersForAllNamespaces + * @memberof ResourceV1beta1ApideleteNamespacedResourceClaim */ - watch?: boolean -} - -export interface ResourceV1alpha2ApiListResourceClaimTemplateForAllNamespacesRequest { + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** - * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof ResourceV1alpha2ApilistResourceClaimTemplateForAllNamespaces + * @memberof ResourceV1beta1ApideleteNamespacedResourceClaim */ - allowWatchBookmarks?: boolean + orphanDependents?: boolean /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceClaimTemplateForAllNamespaces + * @memberof ResourceV1beta1ApideleteNamespacedResourceClaim */ - _continue?: string + propagationPolicy?: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApilistResourceClaimTemplateForAllNamespaces + * + * @type V1DeleteOptions + * @memberof ResourceV1beta1ApideleteNamespacedResourceClaim */ - fieldSelector?: string + body?: V1DeleteOptions +} + +export interface ResourceV1beta1ApiDeleteNamespacedResourceClaimTemplateRequest { /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * name of the ResourceClaimTemplate * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceClaimTemplateForAllNamespaces + * @memberof ResourceV1beta1ApideleteNamespacedResourceClaimTemplate */ - labelSelector?: string + name: string /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * object name and auth scope, such as for teams and projects * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApilistResourceClaimTemplateForAllNamespaces + * @type string + * @memberof ResourceV1beta1ApideleteNamespacedResourceClaimTemplate */ - limit?: number + namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceClaimTemplateForAllNamespaces + * @memberof ResourceV1beta1ApideleteNamespacedResourceClaimTemplate */ pretty?: string /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceClaimTemplateForAllNamespaces + * @memberof ResourceV1beta1ApideleteNamespacedResourceClaimTemplate */ - resourceVersion?: string + dryRun?: string /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApilistResourceClaimTemplateForAllNamespaces + * @type number + * @memberof ResourceV1beta1ApideleteNamespacedResourceClaimTemplate */ - resourceVersionMatch?: string + gracePeriodSeconds?: number /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * Defaults to: undefined * @type boolean - * @memberof ResourceV1alpha2ApilistResourceClaimTemplateForAllNamespaces - */ - sendInitialEvents?: boolean - /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApilistResourceClaimTemplateForAllNamespaces + * @memberof ResourceV1beta1ApideleteNamespacedResourceClaimTemplate */ - timeoutSeconds?: number + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** - * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof ResourceV1alpha2ApilistResourceClaimTemplateForAllNamespaces + * @memberof ResourceV1beta1ApideleteNamespacedResourceClaimTemplate */ - watch?: boolean -} - -export interface ResourceV1alpha2ApiListResourceClassRequest { + orphanDependents?: boolean /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceClass + * @memberof ResourceV1beta1ApideleteNamespacedResourceClaimTemplate */ - pretty?: string + propagationPolicy?: string /** - * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApilistResourceClass + * + * @type V1DeleteOptions + * @memberof ResourceV1beta1ApideleteNamespacedResourceClaimTemplate */ - allowWatchBookmarks?: boolean + body?: V1DeleteOptions +} + +export interface ResourceV1beta1ApiDeleteResourceSliceRequest { /** - * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * name of the ResourceSlice * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceClass + * @memberof ResourceV1beta1ApideleteResourceSlice */ - _continue?: string + name: string /** - * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceClass + * @memberof ResourceV1beta1ApideleteResourceSlice */ - fieldSelector?: string + pretty?: string /** - * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceClass + * @memberof ResourceV1beta1ApideleteResourceSlice */ - labelSelector?: string + dryRun?: string /** - * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * Defaults to: undefined * @type number - * @memberof ResourceV1alpha2ApilistResourceClass - */ - limit?: number - /** - * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApilistResourceClass + * @memberof ResourceV1beta1ApideleteResourceSlice */ - resourceVersion?: string + gracePeriodSeconds?: number /** - * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApilistResourceClass + * @type boolean + * @memberof ResourceV1beta1ApideleteResourceSlice */ - resourceVersionMatch?: string + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** - * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined * @type boolean - * @memberof ResourceV1alpha2ApilistResourceClass + * @memberof ResourceV1beta1ApideleteResourceSlice */ - sendInitialEvents?: boolean + orphanDependents?: boolean /** - * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * Defaults to: undefined - * @type number - * @memberof ResourceV1alpha2ApilistResourceClass + * @type string + * @memberof ResourceV1beta1ApideleteResourceSlice */ - timeoutSeconds?: number + propagationPolicy?: string /** - * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApilistResourceClass + * + * @type V1DeleteOptions + * @memberof ResourceV1beta1ApideleteResourceSlice */ - watch?: boolean + body?: V1DeleteOptions +} + +export interface ResourceV1beta1ApiGetAPIResourcesRequest { } -export interface ResourceV1alpha2ApiListResourceClassParametersForAllNamespacesRequest { +export interface ResourceV1beta1ApiListDeviceClassRequest { + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof ResourceV1beta1ApilistDeviceClass + */ + pretty?: string /** * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * Defaults to: undefined * @type boolean - * @memberof ResourceV1alpha2ApilistResourceClassParametersForAllNamespaces + * @memberof ResourceV1beta1ApilistDeviceClass */ allowWatchBookmarks?: boolean /** * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceClassParametersForAllNamespaces + * @memberof ResourceV1beta1ApilistDeviceClass */ _continue?: string /** * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceClassParametersForAllNamespaces + * @memberof ResourceV1beta1ApilistDeviceClass */ fieldSelector?: string /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceClassParametersForAllNamespaces + * @memberof ResourceV1beta1ApilistDeviceClass */ labelSelector?: string /** * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined * @type number - * @memberof ResourceV1alpha2ApilistResourceClassParametersForAllNamespaces + * @memberof ResourceV1beta1ApilistDeviceClass */ limit?: number - /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApilistResourceClassParametersForAllNamespaces - */ - pretty?: string /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceClassParametersForAllNamespaces + * @memberof ResourceV1beta1ApilistDeviceClass */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceClassParametersForAllNamespaces + * @memberof ResourceV1beta1ApilistDeviceClass */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof ResourceV1alpha2ApilistResourceClassParametersForAllNamespaces + * @memberof ResourceV1beta1ApilistDeviceClass */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof ResourceV1alpha2ApilistResourceClassParametersForAllNamespaces + * @memberof ResourceV1beta1ApilistDeviceClass */ timeoutSeconds?: number /** * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. * Defaults to: undefined * @type boolean - * @memberof ResourceV1alpha2ApilistResourceClassParametersForAllNamespaces + * @memberof ResourceV1beta1ApilistDeviceClass */ watch?: boolean } -export interface ResourceV1alpha2ApiListResourceSliceRequest { +export interface ResourceV1beta1ApiListNamespacedResourceClaimRequest { + /** + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof ResourceV1beta1ApilistNamespacedResourceClaim + */ + namespace: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceSlice + * @memberof ResourceV1beta1ApilistNamespacedResourceClaim */ pretty?: string /** * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * Defaults to: undefined * @type boolean - * @memberof ResourceV1alpha2ApilistResourceSlice + * @memberof ResourceV1beta1ApilistNamespacedResourceClaim */ allowWatchBookmarks?: boolean /** * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceSlice + * @memberof ResourceV1beta1ApilistNamespacedResourceClaim */ _continue?: string /** * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceSlice + * @memberof ResourceV1beta1ApilistNamespacedResourceClaim */ fieldSelector?: string /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceSlice + * @memberof ResourceV1beta1ApilistNamespacedResourceClaim */ labelSelector?: string /** * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined * @type number - * @memberof ResourceV1alpha2ApilistResourceSlice + * @memberof ResourceV1beta1ApilistNamespacedResourceClaim */ limit?: number /** * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceSlice + * @memberof ResourceV1beta1ApilistNamespacedResourceClaim */ resourceVersion?: string /** * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApilistResourceSlice + * @memberof ResourceV1beta1ApilistNamespacedResourceClaim */ resourceVersionMatch?: string /** * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof ResourceV1alpha2ApilistResourceSlice + * @memberof ResourceV1beta1ApilistNamespacedResourceClaim */ sendInitialEvents?: boolean /** * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined * @type number - * @memberof ResourceV1alpha2ApilistResourceSlice + * @memberof ResourceV1beta1ApilistNamespacedResourceClaim */ timeoutSeconds?: number /** * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. * Defaults to: undefined * @type boolean - * @memberof ResourceV1alpha2ApilistResourceSlice + * @memberof ResourceV1beta1ApilistNamespacedResourceClaim */ watch?: boolean } -export interface ResourceV1alpha2ApiPatchNamespacedPodSchedulingContextRequest { - /** - * name of the PodSchedulingContext - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedPodSchedulingContext - */ - name: string +export interface ResourceV1beta1ApiListNamespacedResourceClaimTemplateRequest { /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedPodSchedulingContext + * @memberof ResourceV1beta1ApilistNamespacedResourceClaimTemplate */ namespace: string - /** - * - * @type any - * @memberof ResourceV1alpha2ApipatchNamespacedPodSchedulingContext - */ - body: any /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedPodSchedulingContext + * @memberof ResourceV1beta1ApilistNamespacedResourceClaimTemplate */ pretty?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedPodSchedulingContext + * @type boolean + * @memberof ResourceV1beta1ApilistNamespacedResourceClaimTemplate */ - dryRun?: string + allowWatchBookmarks?: boolean /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedPodSchedulingContext + * @memberof ResourceV1beta1ApilistNamespacedResourceClaimTemplate */ - fieldManager?: string + _continue?: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedPodSchedulingContext - */ - fieldValidation?: string - /** - * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApipatchNamespacedPodSchedulingContext + * @memberof ResourceV1beta1ApilistNamespacedResourceClaimTemplate */ - force?: boolean -} - -export interface ResourceV1alpha2ApiPatchNamespacedPodSchedulingContextStatusRequest { + fieldSelector?: string /** - * name of the PodSchedulingContext + * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedPodSchedulingContextStatus + * @memberof ResourceV1beta1ApilistNamespacedResourceClaimTemplate */ - name: string + labelSelector?: string /** - * object name and auth scope, such as for teams and projects + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedPodSchedulingContextStatus - */ - namespace: string - /** - * - * @type any - * @memberof ResourceV1alpha2ApipatchNamespacedPodSchedulingContextStatus + * @type number + * @memberof ResourceV1beta1ApilistNamespacedResourceClaimTemplate */ - body: any + limit?: number /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedPodSchedulingContextStatus + * @memberof ResourceV1beta1ApilistNamespacedResourceClaimTemplate */ - pretty?: string + resourceVersion?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedPodSchedulingContextStatus + * @memberof ResourceV1beta1ApilistNamespacedResourceClaimTemplate */ - dryRun?: string + resourceVersionMatch?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedPodSchedulingContextStatus + * @type boolean + * @memberof ResourceV1beta1ApilistNamespacedResourceClaimTemplate */ - fieldManager?: string + sendInitialEvents?: boolean /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedPodSchedulingContextStatus + * @type number + * @memberof ResourceV1beta1ApilistNamespacedResourceClaimTemplate */ - fieldValidation?: string + timeoutSeconds?: number /** - * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. * Defaults to: undefined * @type boolean - * @memberof ResourceV1alpha2ApipatchNamespacedPodSchedulingContextStatus + * @memberof ResourceV1beta1ApilistNamespacedResourceClaimTemplate */ - force?: boolean + watch?: boolean } -export interface ResourceV1alpha2ApiPatchNamespacedResourceClaimRequest { - /** - * name of the ResourceClaim - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaim - */ - name: string - /** - * object name and auth scope, such as for teams and projects - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaim - */ - namespace: string +export interface ResourceV1beta1ApiListResourceClaimForAllNamespacesRequest { /** - * - * @type any - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaim - */ - body: any - /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaim - */ - pretty?: string - /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaim + * @type boolean + * @memberof ResourceV1beta1ApilistResourceClaimForAllNamespaces */ - dryRun?: string + allowWatchBookmarks?: boolean /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaim + * @memberof ResourceV1beta1ApilistResourceClaimForAllNamespaces */ - fieldManager?: string + _continue?: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaim - */ - fieldValidation?: string - /** - * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaim + * @memberof ResourceV1beta1ApilistResourceClaimForAllNamespaces */ - force?: boolean -} - -export interface ResourceV1alpha2ApiPatchNamespacedResourceClaimParametersRequest { + fieldSelector?: string /** - * name of the ResourceClaimParameters + * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaimParameters + * @memberof ResourceV1beta1ApilistResourceClaimForAllNamespaces */ - name: string + labelSelector?: string /** - * object name and auth scope, such as for teams and projects + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaimParameters - */ - namespace: string - /** - * - * @type any - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaimParameters + * @type number + * @memberof ResourceV1beta1ApilistResourceClaimForAllNamespaces */ - body: any + limit?: number /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaimParameters + * @memberof ResourceV1beta1ApilistResourceClaimForAllNamespaces */ pretty?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaimParameters - */ - dryRun?: string - /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaimParameters + * @memberof ResourceV1beta1ApilistResourceClaimForAllNamespaces */ - fieldManager?: string + resourceVersion?: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaimParameters + * @memberof ResourceV1beta1ApilistResourceClaimForAllNamespaces */ - fieldValidation?: string + resourceVersionMatch?: string /** - * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaimParameters - */ - force?: boolean -} - -export interface ResourceV1alpha2ApiPatchNamespacedResourceClaimStatusRequest { - /** - * name of the ResourceClaim - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaimStatus + * @memberof ResourceV1beta1ApilistResourceClaimForAllNamespaces */ - name: string + sendInitialEvents?: boolean /** - * object name and auth scope, such as for teams and projects + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaimStatus - */ - namespace: string - /** - * - * @type any - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaimStatus + * @type number + * @memberof ResourceV1beta1ApilistResourceClaimForAllNamespaces */ - body: any + timeoutSeconds?: number /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaimStatus + * @type boolean + * @memberof ResourceV1beta1ApilistResourceClaimForAllNamespaces */ - pretty?: string + watch?: boolean +} + +export interface ResourceV1beta1ApiListResourceClaimTemplateForAllNamespacesRequest { /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaimStatus + * @type boolean + * @memberof ResourceV1beta1ApilistResourceClaimTemplateForAllNamespaces */ - dryRun?: string + allowWatchBookmarks?: boolean /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaimStatus + * @memberof ResourceV1beta1ApilistResourceClaimTemplateForAllNamespaces */ - fieldManager?: string + _continue?: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaimStatus + * @memberof ResourceV1beta1ApilistResourceClaimTemplateForAllNamespaces */ - fieldValidation?: string - /** - * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaimStatus - */ - force?: boolean -} - -export interface ResourceV1alpha2ApiPatchNamespacedResourceClaimTemplateRequest { + fieldSelector?: string /** - * name of the ResourceClaimTemplate + * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaimTemplate + * @memberof ResourceV1beta1ApilistResourceClaimTemplateForAllNamespaces */ - name: string + labelSelector?: string /** - * object name and auth scope, such as for teams and projects + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaimTemplate - */ - namespace: string - /** - * - * @type any - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaimTemplate + * @type number + * @memberof ResourceV1beta1ApilistResourceClaimTemplateForAllNamespaces */ - body: any + limit?: number /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaimTemplate + * @memberof ResourceV1beta1ApilistResourceClaimTemplateForAllNamespaces */ pretty?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaimTemplate - */ - dryRun?: string - /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaimTemplate + * @memberof ResourceV1beta1ApilistResourceClaimTemplateForAllNamespaces */ - fieldManager?: string + resourceVersion?: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaimTemplate + * @memberof ResourceV1beta1ApilistResourceClaimTemplateForAllNamespaces */ - fieldValidation?: string + resourceVersionMatch?: string /** - * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined * @type boolean - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClaimTemplate + * @memberof ResourceV1beta1ApilistResourceClaimTemplateForAllNamespaces */ - force?: boolean -} - -export interface ResourceV1alpha2ApiPatchNamespacedResourceClassParametersRequest { + sendInitialEvents?: boolean /** - * name of the ResourceClassParameters + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClassParameters + * @type number + * @memberof ResourceV1beta1ApilistResourceClaimTemplateForAllNamespaces */ - name: string + timeoutSeconds?: number /** - * object name and auth scope, such as for teams and projects + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClassParameters - */ - namespace: string - /** - * - * @type any - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClassParameters + * @type boolean + * @memberof ResourceV1beta1ApilistResourceClaimTemplateForAllNamespaces */ - body: any + watch?: boolean +} + +export interface ResourceV1beta1ApiListResourceSliceRequest { /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClassParameters + * @memberof ResourceV1beta1ApilistResourceSlice */ pretty?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClassParameters + * @type boolean + * @memberof ResourceV1beta1ApilistResourceSlice */ - dryRun?: string + allowWatchBookmarks?: boolean /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClassParameters + * @memberof ResourceV1beta1ApilistResourceSlice */ - fieldManager?: string + _continue?: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * A selector to restrict the list of returned objects by their fields. Defaults to everything. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClassParameters - */ - fieldValidation?: string - /** - * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - * Defaults to: undefined - * @type boolean - * @memberof ResourceV1alpha2ApipatchNamespacedResourceClassParameters + * @memberof ResourceV1beta1ApilistResourceSlice */ - force?: boolean -} - -export interface ResourceV1alpha2ApiPatchResourceClassRequest { + fieldSelector?: string /** - * name of the ResourceClass + * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchResourceClass + * @memberof ResourceV1beta1ApilistResourceSlice */ - name: string + labelSelector?: string /** - * - * @type any - * @memberof ResourceV1alpha2ApipatchResourceClass + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * Defaults to: undefined + * @type number + * @memberof ResourceV1beta1ApilistResourceSlice */ - body: any + limit?: number /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchResourceClass + * @memberof ResourceV1beta1ApilistResourceSlice */ - pretty?: string + resourceVersion?: string /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchResourceClass + * @memberof ResourceV1beta1ApilistResourceSlice */ - dryRun?: string + resourceVersionMatch?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApipatchResourceClass + * @type boolean + * @memberof ResourceV1beta1ApilistResourceSlice */ - fieldManager?: string + sendInitialEvents?: boolean /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApipatchResourceClass + * @type number + * @memberof ResourceV1beta1ApilistResourceSlice */ - fieldValidation?: string + timeoutSeconds?: number /** - * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. * Defaults to: undefined * @type boolean - * @memberof ResourceV1alpha2ApipatchResourceClass + * @memberof ResourceV1beta1ApilistResourceSlice */ - force?: boolean + watch?: boolean } -export interface ResourceV1alpha2ApiPatchResourceSliceRequest { +export interface ResourceV1beta1ApiPatchDeviceClassRequest { /** - * name of the ResourceSlice + * name of the DeviceClass * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchResourceSlice + * @memberof ResourceV1beta1ApipatchDeviceClass */ name: string /** * * @type any - * @memberof ResourceV1alpha2ApipatchResourceSlice + * @memberof ResourceV1beta1ApipatchDeviceClass */ body: any /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchResourceSlice + * @memberof ResourceV1beta1ApipatchDeviceClass */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchResourceSlice + * @memberof ResourceV1beta1ApipatchDeviceClass */ dryRun?: string /** * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchResourceSlice + * @memberof ResourceV1beta1ApipatchDeviceClass */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApipatchResourceSlice + * @memberof ResourceV1beta1ApipatchDeviceClass */ fieldValidation?: string /** * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. * Defaults to: undefined * @type boolean - * @memberof ResourceV1alpha2ApipatchResourceSlice + * @memberof ResourceV1beta1ApipatchDeviceClass */ force?: boolean } -export interface ResourceV1alpha2ApiReadNamespacedPodSchedulingContextRequest { +export interface ResourceV1beta1ApiPatchNamespacedResourceClaimRequest { /** - * name of the PodSchedulingContext + * name of the ResourceClaim * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireadNamespacedPodSchedulingContext + * @memberof ResourceV1beta1ApipatchNamespacedResourceClaim */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireadNamespacedPodSchedulingContext + * @memberof ResourceV1beta1ApipatchNamespacedResourceClaim */ namespace: string + /** + * + * @type any + * @memberof ResourceV1beta1ApipatchNamespacedResourceClaim + */ + body: any /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireadNamespacedPodSchedulingContext + * @memberof ResourceV1beta1ApipatchNamespacedResourceClaim */ pretty?: string -} - -export interface ResourceV1alpha2ApiReadNamespacedPodSchedulingContextStatusRequest { /** - * name of the PodSchedulingContext + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireadNamespacedPodSchedulingContextStatus + * @memberof ResourceV1beta1ApipatchNamespacedResourceClaim */ - name: string + dryRun?: string /** - * object name and auth scope, such as for teams and projects + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireadNamespacedPodSchedulingContextStatus + * @memberof ResourceV1beta1ApipatchNamespacedResourceClaim */ - namespace: string + fieldManager?: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireadNamespacedPodSchedulingContextStatus + * @memberof ResourceV1beta1ApipatchNamespacedResourceClaim */ - pretty?: string + fieldValidation?: string + /** + * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * Defaults to: undefined + * @type boolean + * @memberof ResourceV1beta1ApipatchNamespacedResourceClaim + */ + force?: boolean } -export interface ResourceV1alpha2ApiReadNamespacedResourceClaimRequest { +export interface ResourceV1beta1ApiPatchNamespacedResourceClaimStatusRequest { /** * name of the ResourceClaim * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireadNamespacedResourceClaim + * @memberof ResourceV1beta1ApipatchNamespacedResourceClaimStatus */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireadNamespacedResourceClaim + * @memberof ResourceV1beta1ApipatchNamespacedResourceClaimStatus */ namespace: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApireadNamespacedResourceClaim - */ - pretty?: string -} - -export interface ResourceV1alpha2ApiReadNamespacedResourceClaimParametersRequest { - /** - * name of the ResourceClaimParameters - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApireadNamespacedResourceClaimParameters + * + * @type any + * @memberof ResourceV1beta1ApipatchNamespacedResourceClaimStatus */ - name: string + body: any /** - * object name and auth scope, such as for teams and projects + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireadNamespacedResourceClaimParameters + * @memberof ResourceV1beta1ApipatchNamespacedResourceClaimStatus */ - namespace: string + pretty?: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireadNamespacedResourceClaimParameters + * @memberof ResourceV1beta1ApipatchNamespacedResourceClaimStatus */ - pretty?: string -} - -export interface ResourceV1alpha2ApiReadNamespacedResourceClaimStatusRequest { + dryRun?: string /** - * name of the ResourceClaim + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireadNamespacedResourceClaimStatus + * @memberof ResourceV1beta1ApipatchNamespacedResourceClaimStatus */ - name: string + fieldManager?: string /** - * object name and auth scope, such as for teams and projects + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireadNamespacedResourceClaimStatus + * @memberof ResourceV1beta1ApipatchNamespacedResourceClaimStatus */ - namespace: string + fieldValidation?: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApireadNamespacedResourceClaimStatus + * @type boolean + * @memberof ResourceV1beta1ApipatchNamespacedResourceClaimStatus */ - pretty?: string + force?: boolean } -export interface ResourceV1alpha2ApiReadNamespacedResourceClaimTemplateRequest { +export interface ResourceV1beta1ApiPatchNamespacedResourceClaimTemplateRequest { /** * name of the ResourceClaimTemplate * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireadNamespacedResourceClaimTemplate + * @memberof ResourceV1beta1ApipatchNamespacedResourceClaimTemplate */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireadNamespacedResourceClaimTemplate + * @memberof ResourceV1beta1ApipatchNamespacedResourceClaimTemplate */ namespace: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApireadNamespacedResourceClaimTemplate - */ - pretty?: string -} - -export interface ResourceV1alpha2ApiReadNamespacedResourceClassParametersRequest { - /** - * name of the ResourceClassParameters - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApireadNamespacedResourceClassParameters - */ - name: string - /** - * object name and auth scope, such as for teams and projects - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApireadNamespacedResourceClassParameters + * + * @type any + * @memberof ResourceV1beta1ApipatchNamespacedResourceClaimTemplate */ - namespace: string + body: any /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireadNamespacedResourceClassParameters + * @memberof ResourceV1beta1ApipatchNamespacedResourceClaimTemplate */ pretty?: string -} - -export interface ResourceV1alpha2ApiReadResourceClassRequest { /** - * name of the ResourceClass + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireadResourceClass + * @memberof ResourceV1beta1ApipatchNamespacedResourceClaimTemplate */ - name: string + dryRun?: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireadResourceClass + * @memberof ResourceV1beta1ApipatchNamespacedResourceClaimTemplate */ - pretty?: string -} - -export interface ResourceV1alpha2ApiReadResourceSliceRequest { + fieldManager?: string /** - * name of the ResourceSlice + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireadResourceSlice + * @memberof ResourceV1beta1ApipatchNamespacedResourceClaimTemplate */ - name: string + fieldValidation?: string /** - * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApireadResourceSlice + * @type boolean + * @memberof ResourceV1beta1ApipatchNamespacedResourceClaimTemplate */ - pretty?: string + force?: boolean } -export interface ResourceV1alpha2ApiReplaceNamespacedPodSchedulingContextRequest { +export interface ResourceV1beta1ApiPatchResourceSliceRequest { /** - * name of the PodSchedulingContext + * name of the ResourceSlice * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedPodSchedulingContext + * @memberof ResourceV1beta1ApipatchResourceSlice */ name: string - /** - * object name and auth scope, such as for teams and projects - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedPodSchedulingContext - */ - namespace: string /** * - * @type V1alpha2PodSchedulingContext - * @memberof ResourceV1alpha2ApireplaceNamespacedPodSchedulingContext + * @type any + * @memberof ResourceV1beta1ApipatchResourceSlice */ - body: V1alpha2PodSchedulingContext + body: any /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedPodSchedulingContext + * @memberof ResourceV1beta1ApipatchResourceSlice */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedPodSchedulingContext + * @memberof ResourceV1beta1ApipatchResourceSlice */ dryRun?: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedPodSchedulingContext + * @memberof ResourceV1beta1ApipatchResourceSlice */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedPodSchedulingContext + * @memberof ResourceV1beta1ApipatchResourceSlice */ fieldValidation?: string -} - -export interface ResourceV1alpha2ApiReplaceNamespacedPodSchedulingContextStatusRequest { /** - * name of the PodSchedulingContext + * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedPodSchedulingContextStatus + * @type boolean + * @memberof ResourceV1beta1ApipatchResourceSlice */ - name: string + force?: boolean +} + +export interface ResourceV1beta1ApiReadDeviceClassRequest { /** - * object name and auth scope, such as for teams and projects + * name of the DeviceClass * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedPodSchedulingContextStatus - */ - namespace: string - /** - * - * @type V1alpha2PodSchedulingContext - * @memberof ResourceV1alpha2ApireplaceNamespacedPodSchedulingContextStatus + * @memberof ResourceV1beta1ApireadDeviceClass */ - body: V1alpha2PodSchedulingContext + name: string /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedPodSchedulingContextStatus + * @memberof ResourceV1beta1ApireadDeviceClass */ pretty?: string - /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedPodSchedulingContextStatus - */ - dryRun?: string - /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedPodSchedulingContextStatus - */ - fieldManager?: string - /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedPodSchedulingContextStatus - */ - fieldValidation?: string } -export interface ResourceV1alpha2ApiReplaceNamespacedResourceClaimRequest { +export interface ResourceV1beta1ApiReadNamespacedResourceClaimRequest { /** * name of the ResourceClaim * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClaim + * @memberof ResourceV1beta1ApireadNamespacedResourceClaim */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClaim + * @memberof ResourceV1beta1ApireadNamespacedResourceClaim */ namespace: string - /** - * - * @type V1alpha2ResourceClaim - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClaim - */ - body: V1alpha2ResourceClaim /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClaim + * @memberof ResourceV1beta1ApireadNamespacedResourceClaim */ pretty?: string +} + +export interface ResourceV1beta1ApiReadNamespacedResourceClaimStatusRequest { /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * name of the ResourceClaim * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClaim + * @memberof ResourceV1beta1ApireadNamespacedResourceClaimStatus */ - dryRun?: string + name: string /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClaim + * @memberof ResourceV1beta1ApireadNamespacedResourceClaimStatus */ - fieldManager?: string + namespace: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClaim + * @memberof ResourceV1beta1ApireadNamespacedResourceClaimStatus */ - fieldValidation?: string + pretty?: string } -export interface ResourceV1alpha2ApiReplaceNamespacedResourceClaimParametersRequest { +export interface ResourceV1beta1ApiReadNamespacedResourceClaimTemplateRequest { /** - * name of the ResourceClaimParameters + * name of the ResourceClaimTemplate * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClaimParameters + * @memberof ResourceV1beta1ApireadNamespacedResourceClaimTemplate */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClaimParameters + * @memberof ResourceV1beta1ApireadNamespacedResourceClaimTemplate */ namespace: string - /** - * - * @type V1alpha2ResourceClaimParameters - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClaimParameters - */ - body: V1alpha2ResourceClaimParameters /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClaimParameters + * @memberof ResourceV1beta1ApireadNamespacedResourceClaimTemplate */ pretty?: string +} + +export interface ResourceV1beta1ApiReadResourceSliceRequest { /** - * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClaimParameters - */ - dryRun?: string - /** - * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * name of the ResourceSlice * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClaimParameters + * @memberof ResourceV1beta1ApireadResourceSlice */ - fieldManager?: string + name: string /** - * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClaimParameters + * @memberof ResourceV1beta1ApireadResourceSlice */ - fieldValidation?: string + pretty?: string } -export interface ResourceV1alpha2ApiReplaceNamespacedResourceClaimStatusRequest { +export interface ResourceV1beta1ApiReplaceDeviceClassRequest { /** - * name of the ResourceClaim + * name of the DeviceClass * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClaimStatus + * @memberof ResourceV1beta1ApireplaceDeviceClass */ name: string - /** - * object name and auth scope, such as for teams and projects - * Defaults to: undefined - * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClaimStatus - */ - namespace: string /** * - * @type V1alpha2ResourceClaim - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClaimStatus + * @type V1beta1DeviceClass + * @memberof ResourceV1beta1ApireplaceDeviceClass */ - body: V1alpha2ResourceClaim + body: V1beta1DeviceClass /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClaimStatus + * @memberof ResourceV1beta1ApireplaceDeviceClass */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClaimStatus + * @memberof ResourceV1beta1ApireplaceDeviceClass */ dryRun?: string /** * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClaimStatus + * @memberof ResourceV1beta1ApireplaceDeviceClass */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClaimStatus + * @memberof ResourceV1beta1ApireplaceDeviceClass */ fieldValidation?: string } -export interface ResourceV1alpha2ApiReplaceNamespacedResourceClaimTemplateRequest { +export interface ResourceV1beta1ApiReplaceNamespacedResourceClaimRequest { /** - * name of the ResourceClaimTemplate + * name of the ResourceClaim * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClaimTemplate + * @memberof ResourceV1beta1ApireplaceNamespacedResourceClaim */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClaimTemplate + * @memberof ResourceV1beta1ApireplaceNamespacedResourceClaim */ namespace: string /** * - * @type V1alpha2ResourceClaimTemplate - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClaimTemplate + * @type V1beta1ResourceClaim + * @memberof ResourceV1beta1ApireplaceNamespacedResourceClaim */ - body: V1alpha2ResourceClaimTemplate + body: V1beta1ResourceClaim /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClaimTemplate + * @memberof ResourceV1beta1ApireplaceNamespacedResourceClaim */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClaimTemplate + * @memberof ResourceV1beta1ApireplaceNamespacedResourceClaim */ dryRun?: string /** * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClaimTemplate + * @memberof ResourceV1beta1ApireplaceNamespacedResourceClaim */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClaimTemplate + * @memberof ResourceV1beta1ApireplaceNamespacedResourceClaim */ fieldValidation?: string } -export interface ResourceV1alpha2ApiReplaceNamespacedResourceClassParametersRequest { +export interface ResourceV1beta1ApiReplaceNamespacedResourceClaimStatusRequest { /** - * name of the ResourceClassParameters + * name of the ResourceClaim * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClassParameters + * @memberof ResourceV1beta1ApireplaceNamespacedResourceClaimStatus */ name: string /** * object name and auth scope, such as for teams and projects * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClassParameters + * @memberof ResourceV1beta1ApireplaceNamespacedResourceClaimStatus */ namespace: string /** * - * @type V1alpha2ResourceClassParameters - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClassParameters + * @type V1beta1ResourceClaim + * @memberof ResourceV1beta1ApireplaceNamespacedResourceClaimStatus */ - body: V1alpha2ResourceClassParameters + body: V1beta1ResourceClaim /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClassParameters + * @memberof ResourceV1beta1ApireplaceNamespacedResourceClaimStatus */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClassParameters + * @memberof ResourceV1beta1ApireplaceNamespacedResourceClaimStatus */ dryRun?: string /** * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClassParameters + * @memberof ResourceV1beta1ApireplaceNamespacedResourceClaimStatus */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceNamespacedResourceClassParameters + * @memberof ResourceV1beta1ApireplaceNamespacedResourceClaimStatus */ fieldValidation?: string } -export interface ResourceV1alpha2ApiReplaceResourceClassRequest { +export interface ResourceV1beta1ApiReplaceNamespacedResourceClaimTemplateRequest { /** - * name of the ResourceClass + * name of the ResourceClaimTemplate * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceResourceClass + * @memberof ResourceV1beta1ApireplaceNamespacedResourceClaimTemplate */ name: string + /** + * object name and auth scope, such as for teams and projects + * Defaults to: undefined + * @type string + * @memberof ResourceV1beta1ApireplaceNamespacedResourceClaimTemplate + */ + namespace: string /** * - * @type V1alpha2ResourceClass - * @memberof ResourceV1alpha2ApireplaceResourceClass + * @type V1beta1ResourceClaimTemplate + * @memberof ResourceV1beta1ApireplaceNamespacedResourceClaimTemplate */ - body: V1alpha2ResourceClass + body: V1beta1ResourceClaimTemplate /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceResourceClass + * @memberof ResourceV1beta1ApireplaceNamespacedResourceClaimTemplate */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceResourceClass + * @memberof ResourceV1beta1ApireplaceNamespacedResourceClaimTemplate */ dryRun?: string /** * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceResourceClass + * @memberof ResourceV1beta1ApireplaceNamespacedResourceClaimTemplate */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceResourceClass + * @memberof ResourceV1beta1ApireplaceNamespacedResourceClaimTemplate */ fieldValidation?: string } -export interface ResourceV1alpha2ApiReplaceResourceSliceRequest { +export interface ResourceV1beta1ApiReplaceResourceSliceRequest { /** * name of the ResourceSlice * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceResourceSlice + * @memberof ResourceV1beta1ApireplaceResourceSlice */ name: string /** * - * @type V1alpha2ResourceSlice - * @memberof ResourceV1alpha2ApireplaceResourceSlice + * @type V1beta1ResourceSlice + * @memberof ResourceV1beta1ApireplaceResourceSlice */ - body: V1alpha2ResourceSlice + body: V1beta1ResourceSlice /** * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceResourceSlice + * @memberof ResourceV1beta1ApireplaceResourceSlice */ pretty?: string /** * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceResourceSlice + * @memberof ResourceV1beta1ApireplaceResourceSlice */ dryRun?: string /** * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceResourceSlice + * @memberof ResourceV1beta1ApireplaceResourceSlice */ fieldManager?: string /** * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * Defaults to: undefined * @type string - * @memberof ResourceV1alpha2ApireplaceResourceSlice + * @memberof ResourceV1beta1ApireplaceResourceSlice */ fieldValidation?: string } -export class ObjectResourceV1alpha2Api { - private api: ObservableResourceV1alpha2Api +export class ObjectResourceV1beta1Api { + private api: ObservableResourceV1beta1Api - public constructor(configuration: Configuration, requestFactory?: ResourceV1alpha2ApiRequestFactory, responseProcessor?: ResourceV1alpha2ApiResponseProcessor) { - this.api = new ObservableResourceV1alpha2Api(configuration, requestFactory, responseProcessor); + public constructor(configuration: Configuration, requestFactory?: ResourceV1beta1ApiRequestFactory, responseProcessor?: ResourceV1beta1ApiResponseProcessor) { + this.api = new ObservableResourceV1beta1Api(configuration, requestFactory, responseProcessor); } /** - * create a PodSchedulingContext + * create a DeviceClass * @param param the request object */ - public createNamespacedPodSchedulingContextWithHttpInfo(param: ResourceV1alpha2ApiCreateNamespacedPodSchedulingContextRequest, options?: Configuration): Promise> { - return this.api.createNamespacedPodSchedulingContextWithHttpInfo(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + public createDeviceClassWithHttpInfo(param: ResourceV1beta1ApiCreateDeviceClassRequest, options?: Configuration): Promise> { + return this.api.createDeviceClassWithHttpInfo(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } /** - * create a PodSchedulingContext + * create a DeviceClass * @param param the request object */ - public createNamespacedPodSchedulingContext(param: ResourceV1alpha2ApiCreateNamespacedPodSchedulingContextRequest, options?: Configuration): Promise { - return this.api.createNamespacedPodSchedulingContext(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + public createDeviceClass(param: ResourceV1beta1ApiCreateDeviceClassRequest, options?: Configuration): Promise { + return this.api.createDeviceClass(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } /** * create a ResourceClaim * @param param the request object */ - public createNamespacedResourceClaimWithHttpInfo(param: ResourceV1alpha2ApiCreateNamespacedResourceClaimRequest, options?: Configuration): Promise> { + public createNamespacedResourceClaimWithHttpInfo(param: ResourceV1beta1ApiCreateNamespacedResourceClaimRequest, options?: Configuration): Promise> { return this.api.createNamespacedResourceClaimWithHttpInfo(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } @@ -48142,31 +49102,15 @@ export class ObjectResourceV1alpha2Api { * create a ResourceClaim * @param param the request object */ - public createNamespacedResourceClaim(param: ResourceV1alpha2ApiCreateNamespacedResourceClaimRequest, options?: Configuration): Promise { + public createNamespacedResourceClaim(param: ResourceV1beta1ApiCreateNamespacedResourceClaimRequest, options?: Configuration): Promise { return this.api.createNamespacedResourceClaim(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } - /** - * create ResourceClaimParameters - * @param param the request object - */ - public createNamespacedResourceClaimParametersWithHttpInfo(param: ResourceV1alpha2ApiCreateNamespacedResourceClaimParametersRequest, options?: Configuration): Promise> { - return this.api.createNamespacedResourceClaimParametersWithHttpInfo(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - - /** - * create ResourceClaimParameters - * @param param the request object - */ - public createNamespacedResourceClaimParameters(param: ResourceV1alpha2ApiCreateNamespacedResourceClaimParametersRequest, options?: Configuration): Promise { - return this.api.createNamespacedResourceClaimParameters(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - /** * create a ResourceClaimTemplate * @param param the request object */ - public createNamespacedResourceClaimTemplateWithHttpInfo(param: ResourceV1alpha2ApiCreateNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise> { + public createNamespacedResourceClaimTemplateWithHttpInfo(param: ResourceV1beta1ApiCreateNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise> { return this.api.createNamespacedResourceClaimTemplateWithHttpInfo(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } @@ -48174,47 +49118,15 @@ export class ObjectResourceV1alpha2Api { * create a ResourceClaimTemplate * @param param the request object */ - public createNamespacedResourceClaimTemplate(param: ResourceV1alpha2ApiCreateNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise { + public createNamespacedResourceClaimTemplate(param: ResourceV1beta1ApiCreateNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise { return this.api.createNamespacedResourceClaimTemplate(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } - /** - * create ResourceClassParameters - * @param param the request object - */ - public createNamespacedResourceClassParametersWithHttpInfo(param: ResourceV1alpha2ApiCreateNamespacedResourceClassParametersRequest, options?: Configuration): Promise> { - return this.api.createNamespacedResourceClassParametersWithHttpInfo(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - - /** - * create ResourceClassParameters - * @param param the request object - */ - public createNamespacedResourceClassParameters(param: ResourceV1alpha2ApiCreateNamespacedResourceClassParametersRequest, options?: Configuration): Promise { - return this.api.createNamespacedResourceClassParameters(param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - - /** - * create a ResourceClass - * @param param the request object - */ - public createResourceClassWithHttpInfo(param: ResourceV1alpha2ApiCreateResourceClassRequest, options?: Configuration): Promise> { - return this.api.createResourceClassWithHttpInfo(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - - /** - * create a ResourceClass - * @param param the request object - */ - public createResourceClass(param: ResourceV1alpha2ApiCreateResourceClassRequest, options?: Configuration): Promise { - return this.api.createResourceClass(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - /** * create a ResourceSlice * @param param the request object */ - public createResourceSliceWithHttpInfo(param: ResourceV1alpha2ApiCreateResourceSliceRequest, options?: Configuration): Promise> { + public createResourceSliceWithHttpInfo(param: ResourceV1beta1ApiCreateResourceSliceRequest, options?: Configuration): Promise> { return this.api.createResourceSliceWithHttpInfo(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } @@ -48222,239 +49134,143 @@ export class ObjectResourceV1alpha2Api { * create a ResourceSlice * @param param the request object */ - public createResourceSlice(param: ResourceV1alpha2ApiCreateResourceSliceRequest, options?: Configuration): Promise { + public createResourceSlice(param: ResourceV1beta1ApiCreateResourceSliceRequest, options?: Configuration): Promise { return this.api.createResourceSlice(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } /** - * delete collection of PodSchedulingContext + * delete collection of DeviceClass * @param param the request object */ - public deleteCollectionNamespacedPodSchedulingContextWithHttpInfo(param: ResourceV1alpha2ApiDeleteCollectionNamespacedPodSchedulingContextRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedPodSchedulingContextWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + public deleteCollectionDeviceClassWithHttpInfo(param: ResourceV1beta1ApiDeleteCollectionDeviceClassRequest = {}, options?: Configuration): Promise> { + return this.api.deleteCollectionDeviceClassWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** - * delete collection of PodSchedulingContext + * delete collection of DeviceClass * @param param the request object */ - public deleteCollectionNamespacedPodSchedulingContext(param: ResourceV1alpha2ApiDeleteCollectionNamespacedPodSchedulingContextRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedPodSchedulingContext(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + public deleteCollectionDeviceClass(param: ResourceV1beta1ApiDeleteCollectionDeviceClassRequest = {}, options?: Configuration): Promise { + return this.api.deleteCollectionDeviceClass(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** * delete collection of ResourceClaim * @param param the request object */ - public deleteCollectionNamespacedResourceClaimWithHttpInfo(param: ResourceV1alpha2ApiDeleteCollectionNamespacedResourceClaimRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedResourceClaimWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + public deleteCollectionNamespacedResourceClaimWithHttpInfo(param: ResourceV1beta1ApiDeleteCollectionNamespacedResourceClaimRequest, options?: Configuration): Promise> { + return this.api.deleteCollectionNamespacedResourceClaimWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** * delete collection of ResourceClaim * @param param the request object */ - public deleteCollectionNamespacedResourceClaim(param: ResourceV1alpha2ApiDeleteCollectionNamespacedResourceClaimRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedResourceClaim(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); - } - - /** - * delete collection of ResourceClaimParameters - * @param param the request object - */ - public deleteCollectionNamespacedResourceClaimParametersWithHttpInfo(param: ResourceV1alpha2ApiDeleteCollectionNamespacedResourceClaimParametersRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedResourceClaimParametersWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); - } - - /** - * delete collection of ResourceClaimParameters - * @param param the request object - */ - public deleteCollectionNamespacedResourceClaimParameters(param: ResourceV1alpha2ApiDeleteCollectionNamespacedResourceClaimParametersRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedResourceClaimParameters(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + public deleteCollectionNamespacedResourceClaim(param: ResourceV1beta1ApiDeleteCollectionNamespacedResourceClaimRequest, options?: Configuration): Promise { + return this.api.deleteCollectionNamespacedResourceClaim(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** * delete collection of ResourceClaimTemplate * @param param the request object */ - public deleteCollectionNamespacedResourceClaimTemplateWithHttpInfo(param: ResourceV1alpha2ApiDeleteCollectionNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedResourceClaimTemplateWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + public deleteCollectionNamespacedResourceClaimTemplateWithHttpInfo(param: ResourceV1beta1ApiDeleteCollectionNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise> { + return this.api.deleteCollectionNamespacedResourceClaimTemplateWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** * delete collection of ResourceClaimTemplate * @param param the request object */ - public deleteCollectionNamespacedResourceClaimTemplate(param: ResourceV1alpha2ApiDeleteCollectionNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedResourceClaimTemplate(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); - } - - /** - * delete collection of ResourceClassParameters - * @param param the request object - */ - public deleteCollectionNamespacedResourceClassParametersWithHttpInfo(param: ResourceV1alpha2ApiDeleteCollectionNamespacedResourceClassParametersRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedResourceClassParametersWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); - } - - /** - * delete collection of ResourceClassParameters - * @param param the request object - */ - public deleteCollectionNamespacedResourceClassParameters(param: ResourceV1alpha2ApiDeleteCollectionNamespacedResourceClassParametersRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedResourceClassParameters(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); - } - - /** - * delete collection of ResourceClass - * @param param the request object - */ - public deleteCollectionResourceClassWithHttpInfo(param: ResourceV1alpha2ApiDeleteCollectionResourceClassRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionResourceClassWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); - } - - /** - * delete collection of ResourceClass - * @param param the request object - */ - public deleteCollectionResourceClass(param: ResourceV1alpha2ApiDeleteCollectionResourceClassRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionResourceClass(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + public deleteCollectionNamespacedResourceClaimTemplate(param: ResourceV1beta1ApiDeleteCollectionNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise { + return this.api.deleteCollectionNamespacedResourceClaimTemplate(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** * delete collection of ResourceSlice * @param param the request object */ - public deleteCollectionResourceSliceWithHttpInfo(param: ResourceV1alpha2ApiDeleteCollectionResourceSliceRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionResourceSliceWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + public deleteCollectionResourceSliceWithHttpInfo(param: ResourceV1beta1ApiDeleteCollectionResourceSliceRequest = {}, options?: Configuration): Promise> { + return this.api.deleteCollectionResourceSliceWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** * delete collection of ResourceSlice * @param param the request object */ - public deleteCollectionResourceSlice(param: ResourceV1alpha2ApiDeleteCollectionResourceSliceRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionResourceSlice(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + public deleteCollectionResourceSlice(param: ResourceV1beta1ApiDeleteCollectionResourceSliceRequest = {}, options?: Configuration): Promise { + return this.api.deleteCollectionResourceSlice(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** - * delete a PodSchedulingContext + * delete a DeviceClass * @param param the request object */ - public deleteNamespacedPodSchedulingContextWithHttpInfo(param: ResourceV1alpha2ApiDeleteNamespacedPodSchedulingContextRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedPodSchedulingContextWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + public deleteDeviceClassWithHttpInfo(param: ResourceV1beta1ApiDeleteDeviceClassRequest, options?: Configuration): Promise> { + return this.api.deleteDeviceClassWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** - * delete a PodSchedulingContext + * delete a DeviceClass * @param param the request object */ - public deleteNamespacedPodSchedulingContext(param: ResourceV1alpha2ApiDeleteNamespacedPodSchedulingContextRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedPodSchedulingContext(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + public deleteDeviceClass(param: ResourceV1beta1ApiDeleteDeviceClassRequest, options?: Configuration): Promise { + return this.api.deleteDeviceClass(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** * delete a ResourceClaim * @param param the request object */ - public deleteNamespacedResourceClaimWithHttpInfo(param: ResourceV1alpha2ApiDeleteNamespacedResourceClaimRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedResourceClaimWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + public deleteNamespacedResourceClaimWithHttpInfo(param: ResourceV1beta1ApiDeleteNamespacedResourceClaimRequest, options?: Configuration): Promise> { + return this.api.deleteNamespacedResourceClaimWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** * delete a ResourceClaim * @param param the request object */ - public deleteNamespacedResourceClaim(param: ResourceV1alpha2ApiDeleteNamespacedResourceClaimRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedResourceClaim(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); - } - - /** - * delete ResourceClaimParameters - * @param param the request object - */ - public deleteNamespacedResourceClaimParametersWithHttpInfo(param: ResourceV1alpha2ApiDeleteNamespacedResourceClaimParametersRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedResourceClaimParametersWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); - } - - /** - * delete ResourceClaimParameters - * @param param the request object - */ - public deleteNamespacedResourceClaimParameters(param: ResourceV1alpha2ApiDeleteNamespacedResourceClaimParametersRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedResourceClaimParameters(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + public deleteNamespacedResourceClaim(param: ResourceV1beta1ApiDeleteNamespacedResourceClaimRequest, options?: Configuration): Promise { + return this.api.deleteNamespacedResourceClaim(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** * delete a ResourceClaimTemplate * @param param the request object */ - public deleteNamespacedResourceClaimTemplateWithHttpInfo(param: ResourceV1alpha2ApiDeleteNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedResourceClaimTemplateWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + public deleteNamespacedResourceClaimTemplateWithHttpInfo(param: ResourceV1beta1ApiDeleteNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise> { + return this.api.deleteNamespacedResourceClaimTemplateWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** * delete a ResourceClaimTemplate * @param param the request object */ - public deleteNamespacedResourceClaimTemplate(param: ResourceV1alpha2ApiDeleteNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedResourceClaimTemplate(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); - } - - /** - * delete ResourceClassParameters - * @param param the request object - */ - public deleteNamespacedResourceClassParametersWithHttpInfo(param: ResourceV1alpha2ApiDeleteNamespacedResourceClassParametersRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedResourceClassParametersWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); - } - - /** - * delete ResourceClassParameters - * @param param the request object - */ - public deleteNamespacedResourceClassParameters(param: ResourceV1alpha2ApiDeleteNamespacedResourceClassParametersRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedResourceClassParameters(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); - } - - /** - * delete a ResourceClass - * @param param the request object - */ - public deleteResourceClassWithHttpInfo(param: ResourceV1alpha2ApiDeleteResourceClassRequest, options?: Configuration): Promise> { - return this.api.deleteResourceClassWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); - } - - /** - * delete a ResourceClass - * @param param the request object - */ - public deleteResourceClass(param: ResourceV1alpha2ApiDeleteResourceClassRequest, options?: Configuration): Promise { - return this.api.deleteResourceClass(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + public deleteNamespacedResourceClaimTemplate(param: ResourceV1beta1ApiDeleteNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise { + return this.api.deleteNamespacedResourceClaimTemplate(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** * delete a ResourceSlice * @param param the request object */ - public deleteResourceSliceWithHttpInfo(param: ResourceV1alpha2ApiDeleteResourceSliceRequest, options?: Configuration): Promise> { - return this.api.deleteResourceSliceWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + public deleteResourceSliceWithHttpInfo(param: ResourceV1beta1ApiDeleteResourceSliceRequest, options?: Configuration): Promise> { + return this.api.deleteResourceSliceWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** * delete a ResourceSlice * @param param the request object */ - public deleteResourceSlice(param: ResourceV1alpha2ApiDeleteResourceSliceRequest, options?: Configuration): Promise { - return this.api.deleteResourceSlice(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + public deleteResourceSlice(param: ResourceV1beta1ApiDeleteResourceSliceRequest, options?: Configuration): Promise { + return this.api.deleteResourceSlice(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** * get available resources * @param param the request object */ - public getAPIResourcesWithHttpInfo(param: ResourceV1alpha2ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise> { + public getAPIResourcesWithHttpInfo(param: ResourceV1beta1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise> { return this.api.getAPIResourcesWithHttpInfo( options).toPromise(); } @@ -48462,31 +49278,31 @@ export class ObjectResourceV1alpha2Api { * get available resources * @param param the request object */ - public getAPIResources(param: ResourceV1alpha2ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise { + public getAPIResources(param: ResourceV1beta1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise { return this.api.getAPIResources( options).toPromise(); } /** - * list or watch objects of kind PodSchedulingContext + * list or watch objects of kind DeviceClass * @param param the request object */ - public listNamespacedPodSchedulingContextWithHttpInfo(param: ResourceV1alpha2ApiListNamespacedPodSchedulingContextRequest, options?: Configuration): Promise> { - return this.api.listNamespacedPodSchedulingContextWithHttpInfo(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + public listDeviceClassWithHttpInfo(param: ResourceV1beta1ApiListDeviceClassRequest = {}, options?: Configuration): Promise> { + return this.api.listDeviceClassWithHttpInfo(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); } /** - * list or watch objects of kind PodSchedulingContext + * list or watch objects of kind DeviceClass * @param param the request object */ - public listNamespacedPodSchedulingContext(param: ResourceV1alpha2ApiListNamespacedPodSchedulingContextRequest, options?: Configuration): Promise { - return this.api.listNamespacedPodSchedulingContext(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + public listDeviceClass(param: ResourceV1beta1ApiListDeviceClassRequest = {}, options?: Configuration): Promise { + return this.api.listDeviceClass(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); } /** * list or watch objects of kind ResourceClaim * @param param the request object */ - public listNamespacedResourceClaimWithHttpInfo(param: ResourceV1alpha2ApiListNamespacedResourceClaimRequest, options?: Configuration): Promise> { + public listNamespacedResourceClaimWithHttpInfo(param: ResourceV1beta1ApiListNamespacedResourceClaimRequest, options?: Configuration): Promise> { return this.api.listNamespacedResourceClaimWithHttpInfo(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); } @@ -48494,31 +49310,15 @@ export class ObjectResourceV1alpha2Api { * list or watch objects of kind ResourceClaim * @param param the request object */ - public listNamespacedResourceClaim(param: ResourceV1alpha2ApiListNamespacedResourceClaimRequest, options?: Configuration): Promise { + public listNamespacedResourceClaim(param: ResourceV1beta1ApiListNamespacedResourceClaimRequest, options?: Configuration): Promise { return this.api.listNamespacedResourceClaim(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); } - /** - * list or watch objects of kind ResourceClaimParameters - * @param param the request object - */ - public listNamespacedResourceClaimParametersWithHttpInfo(param: ResourceV1alpha2ApiListNamespacedResourceClaimParametersRequest, options?: Configuration): Promise> { - return this.api.listNamespacedResourceClaimParametersWithHttpInfo(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - - /** - * list or watch objects of kind ResourceClaimParameters - * @param param the request object - */ - public listNamespacedResourceClaimParameters(param: ResourceV1alpha2ApiListNamespacedResourceClaimParametersRequest, options?: Configuration): Promise { - return this.api.listNamespacedResourceClaimParameters(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - /** * list or watch objects of kind ResourceClaimTemplate * @param param the request object */ - public listNamespacedResourceClaimTemplateWithHttpInfo(param: ResourceV1alpha2ApiListNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise> { + public listNamespacedResourceClaimTemplateWithHttpInfo(param: ResourceV1beta1ApiListNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise> { return this.api.listNamespacedResourceClaimTemplateWithHttpInfo(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); } @@ -48526,47 +49326,15 @@ export class ObjectResourceV1alpha2Api { * list or watch objects of kind ResourceClaimTemplate * @param param the request object */ - public listNamespacedResourceClaimTemplate(param: ResourceV1alpha2ApiListNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise { + public listNamespacedResourceClaimTemplate(param: ResourceV1beta1ApiListNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise { return this.api.listNamespacedResourceClaimTemplate(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); } - /** - * list or watch objects of kind ResourceClassParameters - * @param param the request object - */ - public listNamespacedResourceClassParametersWithHttpInfo(param: ResourceV1alpha2ApiListNamespacedResourceClassParametersRequest, options?: Configuration): Promise> { - return this.api.listNamespacedResourceClassParametersWithHttpInfo(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - - /** - * list or watch objects of kind ResourceClassParameters - * @param param the request object - */ - public listNamespacedResourceClassParameters(param: ResourceV1alpha2ApiListNamespacedResourceClassParametersRequest, options?: Configuration): Promise { - return this.api.listNamespacedResourceClassParameters(param.namespace, param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - - /** - * list or watch objects of kind PodSchedulingContext - * @param param the request object - */ - public listPodSchedulingContextForAllNamespacesWithHttpInfo(param: ResourceV1alpha2ApiListPodSchedulingContextForAllNamespacesRequest = {}, options?: Configuration): Promise> { - return this.api.listPodSchedulingContextForAllNamespacesWithHttpInfo(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - - /** - * list or watch objects of kind PodSchedulingContext - * @param param the request object - */ - public listPodSchedulingContextForAllNamespaces(param: ResourceV1alpha2ApiListPodSchedulingContextForAllNamespacesRequest = {}, options?: Configuration): Promise { - return this.api.listPodSchedulingContextForAllNamespaces(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - /** * list or watch objects of kind ResourceClaim * @param param the request object */ - public listResourceClaimForAllNamespacesWithHttpInfo(param: ResourceV1alpha2ApiListResourceClaimForAllNamespacesRequest = {}, options?: Configuration): Promise> { + public listResourceClaimForAllNamespacesWithHttpInfo(param: ResourceV1beta1ApiListResourceClaimForAllNamespacesRequest = {}, options?: Configuration): Promise> { return this.api.listResourceClaimForAllNamespacesWithHttpInfo(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); } @@ -48574,31 +49342,15 @@ export class ObjectResourceV1alpha2Api { * list or watch objects of kind ResourceClaim * @param param the request object */ - public listResourceClaimForAllNamespaces(param: ResourceV1alpha2ApiListResourceClaimForAllNamespacesRequest = {}, options?: Configuration): Promise { + public listResourceClaimForAllNamespaces(param: ResourceV1beta1ApiListResourceClaimForAllNamespacesRequest = {}, options?: Configuration): Promise { return this.api.listResourceClaimForAllNamespaces(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); } - /** - * list or watch objects of kind ResourceClaimParameters - * @param param the request object - */ - public listResourceClaimParametersForAllNamespacesWithHttpInfo(param: ResourceV1alpha2ApiListResourceClaimParametersForAllNamespacesRequest = {}, options?: Configuration): Promise> { - return this.api.listResourceClaimParametersForAllNamespacesWithHttpInfo(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - - /** - * list or watch objects of kind ResourceClaimParameters - * @param param the request object - */ - public listResourceClaimParametersForAllNamespaces(param: ResourceV1alpha2ApiListResourceClaimParametersForAllNamespacesRequest = {}, options?: Configuration): Promise { - return this.api.listResourceClaimParametersForAllNamespaces(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - /** * list or watch objects of kind ResourceClaimTemplate * @param param the request object */ - public listResourceClaimTemplateForAllNamespacesWithHttpInfo(param: ResourceV1alpha2ApiListResourceClaimTemplateForAllNamespacesRequest = {}, options?: Configuration): Promise> { + public listResourceClaimTemplateForAllNamespacesWithHttpInfo(param: ResourceV1beta1ApiListResourceClaimTemplateForAllNamespacesRequest = {}, options?: Configuration): Promise> { return this.api.listResourceClaimTemplateForAllNamespacesWithHttpInfo(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); } @@ -48606,47 +49358,15 @@ export class ObjectResourceV1alpha2Api { * list or watch objects of kind ResourceClaimTemplate * @param param the request object */ - public listResourceClaimTemplateForAllNamespaces(param: ResourceV1alpha2ApiListResourceClaimTemplateForAllNamespacesRequest = {}, options?: Configuration): Promise { + public listResourceClaimTemplateForAllNamespaces(param: ResourceV1beta1ApiListResourceClaimTemplateForAllNamespacesRequest = {}, options?: Configuration): Promise { return this.api.listResourceClaimTemplateForAllNamespaces(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); } - /** - * list or watch objects of kind ResourceClass - * @param param the request object - */ - public listResourceClassWithHttpInfo(param: ResourceV1alpha2ApiListResourceClassRequest = {}, options?: Configuration): Promise> { - return this.api.listResourceClassWithHttpInfo(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - - /** - * list or watch objects of kind ResourceClass - * @param param the request object - */ - public listResourceClass(param: ResourceV1alpha2ApiListResourceClassRequest = {}, options?: Configuration): Promise { - return this.api.listResourceClass(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - - /** - * list or watch objects of kind ResourceClassParameters - * @param param the request object - */ - public listResourceClassParametersForAllNamespacesWithHttpInfo(param: ResourceV1alpha2ApiListResourceClassParametersForAllNamespacesRequest = {}, options?: Configuration): Promise> { - return this.api.listResourceClassParametersForAllNamespacesWithHttpInfo(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - - /** - * list or watch objects of kind ResourceClassParameters - * @param param the request object - */ - public listResourceClassParametersForAllNamespaces(param: ResourceV1alpha2ApiListResourceClassParametersForAllNamespacesRequest = {}, options?: Configuration): Promise { - return this.api.listResourceClassParametersForAllNamespaces(param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.pretty, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); - } - /** * list or watch objects of kind ResourceSlice * @param param the request object */ - public listResourceSliceWithHttpInfo(param: ResourceV1alpha2ApiListResourceSliceRequest = {}, options?: Configuration): Promise> { + public listResourceSliceWithHttpInfo(param: ResourceV1beta1ApiListResourceSliceRequest = {}, options?: Configuration): Promise> { return this.api.listResourceSliceWithHttpInfo(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); } @@ -48654,47 +49374,31 @@ export class ObjectResourceV1alpha2Api { * list or watch objects of kind ResourceSlice * @param param the request object */ - public listResourceSlice(param: ResourceV1alpha2ApiListResourceSliceRequest = {}, options?: Configuration): Promise { + public listResourceSlice(param: ResourceV1beta1ApiListResourceSliceRequest = {}, options?: Configuration): Promise { return this.api.listResourceSlice(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); } /** - * partially update the specified PodSchedulingContext + * partially update the specified DeviceClass * @param param the request object */ - public patchNamespacedPodSchedulingContextWithHttpInfo(param: ResourceV1alpha2ApiPatchNamespacedPodSchedulingContextRequest, options?: Configuration): Promise> { - return this.api.patchNamespacedPodSchedulingContextWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + public patchDeviceClassWithHttpInfo(param: ResourceV1beta1ApiPatchDeviceClassRequest, options?: Configuration): Promise> { + return this.api.patchDeviceClassWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); } /** - * partially update the specified PodSchedulingContext + * partially update the specified DeviceClass * @param param the request object */ - public patchNamespacedPodSchedulingContext(param: ResourceV1alpha2ApiPatchNamespacedPodSchedulingContextRequest, options?: Configuration): Promise { - return this.api.patchNamespacedPodSchedulingContext(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - - /** - * partially update status of the specified PodSchedulingContext - * @param param the request object - */ - public patchNamespacedPodSchedulingContextStatusWithHttpInfo(param: ResourceV1alpha2ApiPatchNamespacedPodSchedulingContextStatusRequest, options?: Configuration): Promise> { - return this.api.patchNamespacedPodSchedulingContextStatusWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - - /** - * partially update status of the specified PodSchedulingContext - * @param param the request object - */ - public patchNamespacedPodSchedulingContextStatus(param: ResourceV1alpha2ApiPatchNamespacedPodSchedulingContextStatusRequest, options?: Configuration): Promise { - return this.api.patchNamespacedPodSchedulingContextStatus(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + public patchDeviceClass(param: ResourceV1beta1ApiPatchDeviceClassRequest, options?: Configuration): Promise { + return this.api.patchDeviceClass(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); } /** * partially update the specified ResourceClaim * @param param the request object */ - public patchNamespacedResourceClaimWithHttpInfo(param: ResourceV1alpha2ApiPatchNamespacedResourceClaimRequest, options?: Configuration): Promise> { + public patchNamespacedResourceClaimWithHttpInfo(param: ResourceV1beta1ApiPatchNamespacedResourceClaimRequest, options?: Configuration): Promise> { return this.api.patchNamespacedResourceClaimWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); } @@ -48702,31 +49406,15 @@ export class ObjectResourceV1alpha2Api { * partially update the specified ResourceClaim * @param param the request object */ - public patchNamespacedResourceClaim(param: ResourceV1alpha2ApiPatchNamespacedResourceClaimRequest, options?: Configuration): Promise { + public patchNamespacedResourceClaim(param: ResourceV1beta1ApiPatchNamespacedResourceClaimRequest, options?: Configuration): Promise { return this.api.patchNamespacedResourceClaim(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); } - /** - * partially update the specified ResourceClaimParameters - * @param param the request object - */ - public patchNamespacedResourceClaimParametersWithHttpInfo(param: ResourceV1alpha2ApiPatchNamespacedResourceClaimParametersRequest, options?: Configuration): Promise> { - return this.api.patchNamespacedResourceClaimParametersWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - - /** - * partially update the specified ResourceClaimParameters - * @param param the request object - */ - public patchNamespacedResourceClaimParameters(param: ResourceV1alpha2ApiPatchNamespacedResourceClaimParametersRequest, options?: Configuration): Promise { - return this.api.patchNamespacedResourceClaimParameters(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - /** * partially update status of the specified ResourceClaim * @param param the request object */ - public patchNamespacedResourceClaimStatusWithHttpInfo(param: ResourceV1alpha2ApiPatchNamespacedResourceClaimStatusRequest, options?: Configuration): Promise> { + public patchNamespacedResourceClaimStatusWithHttpInfo(param: ResourceV1beta1ApiPatchNamespacedResourceClaimStatusRequest, options?: Configuration): Promise> { return this.api.patchNamespacedResourceClaimStatusWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); } @@ -48734,7 +49422,7 @@ export class ObjectResourceV1alpha2Api { * partially update status of the specified ResourceClaim * @param param the request object */ - public patchNamespacedResourceClaimStatus(param: ResourceV1alpha2ApiPatchNamespacedResourceClaimStatusRequest, options?: Configuration): Promise { + public patchNamespacedResourceClaimStatus(param: ResourceV1beta1ApiPatchNamespacedResourceClaimStatusRequest, options?: Configuration): Promise { return this.api.patchNamespacedResourceClaimStatus(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); } @@ -48742,7 +49430,7 @@ export class ObjectResourceV1alpha2Api { * partially update the specified ResourceClaimTemplate * @param param the request object */ - public patchNamespacedResourceClaimTemplateWithHttpInfo(param: ResourceV1alpha2ApiPatchNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise> { + public patchNamespacedResourceClaimTemplateWithHttpInfo(param: ResourceV1beta1ApiPatchNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise> { return this.api.patchNamespacedResourceClaimTemplateWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); } @@ -48750,47 +49438,15 @@ export class ObjectResourceV1alpha2Api { * partially update the specified ResourceClaimTemplate * @param param the request object */ - public patchNamespacedResourceClaimTemplate(param: ResourceV1alpha2ApiPatchNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise { + public patchNamespacedResourceClaimTemplate(param: ResourceV1beta1ApiPatchNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise { return this.api.patchNamespacedResourceClaimTemplate(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); } - /** - * partially update the specified ResourceClassParameters - * @param param the request object - */ - public patchNamespacedResourceClassParametersWithHttpInfo(param: ResourceV1alpha2ApiPatchNamespacedResourceClassParametersRequest, options?: Configuration): Promise> { - return this.api.patchNamespacedResourceClassParametersWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - - /** - * partially update the specified ResourceClassParameters - * @param param the request object - */ - public patchNamespacedResourceClassParameters(param: ResourceV1alpha2ApiPatchNamespacedResourceClassParametersRequest, options?: Configuration): Promise { - return this.api.patchNamespacedResourceClassParameters(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - - /** - * partially update the specified ResourceClass - * @param param the request object - */ - public patchResourceClassWithHttpInfo(param: ResourceV1alpha2ApiPatchResourceClassRequest, options?: Configuration): Promise> { - return this.api.patchResourceClassWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - - /** - * partially update the specified ResourceClass - * @param param the request object - */ - public patchResourceClass(param: ResourceV1alpha2ApiPatchResourceClassRequest, options?: Configuration): Promise { - return this.api.patchResourceClass(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); - } - /** * partially update the specified ResourceSlice * @param param the request object */ - public patchResourceSliceWithHttpInfo(param: ResourceV1alpha2ApiPatchResourceSliceRequest, options?: Configuration): Promise> { + public patchResourceSliceWithHttpInfo(param: ResourceV1beta1ApiPatchResourceSliceRequest, options?: Configuration): Promise> { return this.api.patchResourceSliceWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); } @@ -48798,47 +49454,31 @@ export class ObjectResourceV1alpha2Api { * partially update the specified ResourceSlice * @param param the request object */ - public patchResourceSlice(param: ResourceV1alpha2ApiPatchResourceSliceRequest, options?: Configuration): Promise { + public patchResourceSlice(param: ResourceV1beta1ApiPatchResourceSliceRequest, options?: Configuration): Promise { return this.api.patchResourceSlice(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); } /** - * read the specified PodSchedulingContext - * @param param the request object - */ - public readNamespacedPodSchedulingContextWithHttpInfo(param: ResourceV1alpha2ApiReadNamespacedPodSchedulingContextRequest, options?: Configuration): Promise> { - return this.api.readNamespacedPodSchedulingContextWithHttpInfo(param.name, param.namespace, param.pretty, options).toPromise(); - } - - /** - * read the specified PodSchedulingContext + * read the specified DeviceClass * @param param the request object */ - public readNamespacedPodSchedulingContext(param: ResourceV1alpha2ApiReadNamespacedPodSchedulingContextRequest, options?: Configuration): Promise { - return this.api.readNamespacedPodSchedulingContext(param.name, param.namespace, param.pretty, options).toPromise(); + public readDeviceClassWithHttpInfo(param: ResourceV1beta1ApiReadDeviceClassRequest, options?: Configuration): Promise> { + return this.api.readDeviceClassWithHttpInfo(param.name, param.pretty, options).toPromise(); } /** - * read status of the specified PodSchedulingContext + * read the specified DeviceClass * @param param the request object */ - public readNamespacedPodSchedulingContextStatusWithHttpInfo(param: ResourceV1alpha2ApiReadNamespacedPodSchedulingContextStatusRequest, options?: Configuration): Promise> { - return this.api.readNamespacedPodSchedulingContextStatusWithHttpInfo(param.name, param.namespace, param.pretty, options).toPromise(); - } - - /** - * read status of the specified PodSchedulingContext - * @param param the request object - */ - public readNamespacedPodSchedulingContextStatus(param: ResourceV1alpha2ApiReadNamespacedPodSchedulingContextStatusRequest, options?: Configuration): Promise { - return this.api.readNamespacedPodSchedulingContextStatus(param.name, param.namespace, param.pretty, options).toPromise(); + public readDeviceClass(param: ResourceV1beta1ApiReadDeviceClassRequest, options?: Configuration): Promise { + return this.api.readDeviceClass(param.name, param.pretty, options).toPromise(); } /** * read the specified ResourceClaim * @param param the request object */ - public readNamespacedResourceClaimWithHttpInfo(param: ResourceV1alpha2ApiReadNamespacedResourceClaimRequest, options?: Configuration): Promise> { + public readNamespacedResourceClaimWithHttpInfo(param: ResourceV1beta1ApiReadNamespacedResourceClaimRequest, options?: Configuration): Promise> { return this.api.readNamespacedResourceClaimWithHttpInfo(param.name, param.namespace, param.pretty, options).toPromise(); } @@ -48846,31 +49486,15 @@ export class ObjectResourceV1alpha2Api { * read the specified ResourceClaim * @param param the request object */ - public readNamespacedResourceClaim(param: ResourceV1alpha2ApiReadNamespacedResourceClaimRequest, options?: Configuration): Promise { + public readNamespacedResourceClaim(param: ResourceV1beta1ApiReadNamespacedResourceClaimRequest, options?: Configuration): Promise { return this.api.readNamespacedResourceClaim(param.name, param.namespace, param.pretty, options).toPromise(); } - /** - * read the specified ResourceClaimParameters - * @param param the request object - */ - public readNamespacedResourceClaimParametersWithHttpInfo(param: ResourceV1alpha2ApiReadNamespacedResourceClaimParametersRequest, options?: Configuration): Promise> { - return this.api.readNamespacedResourceClaimParametersWithHttpInfo(param.name, param.namespace, param.pretty, options).toPromise(); - } - - /** - * read the specified ResourceClaimParameters - * @param param the request object - */ - public readNamespacedResourceClaimParameters(param: ResourceV1alpha2ApiReadNamespacedResourceClaimParametersRequest, options?: Configuration): Promise { - return this.api.readNamespacedResourceClaimParameters(param.name, param.namespace, param.pretty, options).toPromise(); - } - /** * read status of the specified ResourceClaim * @param param the request object */ - public readNamespacedResourceClaimStatusWithHttpInfo(param: ResourceV1alpha2ApiReadNamespacedResourceClaimStatusRequest, options?: Configuration): Promise> { + public readNamespacedResourceClaimStatusWithHttpInfo(param: ResourceV1beta1ApiReadNamespacedResourceClaimStatusRequest, options?: Configuration): Promise> { return this.api.readNamespacedResourceClaimStatusWithHttpInfo(param.name, param.namespace, param.pretty, options).toPromise(); } @@ -48878,7 +49502,7 @@ export class ObjectResourceV1alpha2Api { * read status of the specified ResourceClaim * @param param the request object */ - public readNamespacedResourceClaimStatus(param: ResourceV1alpha2ApiReadNamespacedResourceClaimStatusRequest, options?: Configuration): Promise { + public readNamespacedResourceClaimStatus(param: ResourceV1beta1ApiReadNamespacedResourceClaimStatusRequest, options?: Configuration): Promise { return this.api.readNamespacedResourceClaimStatus(param.name, param.namespace, param.pretty, options).toPromise(); } @@ -48886,7 +49510,7 @@ export class ObjectResourceV1alpha2Api { * read the specified ResourceClaimTemplate * @param param the request object */ - public readNamespacedResourceClaimTemplateWithHttpInfo(param: ResourceV1alpha2ApiReadNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise> { + public readNamespacedResourceClaimTemplateWithHttpInfo(param: ResourceV1beta1ApiReadNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise> { return this.api.readNamespacedResourceClaimTemplateWithHttpInfo(param.name, param.namespace, param.pretty, options).toPromise(); } @@ -48894,47 +49518,15 @@ export class ObjectResourceV1alpha2Api { * read the specified ResourceClaimTemplate * @param param the request object */ - public readNamespacedResourceClaimTemplate(param: ResourceV1alpha2ApiReadNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise { + public readNamespacedResourceClaimTemplate(param: ResourceV1beta1ApiReadNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise { return this.api.readNamespacedResourceClaimTemplate(param.name, param.namespace, param.pretty, options).toPromise(); } - /** - * read the specified ResourceClassParameters - * @param param the request object - */ - public readNamespacedResourceClassParametersWithHttpInfo(param: ResourceV1alpha2ApiReadNamespacedResourceClassParametersRequest, options?: Configuration): Promise> { - return this.api.readNamespacedResourceClassParametersWithHttpInfo(param.name, param.namespace, param.pretty, options).toPromise(); - } - - /** - * read the specified ResourceClassParameters - * @param param the request object - */ - public readNamespacedResourceClassParameters(param: ResourceV1alpha2ApiReadNamespacedResourceClassParametersRequest, options?: Configuration): Promise { - return this.api.readNamespacedResourceClassParameters(param.name, param.namespace, param.pretty, options).toPromise(); - } - - /** - * read the specified ResourceClass - * @param param the request object - */ - public readResourceClassWithHttpInfo(param: ResourceV1alpha2ApiReadResourceClassRequest, options?: Configuration): Promise> { - return this.api.readResourceClassWithHttpInfo(param.name, param.pretty, options).toPromise(); - } - - /** - * read the specified ResourceClass - * @param param the request object - */ - public readResourceClass(param: ResourceV1alpha2ApiReadResourceClassRequest, options?: Configuration): Promise { - return this.api.readResourceClass(param.name, param.pretty, options).toPromise(); - } - /** * read the specified ResourceSlice * @param param the request object */ - public readResourceSliceWithHttpInfo(param: ResourceV1alpha2ApiReadResourceSliceRequest, options?: Configuration): Promise> { + public readResourceSliceWithHttpInfo(param: ResourceV1beta1ApiReadResourceSliceRequest, options?: Configuration): Promise> { return this.api.readResourceSliceWithHttpInfo(param.name, param.pretty, options).toPromise(); } @@ -48942,47 +49534,31 @@ export class ObjectResourceV1alpha2Api { * read the specified ResourceSlice * @param param the request object */ - public readResourceSlice(param: ResourceV1alpha2ApiReadResourceSliceRequest, options?: Configuration): Promise { + public readResourceSlice(param: ResourceV1beta1ApiReadResourceSliceRequest, options?: Configuration): Promise { return this.api.readResourceSlice(param.name, param.pretty, options).toPromise(); } /** - * replace the specified PodSchedulingContext + * replace the specified DeviceClass * @param param the request object */ - public replaceNamespacedPodSchedulingContextWithHttpInfo(param: ResourceV1alpha2ApiReplaceNamespacedPodSchedulingContextRequest, options?: Configuration): Promise> { - return this.api.replaceNamespacedPodSchedulingContextWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + public replaceDeviceClassWithHttpInfo(param: ResourceV1beta1ApiReplaceDeviceClassRequest, options?: Configuration): Promise> { + return this.api.replaceDeviceClassWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } /** - * replace the specified PodSchedulingContext + * replace the specified DeviceClass * @param param the request object */ - public replaceNamespacedPodSchedulingContext(param: ResourceV1alpha2ApiReplaceNamespacedPodSchedulingContextRequest, options?: Configuration): Promise { - return this.api.replaceNamespacedPodSchedulingContext(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - - /** - * replace status of the specified PodSchedulingContext - * @param param the request object - */ - public replaceNamespacedPodSchedulingContextStatusWithHttpInfo(param: ResourceV1alpha2ApiReplaceNamespacedPodSchedulingContextStatusRequest, options?: Configuration): Promise> { - return this.api.replaceNamespacedPodSchedulingContextStatusWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - - /** - * replace status of the specified PodSchedulingContext - * @param param the request object - */ - public replaceNamespacedPodSchedulingContextStatus(param: ResourceV1alpha2ApiReplaceNamespacedPodSchedulingContextStatusRequest, options?: Configuration): Promise { - return this.api.replaceNamespacedPodSchedulingContextStatus(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + public replaceDeviceClass(param: ResourceV1beta1ApiReplaceDeviceClassRequest, options?: Configuration): Promise { + return this.api.replaceDeviceClass(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } /** * replace the specified ResourceClaim * @param param the request object */ - public replaceNamespacedResourceClaimWithHttpInfo(param: ResourceV1alpha2ApiReplaceNamespacedResourceClaimRequest, options?: Configuration): Promise> { + public replaceNamespacedResourceClaimWithHttpInfo(param: ResourceV1beta1ApiReplaceNamespacedResourceClaimRequest, options?: Configuration): Promise> { return this.api.replaceNamespacedResourceClaimWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } @@ -48990,31 +49566,15 @@ export class ObjectResourceV1alpha2Api { * replace the specified ResourceClaim * @param param the request object */ - public replaceNamespacedResourceClaim(param: ResourceV1alpha2ApiReplaceNamespacedResourceClaimRequest, options?: Configuration): Promise { + public replaceNamespacedResourceClaim(param: ResourceV1beta1ApiReplaceNamespacedResourceClaimRequest, options?: Configuration): Promise { return this.api.replaceNamespacedResourceClaim(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } - /** - * replace the specified ResourceClaimParameters - * @param param the request object - */ - public replaceNamespacedResourceClaimParametersWithHttpInfo(param: ResourceV1alpha2ApiReplaceNamespacedResourceClaimParametersRequest, options?: Configuration): Promise> { - return this.api.replaceNamespacedResourceClaimParametersWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - - /** - * replace the specified ResourceClaimParameters - * @param param the request object - */ - public replaceNamespacedResourceClaimParameters(param: ResourceV1alpha2ApiReplaceNamespacedResourceClaimParametersRequest, options?: Configuration): Promise { - return this.api.replaceNamespacedResourceClaimParameters(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - /** * replace status of the specified ResourceClaim * @param param the request object */ - public replaceNamespacedResourceClaimStatusWithHttpInfo(param: ResourceV1alpha2ApiReplaceNamespacedResourceClaimStatusRequest, options?: Configuration): Promise> { + public replaceNamespacedResourceClaimStatusWithHttpInfo(param: ResourceV1beta1ApiReplaceNamespacedResourceClaimStatusRequest, options?: Configuration): Promise> { return this.api.replaceNamespacedResourceClaimStatusWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } @@ -49022,7 +49582,7 @@ export class ObjectResourceV1alpha2Api { * replace status of the specified ResourceClaim * @param param the request object */ - public replaceNamespacedResourceClaimStatus(param: ResourceV1alpha2ApiReplaceNamespacedResourceClaimStatusRequest, options?: Configuration): Promise { + public replaceNamespacedResourceClaimStatus(param: ResourceV1beta1ApiReplaceNamespacedResourceClaimStatusRequest, options?: Configuration): Promise { return this.api.replaceNamespacedResourceClaimStatus(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } @@ -49030,7 +49590,7 @@ export class ObjectResourceV1alpha2Api { * replace the specified ResourceClaimTemplate * @param param the request object */ - public replaceNamespacedResourceClaimTemplateWithHttpInfo(param: ResourceV1alpha2ApiReplaceNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise> { + public replaceNamespacedResourceClaimTemplateWithHttpInfo(param: ResourceV1beta1ApiReplaceNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise> { return this.api.replaceNamespacedResourceClaimTemplateWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } @@ -49038,47 +49598,15 @@ export class ObjectResourceV1alpha2Api { * replace the specified ResourceClaimTemplate * @param param the request object */ - public replaceNamespacedResourceClaimTemplate(param: ResourceV1alpha2ApiReplaceNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise { + public replaceNamespacedResourceClaimTemplate(param: ResourceV1beta1ApiReplaceNamespacedResourceClaimTemplateRequest, options?: Configuration): Promise { return this.api.replaceNamespacedResourceClaimTemplate(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } - /** - * replace the specified ResourceClassParameters - * @param param the request object - */ - public replaceNamespacedResourceClassParametersWithHttpInfo(param: ResourceV1alpha2ApiReplaceNamespacedResourceClassParametersRequest, options?: Configuration): Promise> { - return this.api.replaceNamespacedResourceClassParametersWithHttpInfo(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - - /** - * replace the specified ResourceClassParameters - * @param param the request object - */ - public replaceNamespacedResourceClassParameters(param: ResourceV1alpha2ApiReplaceNamespacedResourceClassParametersRequest, options?: Configuration): Promise { - return this.api.replaceNamespacedResourceClassParameters(param.name, param.namespace, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - - /** - * replace the specified ResourceClass - * @param param the request object - */ - public replaceResourceClassWithHttpInfo(param: ResourceV1alpha2ApiReplaceResourceClassRequest, options?: Configuration): Promise> { - return this.api.replaceResourceClassWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - - /** - * replace the specified ResourceClass - * @param param the request object - */ - public replaceResourceClass(param: ResourceV1alpha2ApiReplaceResourceClassRequest, options?: Configuration): Promise { - return this.api.replaceResourceClass(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); - } - /** * replace the specified ResourceSlice * @param param the request object */ - public replaceResourceSliceWithHttpInfo(param: ResourceV1alpha2ApiReplaceResourceSliceRequest, options?: Configuration): Promise> { + public replaceResourceSliceWithHttpInfo(param: ResourceV1beta1ApiReplaceResourceSliceRequest, options?: Configuration): Promise> { return this.api.replaceResourceSliceWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } @@ -49086,14 +49614,14 @@ export class ObjectResourceV1alpha2Api { * replace the specified ResourceSlice * @param param the request object */ - public replaceResourceSlice(param: ResourceV1alpha2ApiReplaceResourceSliceRequest, options?: Configuration): Promise { + public replaceResourceSlice(param: ResourceV1beta1ApiReplaceResourceSliceRequest, options?: Configuration): Promise { return this.api.replaceResourceSlice(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); } } -import { ObservableSchedulingApi } from "./ObservableAPI.js"; -import { SchedulingApiRequestFactory, SchedulingApiResponseProcessor} from "../apis/SchedulingApi.js"; +import { ObservableSchedulingApi } from "./ObservableAPI"; +import { SchedulingApiRequestFactory, SchedulingApiResponseProcessor} from "../apis/SchedulingApi"; export interface SchedulingApiGetAPIGroupRequest { } @@ -49123,8 +49651,8 @@ export class ObjectSchedulingApi { } -import { ObservableSchedulingV1Api } from "./ObservableAPI.js"; -import { SchedulingV1ApiRequestFactory, SchedulingV1ApiResponseProcessor} from "../apis/SchedulingV1Api.js"; +import { ObservableSchedulingV1Api } from "./ObservableAPI"; +import { SchedulingV1ApiRequestFactory, SchedulingV1ApiResponseProcessor} from "../apis/SchedulingV1Api"; export interface SchedulingV1ApiCreatePriorityClassRequest { /** @@ -49199,6 +49727,13 @@ export interface SchedulingV1ApiDeleteCollectionPriorityClassRequest { * @memberof SchedulingV1ApideleteCollectionPriorityClass */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof SchedulingV1ApideleteCollectionPriorityClass + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -49292,6 +49827,13 @@ export interface SchedulingV1ApiDeletePriorityClassRequest { * @memberof SchedulingV1ApideletePriorityClass */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof SchedulingV1ApideletePriorityClass + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -49537,7 +50079,7 @@ export class ObjectSchedulingV1Api { * @param param the request object */ public deleteCollectionPriorityClassWithHttpInfo(param: SchedulingV1ApiDeleteCollectionPriorityClassRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionPriorityClassWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionPriorityClassWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -49545,7 +50087,7 @@ export class ObjectSchedulingV1Api { * @param param the request object */ public deleteCollectionPriorityClass(param: SchedulingV1ApiDeleteCollectionPriorityClassRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionPriorityClass(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionPriorityClass(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -49553,7 +50095,7 @@ export class ObjectSchedulingV1Api { * @param param the request object */ public deletePriorityClassWithHttpInfo(param: SchedulingV1ApiDeletePriorityClassRequest, options?: Configuration): Promise> { - return this.api.deletePriorityClassWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deletePriorityClassWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -49561,7 +50103,7 @@ export class ObjectSchedulingV1Api { * @param param the request object */ public deletePriorityClass(param: SchedulingV1ApiDeletePriorityClassRequest, options?: Configuration): Promise { - return this.api.deletePriorityClass(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deletePriorityClass(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -49646,8 +50188,8 @@ export class ObjectSchedulingV1Api { } -import { ObservableStorageApi } from "./ObservableAPI.js"; -import { StorageApiRequestFactory, StorageApiResponseProcessor} from "../apis/StorageApi.js"; +import { ObservableStorageApi } from "./ObservableAPI"; +import { StorageApiRequestFactory, StorageApiResponseProcessor} from "../apis/StorageApi"; export interface StorageApiGetAPIGroupRequest { } @@ -49677,8 +50219,8 @@ export class ObjectStorageApi { } -import { ObservableStorageV1Api } from "./ObservableAPI.js"; -import { StorageV1ApiRequestFactory, StorageV1ApiResponseProcessor} from "../apis/StorageV1Api.js"; +import { ObservableStorageV1Api } from "./ObservableAPI"; +import { StorageV1ApiRequestFactory, StorageV1ApiResponseProcessor} from "../apis/StorageV1Api"; export interface StorageV1ApiCreateCSIDriverRequest { /** @@ -49901,6 +50443,13 @@ export interface StorageV1ApiDeleteCSIDriverRequest { * @memberof StorageV1ApideleteCSIDriver */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof StorageV1ApideleteCSIDriver + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -49952,6 +50501,13 @@ export interface StorageV1ApiDeleteCSINodeRequest { * @memberof StorageV1ApideleteCSINode */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof StorageV1ApideleteCSINode + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -50010,6 +50566,13 @@ export interface StorageV1ApiDeleteCollectionCSIDriverRequest { * @memberof StorageV1ApideleteCollectionCSIDriver */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof StorageV1ApideleteCollectionCSIDriver + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -50110,6 +50673,13 @@ export interface StorageV1ApiDeleteCollectionCSINodeRequest { * @memberof StorageV1ApideleteCollectionCSINode */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof StorageV1ApideleteCollectionCSINode + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -50217,6 +50787,13 @@ export interface StorageV1ApiDeleteCollectionNamespacedCSIStorageCapacityRequest * @memberof StorageV1ApideleteCollectionNamespacedCSIStorageCapacity */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof StorageV1ApideleteCollectionNamespacedCSIStorageCapacity + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -50317,6 +50894,13 @@ export interface StorageV1ApiDeleteCollectionStorageClassRequest { * @memberof StorageV1ApideleteCollectionStorageClass */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof StorageV1ApideleteCollectionStorageClass + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -50417,6 +51001,13 @@ export interface StorageV1ApiDeleteCollectionVolumeAttachmentRequest { * @memberof StorageV1ApideleteCollectionVolumeAttachment */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof StorageV1ApideleteCollectionVolumeAttachment + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -50517,6 +51108,13 @@ export interface StorageV1ApiDeleteNamespacedCSIStorageCapacityRequest { * @memberof StorageV1ApideleteNamespacedCSIStorageCapacity */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof StorageV1ApideleteNamespacedCSIStorageCapacity + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -50568,6 +51166,13 @@ export interface StorageV1ApiDeleteStorageClassRequest { * @memberof StorageV1ApideleteStorageClass */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof StorageV1ApideleteStorageClass + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -50619,6 +51224,13 @@ export interface StorageV1ApiDeleteVolumeAttachmentRequest { * @memberof StorageV1ApideleteVolumeAttachment */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof StorageV1ApideleteVolumeAttachment + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -51916,7 +52528,7 @@ export class ObjectStorageV1Api { * @param param the request object */ public deleteCSIDriverWithHttpInfo(param: StorageV1ApiDeleteCSIDriverRequest, options?: Configuration): Promise> { - return this.api.deleteCSIDriverWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteCSIDriverWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -51924,7 +52536,7 @@ export class ObjectStorageV1Api { * @param param the request object */ public deleteCSIDriver(param: StorageV1ApiDeleteCSIDriverRequest, options?: Configuration): Promise { - return this.api.deleteCSIDriver(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteCSIDriver(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -51932,7 +52544,7 @@ export class ObjectStorageV1Api { * @param param the request object */ public deleteCSINodeWithHttpInfo(param: StorageV1ApiDeleteCSINodeRequest, options?: Configuration): Promise> { - return this.api.deleteCSINodeWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteCSINodeWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -51940,7 +52552,7 @@ export class ObjectStorageV1Api { * @param param the request object */ public deleteCSINode(param: StorageV1ApiDeleteCSINodeRequest, options?: Configuration): Promise { - return this.api.deleteCSINode(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteCSINode(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -51948,7 +52560,7 @@ export class ObjectStorageV1Api { * @param param the request object */ public deleteCollectionCSIDriverWithHttpInfo(param: StorageV1ApiDeleteCollectionCSIDriverRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionCSIDriverWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionCSIDriverWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -51956,7 +52568,7 @@ export class ObjectStorageV1Api { * @param param the request object */ public deleteCollectionCSIDriver(param: StorageV1ApiDeleteCollectionCSIDriverRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionCSIDriver(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionCSIDriver(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -51964,7 +52576,7 @@ export class ObjectStorageV1Api { * @param param the request object */ public deleteCollectionCSINodeWithHttpInfo(param: StorageV1ApiDeleteCollectionCSINodeRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionCSINodeWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionCSINodeWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -51972,7 +52584,7 @@ export class ObjectStorageV1Api { * @param param the request object */ public deleteCollectionCSINode(param: StorageV1ApiDeleteCollectionCSINodeRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionCSINode(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionCSINode(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -51980,7 +52592,7 @@ export class ObjectStorageV1Api { * @param param the request object */ public deleteCollectionNamespacedCSIStorageCapacityWithHttpInfo(param: StorageV1ApiDeleteCollectionNamespacedCSIStorageCapacityRequest, options?: Configuration): Promise> { - return this.api.deleteCollectionNamespacedCSIStorageCapacityWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedCSIStorageCapacityWithHttpInfo(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -51988,7 +52600,7 @@ export class ObjectStorageV1Api { * @param param the request object */ public deleteCollectionNamespacedCSIStorageCapacity(param: StorageV1ApiDeleteCollectionNamespacedCSIStorageCapacityRequest, options?: Configuration): Promise { - return this.api.deleteCollectionNamespacedCSIStorageCapacity(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionNamespacedCSIStorageCapacity(param.namespace, param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -51996,7 +52608,7 @@ export class ObjectStorageV1Api { * @param param the request object */ public deleteCollectionStorageClassWithHttpInfo(param: StorageV1ApiDeleteCollectionStorageClassRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionStorageClassWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionStorageClassWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -52004,7 +52616,7 @@ export class ObjectStorageV1Api { * @param param the request object */ public deleteCollectionStorageClass(param: StorageV1ApiDeleteCollectionStorageClassRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionStorageClass(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionStorageClass(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -52012,7 +52624,7 @@ export class ObjectStorageV1Api { * @param param the request object */ public deleteCollectionVolumeAttachmentWithHttpInfo(param: StorageV1ApiDeleteCollectionVolumeAttachmentRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionVolumeAttachmentWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionVolumeAttachmentWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -52020,7 +52632,7 @@ export class ObjectStorageV1Api { * @param param the request object */ public deleteCollectionVolumeAttachment(param: StorageV1ApiDeleteCollectionVolumeAttachmentRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionVolumeAttachment(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionVolumeAttachment(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -52028,7 +52640,7 @@ export class ObjectStorageV1Api { * @param param the request object */ public deleteNamespacedCSIStorageCapacityWithHttpInfo(param: StorageV1ApiDeleteNamespacedCSIStorageCapacityRequest, options?: Configuration): Promise> { - return this.api.deleteNamespacedCSIStorageCapacityWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedCSIStorageCapacityWithHttpInfo(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -52036,7 +52648,7 @@ export class ObjectStorageV1Api { * @param param the request object */ public deleteNamespacedCSIStorageCapacity(param: StorageV1ApiDeleteNamespacedCSIStorageCapacityRequest, options?: Configuration): Promise { - return this.api.deleteNamespacedCSIStorageCapacity(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteNamespacedCSIStorageCapacity(param.name, param.namespace, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -52044,7 +52656,7 @@ export class ObjectStorageV1Api { * @param param the request object */ public deleteStorageClassWithHttpInfo(param: StorageV1ApiDeleteStorageClassRequest, options?: Configuration): Promise> { - return this.api.deleteStorageClassWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteStorageClassWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -52052,7 +52664,7 @@ export class ObjectStorageV1Api { * @param param the request object */ public deleteStorageClass(param: StorageV1ApiDeleteStorageClassRequest, options?: Configuration): Promise { - return this.api.deleteStorageClass(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteStorageClass(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -52060,7 +52672,7 @@ export class ObjectStorageV1Api { * @param param the request object */ public deleteVolumeAttachmentWithHttpInfo(param: StorageV1ApiDeleteVolumeAttachmentRequest, options?: Configuration): Promise> { - return this.api.deleteVolumeAttachmentWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteVolumeAttachmentWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -52068,7 +52680,7 @@ export class ObjectStorageV1Api { * @param param the request object */ public deleteVolumeAttachment(param: StorageV1ApiDeleteVolumeAttachmentRequest, options?: Configuration): Promise { - return this.api.deleteVolumeAttachment(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteVolumeAttachment(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -52473,8 +53085,8 @@ export class ObjectStorageV1Api { } -import { ObservableStorageV1alpha1Api } from "./ObservableAPI.js"; -import { StorageV1alpha1ApiRequestFactory, StorageV1alpha1ApiResponseProcessor} from "../apis/StorageV1alpha1Api.js"; +import { ObservableStorageV1alpha1Api } from "./ObservableAPI"; +import { StorageV1alpha1ApiRequestFactory, StorageV1alpha1ApiResponseProcessor} from "../apis/StorageV1alpha1Api"; export interface StorageV1alpha1ApiCreateVolumeAttributesClassRequest { /** @@ -52549,6 +53161,13 @@ export interface StorageV1alpha1ApiDeleteCollectionVolumeAttributesClassRequest * @memberof StorageV1alpha1ApideleteCollectionVolumeAttributesClass */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof StorageV1alpha1ApideleteCollectionVolumeAttributesClass + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -52642,6 +53261,13 @@ export interface StorageV1alpha1ApiDeleteVolumeAttributesClassRequest { * @memberof StorageV1alpha1ApideleteVolumeAttributesClass */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof StorageV1alpha1ApideleteVolumeAttributesClass + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -52887,7 +53513,7 @@ export class ObjectStorageV1alpha1Api { * @param param the request object */ public deleteCollectionVolumeAttributesClassWithHttpInfo(param: StorageV1alpha1ApiDeleteCollectionVolumeAttributesClassRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionVolumeAttributesClassWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionVolumeAttributesClassWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -52895,7 +53521,7 @@ export class ObjectStorageV1alpha1Api { * @param param the request object */ public deleteCollectionVolumeAttributesClass(param: StorageV1alpha1ApiDeleteCollectionVolumeAttributesClassRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionVolumeAttributesClass(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionVolumeAttributesClass(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -52903,7 +53529,7 @@ export class ObjectStorageV1alpha1Api { * @param param the request object */ public deleteVolumeAttributesClassWithHttpInfo(param: StorageV1alpha1ApiDeleteVolumeAttributesClassRequest, options?: Configuration): Promise> { - return this.api.deleteVolumeAttributesClassWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteVolumeAttributesClassWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -52911,7 +53537,7 @@ export class ObjectStorageV1alpha1Api { * @param param the request object */ public deleteVolumeAttributesClass(param: StorageV1alpha1ApiDeleteVolumeAttributesClassRequest, options?: Configuration): Promise { - return this.api.deleteVolumeAttributesClass(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteVolumeAttributesClass(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -52996,8 +53622,545 @@ export class ObjectStorageV1alpha1Api { } -import { ObservableStoragemigrationApi } from "./ObservableAPI.js"; -import { StoragemigrationApiRequestFactory, StoragemigrationApiResponseProcessor} from "../apis/StoragemigrationApi.js"; +import { ObservableStorageV1beta1Api } from "./ObservableAPI"; +import { StorageV1beta1ApiRequestFactory, StorageV1beta1ApiResponseProcessor} from "../apis/StorageV1beta1Api"; + +export interface StorageV1beta1ApiCreateVolumeAttributesClassRequest { + /** + * + * @type V1beta1VolumeAttributesClass + * @memberof StorageV1beta1ApicreateVolumeAttributesClass + */ + body: V1beta1VolumeAttributesClass + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApicreateVolumeAttributesClass + */ + pretty?: string + /** + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApicreateVolumeAttributesClass + */ + dryRun?: string + /** + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApicreateVolumeAttributesClass + */ + fieldManager?: string + /** + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApicreateVolumeAttributesClass + */ + fieldValidation?: string +} + +export interface StorageV1beta1ApiDeleteCollectionVolumeAttributesClassRequest { + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApideleteCollectionVolumeAttributesClass + */ + pretty?: string + /** + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApideleteCollectionVolumeAttributesClass + */ + _continue?: string + /** + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApideleteCollectionVolumeAttributesClass + */ + dryRun?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApideleteCollectionVolumeAttributesClass + */ + fieldSelector?: string + /** + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * Defaults to: undefined + * @type number + * @memberof StorageV1beta1ApideleteCollectionVolumeAttributesClass + */ + gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof StorageV1beta1ApideleteCollectionVolumeAttributesClass + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApideleteCollectionVolumeAttributesClass + */ + labelSelector?: string + /** + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * Defaults to: undefined + * @type number + * @memberof StorageV1beta1ApideleteCollectionVolumeAttributesClass + */ + limit?: number + /** + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * Defaults to: undefined + * @type boolean + * @memberof StorageV1beta1ApideleteCollectionVolumeAttributesClass + */ + orphanDependents?: boolean + /** + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApideleteCollectionVolumeAttributesClass + */ + propagationPolicy?: string + /** + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApideleteCollectionVolumeAttributesClass + */ + resourceVersion?: string + /** + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApideleteCollectionVolumeAttributesClass + */ + resourceVersionMatch?: string + /** + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * Defaults to: undefined + * @type boolean + * @memberof StorageV1beta1ApideleteCollectionVolumeAttributesClass + */ + sendInitialEvents?: boolean + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * Defaults to: undefined + * @type number + * @memberof StorageV1beta1ApideleteCollectionVolumeAttributesClass + */ + timeoutSeconds?: number + /** + * + * @type V1DeleteOptions + * @memberof StorageV1beta1ApideleteCollectionVolumeAttributesClass + */ + body?: V1DeleteOptions +} + +export interface StorageV1beta1ApiDeleteVolumeAttributesClassRequest { + /** + * name of the VolumeAttributesClass + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApideleteVolumeAttributesClass + */ + name: string + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApideleteVolumeAttributesClass + */ + pretty?: string + /** + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApideleteVolumeAttributesClass + */ + dryRun?: string + /** + * The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * Defaults to: undefined + * @type number + * @memberof StorageV1beta1ApideleteVolumeAttributesClass + */ + gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof StorageV1beta1ApideleteVolumeAttributesClass + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean + /** + * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * Defaults to: undefined + * @type boolean + * @memberof StorageV1beta1ApideleteVolumeAttributesClass + */ + orphanDependents?: boolean + /** + * Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApideleteVolumeAttributesClass + */ + propagationPolicy?: string + /** + * + * @type V1DeleteOptions + * @memberof StorageV1beta1ApideleteVolumeAttributesClass + */ + body?: V1DeleteOptions +} + +export interface StorageV1beta1ApiGetAPIResourcesRequest { +} + +export interface StorageV1beta1ApiListVolumeAttributesClassRequest { + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApilistVolumeAttributesClass + */ + pretty?: string + /** + * allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * Defaults to: undefined + * @type boolean + * @memberof StorageV1beta1ApilistVolumeAttributesClass + */ + allowWatchBookmarks?: boolean + /** + * The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApilistVolumeAttributesClass + */ + _continue?: string + /** + * A selector to restrict the list of returned objects by their fields. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApilistVolumeAttributesClass + */ + fieldSelector?: string + /** + * A selector to restrict the list of returned objects by their labels. Defaults to everything. + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApilistVolumeAttributesClass + */ + labelSelector?: string + /** + * limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * Defaults to: undefined + * @type number + * @memberof StorageV1beta1ApilistVolumeAttributesClass + */ + limit?: number + /** + * resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApilistVolumeAttributesClass + */ + resourceVersion?: string + /** + * resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApilistVolumeAttributesClass + */ + resourceVersionMatch?: string + /** + * `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * Defaults to: undefined + * @type boolean + * @memberof StorageV1beta1ApilistVolumeAttributesClass + */ + sendInitialEvents?: boolean + /** + * Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * Defaults to: undefined + * @type number + * @memberof StorageV1beta1ApilistVolumeAttributesClass + */ + timeoutSeconds?: number + /** + * Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * Defaults to: undefined + * @type boolean + * @memberof StorageV1beta1ApilistVolumeAttributesClass + */ + watch?: boolean +} + +export interface StorageV1beta1ApiPatchVolumeAttributesClassRequest { + /** + * name of the VolumeAttributesClass + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApipatchVolumeAttributesClass + */ + name: string + /** + * + * @type any + * @memberof StorageV1beta1ApipatchVolumeAttributesClass + */ + body: any + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApipatchVolumeAttributesClass + */ + pretty?: string + /** + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApipatchVolumeAttributesClass + */ + dryRun?: string + /** + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApipatchVolumeAttributesClass + */ + fieldManager?: string + /** + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApipatchVolumeAttributesClass + */ + fieldValidation?: string + /** + * Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * Defaults to: undefined + * @type boolean + * @memberof StorageV1beta1ApipatchVolumeAttributesClass + */ + force?: boolean +} + +export interface StorageV1beta1ApiReadVolumeAttributesClassRequest { + /** + * name of the VolumeAttributesClass + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApireadVolumeAttributesClass + */ + name: string + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApireadVolumeAttributesClass + */ + pretty?: string +} + +export interface StorageV1beta1ApiReplaceVolumeAttributesClassRequest { + /** + * name of the VolumeAttributesClass + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApireplaceVolumeAttributesClass + */ + name: string + /** + * + * @type V1beta1VolumeAttributesClass + * @memberof StorageV1beta1ApireplaceVolumeAttributesClass + */ + body: V1beta1VolumeAttributesClass + /** + * If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApireplaceVolumeAttributesClass + */ + pretty?: string + /** + * When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApireplaceVolumeAttributesClass + */ + dryRun?: string + /** + * fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApireplaceVolumeAttributesClass + */ + fieldManager?: string + /** + * fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * Defaults to: undefined + * @type string + * @memberof StorageV1beta1ApireplaceVolumeAttributesClass + */ + fieldValidation?: string +} + +export class ObjectStorageV1beta1Api { + private api: ObservableStorageV1beta1Api + + public constructor(configuration: Configuration, requestFactory?: StorageV1beta1ApiRequestFactory, responseProcessor?: StorageV1beta1ApiResponseProcessor) { + this.api = new ObservableStorageV1beta1Api(configuration, requestFactory, responseProcessor); + } + + /** + * create a VolumeAttributesClass + * @param param the request object + */ + public createVolumeAttributesClassWithHttpInfo(param: StorageV1beta1ApiCreateVolumeAttributesClassRequest, options?: Configuration): Promise> { + return this.api.createVolumeAttributesClassWithHttpInfo(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + + /** + * create a VolumeAttributesClass + * @param param the request object + */ + public createVolumeAttributesClass(param: StorageV1beta1ApiCreateVolumeAttributesClassRequest, options?: Configuration): Promise { + return this.api.createVolumeAttributesClass(param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + + /** + * delete collection of VolumeAttributesClass + * @param param the request object + */ + public deleteCollectionVolumeAttributesClassWithHttpInfo(param: StorageV1beta1ApiDeleteCollectionVolumeAttributesClassRequest = {}, options?: Configuration): Promise> { + return this.api.deleteCollectionVolumeAttributesClassWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } + + /** + * delete collection of VolumeAttributesClass + * @param param the request object + */ + public deleteCollectionVolumeAttributesClass(param: StorageV1beta1ApiDeleteCollectionVolumeAttributesClassRequest = {}, options?: Configuration): Promise { + return this.api.deleteCollectionVolumeAttributesClass(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + } + + /** + * delete a VolumeAttributesClass + * @param param the request object + */ + public deleteVolumeAttributesClassWithHttpInfo(param: StorageV1beta1ApiDeleteVolumeAttributesClassRequest, options?: Configuration): Promise> { + return this.api.deleteVolumeAttributesClassWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } + + /** + * delete a VolumeAttributesClass + * @param param the request object + */ + public deleteVolumeAttributesClass(param: StorageV1beta1ApiDeleteVolumeAttributesClassRequest, options?: Configuration): Promise { + return this.api.deleteVolumeAttributesClass(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + } + + /** + * get available resources + * @param param the request object + */ + public getAPIResourcesWithHttpInfo(param: StorageV1beta1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise> { + return this.api.getAPIResourcesWithHttpInfo( options).toPromise(); + } + + /** + * get available resources + * @param param the request object + */ + public getAPIResources(param: StorageV1beta1ApiGetAPIResourcesRequest = {}, options?: Configuration): Promise { + return this.api.getAPIResources( options).toPromise(); + } + + /** + * list or watch objects of kind VolumeAttributesClass + * @param param the request object + */ + public listVolumeAttributesClassWithHttpInfo(param: StorageV1beta1ApiListVolumeAttributesClassRequest = {}, options?: Configuration): Promise> { + return this.api.listVolumeAttributesClassWithHttpInfo(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + + /** + * list or watch objects of kind VolumeAttributesClass + * @param param the request object + */ + public listVolumeAttributesClass(param: StorageV1beta1ApiListVolumeAttributesClassRequest = {}, options?: Configuration): Promise { + return this.api.listVolumeAttributesClass(param.pretty, param.allowWatchBookmarks, param._continue, param.fieldSelector, param.labelSelector, param.limit, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.watch, options).toPromise(); + } + + /** + * partially update the specified VolumeAttributesClass + * @param param the request object + */ + public patchVolumeAttributesClassWithHttpInfo(param: StorageV1beta1ApiPatchVolumeAttributesClassRequest, options?: Configuration): Promise> { + return this.api.patchVolumeAttributesClassWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + + /** + * partially update the specified VolumeAttributesClass + * @param param the request object + */ + public patchVolumeAttributesClass(param: StorageV1beta1ApiPatchVolumeAttributesClassRequest, options?: Configuration): Promise { + return this.api.patchVolumeAttributesClass(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, param.force, options).toPromise(); + } + + /** + * read the specified VolumeAttributesClass + * @param param the request object + */ + public readVolumeAttributesClassWithHttpInfo(param: StorageV1beta1ApiReadVolumeAttributesClassRequest, options?: Configuration): Promise> { + return this.api.readVolumeAttributesClassWithHttpInfo(param.name, param.pretty, options).toPromise(); + } + + /** + * read the specified VolumeAttributesClass + * @param param the request object + */ + public readVolumeAttributesClass(param: StorageV1beta1ApiReadVolumeAttributesClassRequest, options?: Configuration): Promise { + return this.api.readVolumeAttributesClass(param.name, param.pretty, options).toPromise(); + } + + /** + * replace the specified VolumeAttributesClass + * @param param the request object + */ + public replaceVolumeAttributesClassWithHttpInfo(param: StorageV1beta1ApiReplaceVolumeAttributesClassRequest, options?: Configuration): Promise> { + return this.api.replaceVolumeAttributesClassWithHttpInfo(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + + /** + * replace the specified VolumeAttributesClass + * @param param the request object + */ + public replaceVolumeAttributesClass(param: StorageV1beta1ApiReplaceVolumeAttributesClassRequest, options?: Configuration): Promise { + return this.api.replaceVolumeAttributesClass(param.name, param.body, param.pretty, param.dryRun, param.fieldManager, param.fieldValidation, options).toPromise(); + } + +} + +import { ObservableStoragemigrationApi } from "./ObservableAPI"; +import { StoragemigrationApiRequestFactory, StoragemigrationApiResponseProcessor} from "../apis/StoragemigrationApi"; export interface StoragemigrationApiGetAPIGroupRequest { } @@ -53027,8 +54190,8 @@ export class ObjectStoragemigrationApi { } -import { ObservableStoragemigrationV1alpha1Api } from "./ObservableAPI.js"; -import { StoragemigrationV1alpha1ApiRequestFactory, StoragemigrationV1alpha1ApiResponseProcessor} from "../apis/StoragemigrationV1alpha1Api.js"; +import { ObservableStoragemigrationV1alpha1Api } from "./ObservableAPI"; +import { StoragemigrationV1alpha1ApiRequestFactory, StoragemigrationV1alpha1ApiResponseProcessor} from "../apis/StoragemigrationV1alpha1Api"; export interface StoragemigrationV1alpha1ApiCreateStorageVersionMigrationRequest { /** @@ -53103,6 +54266,13 @@ export interface StoragemigrationV1alpha1ApiDeleteCollectionStorageVersionMigrat * @memberof StoragemigrationV1alpha1ApideleteCollectionStorageVersionMigration */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof StoragemigrationV1alpha1ApideleteCollectionStorageVersionMigration + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * A selector to restrict the list of returned objects by their labels. Defaults to everything. * Defaults to: undefined @@ -53196,6 +54366,13 @@ export interface StoragemigrationV1alpha1ApiDeleteStorageVersionMigrationRequest * @memberof StoragemigrationV1alpha1ApideleteStorageVersionMigration */ gracePeriodSeconds?: number + /** + * if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * Defaults to: undefined + * @type boolean + * @memberof StoragemigrationV1alpha1ApideleteStorageVersionMigration + */ + ignoreStoreReadErrorWithClusterBreakingPotential?: boolean /** * Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * Defaults to: undefined @@ -53553,7 +54730,7 @@ export class ObjectStoragemigrationV1alpha1Api { * @param param the request object */ public deleteCollectionStorageVersionMigrationWithHttpInfo(param: StoragemigrationV1alpha1ApiDeleteCollectionStorageVersionMigrationRequest = {}, options?: Configuration): Promise> { - return this.api.deleteCollectionStorageVersionMigrationWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionStorageVersionMigrationWithHttpInfo(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -53561,7 +54738,7 @@ export class ObjectStoragemigrationV1alpha1Api { * @param param the request object */ public deleteCollectionStorageVersionMigration(param: StoragemigrationV1alpha1ApiDeleteCollectionStorageVersionMigrationRequest = {}, options?: Configuration): Promise { - return this.api.deleteCollectionStorageVersionMigration(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); + return this.api.deleteCollectionStorageVersionMigration(param.pretty, param._continue, param.dryRun, param.fieldSelector, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.labelSelector, param.limit, param.orphanDependents, param.propagationPolicy, param.resourceVersion, param.resourceVersionMatch, param.sendInitialEvents, param.timeoutSeconds, param.body, options).toPromise(); } /** @@ -53569,7 +54746,7 @@ export class ObjectStoragemigrationV1alpha1Api { * @param param the request object */ public deleteStorageVersionMigrationWithHttpInfo(param: StoragemigrationV1alpha1ApiDeleteStorageVersionMigrationRequest, options?: Configuration): Promise> { - return this.api.deleteStorageVersionMigrationWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteStorageVersionMigrationWithHttpInfo(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -53577,7 +54754,7 @@ export class ObjectStoragemigrationV1alpha1Api { * @param param the request object */ public deleteStorageVersionMigration(param: StoragemigrationV1alpha1ApiDeleteStorageVersionMigrationRequest, options?: Configuration): Promise { - return this.api.deleteStorageVersionMigration(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); + return this.api.deleteStorageVersionMigration(param.name, param.pretty, param.dryRun, param.gracePeriodSeconds, param.ignoreStoreReadErrorWithClusterBreakingPotential, param.orphanDependents, param.propagationPolicy, param.body, options).toPromise(); } /** @@ -53710,8 +54887,8 @@ export class ObjectStoragemigrationV1alpha1Api { } -import { ObservableVersionApi } from "./ObservableAPI.js"; -import { VersionApiRequestFactory, VersionApiResponseProcessor} from "../apis/VersionApi.js"; +import { ObservableVersionApi } from "./ObservableAPI"; +import { VersionApiRequestFactory, VersionApiResponseProcessor} from "../apis/VersionApi"; export interface VersionApiGetCodeRequest { } @@ -53741,8 +54918,8 @@ export class ObjectVersionApi { } -import { ObservableWellKnownApi } from "./ObservableAPI.js"; -import { WellKnownApiRequestFactory, WellKnownApiResponseProcessor} from "../apis/WellKnownApi.js"; +import { ObservableWellKnownApi } from "./ObservableAPI"; +import { WellKnownApiRequestFactory, WellKnownApiResponseProcessor} from "../apis/WellKnownApi"; export interface WellKnownApiGetServiceAccountIssuerOpenIDConfigurationRequest { } diff --git a/src/gen/types/ObservableAPI.ts b/src/gen/types/ObservableAPI.ts index 9115a0c3464..4e89e64d8e7 100644 --- a/src/gen/types/ObservableAPI.ts +++ b/src/gen/types/ObservableAPI.ts @@ -1,622 +1,634 @@ -import { ResponseContext, RequestContext, HttpFile, HttpInfo } from '../http/http.js'; -import { Configuration} from '../configuration.js' -import { Observable, of, from } from '../rxjsStub.js'; -import {mergeMap, map} from '../rxjsStub.js'; -import { AdmissionregistrationV1ServiceReference } from '../models/AdmissionregistrationV1ServiceReference.js'; -import { AdmissionregistrationV1WebhookClientConfig } from '../models/AdmissionregistrationV1WebhookClientConfig.js'; -import { ApiextensionsV1ServiceReference } from '../models/ApiextensionsV1ServiceReference.js'; -import { ApiextensionsV1WebhookClientConfig } from '../models/ApiextensionsV1WebhookClientConfig.js'; -import { ApiregistrationV1ServiceReference } from '../models/ApiregistrationV1ServiceReference.js'; -import { AuthenticationV1TokenRequest } from '../models/AuthenticationV1TokenRequest.js'; -import { CoreV1EndpointPort } from '../models/CoreV1EndpointPort.js'; -import { CoreV1Event } from '../models/CoreV1Event.js'; -import { CoreV1EventList } from '../models/CoreV1EventList.js'; -import { CoreV1EventSeries } from '../models/CoreV1EventSeries.js'; -import { DiscoveryV1EndpointPort } from '../models/DiscoveryV1EndpointPort.js'; -import { EventsV1Event } from '../models/EventsV1Event.js'; -import { EventsV1EventList } from '../models/EventsV1EventList.js'; -import { EventsV1EventSeries } from '../models/EventsV1EventSeries.js'; -import { FlowcontrolV1Subject } from '../models/FlowcontrolV1Subject.js'; -import { RbacV1Subject } from '../models/RbacV1Subject.js'; -import { StorageV1TokenRequest } from '../models/StorageV1TokenRequest.js'; -import { V1APIGroup } from '../models/V1APIGroup.js'; -import { V1APIGroupList } from '../models/V1APIGroupList.js'; -import { V1APIResource } from '../models/V1APIResource.js'; -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1APIService } from '../models/V1APIService.js'; -import { V1APIServiceCondition } from '../models/V1APIServiceCondition.js'; -import { V1APIServiceList } from '../models/V1APIServiceList.js'; -import { V1APIServiceSpec } from '../models/V1APIServiceSpec.js'; -import { V1APIServiceStatus } from '../models/V1APIServiceStatus.js'; -import { V1APIVersions } from '../models/V1APIVersions.js'; -import { V1AWSElasticBlockStoreVolumeSource } from '../models/V1AWSElasticBlockStoreVolumeSource.js'; -import { V1Affinity } from '../models/V1Affinity.js'; -import { V1AggregationRule } from '../models/V1AggregationRule.js'; -import { V1AppArmorProfile } from '../models/V1AppArmorProfile.js'; -import { V1AttachedVolume } from '../models/V1AttachedVolume.js'; -import { V1AuditAnnotation } from '../models/V1AuditAnnotation.js'; -import { V1AzureDiskVolumeSource } from '../models/V1AzureDiskVolumeSource.js'; -import { V1AzureFilePersistentVolumeSource } from '../models/V1AzureFilePersistentVolumeSource.js'; -import { V1AzureFileVolumeSource } from '../models/V1AzureFileVolumeSource.js'; -import { V1Binding } from '../models/V1Binding.js'; -import { V1BoundObjectReference } from '../models/V1BoundObjectReference.js'; -import { V1CSIDriver } from '../models/V1CSIDriver.js'; -import { V1CSIDriverList } from '../models/V1CSIDriverList.js'; -import { V1CSIDriverSpec } from '../models/V1CSIDriverSpec.js'; -import { V1CSINode } from '../models/V1CSINode.js'; -import { V1CSINodeDriver } from '../models/V1CSINodeDriver.js'; -import { V1CSINodeList } from '../models/V1CSINodeList.js'; -import { V1CSINodeSpec } from '../models/V1CSINodeSpec.js'; -import { V1CSIPersistentVolumeSource } from '../models/V1CSIPersistentVolumeSource.js'; -import { V1CSIStorageCapacity } from '../models/V1CSIStorageCapacity.js'; -import { V1CSIStorageCapacityList } from '../models/V1CSIStorageCapacityList.js'; -import { V1CSIVolumeSource } from '../models/V1CSIVolumeSource.js'; -import { V1Capabilities } from '../models/V1Capabilities.js'; -import { V1CephFSPersistentVolumeSource } from '../models/V1CephFSPersistentVolumeSource.js'; -import { V1CephFSVolumeSource } from '../models/V1CephFSVolumeSource.js'; -import { V1CertificateSigningRequest } from '../models/V1CertificateSigningRequest.js'; -import { V1CertificateSigningRequestCondition } from '../models/V1CertificateSigningRequestCondition.js'; -import { V1CertificateSigningRequestList } from '../models/V1CertificateSigningRequestList.js'; -import { V1CertificateSigningRequestSpec } from '../models/V1CertificateSigningRequestSpec.js'; -import { V1CertificateSigningRequestStatus } from '../models/V1CertificateSigningRequestStatus.js'; -import { V1CinderPersistentVolumeSource } from '../models/V1CinderPersistentVolumeSource.js'; -import { V1CinderVolumeSource } from '../models/V1CinderVolumeSource.js'; -import { V1ClaimSource } from '../models/V1ClaimSource.js'; -import { V1ClientIPConfig } from '../models/V1ClientIPConfig.js'; -import { V1ClusterRole } from '../models/V1ClusterRole.js'; -import { V1ClusterRoleBinding } from '../models/V1ClusterRoleBinding.js'; -import { V1ClusterRoleBindingList } from '../models/V1ClusterRoleBindingList.js'; -import { V1ClusterRoleList } from '../models/V1ClusterRoleList.js'; -import { V1ClusterTrustBundleProjection } from '../models/V1ClusterTrustBundleProjection.js'; -import { V1ComponentCondition } from '../models/V1ComponentCondition.js'; -import { V1ComponentStatus } from '../models/V1ComponentStatus.js'; -import { V1ComponentStatusList } from '../models/V1ComponentStatusList.js'; -import { V1Condition } from '../models/V1Condition.js'; -import { V1ConfigMap } from '../models/V1ConfigMap.js'; -import { V1ConfigMapEnvSource } from '../models/V1ConfigMapEnvSource.js'; -import { V1ConfigMapKeySelector } from '../models/V1ConfigMapKeySelector.js'; -import { V1ConfigMapList } from '../models/V1ConfigMapList.js'; -import { V1ConfigMapNodeConfigSource } from '../models/V1ConfigMapNodeConfigSource.js'; -import { V1ConfigMapProjection } from '../models/V1ConfigMapProjection.js'; -import { V1ConfigMapVolumeSource } from '../models/V1ConfigMapVolumeSource.js'; -import { V1Container } from '../models/V1Container.js'; -import { V1ContainerImage } from '../models/V1ContainerImage.js'; -import { V1ContainerPort } from '../models/V1ContainerPort.js'; -import { V1ContainerResizePolicy } from '../models/V1ContainerResizePolicy.js'; -import { V1ContainerState } from '../models/V1ContainerState.js'; -import { V1ContainerStateRunning } from '../models/V1ContainerStateRunning.js'; -import { V1ContainerStateTerminated } from '../models/V1ContainerStateTerminated.js'; -import { V1ContainerStateWaiting } from '../models/V1ContainerStateWaiting.js'; -import { V1ContainerStatus } from '../models/V1ContainerStatus.js'; -import { V1ControllerRevision } from '../models/V1ControllerRevision.js'; -import { V1ControllerRevisionList } from '../models/V1ControllerRevisionList.js'; -import { V1CronJob } from '../models/V1CronJob.js'; -import { V1CronJobList } from '../models/V1CronJobList.js'; -import { V1CronJobSpec } from '../models/V1CronJobSpec.js'; -import { V1CronJobStatus } from '../models/V1CronJobStatus.js'; -import { V1CrossVersionObjectReference } from '../models/V1CrossVersionObjectReference.js'; -import { V1CustomResourceColumnDefinition } from '../models/V1CustomResourceColumnDefinition.js'; -import { V1CustomResourceConversion } from '../models/V1CustomResourceConversion.js'; -import { V1CustomResourceDefinition } from '../models/V1CustomResourceDefinition.js'; -import { V1CustomResourceDefinitionCondition } from '../models/V1CustomResourceDefinitionCondition.js'; -import { V1CustomResourceDefinitionList } from '../models/V1CustomResourceDefinitionList.js'; -import { V1CustomResourceDefinitionNames } from '../models/V1CustomResourceDefinitionNames.js'; -import { V1CustomResourceDefinitionSpec } from '../models/V1CustomResourceDefinitionSpec.js'; -import { V1CustomResourceDefinitionStatus } from '../models/V1CustomResourceDefinitionStatus.js'; -import { V1CustomResourceDefinitionVersion } from '../models/V1CustomResourceDefinitionVersion.js'; -import { V1CustomResourceSubresourceScale } from '../models/V1CustomResourceSubresourceScale.js'; -import { V1CustomResourceSubresources } from '../models/V1CustomResourceSubresources.js'; -import { V1CustomResourceValidation } from '../models/V1CustomResourceValidation.js'; -import { V1DaemonEndpoint } from '../models/V1DaemonEndpoint.js'; -import { V1DaemonSet } from '../models/V1DaemonSet.js'; -import { V1DaemonSetCondition } from '../models/V1DaemonSetCondition.js'; -import { V1DaemonSetList } from '../models/V1DaemonSetList.js'; -import { V1DaemonSetSpec } from '../models/V1DaemonSetSpec.js'; -import { V1DaemonSetStatus } from '../models/V1DaemonSetStatus.js'; -import { V1DaemonSetUpdateStrategy } from '../models/V1DaemonSetUpdateStrategy.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1Deployment } from '../models/V1Deployment.js'; -import { V1DeploymentCondition } from '../models/V1DeploymentCondition.js'; -import { V1DeploymentList } from '../models/V1DeploymentList.js'; -import { V1DeploymentSpec } from '../models/V1DeploymentSpec.js'; -import { V1DeploymentStatus } from '../models/V1DeploymentStatus.js'; -import { V1DeploymentStrategy } from '../models/V1DeploymentStrategy.js'; -import { V1DownwardAPIProjection } from '../models/V1DownwardAPIProjection.js'; -import { V1DownwardAPIVolumeFile } from '../models/V1DownwardAPIVolumeFile.js'; -import { V1DownwardAPIVolumeSource } from '../models/V1DownwardAPIVolumeSource.js'; -import { V1EmptyDirVolumeSource } from '../models/V1EmptyDirVolumeSource.js'; -import { V1Endpoint } from '../models/V1Endpoint.js'; -import { V1EndpointAddress } from '../models/V1EndpointAddress.js'; -import { V1EndpointConditions } from '../models/V1EndpointConditions.js'; -import { V1EndpointHints } from '../models/V1EndpointHints.js'; -import { V1EndpointSlice } from '../models/V1EndpointSlice.js'; -import { V1EndpointSliceList } from '../models/V1EndpointSliceList.js'; -import { V1EndpointSubset } from '../models/V1EndpointSubset.js'; -import { V1Endpoints } from '../models/V1Endpoints.js'; -import { V1EndpointsList } from '../models/V1EndpointsList.js'; -import { V1EnvFromSource } from '../models/V1EnvFromSource.js'; -import { V1EnvVar } from '../models/V1EnvVar.js'; -import { V1EnvVarSource } from '../models/V1EnvVarSource.js'; -import { V1EphemeralContainer } from '../models/V1EphemeralContainer.js'; -import { V1EphemeralVolumeSource } from '../models/V1EphemeralVolumeSource.js'; -import { V1EventSource } from '../models/V1EventSource.js'; -import { V1Eviction } from '../models/V1Eviction.js'; -import { V1ExecAction } from '../models/V1ExecAction.js'; -import { V1ExemptPriorityLevelConfiguration } from '../models/V1ExemptPriorityLevelConfiguration.js'; -import { V1ExpressionWarning } from '../models/V1ExpressionWarning.js'; -import { V1ExternalDocumentation } from '../models/V1ExternalDocumentation.js'; -import { V1FCVolumeSource } from '../models/V1FCVolumeSource.js'; -import { V1FlexPersistentVolumeSource } from '../models/V1FlexPersistentVolumeSource.js'; -import { V1FlexVolumeSource } from '../models/V1FlexVolumeSource.js'; -import { V1FlockerVolumeSource } from '../models/V1FlockerVolumeSource.js'; -import { V1FlowDistinguisherMethod } from '../models/V1FlowDistinguisherMethod.js'; -import { V1FlowSchema } from '../models/V1FlowSchema.js'; -import { V1FlowSchemaCondition } from '../models/V1FlowSchemaCondition.js'; -import { V1FlowSchemaList } from '../models/V1FlowSchemaList.js'; -import { V1FlowSchemaSpec } from '../models/V1FlowSchemaSpec.js'; -import { V1FlowSchemaStatus } from '../models/V1FlowSchemaStatus.js'; -import { V1ForZone } from '../models/V1ForZone.js'; -import { V1GCEPersistentDiskVolumeSource } from '../models/V1GCEPersistentDiskVolumeSource.js'; -import { V1GRPCAction } from '../models/V1GRPCAction.js'; -import { V1GitRepoVolumeSource } from '../models/V1GitRepoVolumeSource.js'; -import { V1GlusterfsPersistentVolumeSource } from '../models/V1GlusterfsPersistentVolumeSource.js'; -import { V1GlusterfsVolumeSource } from '../models/V1GlusterfsVolumeSource.js'; -import { V1GroupSubject } from '../models/V1GroupSubject.js'; -import { V1GroupVersionForDiscovery } from '../models/V1GroupVersionForDiscovery.js'; -import { V1HTTPGetAction } from '../models/V1HTTPGetAction.js'; -import { V1HTTPHeader } from '../models/V1HTTPHeader.js'; -import { V1HTTPIngressPath } from '../models/V1HTTPIngressPath.js'; -import { V1HTTPIngressRuleValue } from '../models/V1HTTPIngressRuleValue.js'; -import { V1HorizontalPodAutoscaler } from '../models/V1HorizontalPodAutoscaler.js'; -import { V1HorizontalPodAutoscalerList } from '../models/V1HorizontalPodAutoscalerList.js'; -import { V1HorizontalPodAutoscalerSpec } from '../models/V1HorizontalPodAutoscalerSpec.js'; -import { V1HorizontalPodAutoscalerStatus } from '../models/V1HorizontalPodAutoscalerStatus.js'; -import { V1HostAlias } from '../models/V1HostAlias.js'; -import { V1HostIP } from '../models/V1HostIP.js'; -import { V1HostPathVolumeSource } from '../models/V1HostPathVolumeSource.js'; -import { V1IPBlock } from '../models/V1IPBlock.js'; -import { V1ISCSIPersistentVolumeSource } from '../models/V1ISCSIPersistentVolumeSource.js'; -import { V1ISCSIVolumeSource } from '../models/V1ISCSIVolumeSource.js'; -import { V1Ingress } from '../models/V1Ingress.js'; -import { V1IngressBackend } from '../models/V1IngressBackend.js'; -import { V1IngressClass } from '../models/V1IngressClass.js'; -import { V1IngressClassList } from '../models/V1IngressClassList.js'; -import { V1IngressClassParametersReference } from '../models/V1IngressClassParametersReference.js'; -import { V1IngressClassSpec } from '../models/V1IngressClassSpec.js'; -import { V1IngressList } from '../models/V1IngressList.js'; -import { V1IngressLoadBalancerIngress } from '../models/V1IngressLoadBalancerIngress.js'; -import { V1IngressLoadBalancerStatus } from '../models/V1IngressLoadBalancerStatus.js'; -import { V1IngressPortStatus } from '../models/V1IngressPortStatus.js'; -import { V1IngressRule } from '../models/V1IngressRule.js'; -import { V1IngressServiceBackend } from '../models/V1IngressServiceBackend.js'; -import { V1IngressSpec } from '../models/V1IngressSpec.js'; -import { V1IngressStatus } from '../models/V1IngressStatus.js'; -import { V1IngressTLS } from '../models/V1IngressTLS.js'; -import { V1JSONSchemaProps } from '../models/V1JSONSchemaProps.js'; -import { V1Job } from '../models/V1Job.js'; -import { V1JobCondition } from '../models/V1JobCondition.js'; -import { V1JobList } from '../models/V1JobList.js'; -import { V1JobSpec } from '../models/V1JobSpec.js'; -import { V1JobStatus } from '../models/V1JobStatus.js'; -import { V1JobTemplateSpec } from '../models/V1JobTemplateSpec.js'; -import { V1KeyToPath } from '../models/V1KeyToPath.js'; -import { V1LabelSelector } from '../models/V1LabelSelector.js'; -import { V1LabelSelectorRequirement } from '../models/V1LabelSelectorRequirement.js'; -import { V1Lease } from '../models/V1Lease.js'; -import { V1LeaseList } from '../models/V1LeaseList.js'; -import { V1LeaseSpec } from '../models/V1LeaseSpec.js'; -import { V1Lifecycle } from '../models/V1Lifecycle.js'; -import { V1LifecycleHandler } from '../models/V1LifecycleHandler.js'; -import { V1LimitRange } from '../models/V1LimitRange.js'; -import { V1LimitRangeItem } from '../models/V1LimitRangeItem.js'; -import { V1LimitRangeList } from '../models/V1LimitRangeList.js'; -import { V1LimitRangeSpec } from '../models/V1LimitRangeSpec.js'; -import { V1LimitResponse } from '../models/V1LimitResponse.js'; -import { V1LimitedPriorityLevelConfiguration } from '../models/V1LimitedPriorityLevelConfiguration.js'; -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1LoadBalancerIngress } from '../models/V1LoadBalancerIngress.js'; -import { V1LoadBalancerStatus } from '../models/V1LoadBalancerStatus.js'; -import { V1LocalObjectReference } from '../models/V1LocalObjectReference.js'; -import { V1LocalSubjectAccessReview } from '../models/V1LocalSubjectAccessReview.js'; -import { V1LocalVolumeSource } from '../models/V1LocalVolumeSource.js'; -import { V1ManagedFieldsEntry } from '../models/V1ManagedFieldsEntry.js'; -import { V1MatchCondition } from '../models/V1MatchCondition.js'; -import { V1MatchResources } from '../models/V1MatchResources.js'; -import { V1ModifyVolumeStatus } from '../models/V1ModifyVolumeStatus.js'; -import { V1MutatingWebhook } from '../models/V1MutatingWebhook.js'; -import { V1MutatingWebhookConfiguration } from '../models/V1MutatingWebhookConfiguration.js'; -import { V1MutatingWebhookConfigurationList } from '../models/V1MutatingWebhookConfigurationList.js'; -import { V1NFSVolumeSource } from '../models/V1NFSVolumeSource.js'; -import { V1NamedRuleWithOperations } from '../models/V1NamedRuleWithOperations.js'; -import { V1Namespace } from '../models/V1Namespace.js'; -import { V1NamespaceCondition } from '../models/V1NamespaceCondition.js'; -import { V1NamespaceList } from '../models/V1NamespaceList.js'; -import { V1NamespaceSpec } from '../models/V1NamespaceSpec.js'; -import { V1NamespaceStatus } from '../models/V1NamespaceStatus.js'; -import { V1NetworkPolicy } from '../models/V1NetworkPolicy.js'; -import { V1NetworkPolicyEgressRule } from '../models/V1NetworkPolicyEgressRule.js'; -import { V1NetworkPolicyIngressRule } from '../models/V1NetworkPolicyIngressRule.js'; -import { V1NetworkPolicyList } from '../models/V1NetworkPolicyList.js'; -import { V1NetworkPolicyPeer } from '../models/V1NetworkPolicyPeer.js'; -import { V1NetworkPolicyPort } from '../models/V1NetworkPolicyPort.js'; -import { V1NetworkPolicySpec } from '../models/V1NetworkPolicySpec.js'; -import { V1Node } from '../models/V1Node.js'; -import { V1NodeAddress } from '../models/V1NodeAddress.js'; -import { V1NodeAffinity } from '../models/V1NodeAffinity.js'; -import { V1NodeCondition } from '../models/V1NodeCondition.js'; -import { V1NodeConfigSource } from '../models/V1NodeConfigSource.js'; -import { V1NodeConfigStatus } from '../models/V1NodeConfigStatus.js'; -import { V1NodeDaemonEndpoints } from '../models/V1NodeDaemonEndpoints.js'; -import { V1NodeList } from '../models/V1NodeList.js'; -import { V1NodeRuntimeHandler } from '../models/V1NodeRuntimeHandler.js'; -import { V1NodeRuntimeHandlerFeatures } from '../models/V1NodeRuntimeHandlerFeatures.js'; -import { V1NodeSelector } from '../models/V1NodeSelector.js'; -import { V1NodeSelectorRequirement } from '../models/V1NodeSelectorRequirement.js'; -import { V1NodeSelectorTerm } from '../models/V1NodeSelectorTerm.js'; -import { V1NodeSpec } from '../models/V1NodeSpec.js'; -import { V1NodeStatus } from '../models/V1NodeStatus.js'; -import { V1NodeSystemInfo } from '../models/V1NodeSystemInfo.js'; -import { V1NonResourceAttributes } from '../models/V1NonResourceAttributes.js'; -import { V1NonResourcePolicyRule } from '../models/V1NonResourcePolicyRule.js'; -import { V1NonResourceRule } from '../models/V1NonResourceRule.js'; -import { V1ObjectFieldSelector } from '../models/V1ObjectFieldSelector.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1ObjectReference } from '../models/V1ObjectReference.js'; -import { V1Overhead } from '../models/V1Overhead.js'; -import { V1OwnerReference } from '../models/V1OwnerReference.js'; -import { V1ParamKind } from '../models/V1ParamKind.js'; -import { V1ParamRef } from '../models/V1ParamRef.js'; -import { V1PersistentVolume } from '../models/V1PersistentVolume.js'; -import { V1PersistentVolumeClaim } from '../models/V1PersistentVolumeClaim.js'; -import { V1PersistentVolumeClaimCondition } from '../models/V1PersistentVolumeClaimCondition.js'; -import { V1PersistentVolumeClaimList } from '../models/V1PersistentVolumeClaimList.js'; -import { V1PersistentVolumeClaimSpec } from '../models/V1PersistentVolumeClaimSpec.js'; -import { V1PersistentVolumeClaimStatus } from '../models/V1PersistentVolumeClaimStatus.js'; -import { V1PersistentVolumeClaimTemplate } from '../models/V1PersistentVolumeClaimTemplate.js'; -import { V1PersistentVolumeClaimVolumeSource } from '../models/V1PersistentVolumeClaimVolumeSource.js'; -import { V1PersistentVolumeList } from '../models/V1PersistentVolumeList.js'; -import { V1PersistentVolumeSpec } from '../models/V1PersistentVolumeSpec.js'; -import { V1PersistentVolumeStatus } from '../models/V1PersistentVolumeStatus.js'; -import { V1PhotonPersistentDiskVolumeSource } from '../models/V1PhotonPersistentDiskVolumeSource.js'; -import { V1Pod } from '../models/V1Pod.js'; -import { V1PodAffinity } from '../models/V1PodAffinity.js'; -import { V1PodAffinityTerm } from '../models/V1PodAffinityTerm.js'; -import { V1PodAntiAffinity } from '../models/V1PodAntiAffinity.js'; -import { V1PodCondition } from '../models/V1PodCondition.js'; -import { V1PodDNSConfig } from '../models/V1PodDNSConfig.js'; -import { V1PodDNSConfigOption } from '../models/V1PodDNSConfigOption.js'; -import { V1PodDisruptionBudget } from '../models/V1PodDisruptionBudget.js'; -import { V1PodDisruptionBudgetList } from '../models/V1PodDisruptionBudgetList.js'; -import { V1PodDisruptionBudgetSpec } from '../models/V1PodDisruptionBudgetSpec.js'; -import { V1PodDisruptionBudgetStatus } from '../models/V1PodDisruptionBudgetStatus.js'; -import { V1PodFailurePolicy } from '../models/V1PodFailurePolicy.js'; -import { V1PodFailurePolicyOnExitCodesRequirement } from '../models/V1PodFailurePolicyOnExitCodesRequirement.js'; -import { V1PodFailurePolicyOnPodConditionsPattern } from '../models/V1PodFailurePolicyOnPodConditionsPattern.js'; -import { V1PodFailurePolicyRule } from '../models/V1PodFailurePolicyRule.js'; -import { V1PodIP } from '../models/V1PodIP.js'; -import { V1PodList } from '../models/V1PodList.js'; -import { V1PodOS } from '../models/V1PodOS.js'; -import { V1PodReadinessGate } from '../models/V1PodReadinessGate.js'; -import { V1PodResourceClaim } from '../models/V1PodResourceClaim.js'; -import { V1PodResourceClaimStatus } from '../models/V1PodResourceClaimStatus.js'; -import { V1PodSchedulingGate } from '../models/V1PodSchedulingGate.js'; -import { V1PodSecurityContext } from '../models/V1PodSecurityContext.js'; -import { V1PodSpec } from '../models/V1PodSpec.js'; -import { V1PodStatus } from '../models/V1PodStatus.js'; -import { V1PodTemplate } from '../models/V1PodTemplate.js'; -import { V1PodTemplateList } from '../models/V1PodTemplateList.js'; -import { V1PodTemplateSpec } from '../models/V1PodTemplateSpec.js'; -import { V1PolicyRule } from '../models/V1PolicyRule.js'; -import { V1PolicyRulesWithSubjects } from '../models/V1PolicyRulesWithSubjects.js'; -import { V1PortStatus } from '../models/V1PortStatus.js'; -import { V1PortworxVolumeSource } from '../models/V1PortworxVolumeSource.js'; -import { V1Preconditions } from '../models/V1Preconditions.js'; -import { V1PreferredSchedulingTerm } from '../models/V1PreferredSchedulingTerm.js'; -import { V1PriorityClass } from '../models/V1PriorityClass.js'; -import { V1PriorityClassList } from '../models/V1PriorityClassList.js'; -import { V1PriorityLevelConfiguration } from '../models/V1PriorityLevelConfiguration.js'; -import { V1PriorityLevelConfigurationCondition } from '../models/V1PriorityLevelConfigurationCondition.js'; -import { V1PriorityLevelConfigurationList } from '../models/V1PriorityLevelConfigurationList.js'; -import { V1PriorityLevelConfigurationReference } from '../models/V1PriorityLevelConfigurationReference.js'; -import { V1PriorityLevelConfigurationSpec } from '../models/V1PriorityLevelConfigurationSpec.js'; -import { V1PriorityLevelConfigurationStatus } from '../models/V1PriorityLevelConfigurationStatus.js'; -import { V1Probe } from '../models/V1Probe.js'; -import { V1ProjectedVolumeSource } from '../models/V1ProjectedVolumeSource.js'; -import { V1QueuingConfiguration } from '../models/V1QueuingConfiguration.js'; -import { V1QuobyteVolumeSource } from '../models/V1QuobyteVolumeSource.js'; -import { V1RBDPersistentVolumeSource } from '../models/V1RBDPersistentVolumeSource.js'; -import { V1RBDVolumeSource } from '../models/V1RBDVolumeSource.js'; -import { V1ReplicaSet } from '../models/V1ReplicaSet.js'; -import { V1ReplicaSetCondition } from '../models/V1ReplicaSetCondition.js'; -import { V1ReplicaSetList } from '../models/V1ReplicaSetList.js'; -import { V1ReplicaSetSpec } from '../models/V1ReplicaSetSpec.js'; -import { V1ReplicaSetStatus } from '../models/V1ReplicaSetStatus.js'; -import { V1ReplicationController } from '../models/V1ReplicationController.js'; -import { V1ReplicationControllerCondition } from '../models/V1ReplicationControllerCondition.js'; -import { V1ReplicationControllerList } from '../models/V1ReplicationControllerList.js'; -import { V1ReplicationControllerSpec } from '../models/V1ReplicationControllerSpec.js'; -import { V1ReplicationControllerStatus } from '../models/V1ReplicationControllerStatus.js'; -import { V1ResourceAttributes } from '../models/V1ResourceAttributes.js'; -import { V1ResourceClaim } from '../models/V1ResourceClaim.js'; -import { V1ResourceFieldSelector } from '../models/V1ResourceFieldSelector.js'; -import { V1ResourcePolicyRule } from '../models/V1ResourcePolicyRule.js'; -import { V1ResourceQuota } from '../models/V1ResourceQuota.js'; -import { V1ResourceQuotaList } from '../models/V1ResourceQuotaList.js'; -import { V1ResourceQuotaSpec } from '../models/V1ResourceQuotaSpec.js'; -import { V1ResourceQuotaStatus } from '../models/V1ResourceQuotaStatus.js'; -import { V1ResourceRequirements } from '../models/V1ResourceRequirements.js'; -import { V1ResourceRule } from '../models/V1ResourceRule.js'; -import { V1Role } from '../models/V1Role.js'; -import { V1RoleBinding } from '../models/V1RoleBinding.js'; -import { V1RoleBindingList } from '../models/V1RoleBindingList.js'; -import { V1RoleList } from '../models/V1RoleList.js'; -import { V1RoleRef } from '../models/V1RoleRef.js'; -import { V1RollingUpdateDaemonSet } from '../models/V1RollingUpdateDaemonSet.js'; -import { V1RollingUpdateDeployment } from '../models/V1RollingUpdateDeployment.js'; -import { V1RollingUpdateStatefulSetStrategy } from '../models/V1RollingUpdateStatefulSetStrategy.js'; -import { V1RuleWithOperations } from '../models/V1RuleWithOperations.js'; -import { V1RuntimeClass } from '../models/V1RuntimeClass.js'; -import { V1RuntimeClassList } from '../models/V1RuntimeClassList.js'; -import { V1SELinuxOptions } from '../models/V1SELinuxOptions.js'; -import { V1Scale } from '../models/V1Scale.js'; -import { V1ScaleIOPersistentVolumeSource } from '../models/V1ScaleIOPersistentVolumeSource.js'; -import { V1ScaleIOVolumeSource } from '../models/V1ScaleIOVolumeSource.js'; -import { V1ScaleSpec } from '../models/V1ScaleSpec.js'; -import { V1ScaleStatus } from '../models/V1ScaleStatus.js'; -import { V1Scheduling } from '../models/V1Scheduling.js'; -import { V1ScopeSelector } from '../models/V1ScopeSelector.js'; -import { V1ScopedResourceSelectorRequirement } from '../models/V1ScopedResourceSelectorRequirement.js'; -import { V1SeccompProfile } from '../models/V1SeccompProfile.js'; -import { V1Secret } from '../models/V1Secret.js'; -import { V1SecretEnvSource } from '../models/V1SecretEnvSource.js'; -import { V1SecretKeySelector } from '../models/V1SecretKeySelector.js'; -import { V1SecretList } from '../models/V1SecretList.js'; -import { V1SecretProjection } from '../models/V1SecretProjection.js'; -import { V1SecretReference } from '../models/V1SecretReference.js'; -import { V1SecretVolumeSource } from '../models/V1SecretVolumeSource.js'; -import { V1SecurityContext } from '../models/V1SecurityContext.js'; -import { V1SelectableField } from '../models/V1SelectableField.js'; -import { V1SelfSubjectAccessReview } from '../models/V1SelfSubjectAccessReview.js'; -import { V1SelfSubjectAccessReviewSpec } from '../models/V1SelfSubjectAccessReviewSpec.js'; -import { V1SelfSubjectReview } from '../models/V1SelfSubjectReview.js'; -import { V1SelfSubjectReviewStatus } from '../models/V1SelfSubjectReviewStatus.js'; -import { V1SelfSubjectRulesReview } from '../models/V1SelfSubjectRulesReview.js'; -import { V1SelfSubjectRulesReviewSpec } from '../models/V1SelfSubjectRulesReviewSpec.js'; -import { V1ServerAddressByClientCIDR } from '../models/V1ServerAddressByClientCIDR.js'; -import { V1Service } from '../models/V1Service.js'; -import { V1ServiceAccount } from '../models/V1ServiceAccount.js'; -import { V1ServiceAccountList } from '../models/V1ServiceAccountList.js'; -import { V1ServiceAccountSubject } from '../models/V1ServiceAccountSubject.js'; -import { V1ServiceAccountTokenProjection } from '../models/V1ServiceAccountTokenProjection.js'; -import { V1ServiceBackendPort } from '../models/V1ServiceBackendPort.js'; -import { V1ServiceList } from '../models/V1ServiceList.js'; -import { V1ServicePort } from '../models/V1ServicePort.js'; -import { V1ServiceSpec } from '../models/V1ServiceSpec.js'; -import { V1ServiceStatus } from '../models/V1ServiceStatus.js'; -import { V1SessionAffinityConfig } from '../models/V1SessionAffinityConfig.js'; -import { V1SleepAction } from '../models/V1SleepAction.js'; -import { V1StatefulSet } from '../models/V1StatefulSet.js'; -import { V1StatefulSetCondition } from '../models/V1StatefulSetCondition.js'; -import { V1StatefulSetList } from '../models/V1StatefulSetList.js'; -import { V1StatefulSetOrdinals } from '../models/V1StatefulSetOrdinals.js'; -import { V1StatefulSetPersistentVolumeClaimRetentionPolicy } from '../models/V1StatefulSetPersistentVolumeClaimRetentionPolicy.js'; -import { V1StatefulSetSpec } from '../models/V1StatefulSetSpec.js'; -import { V1StatefulSetStatus } from '../models/V1StatefulSetStatus.js'; -import { V1StatefulSetUpdateStrategy } from '../models/V1StatefulSetUpdateStrategy.js'; -import { V1Status } from '../models/V1Status.js'; -import { V1StatusCause } from '../models/V1StatusCause.js'; -import { V1StatusDetails } from '../models/V1StatusDetails.js'; -import { V1StorageClass } from '../models/V1StorageClass.js'; -import { V1StorageClassList } from '../models/V1StorageClassList.js'; -import { V1StorageOSPersistentVolumeSource } from '../models/V1StorageOSPersistentVolumeSource.js'; -import { V1StorageOSVolumeSource } from '../models/V1StorageOSVolumeSource.js'; -import { V1SubjectAccessReview } from '../models/V1SubjectAccessReview.js'; -import { V1SubjectAccessReviewSpec } from '../models/V1SubjectAccessReviewSpec.js'; -import { V1SubjectAccessReviewStatus } from '../models/V1SubjectAccessReviewStatus.js'; -import { V1SubjectRulesReviewStatus } from '../models/V1SubjectRulesReviewStatus.js'; -import { V1SuccessPolicy } from '../models/V1SuccessPolicy.js'; -import { V1SuccessPolicyRule } from '../models/V1SuccessPolicyRule.js'; -import { V1Sysctl } from '../models/V1Sysctl.js'; -import { V1TCPSocketAction } from '../models/V1TCPSocketAction.js'; -import { V1Taint } from '../models/V1Taint.js'; -import { V1TokenRequestSpec } from '../models/V1TokenRequestSpec.js'; -import { V1TokenRequestStatus } from '../models/V1TokenRequestStatus.js'; -import { V1TokenReview } from '../models/V1TokenReview.js'; -import { V1TokenReviewSpec } from '../models/V1TokenReviewSpec.js'; -import { V1TokenReviewStatus } from '../models/V1TokenReviewStatus.js'; -import { V1Toleration } from '../models/V1Toleration.js'; -import { V1TopologySelectorLabelRequirement } from '../models/V1TopologySelectorLabelRequirement.js'; -import { V1TopologySelectorTerm } from '../models/V1TopologySelectorTerm.js'; -import { V1TopologySpreadConstraint } from '../models/V1TopologySpreadConstraint.js'; -import { V1TypeChecking } from '../models/V1TypeChecking.js'; -import { V1TypedLocalObjectReference } from '../models/V1TypedLocalObjectReference.js'; -import { V1TypedObjectReference } from '../models/V1TypedObjectReference.js'; -import { V1UncountedTerminatedPods } from '../models/V1UncountedTerminatedPods.js'; -import { V1UserInfo } from '../models/V1UserInfo.js'; -import { V1UserSubject } from '../models/V1UserSubject.js'; -import { V1ValidatingAdmissionPolicy } from '../models/V1ValidatingAdmissionPolicy.js'; -import { V1ValidatingAdmissionPolicyBinding } from '../models/V1ValidatingAdmissionPolicyBinding.js'; -import { V1ValidatingAdmissionPolicyBindingList } from '../models/V1ValidatingAdmissionPolicyBindingList.js'; -import { V1ValidatingAdmissionPolicyBindingSpec } from '../models/V1ValidatingAdmissionPolicyBindingSpec.js'; -import { V1ValidatingAdmissionPolicyList } from '../models/V1ValidatingAdmissionPolicyList.js'; -import { V1ValidatingAdmissionPolicySpec } from '../models/V1ValidatingAdmissionPolicySpec.js'; -import { V1ValidatingAdmissionPolicyStatus } from '../models/V1ValidatingAdmissionPolicyStatus.js'; -import { V1ValidatingWebhook } from '../models/V1ValidatingWebhook.js'; -import { V1ValidatingWebhookConfiguration } from '../models/V1ValidatingWebhookConfiguration.js'; -import { V1ValidatingWebhookConfigurationList } from '../models/V1ValidatingWebhookConfigurationList.js'; -import { V1Validation } from '../models/V1Validation.js'; -import { V1ValidationRule } from '../models/V1ValidationRule.js'; -import { V1Variable } from '../models/V1Variable.js'; -import { V1Volume } from '../models/V1Volume.js'; -import { V1VolumeAttachment } from '../models/V1VolumeAttachment.js'; -import { V1VolumeAttachmentList } from '../models/V1VolumeAttachmentList.js'; -import { V1VolumeAttachmentSource } from '../models/V1VolumeAttachmentSource.js'; -import { V1VolumeAttachmentSpec } from '../models/V1VolumeAttachmentSpec.js'; -import { V1VolumeAttachmentStatus } from '../models/V1VolumeAttachmentStatus.js'; -import { V1VolumeDevice } from '../models/V1VolumeDevice.js'; -import { V1VolumeError } from '../models/V1VolumeError.js'; -import { V1VolumeMount } from '../models/V1VolumeMount.js'; -import { V1VolumeMountStatus } from '../models/V1VolumeMountStatus.js'; -import { V1VolumeNodeAffinity } from '../models/V1VolumeNodeAffinity.js'; -import { V1VolumeNodeResources } from '../models/V1VolumeNodeResources.js'; -import { V1VolumeProjection } from '../models/V1VolumeProjection.js'; -import { V1VolumeResourceRequirements } from '../models/V1VolumeResourceRequirements.js'; -import { V1VsphereVirtualDiskVolumeSource } from '../models/V1VsphereVirtualDiskVolumeSource.js'; -import { V1WatchEvent } from '../models/V1WatchEvent.js'; -import { V1WebhookConversion } from '../models/V1WebhookConversion.js'; -import { V1WeightedPodAffinityTerm } from '../models/V1WeightedPodAffinityTerm.js'; -import { V1WindowsSecurityContextOptions } from '../models/V1WindowsSecurityContextOptions.js'; -import { V1alpha1AuditAnnotation } from '../models/V1alpha1AuditAnnotation.js'; -import { V1alpha1ClusterTrustBundle } from '../models/V1alpha1ClusterTrustBundle.js'; -import { V1alpha1ClusterTrustBundleList } from '../models/V1alpha1ClusterTrustBundleList.js'; -import { V1alpha1ClusterTrustBundleSpec } from '../models/V1alpha1ClusterTrustBundleSpec.js'; -import { V1alpha1ExpressionWarning } from '../models/V1alpha1ExpressionWarning.js'; -import { V1alpha1GroupVersionResource } from '../models/V1alpha1GroupVersionResource.js'; -import { V1alpha1IPAddress } from '../models/V1alpha1IPAddress.js'; -import { V1alpha1IPAddressList } from '../models/V1alpha1IPAddressList.js'; -import { V1alpha1IPAddressSpec } from '../models/V1alpha1IPAddressSpec.js'; -import { V1alpha1MatchCondition } from '../models/V1alpha1MatchCondition.js'; -import { V1alpha1MatchResources } from '../models/V1alpha1MatchResources.js'; -import { V1alpha1MigrationCondition } from '../models/V1alpha1MigrationCondition.js'; -import { V1alpha1NamedRuleWithOperations } from '../models/V1alpha1NamedRuleWithOperations.js'; -import { V1alpha1ParamKind } from '../models/V1alpha1ParamKind.js'; -import { V1alpha1ParamRef } from '../models/V1alpha1ParamRef.js'; -import { V1alpha1ParentReference } from '../models/V1alpha1ParentReference.js'; -import { V1alpha1SelfSubjectReview } from '../models/V1alpha1SelfSubjectReview.js'; -import { V1alpha1SelfSubjectReviewStatus } from '../models/V1alpha1SelfSubjectReviewStatus.js'; -import { V1alpha1ServerStorageVersion } from '../models/V1alpha1ServerStorageVersion.js'; -import { V1alpha1ServiceCIDR } from '../models/V1alpha1ServiceCIDR.js'; -import { V1alpha1ServiceCIDRList } from '../models/V1alpha1ServiceCIDRList.js'; -import { V1alpha1ServiceCIDRSpec } from '../models/V1alpha1ServiceCIDRSpec.js'; -import { V1alpha1ServiceCIDRStatus } from '../models/V1alpha1ServiceCIDRStatus.js'; -import { V1alpha1StorageVersion } from '../models/V1alpha1StorageVersion.js'; -import { V1alpha1StorageVersionCondition } from '../models/V1alpha1StorageVersionCondition.js'; -import { V1alpha1StorageVersionList } from '../models/V1alpha1StorageVersionList.js'; -import { V1alpha1StorageVersionMigration } from '../models/V1alpha1StorageVersionMigration.js'; -import { V1alpha1StorageVersionMigrationList } from '../models/V1alpha1StorageVersionMigrationList.js'; -import { V1alpha1StorageVersionMigrationSpec } from '../models/V1alpha1StorageVersionMigrationSpec.js'; -import { V1alpha1StorageVersionMigrationStatus } from '../models/V1alpha1StorageVersionMigrationStatus.js'; -import { V1alpha1StorageVersionStatus } from '../models/V1alpha1StorageVersionStatus.js'; -import { V1alpha1TypeChecking } from '../models/V1alpha1TypeChecking.js'; -import { V1alpha1ValidatingAdmissionPolicy } from '../models/V1alpha1ValidatingAdmissionPolicy.js'; -import { V1alpha1ValidatingAdmissionPolicyBinding } from '../models/V1alpha1ValidatingAdmissionPolicyBinding.js'; -import { V1alpha1ValidatingAdmissionPolicyBindingList } from '../models/V1alpha1ValidatingAdmissionPolicyBindingList.js'; -import { V1alpha1ValidatingAdmissionPolicyBindingSpec } from '../models/V1alpha1ValidatingAdmissionPolicyBindingSpec.js'; -import { V1alpha1ValidatingAdmissionPolicyList } from '../models/V1alpha1ValidatingAdmissionPolicyList.js'; -import { V1alpha1ValidatingAdmissionPolicySpec } from '../models/V1alpha1ValidatingAdmissionPolicySpec.js'; -import { V1alpha1ValidatingAdmissionPolicyStatus } from '../models/V1alpha1ValidatingAdmissionPolicyStatus.js'; -import { V1alpha1Validation } from '../models/V1alpha1Validation.js'; -import { V1alpha1Variable } from '../models/V1alpha1Variable.js'; -import { V1alpha1VolumeAttributesClass } from '../models/V1alpha1VolumeAttributesClass.js'; -import { V1alpha1VolumeAttributesClassList } from '../models/V1alpha1VolumeAttributesClassList.js'; -import { V1alpha2AllocationResult } from '../models/V1alpha2AllocationResult.js'; -import { V1alpha2DriverAllocationResult } from '../models/V1alpha2DriverAllocationResult.js'; -import { V1alpha2DriverRequests } from '../models/V1alpha2DriverRequests.js'; -import { V1alpha2NamedResourcesAllocationResult } from '../models/V1alpha2NamedResourcesAllocationResult.js'; -import { V1alpha2NamedResourcesAttribute } from '../models/V1alpha2NamedResourcesAttribute.js'; -import { V1alpha2NamedResourcesFilter } from '../models/V1alpha2NamedResourcesFilter.js'; -import { V1alpha2NamedResourcesInstance } from '../models/V1alpha2NamedResourcesInstance.js'; -import { V1alpha2NamedResourcesIntSlice } from '../models/V1alpha2NamedResourcesIntSlice.js'; -import { V1alpha2NamedResourcesRequest } from '../models/V1alpha2NamedResourcesRequest.js'; -import { V1alpha2NamedResourcesResources } from '../models/V1alpha2NamedResourcesResources.js'; -import { V1alpha2NamedResourcesStringSlice } from '../models/V1alpha2NamedResourcesStringSlice.js'; -import { V1alpha2PodSchedulingContext } from '../models/V1alpha2PodSchedulingContext.js'; -import { V1alpha2PodSchedulingContextList } from '../models/V1alpha2PodSchedulingContextList.js'; -import { V1alpha2PodSchedulingContextSpec } from '../models/V1alpha2PodSchedulingContextSpec.js'; -import { V1alpha2PodSchedulingContextStatus } from '../models/V1alpha2PodSchedulingContextStatus.js'; -import { V1alpha2ResourceClaim } from '../models/V1alpha2ResourceClaim.js'; -import { V1alpha2ResourceClaimConsumerReference } from '../models/V1alpha2ResourceClaimConsumerReference.js'; -import { V1alpha2ResourceClaimList } from '../models/V1alpha2ResourceClaimList.js'; -import { V1alpha2ResourceClaimParameters } from '../models/V1alpha2ResourceClaimParameters.js'; -import { V1alpha2ResourceClaimParametersList } from '../models/V1alpha2ResourceClaimParametersList.js'; -import { V1alpha2ResourceClaimParametersReference } from '../models/V1alpha2ResourceClaimParametersReference.js'; -import { V1alpha2ResourceClaimSchedulingStatus } from '../models/V1alpha2ResourceClaimSchedulingStatus.js'; -import { V1alpha2ResourceClaimSpec } from '../models/V1alpha2ResourceClaimSpec.js'; -import { V1alpha2ResourceClaimStatus } from '../models/V1alpha2ResourceClaimStatus.js'; -import { V1alpha2ResourceClaimTemplate } from '../models/V1alpha2ResourceClaimTemplate.js'; -import { V1alpha2ResourceClaimTemplateList } from '../models/V1alpha2ResourceClaimTemplateList.js'; -import { V1alpha2ResourceClaimTemplateSpec } from '../models/V1alpha2ResourceClaimTemplateSpec.js'; -import { V1alpha2ResourceClass } from '../models/V1alpha2ResourceClass.js'; -import { V1alpha2ResourceClassList } from '../models/V1alpha2ResourceClassList.js'; -import { V1alpha2ResourceClassParameters } from '../models/V1alpha2ResourceClassParameters.js'; -import { V1alpha2ResourceClassParametersList } from '../models/V1alpha2ResourceClassParametersList.js'; -import { V1alpha2ResourceClassParametersReference } from '../models/V1alpha2ResourceClassParametersReference.js'; -import { V1alpha2ResourceFilter } from '../models/V1alpha2ResourceFilter.js'; -import { V1alpha2ResourceHandle } from '../models/V1alpha2ResourceHandle.js'; -import { V1alpha2ResourceRequest } from '../models/V1alpha2ResourceRequest.js'; -import { V1alpha2ResourceSlice } from '../models/V1alpha2ResourceSlice.js'; -import { V1alpha2ResourceSliceList } from '../models/V1alpha2ResourceSliceList.js'; -import { V1alpha2StructuredResourceHandle } from '../models/V1alpha2StructuredResourceHandle.js'; -import { V1alpha2VendorParameters } from '../models/V1alpha2VendorParameters.js'; -import { V1beta1AuditAnnotation } from '../models/V1beta1AuditAnnotation.js'; -import { V1beta1ExpressionWarning } from '../models/V1beta1ExpressionWarning.js'; -import { V1beta1MatchCondition } from '../models/V1beta1MatchCondition.js'; -import { V1beta1MatchResources } from '../models/V1beta1MatchResources.js'; -import { V1beta1NamedRuleWithOperations } from '../models/V1beta1NamedRuleWithOperations.js'; -import { V1beta1ParamKind } from '../models/V1beta1ParamKind.js'; -import { V1beta1ParamRef } from '../models/V1beta1ParamRef.js'; -import { V1beta1SelfSubjectReview } from '../models/V1beta1SelfSubjectReview.js'; -import { V1beta1SelfSubjectReviewStatus } from '../models/V1beta1SelfSubjectReviewStatus.js'; -import { V1beta1TypeChecking } from '../models/V1beta1TypeChecking.js'; -import { V1beta1ValidatingAdmissionPolicy } from '../models/V1beta1ValidatingAdmissionPolicy.js'; -import { V1beta1ValidatingAdmissionPolicyBinding } from '../models/V1beta1ValidatingAdmissionPolicyBinding.js'; -import { V1beta1ValidatingAdmissionPolicyBindingList } from '../models/V1beta1ValidatingAdmissionPolicyBindingList.js'; -import { V1beta1ValidatingAdmissionPolicyBindingSpec } from '../models/V1beta1ValidatingAdmissionPolicyBindingSpec.js'; -import { V1beta1ValidatingAdmissionPolicyList } from '../models/V1beta1ValidatingAdmissionPolicyList.js'; -import { V1beta1ValidatingAdmissionPolicySpec } from '../models/V1beta1ValidatingAdmissionPolicySpec.js'; -import { V1beta1ValidatingAdmissionPolicyStatus } from '../models/V1beta1ValidatingAdmissionPolicyStatus.js'; -import { V1beta1Validation } from '../models/V1beta1Validation.js'; -import { V1beta1Variable } from '../models/V1beta1Variable.js'; -import { V1beta3ExemptPriorityLevelConfiguration } from '../models/V1beta3ExemptPriorityLevelConfiguration.js'; -import { V1beta3FlowDistinguisherMethod } from '../models/V1beta3FlowDistinguisherMethod.js'; -import { V1beta3FlowSchema } from '../models/V1beta3FlowSchema.js'; -import { V1beta3FlowSchemaCondition } from '../models/V1beta3FlowSchemaCondition.js'; -import { V1beta3FlowSchemaList } from '../models/V1beta3FlowSchemaList.js'; -import { V1beta3FlowSchemaSpec } from '../models/V1beta3FlowSchemaSpec.js'; -import { V1beta3FlowSchemaStatus } from '../models/V1beta3FlowSchemaStatus.js'; -import { V1beta3GroupSubject } from '../models/V1beta3GroupSubject.js'; -import { V1beta3LimitResponse } from '../models/V1beta3LimitResponse.js'; -import { V1beta3LimitedPriorityLevelConfiguration } from '../models/V1beta3LimitedPriorityLevelConfiguration.js'; -import { V1beta3NonResourcePolicyRule } from '../models/V1beta3NonResourcePolicyRule.js'; -import { V1beta3PolicyRulesWithSubjects } from '../models/V1beta3PolicyRulesWithSubjects.js'; -import { V1beta3PriorityLevelConfiguration } from '../models/V1beta3PriorityLevelConfiguration.js'; -import { V1beta3PriorityLevelConfigurationCondition } from '../models/V1beta3PriorityLevelConfigurationCondition.js'; -import { V1beta3PriorityLevelConfigurationList } from '../models/V1beta3PriorityLevelConfigurationList.js'; -import { V1beta3PriorityLevelConfigurationReference } from '../models/V1beta3PriorityLevelConfigurationReference.js'; -import { V1beta3PriorityLevelConfigurationSpec } from '../models/V1beta3PriorityLevelConfigurationSpec.js'; -import { V1beta3PriorityLevelConfigurationStatus } from '../models/V1beta3PriorityLevelConfigurationStatus.js'; -import { V1beta3QueuingConfiguration } from '../models/V1beta3QueuingConfiguration.js'; -import { V1beta3ResourcePolicyRule } from '../models/V1beta3ResourcePolicyRule.js'; -import { V1beta3ServiceAccountSubject } from '../models/V1beta3ServiceAccountSubject.js'; -import { V1beta3Subject } from '../models/V1beta3Subject.js'; -import { V1beta3UserSubject } from '../models/V1beta3UserSubject.js'; -import { V2ContainerResourceMetricSource } from '../models/V2ContainerResourceMetricSource.js'; -import { V2ContainerResourceMetricStatus } from '../models/V2ContainerResourceMetricStatus.js'; -import { V2CrossVersionObjectReference } from '../models/V2CrossVersionObjectReference.js'; -import { V2ExternalMetricSource } from '../models/V2ExternalMetricSource.js'; -import { V2ExternalMetricStatus } from '../models/V2ExternalMetricStatus.js'; -import { V2HPAScalingPolicy } from '../models/V2HPAScalingPolicy.js'; -import { V2HPAScalingRules } from '../models/V2HPAScalingRules.js'; -import { V2HorizontalPodAutoscaler } from '../models/V2HorizontalPodAutoscaler.js'; -import { V2HorizontalPodAutoscalerBehavior } from '../models/V2HorizontalPodAutoscalerBehavior.js'; -import { V2HorizontalPodAutoscalerCondition } from '../models/V2HorizontalPodAutoscalerCondition.js'; -import { V2HorizontalPodAutoscalerList } from '../models/V2HorizontalPodAutoscalerList.js'; -import { V2HorizontalPodAutoscalerSpec } from '../models/V2HorizontalPodAutoscalerSpec.js'; -import { V2HorizontalPodAutoscalerStatus } from '../models/V2HorizontalPodAutoscalerStatus.js'; -import { V2MetricIdentifier } from '../models/V2MetricIdentifier.js'; -import { V2MetricSpec } from '../models/V2MetricSpec.js'; -import { V2MetricStatus } from '../models/V2MetricStatus.js'; -import { V2MetricTarget } from '../models/V2MetricTarget.js'; -import { V2MetricValueStatus } from '../models/V2MetricValueStatus.js'; -import { V2ObjectMetricSource } from '../models/V2ObjectMetricSource.js'; -import { V2ObjectMetricStatus } from '../models/V2ObjectMetricStatus.js'; -import { V2PodsMetricSource } from '../models/V2PodsMetricSource.js'; -import { V2PodsMetricStatus } from '../models/V2PodsMetricStatus.js'; -import { V2ResourceMetricSource } from '../models/V2ResourceMetricSource.js'; -import { V2ResourceMetricStatus } from '../models/V2ResourceMetricStatus.js'; -import { VersionInfo } from '../models/VersionInfo.js'; - -import { AdmissionregistrationApiRequestFactory, AdmissionregistrationApiResponseProcessor} from "../apis/AdmissionregistrationApi.js"; +import { ResponseContext, RequestContext, HttpFile, HttpInfo } from '../http/http'; +import { Configuration} from '../configuration' +import { Observable, of, from } from '../rxjsStub'; +import {mergeMap, map} from '../rxjsStub'; +import { AdmissionregistrationV1ServiceReference } from '../models/AdmissionregistrationV1ServiceReference'; +import { AdmissionregistrationV1WebhookClientConfig } from '../models/AdmissionregistrationV1WebhookClientConfig'; +import { ApiextensionsV1ServiceReference } from '../models/ApiextensionsV1ServiceReference'; +import { ApiextensionsV1WebhookClientConfig } from '../models/ApiextensionsV1WebhookClientConfig'; +import { ApiregistrationV1ServiceReference } from '../models/ApiregistrationV1ServiceReference'; +import { AuthenticationV1TokenRequest } from '../models/AuthenticationV1TokenRequest'; +import { CoreV1EndpointPort } from '../models/CoreV1EndpointPort'; +import { CoreV1Event } from '../models/CoreV1Event'; +import { CoreV1EventList } from '../models/CoreV1EventList'; +import { CoreV1EventSeries } from '../models/CoreV1EventSeries'; +import { DiscoveryV1EndpointPort } from '../models/DiscoveryV1EndpointPort'; +import { EventsV1Event } from '../models/EventsV1Event'; +import { EventsV1EventList } from '../models/EventsV1EventList'; +import { EventsV1EventSeries } from '../models/EventsV1EventSeries'; +import { FlowcontrolV1Subject } from '../models/FlowcontrolV1Subject'; +import { RbacV1Subject } from '../models/RbacV1Subject'; +import { StorageV1TokenRequest } from '../models/StorageV1TokenRequest'; +import { V1APIGroup } from '../models/V1APIGroup'; +import { V1APIGroupList } from '../models/V1APIGroupList'; +import { V1APIResource } from '../models/V1APIResource'; +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1APIService } from '../models/V1APIService'; +import { V1APIServiceCondition } from '../models/V1APIServiceCondition'; +import { V1APIServiceList } from '../models/V1APIServiceList'; +import { V1APIServiceSpec } from '../models/V1APIServiceSpec'; +import { V1APIServiceStatus } from '../models/V1APIServiceStatus'; +import { V1APIVersions } from '../models/V1APIVersions'; +import { V1AWSElasticBlockStoreVolumeSource } from '../models/V1AWSElasticBlockStoreVolumeSource'; +import { V1Affinity } from '../models/V1Affinity'; +import { V1AggregationRule } from '../models/V1AggregationRule'; +import { V1AppArmorProfile } from '../models/V1AppArmorProfile'; +import { V1AttachedVolume } from '../models/V1AttachedVolume'; +import { V1AuditAnnotation } from '../models/V1AuditAnnotation'; +import { V1AzureDiskVolumeSource } from '../models/V1AzureDiskVolumeSource'; +import { V1AzureFilePersistentVolumeSource } from '../models/V1AzureFilePersistentVolumeSource'; +import { V1AzureFileVolumeSource } from '../models/V1AzureFileVolumeSource'; +import { V1Binding } from '../models/V1Binding'; +import { V1BoundObjectReference } from '../models/V1BoundObjectReference'; +import { V1CSIDriver } from '../models/V1CSIDriver'; +import { V1CSIDriverList } from '../models/V1CSIDriverList'; +import { V1CSIDriverSpec } from '../models/V1CSIDriverSpec'; +import { V1CSINode } from '../models/V1CSINode'; +import { V1CSINodeDriver } from '../models/V1CSINodeDriver'; +import { V1CSINodeList } from '../models/V1CSINodeList'; +import { V1CSINodeSpec } from '../models/V1CSINodeSpec'; +import { V1CSIPersistentVolumeSource } from '../models/V1CSIPersistentVolumeSource'; +import { V1CSIStorageCapacity } from '../models/V1CSIStorageCapacity'; +import { V1CSIStorageCapacityList } from '../models/V1CSIStorageCapacityList'; +import { V1CSIVolumeSource } from '../models/V1CSIVolumeSource'; +import { V1Capabilities } from '../models/V1Capabilities'; +import { V1CephFSPersistentVolumeSource } from '../models/V1CephFSPersistentVolumeSource'; +import { V1CephFSVolumeSource } from '../models/V1CephFSVolumeSource'; +import { V1CertificateSigningRequest } from '../models/V1CertificateSigningRequest'; +import { V1CertificateSigningRequestCondition } from '../models/V1CertificateSigningRequestCondition'; +import { V1CertificateSigningRequestList } from '../models/V1CertificateSigningRequestList'; +import { V1CertificateSigningRequestSpec } from '../models/V1CertificateSigningRequestSpec'; +import { V1CertificateSigningRequestStatus } from '../models/V1CertificateSigningRequestStatus'; +import { V1CinderPersistentVolumeSource } from '../models/V1CinderPersistentVolumeSource'; +import { V1CinderVolumeSource } from '../models/V1CinderVolumeSource'; +import { V1ClientIPConfig } from '../models/V1ClientIPConfig'; +import { V1ClusterRole } from '../models/V1ClusterRole'; +import { V1ClusterRoleBinding } from '../models/V1ClusterRoleBinding'; +import { V1ClusterRoleBindingList } from '../models/V1ClusterRoleBindingList'; +import { V1ClusterRoleList } from '../models/V1ClusterRoleList'; +import { V1ClusterTrustBundleProjection } from '../models/V1ClusterTrustBundleProjection'; +import { V1ComponentCondition } from '../models/V1ComponentCondition'; +import { V1ComponentStatus } from '../models/V1ComponentStatus'; +import { V1ComponentStatusList } from '../models/V1ComponentStatusList'; +import { V1Condition } from '../models/V1Condition'; +import { V1ConfigMap } from '../models/V1ConfigMap'; +import { V1ConfigMapEnvSource } from '../models/V1ConfigMapEnvSource'; +import { V1ConfigMapKeySelector } from '../models/V1ConfigMapKeySelector'; +import { V1ConfigMapList } from '../models/V1ConfigMapList'; +import { V1ConfigMapNodeConfigSource } from '../models/V1ConfigMapNodeConfigSource'; +import { V1ConfigMapProjection } from '../models/V1ConfigMapProjection'; +import { V1ConfigMapVolumeSource } from '../models/V1ConfigMapVolumeSource'; +import { V1Container } from '../models/V1Container'; +import { V1ContainerImage } from '../models/V1ContainerImage'; +import { V1ContainerPort } from '../models/V1ContainerPort'; +import { V1ContainerResizePolicy } from '../models/V1ContainerResizePolicy'; +import { V1ContainerState } from '../models/V1ContainerState'; +import { V1ContainerStateRunning } from '../models/V1ContainerStateRunning'; +import { V1ContainerStateTerminated } from '../models/V1ContainerStateTerminated'; +import { V1ContainerStateWaiting } from '../models/V1ContainerStateWaiting'; +import { V1ContainerStatus } from '../models/V1ContainerStatus'; +import { V1ContainerUser } from '../models/V1ContainerUser'; +import { V1ControllerRevision } from '../models/V1ControllerRevision'; +import { V1ControllerRevisionList } from '../models/V1ControllerRevisionList'; +import { V1CronJob } from '../models/V1CronJob'; +import { V1CronJobList } from '../models/V1CronJobList'; +import { V1CronJobSpec } from '../models/V1CronJobSpec'; +import { V1CronJobStatus } from '../models/V1CronJobStatus'; +import { V1CrossVersionObjectReference } from '../models/V1CrossVersionObjectReference'; +import { V1CustomResourceColumnDefinition } from '../models/V1CustomResourceColumnDefinition'; +import { V1CustomResourceConversion } from '../models/V1CustomResourceConversion'; +import { V1CustomResourceDefinition } from '../models/V1CustomResourceDefinition'; +import { V1CustomResourceDefinitionCondition } from '../models/V1CustomResourceDefinitionCondition'; +import { V1CustomResourceDefinitionList } from '../models/V1CustomResourceDefinitionList'; +import { V1CustomResourceDefinitionNames } from '../models/V1CustomResourceDefinitionNames'; +import { V1CustomResourceDefinitionSpec } from '../models/V1CustomResourceDefinitionSpec'; +import { V1CustomResourceDefinitionStatus } from '../models/V1CustomResourceDefinitionStatus'; +import { V1CustomResourceDefinitionVersion } from '../models/V1CustomResourceDefinitionVersion'; +import { V1CustomResourceSubresourceScale } from '../models/V1CustomResourceSubresourceScale'; +import { V1CustomResourceSubresources } from '../models/V1CustomResourceSubresources'; +import { V1CustomResourceValidation } from '../models/V1CustomResourceValidation'; +import { V1DaemonEndpoint } from '../models/V1DaemonEndpoint'; +import { V1DaemonSet } from '../models/V1DaemonSet'; +import { V1DaemonSetCondition } from '../models/V1DaemonSetCondition'; +import { V1DaemonSetList } from '../models/V1DaemonSetList'; +import { V1DaemonSetSpec } from '../models/V1DaemonSetSpec'; +import { V1DaemonSetStatus } from '../models/V1DaemonSetStatus'; +import { V1DaemonSetUpdateStrategy } from '../models/V1DaemonSetUpdateStrategy'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1Deployment } from '../models/V1Deployment'; +import { V1DeploymentCondition } from '../models/V1DeploymentCondition'; +import { V1DeploymentList } from '../models/V1DeploymentList'; +import { V1DeploymentSpec } from '../models/V1DeploymentSpec'; +import { V1DeploymentStatus } from '../models/V1DeploymentStatus'; +import { V1DeploymentStrategy } from '../models/V1DeploymentStrategy'; +import { V1DownwardAPIProjection } from '../models/V1DownwardAPIProjection'; +import { V1DownwardAPIVolumeFile } from '../models/V1DownwardAPIVolumeFile'; +import { V1DownwardAPIVolumeSource } from '../models/V1DownwardAPIVolumeSource'; +import { V1EmptyDirVolumeSource } from '../models/V1EmptyDirVolumeSource'; +import { V1Endpoint } from '../models/V1Endpoint'; +import { V1EndpointAddress } from '../models/V1EndpointAddress'; +import { V1EndpointConditions } from '../models/V1EndpointConditions'; +import { V1EndpointHints } from '../models/V1EndpointHints'; +import { V1EndpointSlice } from '../models/V1EndpointSlice'; +import { V1EndpointSliceList } from '../models/V1EndpointSliceList'; +import { V1EndpointSubset } from '../models/V1EndpointSubset'; +import { V1Endpoints } from '../models/V1Endpoints'; +import { V1EndpointsList } from '../models/V1EndpointsList'; +import { V1EnvFromSource } from '../models/V1EnvFromSource'; +import { V1EnvVar } from '../models/V1EnvVar'; +import { V1EnvVarSource } from '../models/V1EnvVarSource'; +import { V1EphemeralContainer } from '../models/V1EphemeralContainer'; +import { V1EphemeralVolumeSource } from '../models/V1EphemeralVolumeSource'; +import { V1EventSource } from '../models/V1EventSource'; +import { V1Eviction } from '../models/V1Eviction'; +import { V1ExecAction } from '../models/V1ExecAction'; +import { V1ExemptPriorityLevelConfiguration } from '../models/V1ExemptPriorityLevelConfiguration'; +import { V1ExpressionWarning } from '../models/V1ExpressionWarning'; +import { V1ExternalDocumentation } from '../models/V1ExternalDocumentation'; +import { V1FCVolumeSource } from '../models/V1FCVolumeSource'; +import { V1FieldSelectorAttributes } from '../models/V1FieldSelectorAttributes'; +import { V1FieldSelectorRequirement } from '../models/V1FieldSelectorRequirement'; +import { V1FlexPersistentVolumeSource } from '../models/V1FlexPersistentVolumeSource'; +import { V1FlexVolumeSource } from '../models/V1FlexVolumeSource'; +import { V1FlockerVolumeSource } from '../models/V1FlockerVolumeSource'; +import { V1FlowDistinguisherMethod } from '../models/V1FlowDistinguisherMethod'; +import { V1FlowSchema } from '../models/V1FlowSchema'; +import { V1FlowSchemaCondition } from '../models/V1FlowSchemaCondition'; +import { V1FlowSchemaList } from '../models/V1FlowSchemaList'; +import { V1FlowSchemaSpec } from '../models/V1FlowSchemaSpec'; +import { V1FlowSchemaStatus } from '../models/V1FlowSchemaStatus'; +import { V1ForZone } from '../models/V1ForZone'; +import { V1GCEPersistentDiskVolumeSource } from '../models/V1GCEPersistentDiskVolumeSource'; +import { V1GRPCAction } from '../models/V1GRPCAction'; +import { V1GitRepoVolumeSource } from '../models/V1GitRepoVolumeSource'; +import { V1GlusterfsPersistentVolumeSource } from '../models/V1GlusterfsPersistentVolumeSource'; +import { V1GlusterfsVolumeSource } from '../models/V1GlusterfsVolumeSource'; +import { V1GroupSubject } from '../models/V1GroupSubject'; +import { V1GroupVersionForDiscovery } from '../models/V1GroupVersionForDiscovery'; +import { V1HTTPGetAction } from '../models/V1HTTPGetAction'; +import { V1HTTPHeader } from '../models/V1HTTPHeader'; +import { V1HTTPIngressPath } from '../models/V1HTTPIngressPath'; +import { V1HTTPIngressRuleValue } from '../models/V1HTTPIngressRuleValue'; +import { V1HorizontalPodAutoscaler } from '../models/V1HorizontalPodAutoscaler'; +import { V1HorizontalPodAutoscalerList } from '../models/V1HorizontalPodAutoscalerList'; +import { V1HorizontalPodAutoscalerSpec } from '../models/V1HorizontalPodAutoscalerSpec'; +import { V1HorizontalPodAutoscalerStatus } from '../models/V1HorizontalPodAutoscalerStatus'; +import { V1HostAlias } from '../models/V1HostAlias'; +import { V1HostIP } from '../models/V1HostIP'; +import { V1HostPathVolumeSource } from '../models/V1HostPathVolumeSource'; +import { V1IPBlock } from '../models/V1IPBlock'; +import { V1ISCSIPersistentVolumeSource } from '../models/V1ISCSIPersistentVolumeSource'; +import { V1ISCSIVolumeSource } from '../models/V1ISCSIVolumeSource'; +import { V1ImageVolumeSource } from '../models/V1ImageVolumeSource'; +import { V1Ingress } from '../models/V1Ingress'; +import { V1IngressBackend } from '../models/V1IngressBackend'; +import { V1IngressClass } from '../models/V1IngressClass'; +import { V1IngressClassList } from '../models/V1IngressClassList'; +import { V1IngressClassParametersReference } from '../models/V1IngressClassParametersReference'; +import { V1IngressClassSpec } from '../models/V1IngressClassSpec'; +import { V1IngressList } from '../models/V1IngressList'; +import { V1IngressLoadBalancerIngress } from '../models/V1IngressLoadBalancerIngress'; +import { V1IngressLoadBalancerStatus } from '../models/V1IngressLoadBalancerStatus'; +import { V1IngressPortStatus } from '../models/V1IngressPortStatus'; +import { V1IngressRule } from '../models/V1IngressRule'; +import { V1IngressServiceBackend } from '../models/V1IngressServiceBackend'; +import { V1IngressSpec } from '../models/V1IngressSpec'; +import { V1IngressStatus } from '../models/V1IngressStatus'; +import { V1IngressTLS } from '../models/V1IngressTLS'; +import { V1JSONSchemaProps } from '../models/V1JSONSchemaProps'; +import { V1Job } from '../models/V1Job'; +import { V1JobCondition } from '../models/V1JobCondition'; +import { V1JobList } from '../models/V1JobList'; +import { V1JobSpec } from '../models/V1JobSpec'; +import { V1JobStatus } from '../models/V1JobStatus'; +import { V1JobTemplateSpec } from '../models/V1JobTemplateSpec'; +import { V1KeyToPath } from '../models/V1KeyToPath'; +import { V1LabelSelector } from '../models/V1LabelSelector'; +import { V1LabelSelectorAttributes } from '../models/V1LabelSelectorAttributes'; +import { V1LabelSelectorRequirement } from '../models/V1LabelSelectorRequirement'; +import { V1Lease } from '../models/V1Lease'; +import { V1LeaseList } from '../models/V1LeaseList'; +import { V1LeaseSpec } from '../models/V1LeaseSpec'; +import { V1Lifecycle } from '../models/V1Lifecycle'; +import { V1LifecycleHandler } from '../models/V1LifecycleHandler'; +import { V1LimitRange } from '../models/V1LimitRange'; +import { V1LimitRangeItem } from '../models/V1LimitRangeItem'; +import { V1LimitRangeList } from '../models/V1LimitRangeList'; +import { V1LimitRangeSpec } from '../models/V1LimitRangeSpec'; +import { V1LimitResponse } from '../models/V1LimitResponse'; +import { V1LimitedPriorityLevelConfiguration } from '../models/V1LimitedPriorityLevelConfiguration'; +import { V1LinuxContainerUser } from '../models/V1LinuxContainerUser'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1LoadBalancerIngress } from '../models/V1LoadBalancerIngress'; +import { V1LoadBalancerStatus } from '../models/V1LoadBalancerStatus'; +import { V1LocalObjectReference } from '../models/V1LocalObjectReference'; +import { V1LocalSubjectAccessReview } from '../models/V1LocalSubjectAccessReview'; +import { V1LocalVolumeSource } from '../models/V1LocalVolumeSource'; +import { V1ManagedFieldsEntry } from '../models/V1ManagedFieldsEntry'; +import { V1MatchCondition } from '../models/V1MatchCondition'; +import { V1MatchResources } from '../models/V1MatchResources'; +import { V1ModifyVolumeStatus } from '../models/V1ModifyVolumeStatus'; +import { V1MutatingWebhook } from '../models/V1MutatingWebhook'; +import { V1MutatingWebhookConfiguration } from '../models/V1MutatingWebhookConfiguration'; +import { V1MutatingWebhookConfigurationList } from '../models/V1MutatingWebhookConfigurationList'; +import { V1NFSVolumeSource } from '../models/V1NFSVolumeSource'; +import { V1NamedRuleWithOperations } from '../models/V1NamedRuleWithOperations'; +import { V1Namespace } from '../models/V1Namespace'; +import { V1NamespaceCondition } from '../models/V1NamespaceCondition'; +import { V1NamespaceList } from '../models/V1NamespaceList'; +import { V1NamespaceSpec } from '../models/V1NamespaceSpec'; +import { V1NamespaceStatus } from '../models/V1NamespaceStatus'; +import { V1NetworkPolicy } from '../models/V1NetworkPolicy'; +import { V1NetworkPolicyEgressRule } from '../models/V1NetworkPolicyEgressRule'; +import { V1NetworkPolicyIngressRule } from '../models/V1NetworkPolicyIngressRule'; +import { V1NetworkPolicyList } from '../models/V1NetworkPolicyList'; +import { V1NetworkPolicyPeer } from '../models/V1NetworkPolicyPeer'; +import { V1NetworkPolicyPort } from '../models/V1NetworkPolicyPort'; +import { V1NetworkPolicySpec } from '../models/V1NetworkPolicySpec'; +import { V1Node } from '../models/V1Node'; +import { V1NodeAddress } from '../models/V1NodeAddress'; +import { V1NodeAffinity } from '../models/V1NodeAffinity'; +import { V1NodeCondition } from '../models/V1NodeCondition'; +import { V1NodeConfigSource } from '../models/V1NodeConfigSource'; +import { V1NodeConfigStatus } from '../models/V1NodeConfigStatus'; +import { V1NodeDaemonEndpoints } from '../models/V1NodeDaemonEndpoints'; +import { V1NodeFeatures } from '../models/V1NodeFeatures'; +import { V1NodeList } from '../models/V1NodeList'; +import { V1NodeRuntimeHandler } from '../models/V1NodeRuntimeHandler'; +import { V1NodeRuntimeHandlerFeatures } from '../models/V1NodeRuntimeHandlerFeatures'; +import { V1NodeSelector } from '../models/V1NodeSelector'; +import { V1NodeSelectorRequirement } from '../models/V1NodeSelectorRequirement'; +import { V1NodeSelectorTerm } from '../models/V1NodeSelectorTerm'; +import { V1NodeSpec } from '../models/V1NodeSpec'; +import { V1NodeStatus } from '../models/V1NodeStatus'; +import { V1NodeSystemInfo } from '../models/V1NodeSystemInfo'; +import { V1NonResourceAttributes } from '../models/V1NonResourceAttributes'; +import { V1NonResourcePolicyRule } from '../models/V1NonResourcePolicyRule'; +import { V1NonResourceRule } from '../models/V1NonResourceRule'; +import { V1ObjectFieldSelector } from '../models/V1ObjectFieldSelector'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1ObjectReference } from '../models/V1ObjectReference'; +import { V1Overhead } from '../models/V1Overhead'; +import { V1OwnerReference } from '../models/V1OwnerReference'; +import { V1ParamKind } from '../models/V1ParamKind'; +import { V1ParamRef } from '../models/V1ParamRef'; +import { V1PersistentVolume } from '../models/V1PersistentVolume'; +import { V1PersistentVolumeClaim } from '../models/V1PersistentVolumeClaim'; +import { V1PersistentVolumeClaimCondition } from '../models/V1PersistentVolumeClaimCondition'; +import { V1PersistentVolumeClaimList } from '../models/V1PersistentVolumeClaimList'; +import { V1PersistentVolumeClaimSpec } from '../models/V1PersistentVolumeClaimSpec'; +import { V1PersistentVolumeClaimStatus } from '../models/V1PersistentVolumeClaimStatus'; +import { V1PersistentVolumeClaimTemplate } from '../models/V1PersistentVolumeClaimTemplate'; +import { V1PersistentVolumeClaimVolumeSource } from '../models/V1PersistentVolumeClaimVolumeSource'; +import { V1PersistentVolumeList } from '../models/V1PersistentVolumeList'; +import { V1PersistentVolumeSpec } from '../models/V1PersistentVolumeSpec'; +import { V1PersistentVolumeStatus } from '../models/V1PersistentVolumeStatus'; +import { V1PhotonPersistentDiskVolumeSource } from '../models/V1PhotonPersistentDiskVolumeSource'; +import { V1Pod } from '../models/V1Pod'; +import { V1PodAffinity } from '../models/V1PodAffinity'; +import { V1PodAffinityTerm } from '../models/V1PodAffinityTerm'; +import { V1PodAntiAffinity } from '../models/V1PodAntiAffinity'; +import { V1PodCondition } from '../models/V1PodCondition'; +import { V1PodDNSConfig } from '../models/V1PodDNSConfig'; +import { V1PodDNSConfigOption } from '../models/V1PodDNSConfigOption'; +import { V1PodDisruptionBudget } from '../models/V1PodDisruptionBudget'; +import { V1PodDisruptionBudgetList } from '../models/V1PodDisruptionBudgetList'; +import { V1PodDisruptionBudgetSpec } from '../models/V1PodDisruptionBudgetSpec'; +import { V1PodDisruptionBudgetStatus } from '../models/V1PodDisruptionBudgetStatus'; +import { V1PodFailurePolicy } from '../models/V1PodFailurePolicy'; +import { V1PodFailurePolicyOnExitCodesRequirement } from '../models/V1PodFailurePolicyOnExitCodesRequirement'; +import { V1PodFailurePolicyOnPodConditionsPattern } from '../models/V1PodFailurePolicyOnPodConditionsPattern'; +import { V1PodFailurePolicyRule } from '../models/V1PodFailurePolicyRule'; +import { V1PodIP } from '../models/V1PodIP'; +import { V1PodList } from '../models/V1PodList'; +import { V1PodOS } from '../models/V1PodOS'; +import { V1PodReadinessGate } from '../models/V1PodReadinessGate'; +import { V1PodResourceClaim } from '../models/V1PodResourceClaim'; +import { V1PodResourceClaimStatus } from '../models/V1PodResourceClaimStatus'; +import { V1PodSchedulingGate } from '../models/V1PodSchedulingGate'; +import { V1PodSecurityContext } from '../models/V1PodSecurityContext'; +import { V1PodSpec } from '../models/V1PodSpec'; +import { V1PodStatus } from '../models/V1PodStatus'; +import { V1PodTemplate } from '../models/V1PodTemplate'; +import { V1PodTemplateList } from '../models/V1PodTemplateList'; +import { V1PodTemplateSpec } from '../models/V1PodTemplateSpec'; +import { V1PolicyRule } from '../models/V1PolicyRule'; +import { V1PolicyRulesWithSubjects } from '../models/V1PolicyRulesWithSubjects'; +import { V1PortStatus } from '../models/V1PortStatus'; +import { V1PortworxVolumeSource } from '../models/V1PortworxVolumeSource'; +import { V1Preconditions } from '../models/V1Preconditions'; +import { V1PreferredSchedulingTerm } from '../models/V1PreferredSchedulingTerm'; +import { V1PriorityClass } from '../models/V1PriorityClass'; +import { V1PriorityClassList } from '../models/V1PriorityClassList'; +import { V1PriorityLevelConfiguration } from '../models/V1PriorityLevelConfiguration'; +import { V1PriorityLevelConfigurationCondition } from '../models/V1PriorityLevelConfigurationCondition'; +import { V1PriorityLevelConfigurationList } from '../models/V1PriorityLevelConfigurationList'; +import { V1PriorityLevelConfigurationReference } from '../models/V1PriorityLevelConfigurationReference'; +import { V1PriorityLevelConfigurationSpec } from '../models/V1PriorityLevelConfigurationSpec'; +import { V1PriorityLevelConfigurationStatus } from '../models/V1PriorityLevelConfigurationStatus'; +import { V1Probe } from '../models/V1Probe'; +import { V1ProjectedVolumeSource } from '../models/V1ProjectedVolumeSource'; +import { V1QueuingConfiguration } from '../models/V1QueuingConfiguration'; +import { V1QuobyteVolumeSource } from '../models/V1QuobyteVolumeSource'; +import { V1RBDPersistentVolumeSource } from '../models/V1RBDPersistentVolumeSource'; +import { V1RBDVolumeSource } from '../models/V1RBDVolumeSource'; +import { V1ReplicaSet } from '../models/V1ReplicaSet'; +import { V1ReplicaSetCondition } from '../models/V1ReplicaSetCondition'; +import { V1ReplicaSetList } from '../models/V1ReplicaSetList'; +import { V1ReplicaSetSpec } from '../models/V1ReplicaSetSpec'; +import { V1ReplicaSetStatus } from '../models/V1ReplicaSetStatus'; +import { V1ReplicationController } from '../models/V1ReplicationController'; +import { V1ReplicationControllerCondition } from '../models/V1ReplicationControllerCondition'; +import { V1ReplicationControllerList } from '../models/V1ReplicationControllerList'; +import { V1ReplicationControllerSpec } from '../models/V1ReplicationControllerSpec'; +import { V1ReplicationControllerStatus } from '../models/V1ReplicationControllerStatus'; +import { V1ResourceAttributes } from '../models/V1ResourceAttributes'; +import { V1ResourceClaim } from '../models/V1ResourceClaim'; +import { V1ResourceFieldSelector } from '../models/V1ResourceFieldSelector'; +import { V1ResourceHealth } from '../models/V1ResourceHealth'; +import { V1ResourcePolicyRule } from '../models/V1ResourcePolicyRule'; +import { V1ResourceQuota } from '../models/V1ResourceQuota'; +import { V1ResourceQuotaList } from '../models/V1ResourceQuotaList'; +import { V1ResourceQuotaSpec } from '../models/V1ResourceQuotaSpec'; +import { V1ResourceQuotaStatus } from '../models/V1ResourceQuotaStatus'; +import { V1ResourceRequirements } from '../models/V1ResourceRequirements'; +import { V1ResourceRule } from '../models/V1ResourceRule'; +import { V1ResourceStatus } from '../models/V1ResourceStatus'; +import { V1Role } from '../models/V1Role'; +import { V1RoleBinding } from '../models/V1RoleBinding'; +import { V1RoleBindingList } from '../models/V1RoleBindingList'; +import { V1RoleList } from '../models/V1RoleList'; +import { V1RoleRef } from '../models/V1RoleRef'; +import { V1RollingUpdateDaemonSet } from '../models/V1RollingUpdateDaemonSet'; +import { V1RollingUpdateDeployment } from '../models/V1RollingUpdateDeployment'; +import { V1RollingUpdateStatefulSetStrategy } from '../models/V1RollingUpdateStatefulSetStrategy'; +import { V1RuleWithOperations } from '../models/V1RuleWithOperations'; +import { V1RuntimeClass } from '../models/V1RuntimeClass'; +import { V1RuntimeClassList } from '../models/V1RuntimeClassList'; +import { V1SELinuxOptions } from '../models/V1SELinuxOptions'; +import { V1Scale } from '../models/V1Scale'; +import { V1ScaleIOPersistentVolumeSource } from '../models/V1ScaleIOPersistentVolumeSource'; +import { V1ScaleIOVolumeSource } from '../models/V1ScaleIOVolumeSource'; +import { V1ScaleSpec } from '../models/V1ScaleSpec'; +import { V1ScaleStatus } from '../models/V1ScaleStatus'; +import { V1Scheduling } from '../models/V1Scheduling'; +import { V1ScopeSelector } from '../models/V1ScopeSelector'; +import { V1ScopedResourceSelectorRequirement } from '../models/V1ScopedResourceSelectorRequirement'; +import { V1SeccompProfile } from '../models/V1SeccompProfile'; +import { V1Secret } from '../models/V1Secret'; +import { V1SecretEnvSource } from '../models/V1SecretEnvSource'; +import { V1SecretKeySelector } from '../models/V1SecretKeySelector'; +import { V1SecretList } from '../models/V1SecretList'; +import { V1SecretProjection } from '../models/V1SecretProjection'; +import { V1SecretReference } from '../models/V1SecretReference'; +import { V1SecretVolumeSource } from '../models/V1SecretVolumeSource'; +import { V1SecurityContext } from '../models/V1SecurityContext'; +import { V1SelectableField } from '../models/V1SelectableField'; +import { V1SelfSubjectAccessReview } from '../models/V1SelfSubjectAccessReview'; +import { V1SelfSubjectAccessReviewSpec } from '../models/V1SelfSubjectAccessReviewSpec'; +import { V1SelfSubjectReview } from '../models/V1SelfSubjectReview'; +import { V1SelfSubjectReviewStatus } from '../models/V1SelfSubjectReviewStatus'; +import { V1SelfSubjectRulesReview } from '../models/V1SelfSubjectRulesReview'; +import { V1SelfSubjectRulesReviewSpec } from '../models/V1SelfSubjectRulesReviewSpec'; +import { V1ServerAddressByClientCIDR } from '../models/V1ServerAddressByClientCIDR'; +import { V1Service } from '../models/V1Service'; +import { V1ServiceAccount } from '../models/V1ServiceAccount'; +import { V1ServiceAccountList } from '../models/V1ServiceAccountList'; +import { V1ServiceAccountSubject } from '../models/V1ServiceAccountSubject'; +import { V1ServiceAccountTokenProjection } from '../models/V1ServiceAccountTokenProjection'; +import { V1ServiceBackendPort } from '../models/V1ServiceBackendPort'; +import { V1ServiceList } from '../models/V1ServiceList'; +import { V1ServicePort } from '../models/V1ServicePort'; +import { V1ServiceSpec } from '../models/V1ServiceSpec'; +import { V1ServiceStatus } from '../models/V1ServiceStatus'; +import { V1SessionAffinityConfig } from '../models/V1SessionAffinityConfig'; +import { V1SleepAction } from '../models/V1SleepAction'; +import { V1StatefulSet } from '../models/V1StatefulSet'; +import { V1StatefulSetCondition } from '../models/V1StatefulSetCondition'; +import { V1StatefulSetList } from '../models/V1StatefulSetList'; +import { V1StatefulSetOrdinals } from '../models/V1StatefulSetOrdinals'; +import { V1StatefulSetPersistentVolumeClaimRetentionPolicy } from '../models/V1StatefulSetPersistentVolumeClaimRetentionPolicy'; +import { V1StatefulSetSpec } from '../models/V1StatefulSetSpec'; +import { V1StatefulSetStatus } from '../models/V1StatefulSetStatus'; +import { V1StatefulSetUpdateStrategy } from '../models/V1StatefulSetUpdateStrategy'; +import { V1Status } from '../models/V1Status'; +import { V1StatusCause } from '../models/V1StatusCause'; +import { V1StatusDetails } from '../models/V1StatusDetails'; +import { V1StorageClass } from '../models/V1StorageClass'; +import { V1StorageClassList } from '../models/V1StorageClassList'; +import { V1StorageOSPersistentVolumeSource } from '../models/V1StorageOSPersistentVolumeSource'; +import { V1StorageOSVolumeSource } from '../models/V1StorageOSVolumeSource'; +import { V1SubjectAccessReview } from '../models/V1SubjectAccessReview'; +import { V1SubjectAccessReviewSpec } from '../models/V1SubjectAccessReviewSpec'; +import { V1SubjectAccessReviewStatus } from '../models/V1SubjectAccessReviewStatus'; +import { V1SubjectRulesReviewStatus } from '../models/V1SubjectRulesReviewStatus'; +import { V1SuccessPolicy } from '../models/V1SuccessPolicy'; +import { V1SuccessPolicyRule } from '../models/V1SuccessPolicyRule'; +import { V1Sysctl } from '../models/V1Sysctl'; +import { V1TCPSocketAction } from '../models/V1TCPSocketAction'; +import { V1Taint } from '../models/V1Taint'; +import { V1TokenRequestSpec } from '../models/V1TokenRequestSpec'; +import { V1TokenRequestStatus } from '../models/V1TokenRequestStatus'; +import { V1TokenReview } from '../models/V1TokenReview'; +import { V1TokenReviewSpec } from '../models/V1TokenReviewSpec'; +import { V1TokenReviewStatus } from '../models/V1TokenReviewStatus'; +import { V1Toleration } from '../models/V1Toleration'; +import { V1TopologySelectorLabelRequirement } from '../models/V1TopologySelectorLabelRequirement'; +import { V1TopologySelectorTerm } from '../models/V1TopologySelectorTerm'; +import { V1TopologySpreadConstraint } from '../models/V1TopologySpreadConstraint'; +import { V1TypeChecking } from '../models/V1TypeChecking'; +import { V1TypedLocalObjectReference } from '../models/V1TypedLocalObjectReference'; +import { V1TypedObjectReference } from '../models/V1TypedObjectReference'; +import { V1UncountedTerminatedPods } from '../models/V1UncountedTerminatedPods'; +import { V1UserInfo } from '../models/V1UserInfo'; +import { V1UserSubject } from '../models/V1UserSubject'; +import { V1ValidatingAdmissionPolicy } from '../models/V1ValidatingAdmissionPolicy'; +import { V1ValidatingAdmissionPolicyBinding } from '../models/V1ValidatingAdmissionPolicyBinding'; +import { V1ValidatingAdmissionPolicyBindingList } from '../models/V1ValidatingAdmissionPolicyBindingList'; +import { V1ValidatingAdmissionPolicyBindingSpec } from '../models/V1ValidatingAdmissionPolicyBindingSpec'; +import { V1ValidatingAdmissionPolicyList } from '../models/V1ValidatingAdmissionPolicyList'; +import { V1ValidatingAdmissionPolicySpec } from '../models/V1ValidatingAdmissionPolicySpec'; +import { V1ValidatingAdmissionPolicyStatus } from '../models/V1ValidatingAdmissionPolicyStatus'; +import { V1ValidatingWebhook } from '../models/V1ValidatingWebhook'; +import { V1ValidatingWebhookConfiguration } from '../models/V1ValidatingWebhookConfiguration'; +import { V1ValidatingWebhookConfigurationList } from '../models/V1ValidatingWebhookConfigurationList'; +import { V1Validation } from '../models/V1Validation'; +import { V1ValidationRule } from '../models/V1ValidationRule'; +import { V1Variable } from '../models/V1Variable'; +import { V1Volume } from '../models/V1Volume'; +import { V1VolumeAttachment } from '../models/V1VolumeAttachment'; +import { V1VolumeAttachmentList } from '../models/V1VolumeAttachmentList'; +import { V1VolumeAttachmentSource } from '../models/V1VolumeAttachmentSource'; +import { V1VolumeAttachmentSpec } from '../models/V1VolumeAttachmentSpec'; +import { V1VolumeAttachmentStatus } from '../models/V1VolumeAttachmentStatus'; +import { V1VolumeDevice } from '../models/V1VolumeDevice'; +import { V1VolumeError } from '../models/V1VolumeError'; +import { V1VolumeMount } from '../models/V1VolumeMount'; +import { V1VolumeMountStatus } from '../models/V1VolumeMountStatus'; +import { V1VolumeNodeAffinity } from '../models/V1VolumeNodeAffinity'; +import { V1VolumeNodeResources } from '../models/V1VolumeNodeResources'; +import { V1VolumeProjection } from '../models/V1VolumeProjection'; +import { V1VolumeResourceRequirements } from '../models/V1VolumeResourceRequirements'; +import { V1VsphereVirtualDiskVolumeSource } from '../models/V1VsphereVirtualDiskVolumeSource'; +import { V1WatchEvent } from '../models/V1WatchEvent'; +import { V1WebhookConversion } from '../models/V1WebhookConversion'; +import { V1WeightedPodAffinityTerm } from '../models/V1WeightedPodAffinityTerm'; +import { V1WindowsSecurityContextOptions } from '../models/V1WindowsSecurityContextOptions'; +import { V1alpha1ApplyConfiguration } from '../models/V1alpha1ApplyConfiguration'; +import { V1alpha1ClusterTrustBundle } from '../models/V1alpha1ClusterTrustBundle'; +import { V1alpha1ClusterTrustBundleList } from '../models/V1alpha1ClusterTrustBundleList'; +import { V1alpha1ClusterTrustBundleSpec } from '../models/V1alpha1ClusterTrustBundleSpec'; +import { V1alpha1GroupVersionResource } from '../models/V1alpha1GroupVersionResource'; +import { V1alpha1JSONPatch } from '../models/V1alpha1JSONPatch'; +import { V1alpha1MatchCondition } from '../models/V1alpha1MatchCondition'; +import { V1alpha1MatchResources } from '../models/V1alpha1MatchResources'; +import { V1alpha1MigrationCondition } from '../models/V1alpha1MigrationCondition'; +import { V1alpha1MutatingAdmissionPolicy } from '../models/V1alpha1MutatingAdmissionPolicy'; +import { V1alpha1MutatingAdmissionPolicyBinding } from '../models/V1alpha1MutatingAdmissionPolicyBinding'; +import { V1alpha1MutatingAdmissionPolicyBindingList } from '../models/V1alpha1MutatingAdmissionPolicyBindingList'; +import { V1alpha1MutatingAdmissionPolicyBindingSpec } from '../models/V1alpha1MutatingAdmissionPolicyBindingSpec'; +import { V1alpha1MutatingAdmissionPolicyList } from '../models/V1alpha1MutatingAdmissionPolicyList'; +import { V1alpha1MutatingAdmissionPolicySpec } from '../models/V1alpha1MutatingAdmissionPolicySpec'; +import { V1alpha1Mutation } from '../models/V1alpha1Mutation'; +import { V1alpha1NamedRuleWithOperations } from '../models/V1alpha1NamedRuleWithOperations'; +import { V1alpha1ParamKind } from '../models/V1alpha1ParamKind'; +import { V1alpha1ParamRef } from '../models/V1alpha1ParamRef'; +import { V1alpha1ServerStorageVersion } from '../models/V1alpha1ServerStorageVersion'; +import { V1alpha1StorageVersion } from '../models/V1alpha1StorageVersion'; +import { V1alpha1StorageVersionCondition } from '../models/V1alpha1StorageVersionCondition'; +import { V1alpha1StorageVersionList } from '../models/V1alpha1StorageVersionList'; +import { V1alpha1StorageVersionMigration } from '../models/V1alpha1StorageVersionMigration'; +import { V1alpha1StorageVersionMigrationList } from '../models/V1alpha1StorageVersionMigrationList'; +import { V1alpha1StorageVersionMigrationSpec } from '../models/V1alpha1StorageVersionMigrationSpec'; +import { V1alpha1StorageVersionMigrationStatus } from '../models/V1alpha1StorageVersionMigrationStatus'; +import { V1alpha1StorageVersionStatus } from '../models/V1alpha1StorageVersionStatus'; +import { V1alpha1Variable } from '../models/V1alpha1Variable'; +import { V1alpha1VolumeAttributesClass } from '../models/V1alpha1VolumeAttributesClass'; +import { V1alpha1VolumeAttributesClassList } from '../models/V1alpha1VolumeAttributesClassList'; +import { V1alpha2LeaseCandidate } from '../models/V1alpha2LeaseCandidate'; +import { V1alpha2LeaseCandidateList } from '../models/V1alpha2LeaseCandidateList'; +import { V1alpha2LeaseCandidateSpec } from '../models/V1alpha2LeaseCandidateSpec'; +import { V1alpha3AllocatedDeviceStatus } from '../models/V1alpha3AllocatedDeviceStatus'; +import { V1alpha3AllocationResult } from '../models/V1alpha3AllocationResult'; +import { V1alpha3BasicDevice } from '../models/V1alpha3BasicDevice'; +import { V1alpha3CELDeviceSelector } from '../models/V1alpha3CELDeviceSelector'; +import { V1alpha3Device } from '../models/V1alpha3Device'; +import { V1alpha3DeviceAllocationConfiguration } from '../models/V1alpha3DeviceAllocationConfiguration'; +import { V1alpha3DeviceAllocationResult } from '../models/V1alpha3DeviceAllocationResult'; +import { V1alpha3DeviceAttribute } from '../models/V1alpha3DeviceAttribute'; +import { V1alpha3DeviceClaim } from '../models/V1alpha3DeviceClaim'; +import { V1alpha3DeviceClaimConfiguration } from '../models/V1alpha3DeviceClaimConfiguration'; +import { V1alpha3DeviceClass } from '../models/V1alpha3DeviceClass'; +import { V1alpha3DeviceClassConfiguration } from '../models/V1alpha3DeviceClassConfiguration'; +import { V1alpha3DeviceClassList } from '../models/V1alpha3DeviceClassList'; +import { V1alpha3DeviceClassSpec } from '../models/V1alpha3DeviceClassSpec'; +import { V1alpha3DeviceConstraint } from '../models/V1alpha3DeviceConstraint'; +import { V1alpha3DeviceRequest } from '../models/V1alpha3DeviceRequest'; +import { V1alpha3DeviceRequestAllocationResult } from '../models/V1alpha3DeviceRequestAllocationResult'; +import { V1alpha3DeviceSelector } from '../models/V1alpha3DeviceSelector'; +import { V1alpha3NetworkDeviceData } from '../models/V1alpha3NetworkDeviceData'; +import { V1alpha3OpaqueDeviceConfiguration } from '../models/V1alpha3OpaqueDeviceConfiguration'; +import { V1alpha3ResourceClaim } from '../models/V1alpha3ResourceClaim'; +import { V1alpha3ResourceClaimConsumerReference } from '../models/V1alpha3ResourceClaimConsumerReference'; +import { V1alpha3ResourceClaimList } from '../models/V1alpha3ResourceClaimList'; +import { V1alpha3ResourceClaimSpec } from '../models/V1alpha3ResourceClaimSpec'; +import { V1alpha3ResourceClaimStatus } from '../models/V1alpha3ResourceClaimStatus'; +import { V1alpha3ResourceClaimTemplate } from '../models/V1alpha3ResourceClaimTemplate'; +import { V1alpha3ResourceClaimTemplateList } from '../models/V1alpha3ResourceClaimTemplateList'; +import { V1alpha3ResourceClaimTemplateSpec } from '../models/V1alpha3ResourceClaimTemplateSpec'; +import { V1alpha3ResourcePool } from '../models/V1alpha3ResourcePool'; +import { V1alpha3ResourceSlice } from '../models/V1alpha3ResourceSlice'; +import { V1alpha3ResourceSliceList } from '../models/V1alpha3ResourceSliceList'; +import { V1alpha3ResourceSliceSpec } from '../models/V1alpha3ResourceSliceSpec'; +import { V1beta1AllocatedDeviceStatus } from '../models/V1beta1AllocatedDeviceStatus'; +import { V1beta1AllocationResult } from '../models/V1beta1AllocationResult'; +import { V1beta1AuditAnnotation } from '../models/V1beta1AuditAnnotation'; +import { V1beta1BasicDevice } from '../models/V1beta1BasicDevice'; +import { V1beta1CELDeviceSelector } from '../models/V1beta1CELDeviceSelector'; +import { V1beta1Device } from '../models/V1beta1Device'; +import { V1beta1DeviceAllocationConfiguration } from '../models/V1beta1DeviceAllocationConfiguration'; +import { V1beta1DeviceAllocationResult } from '../models/V1beta1DeviceAllocationResult'; +import { V1beta1DeviceAttribute } from '../models/V1beta1DeviceAttribute'; +import { V1beta1DeviceCapacity } from '../models/V1beta1DeviceCapacity'; +import { V1beta1DeviceClaim } from '../models/V1beta1DeviceClaim'; +import { V1beta1DeviceClaimConfiguration } from '../models/V1beta1DeviceClaimConfiguration'; +import { V1beta1DeviceClass } from '../models/V1beta1DeviceClass'; +import { V1beta1DeviceClassConfiguration } from '../models/V1beta1DeviceClassConfiguration'; +import { V1beta1DeviceClassList } from '../models/V1beta1DeviceClassList'; +import { V1beta1DeviceClassSpec } from '../models/V1beta1DeviceClassSpec'; +import { V1beta1DeviceConstraint } from '../models/V1beta1DeviceConstraint'; +import { V1beta1DeviceRequest } from '../models/V1beta1DeviceRequest'; +import { V1beta1DeviceRequestAllocationResult } from '../models/V1beta1DeviceRequestAllocationResult'; +import { V1beta1DeviceSelector } from '../models/V1beta1DeviceSelector'; +import { V1beta1ExpressionWarning } from '../models/V1beta1ExpressionWarning'; +import { V1beta1IPAddress } from '../models/V1beta1IPAddress'; +import { V1beta1IPAddressList } from '../models/V1beta1IPAddressList'; +import { V1beta1IPAddressSpec } from '../models/V1beta1IPAddressSpec'; +import { V1beta1MatchCondition } from '../models/V1beta1MatchCondition'; +import { V1beta1MatchResources } from '../models/V1beta1MatchResources'; +import { V1beta1NamedRuleWithOperations } from '../models/V1beta1NamedRuleWithOperations'; +import { V1beta1NetworkDeviceData } from '../models/V1beta1NetworkDeviceData'; +import { V1beta1OpaqueDeviceConfiguration } from '../models/V1beta1OpaqueDeviceConfiguration'; +import { V1beta1ParamKind } from '../models/V1beta1ParamKind'; +import { V1beta1ParamRef } from '../models/V1beta1ParamRef'; +import { V1beta1ParentReference } from '../models/V1beta1ParentReference'; +import { V1beta1ResourceClaim } from '../models/V1beta1ResourceClaim'; +import { V1beta1ResourceClaimConsumerReference } from '../models/V1beta1ResourceClaimConsumerReference'; +import { V1beta1ResourceClaimList } from '../models/V1beta1ResourceClaimList'; +import { V1beta1ResourceClaimSpec } from '../models/V1beta1ResourceClaimSpec'; +import { V1beta1ResourceClaimStatus } from '../models/V1beta1ResourceClaimStatus'; +import { V1beta1ResourceClaimTemplate } from '../models/V1beta1ResourceClaimTemplate'; +import { V1beta1ResourceClaimTemplateList } from '../models/V1beta1ResourceClaimTemplateList'; +import { V1beta1ResourceClaimTemplateSpec } from '../models/V1beta1ResourceClaimTemplateSpec'; +import { V1beta1ResourcePool } from '../models/V1beta1ResourcePool'; +import { V1beta1ResourceSlice } from '../models/V1beta1ResourceSlice'; +import { V1beta1ResourceSliceList } from '../models/V1beta1ResourceSliceList'; +import { V1beta1ResourceSliceSpec } from '../models/V1beta1ResourceSliceSpec'; +import { V1beta1SelfSubjectReview } from '../models/V1beta1SelfSubjectReview'; +import { V1beta1SelfSubjectReviewStatus } from '../models/V1beta1SelfSubjectReviewStatus'; +import { V1beta1ServiceCIDR } from '../models/V1beta1ServiceCIDR'; +import { V1beta1ServiceCIDRList } from '../models/V1beta1ServiceCIDRList'; +import { V1beta1ServiceCIDRSpec } from '../models/V1beta1ServiceCIDRSpec'; +import { V1beta1ServiceCIDRStatus } from '../models/V1beta1ServiceCIDRStatus'; +import { V1beta1TypeChecking } from '../models/V1beta1TypeChecking'; +import { V1beta1ValidatingAdmissionPolicy } from '../models/V1beta1ValidatingAdmissionPolicy'; +import { V1beta1ValidatingAdmissionPolicyBinding } from '../models/V1beta1ValidatingAdmissionPolicyBinding'; +import { V1beta1ValidatingAdmissionPolicyBindingList } from '../models/V1beta1ValidatingAdmissionPolicyBindingList'; +import { V1beta1ValidatingAdmissionPolicyBindingSpec } from '../models/V1beta1ValidatingAdmissionPolicyBindingSpec'; +import { V1beta1ValidatingAdmissionPolicyList } from '../models/V1beta1ValidatingAdmissionPolicyList'; +import { V1beta1ValidatingAdmissionPolicySpec } from '../models/V1beta1ValidatingAdmissionPolicySpec'; +import { V1beta1ValidatingAdmissionPolicyStatus } from '../models/V1beta1ValidatingAdmissionPolicyStatus'; +import { V1beta1Validation } from '../models/V1beta1Validation'; +import { V1beta1Variable } from '../models/V1beta1Variable'; +import { V1beta1VolumeAttributesClass } from '../models/V1beta1VolumeAttributesClass'; +import { V1beta1VolumeAttributesClassList } from '../models/V1beta1VolumeAttributesClassList'; +import { V2ContainerResourceMetricSource } from '../models/V2ContainerResourceMetricSource'; +import { V2ContainerResourceMetricStatus } from '../models/V2ContainerResourceMetricStatus'; +import { V2CrossVersionObjectReference } from '../models/V2CrossVersionObjectReference'; +import { V2ExternalMetricSource } from '../models/V2ExternalMetricSource'; +import { V2ExternalMetricStatus } from '../models/V2ExternalMetricStatus'; +import { V2HPAScalingPolicy } from '../models/V2HPAScalingPolicy'; +import { V2HPAScalingRules } from '../models/V2HPAScalingRules'; +import { V2HorizontalPodAutoscaler } from '../models/V2HorizontalPodAutoscaler'; +import { V2HorizontalPodAutoscalerBehavior } from '../models/V2HorizontalPodAutoscalerBehavior'; +import { V2HorizontalPodAutoscalerCondition } from '../models/V2HorizontalPodAutoscalerCondition'; +import { V2HorizontalPodAutoscalerList } from '../models/V2HorizontalPodAutoscalerList'; +import { V2HorizontalPodAutoscalerSpec } from '../models/V2HorizontalPodAutoscalerSpec'; +import { V2HorizontalPodAutoscalerStatus } from '../models/V2HorizontalPodAutoscalerStatus'; +import { V2MetricIdentifier } from '../models/V2MetricIdentifier'; +import { V2MetricSpec } from '../models/V2MetricSpec'; +import { V2MetricStatus } from '../models/V2MetricStatus'; +import { V2MetricTarget } from '../models/V2MetricTarget'; +import { V2MetricValueStatus } from '../models/V2MetricValueStatus'; +import { V2ObjectMetricSource } from '../models/V2ObjectMetricSource'; +import { V2ObjectMetricStatus } from '../models/V2ObjectMetricStatus'; +import { V2PodsMetricSource } from '../models/V2PodsMetricSource'; +import { V2PodsMetricStatus } from '../models/V2PodsMetricStatus'; +import { V2ResourceMetricSource } from '../models/V2ResourceMetricSource'; +import { V2ResourceMetricStatus } from '../models/V2ResourceMetricStatus'; +import { VersionInfo } from '../models/VersionInfo'; + +import { AdmissionregistrationApiRequestFactory, AdmissionregistrationApiResponseProcessor} from "../apis/AdmissionregistrationApi"; export class ObservableAdmissionregistrationApi { private requestFactory: AdmissionregistrationApiRequestFactory; private responseProcessor: AdmissionregistrationApiResponseProcessor; @@ -663,7 +675,7 @@ export class ObservableAdmissionregistrationApi { } -import { AdmissionregistrationV1ApiRequestFactory, AdmissionregistrationV1ApiResponseProcessor} from "../apis/AdmissionregistrationV1Api.js"; +import { AdmissionregistrationV1ApiRequestFactory, AdmissionregistrationV1ApiResponseProcessor} from "../apis/AdmissionregistrationV1Api"; export class ObservableAdmissionregistrationV1Api { private requestFactory: AdmissionregistrationV1ApiRequestFactory; private responseProcessor: AdmissionregistrationV1ApiResponseProcessor; @@ -842,6 +854,7 @@ export class ObservableAdmissionregistrationV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -852,8 +865,8 @@ export class ObservableAdmissionregistrationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionMutatingWebhookConfigurationWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionMutatingWebhookConfiguration(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionMutatingWebhookConfigurationWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionMutatingWebhookConfiguration(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -878,6 +891,7 @@ export class ObservableAdmissionregistrationV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -888,8 +902,8 @@ export class ObservableAdmissionregistrationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionMutatingWebhookConfiguration(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionMutatingWebhookConfigurationWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionMutatingWebhookConfiguration(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionMutatingWebhookConfigurationWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -899,6 +913,7 @@ export class ObservableAdmissionregistrationV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -909,8 +924,8 @@ export class ObservableAdmissionregistrationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionValidatingAdmissionPolicyWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionValidatingAdmissionPolicy(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionValidatingAdmissionPolicyWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionValidatingAdmissionPolicy(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -935,6 +950,7 @@ export class ObservableAdmissionregistrationV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -945,8 +961,8 @@ export class ObservableAdmissionregistrationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionValidatingAdmissionPolicy(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionValidatingAdmissionPolicyWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionValidatingAdmissionPolicy(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionValidatingAdmissionPolicyWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -956,6 +972,7 @@ export class ObservableAdmissionregistrationV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -966,8 +983,8 @@ export class ObservableAdmissionregistrationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionValidatingAdmissionPolicyBinding(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionValidatingAdmissionPolicyBinding(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -992,6 +1009,7 @@ export class ObservableAdmissionregistrationV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1002,8 +1020,8 @@ export class ObservableAdmissionregistrationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionValidatingAdmissionPolicyBinding(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionValidatingAdmissionPolicyBinding(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -1013,6 +1031,7 @@ export class ObservableAdmissionregistrationV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1023,8 +1042,8 @@ export class ObservableAdmissionregistrationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionValidatingWebhookConfigurationWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionValidatingWebhookConfiguration(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionValidatingWebhookConfigurationWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionValidatingWebhookConfiguration(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -1049,6 +1068,7 @@ export class ObservableAdmissionregistrationV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1059,8 +1079,8 @@ export class ObservableAdmissionregistrationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionValidatingWebhookConfiguration(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionValidatingWebhookConfigurationWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionValidatingWebhookConfiguration(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionValidatingWebhookConfigurationWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -1069,12 +1089,13 @@ export class ObservableAdmissionregistrationV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteMutatingWebhookConfigurationWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteMutatingWebhookConfiguration(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteMutatingWebhookConfigurationWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteMutatingWebhookConfiguration(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -1098,12 +1119,13 @@ export class ObservableAdmissionregistrationV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteMutatingWebhookConfiguration(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteMutatingWebhookConfigurationWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteMutatingWebhookConfiguration(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteMutatingWebhookConfigurationWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -1112,12 +1134,13 @@ export class ObservableAdmissionregistrationV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteValidatingAdmissionPolicyWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteValidatingAdmissionPolicy(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteValidatingAdmissionPolicyWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteValidatingAdmissionPolicy(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -1141,12 +1164,13 @@ export class ObservableAdmissionregistrationV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteValidatingAdmissionPolicy(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteValidatingAdmissionPolicyWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteValidatingAdmissionPolicy(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteValidatingAdmissionPolicyWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -1155,12 +1179,13 @@ export class ObservableAdmissionregistrationV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteValidatingAdmissionPolicyBindingWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteValidatingAdmissionPolicyBinding(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteValidatingAdmissionPolicyBindingWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteValidatingAdmissionPolicyBinding(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -1184,12 +1209,13 @@ export class ObservableAdmissionregistrationV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteValidatingAdmissionPolicyBinding(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteValidatingAdmissionPolicyBindingWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteValidatingAdmissionPolicyBinding(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteValidatingAdmissionPolicyBindingWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -1198,12 +1224,13 @@ export class ObservableAdmissionregistrationV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteValidatingWebhookConfigurationWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteValidatingWebhookConfiguration(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteValidatingWebhookConfigurationWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteValidatingWebhookConfiguration(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -1227,12 +1254,13 @@ export class ObservableAdmissionregistrationV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteValidatingWebhookConfiguration(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteValidatingWebhookConfigurationWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteValidatingWebhookConfiguration(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteValidatingWebhookConfigurationWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -2055,7 +2083,7 @@ export class ObservableAdmissionregistrationV1Api { } -import { AdmissionregistrationV1alpha1ApiRequestFactory, AdmissionregistrationV1alpha1ApiResponseProcessor} from "../apis/AdmissionregistrationV1alpha1Api.js"; +import { AdmissionregistrationV1alpha1ApiRequestFactory, AdmissionregistrationV1alpha1ApiResponseProcessor} from "../apis/AdmissionregistrationV1alpha1Api"; export class ObservableAdmissionregistrationV1alpha1Api { private requestFactory: AdmissionregistrationV1alpha1ApiRequestFactory; private responseProcessor: AdmissionregistrationV1alpha1ApiResponseProcessor; @@ -2072,15 +2100,15 @@ export class ObservableAdmissionregistrationV1alpha1Api { } /** - * create a ValidatingAdmissionPolicy + * create a MutatingAdmissionPolicy * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createValidatingAdmissionPolicyWithHttpInfo(body: V1alpha1ValidatingAdmissionPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.createValidatingAdmissionPolicy(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createMutatingAdmissionPolicyWithHttpInfo(body: V1alpha1MutatingAdmissionPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.createMutatingAdmissionPolicy(body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -2094,32 +2122,32 @@ export class ObservableAdmissionregistrationV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createValidatingAdmissionPolicyWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createMutatingAdmissionPolicyWithHttpInfo(rsp))); })); } /** - * create a ValidatingAdmissionPolicy + * create a MutatingAdmissionPolicy * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createValidatingAdmissionPolicy(body: V1alpha1ValidatingAdmissionPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.createValidatingAdmissionPolicyWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public createMutatingAdmissionPolicy(body: V1alpha1MutatingAdmissionPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.createMutatingAdmissionPolicyWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * create a ValidatingAdmissionPolicyBinding + * create a MutatingAdmissionPolicyBinding * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createValidatingAdmissionPolicyBindingWithHttpInfo(body: V1alpha1ValidatingAdmissionPolicyBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.createValidatingAdmissionPolicyBinding(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createMutatingAdmissionPolicyBindingWithHttpInfo(body: V1alpha1MutatingAdmissionPolicyBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.createMutatingAdmissionPolicyBinding(body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -2133,29 +2161,30 @@ export class ObservableAdmissionregistrationV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createValidatingAdmissionPolicyBindingWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createMutatingAdmissionPolicyBindingWithHttpInfo(rsp))); })); } /** - * create a ValidatingAdmissionPolicyBinding + * create a MutatingAdmissionPolicyBinding * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createValidatingAdmissionPolicyBinding(body: V1alpha1ValidatingAdmissionPolicyBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.createValidatingAdmissionPolicyBindingWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public createMutatingAdmissionPolicyBinding(body: V1alpha1MutatingAdmissionPolicyBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.createMutatingAdmissionPolicyBindingWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete collection of ValidatingAdmissionPolicy + * delete collection of MutatingAdmissionPolicy * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -2166,8 +2195,8 @@ export class ObservableAdmissionregistrationV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionValidatingAdmissionPolicyWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionValidatingAdmissionPolicy(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionMutatingAdmissionPolicyWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionMutatingAdmissionPolicy(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -2181,17 +2210,18 @@ export class ObservableAdmissionregistrationV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionValidatingAdmissionPolicyWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionMutatingAdmissionPolicyWithHttpInfo(rsp))); })); } /** - * delete collection of ValidatingAdmissionPolicy + * delete collection of MutatingAdmissionPolicy * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -2202,17 +2232,18 @@ export class ObservableAdmissionregistrationV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionValidatingAdmissionPolicy(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionValidatingAdmissionPolicyWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionMutatingAdmissionPolicy(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionMutatingAdmissionPolicyWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete collection of ValidatingAdmissionPolicyBinding + * delete collection of MutatingAdmissionPolicyBinding * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -2223,8 +2254,8 @@ export class ObservableAdmissionregistrationV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionValidatingAdmissionPolicyBinding(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionMutatingAdmissionPolicyBindingWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionMutatingAdmissionPolicyBinding(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -2238,17 +2269,18 @@ export class ObservableAdmissionregistrationV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionMutatingAdmissionPolicyBindingWithHttpInfo(rsp))); })); } /** - * delete collection of ValidatingAdmissionPolicyBinding + * delete collection of MutatingAdmissionPolicyBinding * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -2259,22 +2291,23 @@ export class ObservableAdmissionregistrationV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionValidatingAdmissionPolicyBinding(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionMutatingAdmissionPolicyBinding(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionMutatingAdmissionPolicyBindingWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete a ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy + * delete a MutatingAdmissionPolicy + * @param name name of the MutatingAdmissionPolicy * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteValidatingAdmissionPolicyWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteValidatingAdmissionPolicy(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteMutatingAdmissionPolicyWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteMutatingAdmissionPolicy(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -2288,36 +2321,38 @@ export class ObservableAdmissionregistrationV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteValidatingAdmissionPolicyWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteMutatingAdmissionPolicyWithHttpInfo(rsp))); })); } /** - * delete a ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy + * delete a MutatingAdmissionPolicy + * @param name name of the MutatingAdmissionPolicy * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteValidatingAdmissionPolicy(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteValidatingAdmissionPolicyWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteMutatingAdmissionPolicy(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteMutatingAdmissionPolicyWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete a ValidatingAdmissionPolicyBinding - * @param name name of the ValidatingAdmissionPolicyBinding + * delete a MutatingAdmissionPolicyBinding + * @param name name of the MutatingAdmissionPolicyBinding * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteValidatingAdmissionPolicyBindingWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteValidatingAdmissionPolicyBinding(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteMutatingAdmissionPolicyBindingWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteMutatingAdmissionPolicyBinding(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -2331,22 +2366,23 @@ export class ObservableAdmissionregistrationV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteValidatingAdmissionPolicyBindingWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteMutatingAdmissionPolicyBindingWithHttpInfo(rsp))); })); } /** - * delete a ValidatingAdmissionPolicyBinding - * @param name name of the ValidatingAdmissionPolicyBinding + * delete a MutatingAdmissionPolicyBinding + * @param name name of the MutatingAdmissionPolicyBinding * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteValidatingAdmissionPolicyBinding(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteValidatingAdmissionPolicyBindingWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteMutatingAdmissionPolicyBinding(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteMutatingAdmissionPolicyBindingWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -2379,7 +2415,7 @@ export class ObservableAdmissionregistrationV1alpha1Api { } /** - * list or watch objects of kind ValidatingAdmissionPolicy + * list or watch objects of kind MutatingAdmissionPolicy * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -2392,8 +2428,8 @@ export class ObservableAdmissionregistrationV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listValidatingAdmissionPolicyWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listValidatingAdmissionPolicy(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listMutatingAdmissionPolicyWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listMutatingAdmissionPolicy(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -2407,12 +2443,12 @@ export class ObservableAdmissionregistrationV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listValidatingAdmissionPolicyWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listMutatingAdmissionPolicyWithHttpInfo(rsp))); })); } /** - * list or watch objects of kind ValidatingAdmissionPolicy + * list or watch objects of kind MutatingAdmissionPolicy * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -2425,12 +2461,12 @@ export class ObservableAdmissionregistrationV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listValidatingAdmissionPolicy(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listValidatingAdmissionPolicyWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listMutatingAdmissionPolicy(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listMutatingAdmissionPolicyWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * list or watch objects of kind ValidatingAdmissionPolicyBinding + * list or watch objects of kind MutatingAdmissionPolicyBinding * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -2443,8 +2479,8 @@ export class ObservableAdmissionregistrationV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listValidatingAdmissionPolicyBindingWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listValidatingAdmissionPolicyBinding(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listMutatingAdmissionPolicyBindingWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listMutatingAdmissionPolicyBinding(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -2458,12 +2494,12 @@ export class ObservableAdmissionregistrationV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listValidatingAdmissionPolicyBindingWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listMutatingAdmissionPolicyBindingWithHttpInfo(rsp))); })); } /** - * list or watch objects of kind ValidatingAdmissionPolicyBinding + * list or watch objects of kind MutatingAdmissionPolicyBinding * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -2476,13 +2512,13 @@ export class ObservableAdmissionregistrationV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listValidatingAdmissionPolicyBinding(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listValidatingAdmissionPolicyBindingWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listMutatingAdmissionPolicyBinding(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listMutatingAdmissionPolicyBindingWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * partially update the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy + * partially update the specified MutatingAdmissionPolicy + * @param name name of the MutatingAdmissionPolicy * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -2490,8 +2526,8 @@ export class ObservableAdmissionregistrationV1alpha1Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchValidatingAdmissionPolicyWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.patchValidatingAdmissionPolicy(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public patchMutatingAdmissionPolicyWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.patchMutatingAdmissionPolicy(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -2505,13 +2541,13 @@ export class ObservableAdmissionregistrationV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchValidatingAdmissionPolicyWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchMutatingAdmissionPolicyWithHttpInfo(rsp))); })); } /** - * partially update the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy + * partially update the specified MutatingAdmissionPolicy + * @param name name of the MutatingAdmissionPolicy * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -2519,13 +2555,13 @@ export class ObservableAdmissionregistrationV1alpha1Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchValidatingAdmissionPolicy(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchValidatingAdmissionPolicyWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public patchMutatingAdmissionPolicy(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchMutatingAdmissionPolicyWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * partially update the specified ValidatingAdmissionPolicyBinding - * @param name name of the ValidatingAdmissionPolicyBinding + * partially update the specified MutatingAdmissionPolicyBinding + * @param name name of the MutatingAdmissionPolicyBinding * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -2533,8 +2569,8 @@ export class ObservableAdmissionregistrationV1alpha1Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchValidatingAdmissionPolicyBindingWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.patchValidatingAdmissionPolicyBinding(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public patchMutatingAdmissionPolicyBindingWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.patchMutatingAdmissionPolicyBinding(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -2548,13 +2584,13 @@ export class ObservableAdmissionregistrationV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchValidatingAdmissionPolicyBindingWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchMutatingAdmissionPolicyBindingWithHttpInfo(rsp))); })); } /** - * partially update the specified ValidatingAdmissionPolicyBinding - * @param name name of the ValidatingAdmissionPolicyBinding + * partially update the specified MutatingAdmissionPolicyBinding + * @param name name of the MutatingAdmissionPolicyBinding * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -2562,93 +2598,17 @@ export class ObservableAdmissionregistrationV1alpha1Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchValidatingAdmissionPolicyBinding(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchValidatingAdmissionPolicyBindingWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * partially update status of the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchValidatingAdmissionPolicyStatusWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.patchValidatingAdmissionPolicyStatus(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchValidatingAdmissionPolicyStatusWithHttpInfo(rsp))); - })); - } - - /** - * partially update status of the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchValidatingAdmissionPolicyStatus(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchValidatingAdmissionPolicyStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * read the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readValidatingAdmissionPolicyWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.readValidatingAdmissionPolicy(name, pretty, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readValidatingAdmissionPolicyWithHttpInfo(rsp))); - })); - } - - /** - * read the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readValidatingAdmissionPolicy(name: string, pretty?: string, _options?: Configuration): Observable { - return this.readValidatingAdmissionPolicyWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public patchMutatingAdmissionPolicyBinding(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchMutatingAdmissionPolicyBindingWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * read the specified ValidatingAdmissionPolicyBinding - * @param name name of the ValidatingAdmissionPolicyBinding + * read the specified MutatingAdmissionPolicy + * @param name name of the MutatingAdmissionPolicy * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readValidatingAdmissionPolicyBindingWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.readValidatingAdmissionPolicyBinding(name, pretty, _options); + public readMutatingAdmissionPolicyWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.readMutatingAdmissionPolicy(name, pretty, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -2662,26 +2622,26 @@ export class ObservableAdmissionregistrationV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readValidatingAdmissionPolicyBindingWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readMutatingAdmissionPolicyWithHttpInfo(rsp))); })); } /** - * read the specified ValidatingAdmissionPolicyBinding - * @param name name of the ValidatingAdmissionPolicyBinding + * read the specified MutatingAdmissionPolicy + * @param name name of the MutatingAdmissionPolicy * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readValidatingAdmissionPolicyBinding(name: string, pretty?: string, _options?: Configuration): Observable { - return this.readValidatingAdmissionPolicyBindingWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public readMutatingAdmissionPolicy(name: string, pretty?: string, _options?: Configuration): Observable { + return this.readMutatingAdmissionPolicyWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * read status of the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy + * read the specified MutatingAdmissionPolicyBinding + * @param name name of the MutatingAdmissionPolicyBinding * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readValidatingAdmissionPolicyStatusWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.readValidatingAdmissionPolicyStatus(name, pretty, _options); + public readMutatingAdmissionPolicyBindingWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.readMutatingAdmissionPolicyBinding(name, pretty, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -2695,30 +2655,30 @@ export class ObservableAdmissionregistrationV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readValidatingAdmissionPolicyStatusWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readMutatingAdmissionPolicyBindingWithHttpInfo(rsp))); })); } /** - * read status of the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy + * read the specified MutatingAdmissionPolicyBinding + * @param name name of the MutatingAdmissionPolicyBinding * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readValidatingAdmissionPolicyStatus(name: string, pretty?: string, _options?: Configuration): Observable { - return this.readValidatingAdmissionPolicyStatusWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public readMutatingAdmissionPolicyBinding(name: string, pretty?: string, _options?: Configuration): Observable { + return this.readMutatingAdmissionPolicyBindingWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * replace the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy + * replace the specified MutatingAdmissionPolicy + * @param name name of the MutatingAdmissionPolicy * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceValidatingAdmissionPolicyWithHttpInfo(name: string, body: V1alpha1ValidatingAdmissionPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.replaceValidatingAdmissionPolicy(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceMutatingAdmissionPolicyWithHttpInfo(name: string, body: V1alpha1MutatingAdmissionPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.replaceMutatingAdmissionPolicy(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -2732,34 +2692,34 @@ export class ObservableAdmissionregistrationV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceValidatingAdmissionPolicyWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceMutatingAdmissionPolicyWithHttpInfo(rsp))); })); } /** - * replace the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy + * replace the specified MutatingAdmissionPolicy + * @param name name of the MutatingAdmissionPolicy * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceValidatingAdmissionPolicy(name: string, body: V1alpha1ValidatingAdmissionPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceValidatingAdmissionPolicyWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public replaceMutatingAdmissionPolicy(name: string, body: V1alpha1MutatingAdmissionPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceMutatingAdmissionPolicyWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * replace the specified ValidatingAdmissionPolicyBinding - * @param name name of the ValidatingAdmissionPolicyBinding + * replace the specified MutatingAdmissionPolicyBinding + * @param name name of the MutatingAdmissionPolicyBinding * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceValidatingAdmissionPolicyBindingWithHttpInfo(name: string, body: V1alpha1ValidatingAdmissionPolicyBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.replaceValidatingAdmissionPolicyBinding(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceMutatingAdmissionPolicyBindingWithHttpInfo(name: string, body: V1alpha1MutatingAdmissionPolicyBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.replaceMutatingAdmissionPolicyBinding(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -2773,67 +2733,26 @@ export class ObservableAdmissionregistrationV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceValidatingAdmissionPolicyBindingWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceMutatingAdmissionPolicyBindingWithHttpInfo(rsp))); })); } /** - * replace the specified ValidatingAdmissionPolicyBinding - * @param name name of the ValidatingAdmissionPolicyBinding + * replace the specified MutatingAdmissionPolicyBinding + * @param name name of the MutatingAdmissionPolicyBinding * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceValidatingAdmissionPolicyBinding(name: string, body: V1alpha1ValidatingAdmissionPolicyBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceValidatingAdmissionPolicyBindingWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * replace status of the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - */ - public replaceValidatingAdmissionPolicyStatusWithHttpInfo(name: string, body: V1alpha1ValidatingAdmissionPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.replaceValidatingAdmissionPolicyStatus(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceValidatingAdmissionPolicyStatusWithHttpInfo(rsp))); - })); - } - - /** - * replace status of the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - */ - public replaceValidatingAdmissionPolicyStatus(name: string, body: V1alpha1ValidatingAdmissionPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceValidatingAdmissionPolicyStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public replaceMutatingAdmissionPolicyBinding(name: string, body: V1alpha1MutatingAdmissionPolicyBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceMutatingAdmissionPolicyBindingWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } } -import { AdmissionregistrationV1beta1ApiRequestFactory, AdmissionregistrationV1beta1ApiResponseProcessor} from "../apis/AdmissionregistrationV1beta1Api.js"; +import { AdmissionregistrationV1beta1ApiRequestFactory, AdmissionregistrationV1beta1ApiResponseProcessor} from "../apis/AdmissionregistrationV1beta1Api"; export class ObservableAdmissionregistrationV1beta1Api { private requestFactory: AdmissionregistrationV1beta1ApiRequestFactory; private responseProcessor: AdmissionregistrationV1beta1ApiResponseProcessor; @@ -2934,6 +2853,7 @@ export class ObservableAdmissionregistrationV1beta1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -2944,8 +2864,8 @@ export class ObservableAdmissionregistrationV1beta1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionValidatingAdmissionPolicyWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionValidatingAdmissionPolicy(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionValidatingAdmissionPolicyWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionValidatingAdmissionPolicy(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -2970,6 +2890,7 @@ export class ObservableAdmissionregistrationV1beta1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -2980,8 +2901,8 @@ export class ObservableAdmissionregistrationV1beta1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionValidatingAdmissionPolicy(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionValidatingAdmissionPolicyWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionValidatingAdmissionPolicy(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionValidatingAdmissionPolicyWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -2991,6 +2912,7 @@ export class ObservableAdmissionregistrationV1beta1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -3001,8 +2923,8 @@ export class ObservableAdmissionregistrationV1beta1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionValidatingAdmissionPolicyBinding(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionValidatingAdmissionPolicyBinding(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -3027,6 +2949,7 @@ export class ObservableAdmissionregistrationV1beta1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -3037,8 +2960,8 @@ export class ObservableAdmissionregistrationV1beta1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionValidatingAdmissionPolicyBinding(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionValidatingAdmissionPolicyBinding(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -3047,12 +2970,13 @@ export class ObservableAdmissionregistrationV1beta1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteValidatingAdmissionPolicyWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteValidatingAdmissionPolicy(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteValidatingAdmissionPolicyWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteValidatingAdmissionPolicy(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -3076,12 +3000,13 @@ export class ObservableAdmissionregistrationV1beta1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteValidatingAdmissionPolicy(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteValidatingAdmissionPolicyWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteValidatingAdmissionPolicy(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteValidatingAdmissionPolicyWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -3090,12 +3015,13 @@ export class ObservableAdmissionregistrationV1beta1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteValidatingAdmissionPolicyBindingWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteValidatingAdmissionPolicyBinding(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteValidatingAdmissionPolicyBindingWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteValidatingAdmissionPolicyBinding(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -3119,12 +3045,13 @@ export class ObservableAdmissionregistrationV1beta1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteValidatingAdmissionPolicyBinding(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteValidatingAdmissionPolicyBindingWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteValidatingAdmissionPolicyBinding(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteValidatingAdmissionPolicyBindingWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -3611,7 +3538,7 @@ export class ObservableAdmissionregistrationV1beta1Api { } -import { ApiextensionsApiRequestFactory, ApiextensionsApiResponseProcessor} from "../apis/ApiextensionsApi.js"; +import { ApiextensionsApiRequestFactory, ApiextensionsApiResponseProcessor} from "../apis/ApiextensionsApi"; export class ObservableApiextensionsApi { private requestFactory: ApiextensionsApiRequestFactory; private responseProcessor: ApiextensionsApiResponseProcessor; @@ -3658,7 +3585,7 @@ export class ObservableApiextensionsApi { } -import { ApiextensionsV1ApiRequestFactory, ApiextensionsV1ApiResponseProcessor} from "../apis/ApiextensionsV1Api.js"; +import { ApiextensionsV1ApiRequestFactory, ApiextensionsV1ApiResponseProcessor} from "../apis/ApiextensionsV1Api"; export class ObservableApiextensionsV1Api { private requestFactory: ApiextensionsV1ApiRequestFactory; private responseProcessor: ApiextensionsV1ApiResponseProcessor; @@ -3720,6 +3647,7 @@ export class ObservableApiextensionsV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -3730,8 +3658,8 @@ export class ObservableApiextensionsV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionCustomResourceDefinitionWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionCustomResourceDefinition(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionCustomResourceDefinitionWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionCustomResourceDefinition(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -3756,6 +3684,7 @@ export class ObservableApiextensionsV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -3766,8 +3695,8 @@ export class ObservableApiextensionsV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionCustomResourceDefinition(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionCustomResourceDefinitionWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionCustomResourceDefinition(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionCustomResourceDefinitionWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -3776,12 +3705,13 @@ export class ObservableApiextensionsV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteCustomResourceDefinitionWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCustomResourceDefinition(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteCustomResourceDefinitionWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCustomResourceDefinition(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -3805,12 +3735,13 @@ export class ObservableApiextensionsV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteCustomResourceDefinition(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCustomResourceDefinitionWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCustomResourceDefinition(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCustomResourceDefinitionWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -4129,7 +4060,7 @@ export class ObservableApiextensionsV1Api { } -import { ApiregistrationApiRequestFactory, ApiregistrationApiResponseProcessor} from "../apis/ApiregistrationApi.js"; +import { ApiregistrationApiRequestFactory, ApiregistrationApiResponseProcessor} from "../apis/ApiregistrationApi"; export class ObservableApiregistrationApi { private requestFactory: ApiregistrationApiRequestFactory; private responseProcessor: ApiregistrationApiResponseProcessor; @@ -4176,7 +4107,7 @@ export class ObservableApiregistrationApi { } -import { ApiregistrationV1ApiRequestFactory, ApiregistrationV1ApiResponseProcessor} from "../apis/ApiregistrationV1Api.js"; +import { ApiregistrationV1ApiRequestFactory, ApiregistrationV1ApiResponseProcessor} from "../apis/ApiregistrationV1Api"; export class ObservableApiregistrationV1Api { private requestFactory: ApiregistrationV1ApiRequestFactory; private responseProcessor: ApiregistrationV1ApiResponseProcessor; @@ -4237,12 +4168,13 @@ export class ObservableApiregistrationV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteAPIServiceWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteAPIService(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteAPIServiceWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteAPIService(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -4266,12 +4198,13 @@ export class ObservableApiregistrationV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteAPIService(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteAPIServiceWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteAPIService(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteAPIServiceWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -4281,6 +4214,7 @@ export class ObservableApiregistrationV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -4291,8 +4225,8 @@ export class ObservableApiregistrationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionAPIServiceWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionAPIService(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionAPIServiceWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionAPIService(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -4317,6 +4251,7 @@ export class ObservableApiregistrationV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -4327,8 +4262,8 @@ export class ObservableApiregistrationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionAPIService(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionAPIServiceWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionAPIService(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionAPIServiceWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -4647,7 +4582,7 @@ export class ObservableApiregistrationV1Api { } -import { ApisApiRequestFactory, ApisApiResponseProcessor} from "../apis/ApisApi.js"; +import { ApisApiRequestFactory, ApisApiResponseProcessor} from "../apis/ApisApi"; export class ObservableApisApi { private requestFactory: ApisApiRequestFactory; private responseProcessor: ApisApiResponseProcessor; @@ -4694,7 +4629,7 @@ export class ObservableApisApi { } -import { AppsApiRequestFactory, AppsApiResponseProcessor} from "../apis/AppsApi.js"; +import { AppsApiRequestFactory, AppsApiResponseProcessor} from "../apis/AppsApi"; export class ObservableAppsApi { private requestFactory: AppsApiRequestFactory; private responseProcessor: AppsApiResponseProcessor; @@ -4741,7 +4676,7 @@ export class ObservableAppsApi { } -import { AppsV1ApiRequestFactory, AppsV1ApiResponseProcessor} from "../apis/AppsV1Api.js"; +import { AppsV1ApiRequestFactory, AppsV1ApiResponseProcessor} from "../apis/AppsV1Api"; export class ObservableAppsV1Api { private requestFactory: AppsV1ApiRequestFactory; private responseProcessor: AppsV1ApiResponseProcessor; @@ -4970,6 +4905,7 @@ export class ObservableAppsV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -4980,8 +4916,8 @@ export class ObservableAppsV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedControllerRevisionWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedControllerRevision(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedControllerRevisionWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedControllerRevision(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -5007,6 +4943,7 @@ export class ObservableAppsV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -5017,8 +4954,8 @@ export class ObservableAppsV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedControllerRevision(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedControllerRevisionWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedControllerRevision(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedControllerRevisionWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -5029,6 +4966,7 @@ export class ObservableAppsV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -5039,8 +4977,8 @@ export class ObservableAppsV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedDaemonSetWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedDaemonSet(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedDaemonSetWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedDaemonSet(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -5066,6 +5004,7 @@ export class ObservableAppsV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -5076,8 +5015,8 @@ export class ObservableAppsV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedDaemonSet(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedDaemonSetWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedDaemonSet(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedDaemonSetWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -5088,6 +5027,7 @@ export class ObservableAppsV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -5098,8 +5038,8 @@ export class ObservableAppsV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedDeploymentWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedDeployment(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedDeploymentWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedDeployment(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -5125,6 +5065,7 @@ export class ObservableAppsV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -5135,8 +5076,8 @@ export class ObservableAppsV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedDeployment(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedDeploymentWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedDeployment(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedDeploymentWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -5147,6 +5088,7 @@ export class ObservableAppsV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -5157,8 +5099,8 @@ export class ObservableAppsV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedReplicaSetWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedReplicaSet(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedReplicaSetWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedReplicaSet(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -5184,6 +5126,7 @@ export class ObservableAppsV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -5194,8 +5137,8 @@ export class ObservableAppsV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedReplicaSet(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedReplicaSetWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedReplicaSet(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedReplicaSetWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -5206,6 +5149,7 @@ export class ObservableAppsV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -5216,8 +5160,8 @@ export class ObservableAppsV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedStatefulSetWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedStatefulSet(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedStatefulSetWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedStatefulSet(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -5243,6 +5187,7 @@ export class ObservableAppsV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -5253,8 +5198,8 @@ export class ObservableAppsV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedStatefulSet(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedStatefulSetWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedStatefulSet(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedStatefulSetWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -5264,12 +5209,13 @@ export class ObservableAppsV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedControllerRevisionWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedControllerRevision(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedControllerRevisionWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedControllerRevision(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -5294,12 +5240,13 @@ export class ObservableAppsV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedControllerRevision(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedControllerRevisionWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedControllerRevision(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedControllerRevisionWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -5309,12 +5256,13 @@ export class ObservableAppsV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedDaemonSetWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedDaemonSet(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedDaemonSetWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedDaemonSet(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -5339,12 +5287,13 @@ export class ObservableAppsV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedDaemonSet(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedDaemonSetWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedDaemonSet(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedDaemonSetWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -5354,12 +5303,13 @@ export class ObservableAppsV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedDeploymentWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedDeployment(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedDeploymentWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedDeployment(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -5384,12 +5334,13 @@ export class ObservableAppsV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedDeployment(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedDeploymentWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedDeployment(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedDeploymentWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -5399,12 +5350,13 @@ export class ObservableAppsV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedReplicaSetWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedReplicaSet(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedReplicaSetWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedReplicaSet(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -5429,12 +5381,13 @@ export class ObservableAppsV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedReplicaSet(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedReplicaSetWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedReplicaSet(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedReplicaSetWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -5444,12 +5397,13 @@ export class ObservableAppsV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedStatefulSetWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedStatefulSet(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedStatefulSetWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedStatefulSet(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -5474,12 +5428,13 @@ export class ObservableAppsV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedStatefulSet(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedStatefulSetWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedStatefulSet(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedStatefulSetWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -7509,7 +7464,7 @@ export class ObservableAppsV1Api { } -import { AuthenticationApiRequestFactory, AuthenticationApiResponseProcessor} from "../apis/AuthenticationApi.js"; +import { AuthenticationApiRequestFactory, AuthenticationApiResponseProcessor} from "../apis/AuthenticationApi"; export class ObservableAuthenticationApi { private requestFactory: AuthenticationApiRequestFactory; private responseProcessor: AuthenticationApiResponseProcessor; @@ -7556,7 +7511,7 @@ export class ObservableAuthenticationApi { } -import { AuthenticationV1ApiRequestFactory, AuthenticationV1ApiResponseProcessor} from "../apis/AuthenticationV1Api.js"; +import { AuthenticationV1ApiRequestFactory, AuthenticationV1ApiResponseProcessor} from "../apis/AuthenticationV1Api"; export class ObservableAuthenticationV1Api { private requestFactory: AuthenticationV1ApiRequestFactory; private responseProcessor: AuthenticationV1ApiResponseProcessor; @@ -7681,20 +7636,20 @@ export class ObservableAuthenticationV1Api { } -import { AuthenticationV1alpha1ApiRequestFactory, AuthenticationV1alpha1ApiResponseProcessor} from "../apis/AuthenticationV1alpha1Api.js"; -export class ObservableAuthenticationV1alpha1Api { - private requestFactory: AuthenticationV1alpha1ApiRequestFactory; - private responseProcessor: AuthenticationV1alpha1ApiResponseProcessor; +import { AuthenticationV1beta1ApiRequestFactory, AuthenticationV1beta1ApiResponseProcessor} from "../apis/AuthenticationV1beta1Api"; +export class ObservableAuthenticationV1beta1Api { + private requestFactory: AuthenticationV1beta1ApiRequestFactory; + private responseProcessor: AuthenticationV1beta1ApiResponseProcessor; private configuration: Configuration; public constructor( configuration: Configuration, - requestFactory?: AuthenticationV1alpha1ApiRequestFactory, - responseProcessor?: AuthenticationV1alpha1ApiResponseProcessor + requestFactory?: AuthenticationV1beta1ApiRequestFactory, + responseProcessor?: AuthenticationV1beta1ApiResponseProcessor ) { this.configuration = configuration; - this.requestFactory = requestFactory || new AuthenticationV1alpha1ApiRequestFactory(configuration); - this.responseProcessor = responseProcessor || new AuthenticationV1alpha1ApiResponseProcessor(); + this.requestFactory = requestFactory || new AuthenticationV1beta1ApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new AuthenticationV1beta1ApiResponseProcessor(); } /** @@ -7705,7 +7660,7 @@ export class ObservableAuthenticationV1alpha1Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public createSelfSubjectReviewWithHttpInfo(body: V1alpha1SelfSubjectReview, dryRun?: string, fieldManager?: string, fieldValidation?: string, pretty?: string, _options?: Configuration): Observable> { + public createSelfSubjectReviewWithHttpInfo(body: V1beta1SelfSubjectReview, dryRun?: string, fieldManager?: string, fieldValidation?: string, pretty?: string, _options?: Configuration): Observable> { const requestContextPromise = this.requestFactory.createSelfSubjectReview(body, dryRun, fieldManager, fieldValidation, pretty, _options); // build promise chain @@ -7732,8 +7687,8 @@ export class ObservableAuthenticationV1alpha1Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public createSelfSubjectReview(body: V1alpha1SelfSubjectReview, dryRun?: string, fieldManager?: string, fieldValidation?: string, pretty?: string, _options?: Configuration): Observable { - return this.createSelfSubjectReviewWithHttpInfo(body, dryRun, fieldManager, fieldValidation, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public createSelfSubjectReview(body: V1beta1SelfSubjectReview, dryRun?: string, fieldManager?: string, fieldValidation?: string, pretty?: string, _options?: Configuration): Observable { + return this.createSelfSubjectReviewWithHttpInfo(body, dryRun, fieldManager, fieldValidation, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -7767,32 +7722,80 @@ export class ObservableAuthenticationV1alpha1Api { } -import { AuthenticationV1beta1ApiRequestFactory, AuthenticationV1beta1ApiResponseProcessor} from "../apis/AuthenticationV1beta1Api.js"; -export class ObservableAuthenticationV1beta1Api { - private requestFactory: AuthenticationV1beta1ApiRequestFactory; - private responseProcessor: AuthenticationV1beta1ApiResponseProcessor; +import { AuthorizationApiRequestFactory, AuthorizationApiResponseProcessor} from "../apis/AuthorizationApi"; +export class ObservableAuthorizationApi { + private requestFactory: AuthorizationApiRequestFactory; + private responseProcessor: AuthorizationApiResponseProcessor; private configuration: Configuration; public constructor( configuration: Configuration, - requestFactory?: AuthenticationV1beta1ApiRequestFactory, - responseProcessor?: AuthenticationV1beta1ApiResponseProcessor + requestFactory?: AuthorizationApiRequestFactory, + responseProcessor?: AuthorizationApiResponseProcessor ) { this.configuration = configuration; - this.requestFactory = requestFactory || new AuthenticationV1beta1ApiRequestFactory(configuration); - this.responseProcessor = responseProcessor || new AuthenticationV1beta1ApiResponseProcessor(); + this.requestFactory = requestFactory || new AuthorizationApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new AuthorizationApiResponseProcessor(); } /** - * create a SelfSubjectReview + * get information of a group + */ + public getAPIGroupWithHttpInfo(_options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.getAPIGroup(_options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getAPIGroupWithHttpInfo(rsp))); + })); + } + + /** + * get information of a group + */ + public getAPIGroup(_options?: Configuration): Observable { + return this.getAPIGroupWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + +} + +import { AuthorizationV1ApiRequestFactory, AuthorizationV1ApiResponseProcessor} from "../apis/AuthorizationV1Api"; +export class ObservableAuthorizationV1Api { + private requestFactory: AuthorizationV1ApiRequestFactory; + private responseProcessor: AuthorizationV1ApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: AuthorizationV1ApiRequestFactory, + responseProcessor?: AuthorizationV1ApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new AuthorizationV1ApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new AuthorizationV1ApiResponseProcessor(); + } + + /** + * create a LocalSubjectAccessReview + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public createSelfSubjectReviewWithHttpInfo(body: V1beta1SelfSubjectReview, dryRun?: string, fieldManager?: string, fieldValidation?: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.createSelfSubjectReview(body, dryRun, fieldManager, fieldValidation, pretty, _options); + public createNamespacedLocalSubjectAccessReviewWithHttpInfo(namespace: string, body: V1LocalSubjectAccessReview, dryRun?: string, fieldManager?: string, fieldValidation?: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.createNamespacedLocalSubjectAccessReview(namespace, body, dryRun, fieldManager, fieldValidation, pretty, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -7806,20 +7809,138 @@ export class ObservableAuthenticationV1beta1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createSelfSubjectReviewWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createNamespacedLocalSubjectAccessReviewWithHttpInfo(rsp))); })); } /** - * create a SelfSubjectReview + * create a LocalSubjectAccessReview + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public createSelfSubjectReview(body: V1beta1SelfSubjectReview, dryRun?: string, fieldManager?: string, fieldValidation?: string, pretty?: string, _options?: Configuration): Observable { - return this.createSelfSubjectReviewWithHttpInfo(body, dryRun, fieldManager, fieldValidation, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public createNamespacedLocalSubjectAccessReview(namespace: string, body: V1LocalSubjectAccessReview, dryRun?: string, fieldManager?: string, fieldValidation?: string, pretty?: string, _options?: Configuration): Observable { + return this.createNamespacedLocalSubjectAccessReviewWithHttpInfo(namespace, body, dryRun, fieldManager, fieldValidation, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + + /** + * create a SelfSubjectAccessReview + * @param body + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public createSelfSubjectAccessReviewWithHttpInfo(body: V1SelfSubjectAccessReview, dryRun?: string, fieldManager?: string, fieldValidation?: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.createSelfSubjectAccessReview(body, dryRun, fieldManager, fieldValidation, pretty, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createSelfSubjectAccessReviewWithHttpInfo(rsp))); + })); + } + + /** + * create a SelfSubjectAccessReview + * @param body + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public createSelfSubjectAccessReview(body: V1SelfSubjectAccessReview, dryRun?: string, fieldManager?: string, fieldValidation?: string, pretty?: string, _options?: Configuration): Observable { + return this.createSelfSubjectAccessReviewWithHttpInfo(body, dryRun, fieldManager, fieldValidation, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + + /** + * create a SelfSubjectRulesReview + * @param body + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public createSelfSubjectRulesReviewWithHttpInfo(body: V1SelfSubjectRulesReview, dryRun?: string, fieldManager?: string, fieldValidation?: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.createSelfSubjectRulesReview(body, dryRun, fieldManager, fieldValidation, pretty, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createSelfSubjectRulesReviewWithHttpInfo(rsp))); + })); + } + + /** + * create a SelfSubjectRulesReview + * @param body + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public createSelfSubjectRulesReview(body: V1SelfSubjectRulesReview, dryRun?: string, fieldManager?: string, fieldValidation?: string, pretty?: string, _options?: Configuration): Observable { + return this.createSelfSubjectRulesReviewWithHttpInfo(body, dryRun, fieldManager, fieldValidation, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + + /** + * create a SubjectAccessReview + * @param body + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public createSubjectAccessReviewWithHttpInfo(body: V1SubjectAccessReview, dryRun?: string, fieldManager?: string, fieldValidation?: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.createSubjectAccessReview(body, dryRun, fieldManager, fieldValidation, pretty, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createSubjectAccessReviewWithHttpInfo(rsp))); + })); + } + + /** + * create a SubjectAccessReview + * @param body + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public createSubjectAccessReview(body: V1SubjectAccessReview, dryRun?: string, fieldManager?: string, fieldValidation?: string, pretty?: string, _options?: Configuration): Observable { + return this.createSubjectAccessReviewWithHttpInfo(body, dryRun, fieldManager, fieldValidation, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -7853,259 +7974,7 @@ export class ObservableAuthenticationV1beta1Api { } -import { AuthorizationApiRequestFactory, AuthorizationApiResponseProcessor} from "../apis/AuthorizationApi.js"; -export class ObservableAuthorizationApi { - private requestFactory: AuthorizationApiRequestFactory; - private responseProcessor: AuthorizationApiResponseProcessor; - private configuration: Configuration; - - public constructor( - configuration: Configuration, - requestFactory?: AuthorizationApiRequestFactory, - responseProcessor?: AuthorizationApiResponseProcessor - ) { - this.configuration = configuration; - this.requestFactory = requestFactory || new AuthorizationApiRequestFactory(configuration); - this.responseProcessor = responseProcessor || new AuthorizationApiResponseProcessor(); - } - - /** - * get information of a group - */ - public getAPIGroupWithHttpInfo(_options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.getAPIGroup(_options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getAPIGroupWithHttpInfo(rsp))); - })); - } - - /** - * get information of a group - */ - public getAPIGroup(_options?: Configuration): Observable { - return this.getAPIGroupWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - -} - -import { AuthorizationV1ApiRequestFactory, AuthorizationV1ApiResponseProcessor} from "../apis/AuthorizationV1Api.js"; -export class ObservableAuthorizationV1Api { - private requestFactory: AuthorizationV1ApiRequestFactory; - private responseProcessor: AuthorizationV1ApiResponseProcessor; - private configuration: Configuration; - - public constructor( - configuration: Configuration, - requestFactory?: AuthorizationV1ApiRequestFactory, - responseProcessor?: AuthorizationV1ApiResponseProcessor - ) { - this.configuration = configuration; - this.requestFactory = requestFactory || new AuthorizationV1ApiRequestFactory(configuration); - this.responseProcessor = responseProcessor || new AuthorizationV1ApiResponseProcessor(); - } - - /** - * create a LocalSubjectAccessReview - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public createNamespacedLocalSubjectAccessReviewWithHttpInfo(namespace: string, body: V1LocalSubjectAccessReview, dryRun?: string, fieldManager?: string, fieldValidation?: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.createNamespacedLocalSubjectAccessReview(namespace, body, dryRun, fieldManager, fieldValidation, pretty, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createNamespacedLocalSubjectAccessReviewWithHttpInfo(rsp))); - })); - } - - /** - * create a LocalSubjectAccessReview - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public createNamespacedLocalSubjectAccessReview(namespace: string, body: V1LocalSubjectAccessReview, dryRun?: string, fieldManager?: string, fieldValidation?: string, pretty?: string, _options?: Configuration): Observable { - return this.createNamespacedLocalSubjectAccessReviewWithHttpInfo(namespace, body, dryRun, fieldManager, fieldValidation, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * create a SelfSubjectAccessReview - * @param body - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public createSelfSubjectAccessReviewWithHttpInfo(body: V1SelfSubjectAccessReview, dryRun?: string, fieldManager?: string, fieldValidation?: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.createSelfSubjectAccessReview(body, dryRun, fieldManager, fieldValidation, pretty, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createSelfSubjectAccessReviewWithHttpInfo(rsp))); - })); - } - - /** - * create a SelfSubjectAccessReview - * @param body - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public createSelfSubjectAccessReview(body: V1SelfSubjectAccessReview, dryRun?: string, fieldManager?: string, fieldValidation?: string, pretty?: string, _options?: Configuration): Observable { - return this.createSelfSubjectAccessReviewWithHttpInfo(body, dryRun, fieldManager, fieldValidation, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * create a SelfSubjectRulesReview - * @param body - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public createSelfSubjectRulesReviewWithHttpInfo(body: V1SelfSubjectRulesReview, dryRun?: string, fieldManager?: string, fieldValidation?: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.createSelfSubjectRulesReview(body, dryRun, fieldManager, fieldValidation, pretty, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createSelfSubjectRulesReviewWithHttpInfo(rsp))); - })); - } - - /** - * create a SelfSubjectRulesReview - * @param body - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public createSelfSubjectRulesReview(body: V1SelfSubjectRulesReview, dryRun?: string, fieldManager?: string, fieldValidation?: string, pretty?: string, _options?: Configuration): Observable { - return this.createSelfSubjectRulesReviewWithHttpInfo(body, dryRun, fieldManager, fieldValidation, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * create a SubjectAccessReview - * @param body - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public createSubjectAccessReviewWithHttpInfo(body: V1SubjectAccessReview, dryRun?: string, fieldManager?: string, fieldValidation?: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.createSubjectAccessReview(body, dryRun, fieldManager, fieldValidation, pretty, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createSubjectAccessReviewWithHttpInfo(rsp))); - })); - } - - /** - * create a SubjectAccessReview - * @param body - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public createSubjectAccessReview(body: V1SubjectAccessReview, dryRun?: string, fieldManager?: string, fieldValidation?: string, pretty?: string, _options?: Configuration): Observable { - return this.createSubjectAccessReviewWithHttpInfo(body, dryRun, fieldManager, fieldValidation, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * get available resources - */ - public getAPIResourcesWithHttpInfo(_options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.getAPIResources(_options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getAPIResourcesWithHttpInfo(rsp))); - })); - } - - /** - * get available resources - */ - public getAPIResources(_options?: Configuration): Observable { - return this.getAPIResourcesWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - -} - -import { AutoscalingApiRequestFactory, AutoscalingApiResponseProcessor} from "../apis/AutoscalingApi.js"; +import { AutoscalingApiRequestFactory, AutoscalingApiResponseProcessor} from "../apis/AutoscalingApi"; export class ObservableAutoscalingApi { private requestFactory: AutoscalingApiRequestFactory; private responseProcessor: AutoscalingApiResponseProcessor; @@ -8152,7 +8021,7 @@ export class ObservableAutoscalingApi { } -import { AutoscalingV1ApiRequestFactory, AutoscalingV1ApiResponseProcessor} from "../apis/AutoscalingV1Api.js"; +import { AutoscalingV1ApiRequestFactory, AutoscalingV1ApiResponseProcessor} from "../apis/AutoscalingV1Api"; export class ObservableAutoscalingV1Api { private requestFactory: AutoscalingV1ApiRequestFactory; private responseProcessor: AutoscalingV1ApiResponseProcessor; @@ -8217,6 +8086,7 @@ export class ObservableAutoscalingV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -8227,8 +8097,8 @@ export class ObservableAutoscalingV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedHorizontalPodAutoscaler(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedHorizontalPodAutoscaler(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -8254,6 +8124,7 @@ export class ObservableAutoscalingV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -8264,8 +8135,8 @@ export class ObservableAutoscalingV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedHorizontalPodAutoscaler(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedHorizontalPodAutoscaler(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -8275,12 +8146,13 @@ export class ObservableAutoscalingV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedHorizontalPodAutoscalerWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedHorizontalPodAutoscaler(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedHorizontalPodAutoscalerWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedHorizontalPodAutoscaler(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -8305,12 +8177,13 @@ export class ObservableAutoscalingV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedHorizontalPodAutoscaler(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedHorizontalPodAutoscalerWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedHorizontalPodAutoscaler(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedHorizontalPodAutoscalerWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -8694,7 +8567,7 @@ export class ObservableAutoscalingV1Api { } -import { AutoscalingV2ApiRequestFactory, AutoscalingV2ApiResponseProcessor} from "../apis/AutoscalingV2Api.js"; +import { AutoscalingV2ApiRequestFactory, AutoscalingV2ApiResponseProcessor} from "../apis/AutoscalingV2Api"; export class ObservableAutoscalingV2Api { private requestFactory: AutoscalingV2ApiRequestFactory; private responseProcessor: AutoscalingV2ApiResponseProcessor; @@ -8759,6 +8632,7 @@ export class ObservableAutoscalingV2Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -8769,8 +8643,8 @@ export class ObservableAutoscalingV2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedHorizontalPodAutoscaler(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedHorizontalPodAutoscaler(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -8796,6 +8670,7 @@ export class ObservableAutoscalingV2Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -8806,8 +8681,8 @@ export class ObservableAutoscalingV2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedHorizontalPodAutoscaler(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedHorizontalPodAutoscaler(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -8817,12 +8692,13 @@ export class ObservableAutoscalingV2Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedHorizontalPodAutoscalerWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedHorizontalPodAutoscaler(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedHorizontalPodAutoscalerWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedHorizontalPodAutoscaler(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -8847,12 +8723,13 @@ export class ObservableAutoscalingV2Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedHorizontalPodAutoscaler(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedHorizontalPodAutoscalerWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedHorizontalPodAutoscaler(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedHorizontalPodAutoscalerWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -9236,7 +9113,7 @@ export class ObservableAutoscalingV2Api { } -import { BatchApiRequestFactory, BatchApiResponseProcessor} from "../apis/BatchApi.js"; +import { BatchApiRequestFactory, BatchApiResponseProcessor} from "../apis/BatchApi"; export class ObservableBatchApi { private requestFactory: BatchApiRequestFactory; private responseProcessor: BatchApiResponseProcessor; @@ -9283,7 +9160,7 @@ export class ObservableBatchApi { } -import { BatchV1ApiRequestFactory, BatchV1ApiResponseProcessor} from "../apis/BatchV1Api.js"; +import { BatchV1ApiRequestFactory, BatchV1ApiResponseProcessor} from "../apis/BatchV1Api"; export class ObservableBatchV1Api { private requestFactory: BatchV1ApiRequestFactory; private responseProcessor: BatchV1ApiResponseProcessor; @@ -9389,6 +9266,7 @@ export class ObservableBatchV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -9399,8 +9277,8 @@ export class ObservableBatchV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedCronJobWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedCronJob(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedCronJobWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedCronJob(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -9426,6 +9304,7 @@ export class ObservableBatchV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -9436,8 +9315,8 @@ export class ObservableBatchV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedCronJob(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedCronJobWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedCronJob(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedCronJobWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -9448,6 +9327,7 @@ export class ObservableBatchV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -9458,8 +9338,8 @@ export class ObservableBatchV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedJobWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedJob(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedJobWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedJob(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -9485,6 +9365,7 @@ export class ObservableBatchV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -9495,8 +9376,8 @@ export class ObservableBatchV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedJob(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedJobWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedJob(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedJobWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -9506,12 +9387,13 @@ export class ObservableBatchV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedCronJobWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedCronJob(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedCronJobWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedCronJob(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -9536,12 +9418,13 @@ export class ObservableBatchV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedCronJob(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedCronJobWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedCronJob(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedCronJobWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -9551,12 +9434,13 @@ export class ObservableBatchV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedJobWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedJob(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedJobWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedJob(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -9581,12 +9465,13 @@ export class ObservableBatchV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedJob(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedJobWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedJob(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedJobWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -10320,7 +10205,7 @@ export class ObservableBatchV1Api { } -import { CertificatesApiRequestFactory, CertificatesApiResponseProcessor} from "../apis/CertificatesApi.js"; +import { CertificatesApiRequestFactory, CertificatesApiResponseProcessor} from "../apis/CertificatesApi"; export class ObservableCertificatesApi { private requestFactory: CertificatesApiRequestFactory; private responseProcessor: CertificatesApiResponseProcessor; @@ -10367,7 +10252,7 @@ export class ObservableCertificatesApi { } -import { CertificatesV1ApiRequestFactory, CertificatesV1ApiResponseProcessor} from "../apis/CertificatesV1Api.js"; +import { CertificatesV1ApiRequestFactory, CertificatesV1ApiResponseProcessor} from "../apis/CertificatesV1Api"; export class ObservableCertificatesV1Api { private requestFactory: CertificatesV1ApiRequestFactory; private responseProcessor: CertificatesV1ApiResponseProcessor; @@ -10428,12 +10313,13 @@ export class ObservableCertificatesV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteCertificateSigningRequestWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCertificateSigningRequest(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteCertificateSigningRequestWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCertificateSigningRequest(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -10457,12 +10343,13 @@ export class ObservableCertificatesV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteCertificateSigningRequest(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCertificateSigningRequestWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCertificateSigningRequest(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCertificateSigningRequestWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -10472,6 +10359,7 @@ export class ObservableCertificatesV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10482,8 +10370,8 @@ export class ObservableCertificatesV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionCertificateSigningRequestWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionCertificateSigningRequest(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionCertificateSigningRequestWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionCertificateSigningRequest(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -10508,6 +10396,7 @@ export class ObservableCertificatesV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10518,8 +10407,8 @@ export class ObservableCertificatesV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionCertificateSigningRequest(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionCertificateSigningRequestWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionCertificateSigningRequest(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionCertificateSigningRequestWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -10955,7 +10844,7 @@ export class ObservableCertificatesV1Api { } -import { CertificatesV1alpha1ApiRequestFactory, CertificatesV1alpha1ApiResponseProcessor} from "../apis/CertificatesV1alpha1Api.js"; +import { CertificatesV1alpha1ApiRequestFactory, CertificatesV1alpha1ApiResponseProcessor} from "../apis/CertificatesV1alpha1Api"; export class ObservableCertificatesV1alpha1Api { private requestFactory: CertificatesV1alpha1ApiRequestFactory; private responseProcessor: CertificatesV1alpha1ApiResponseProcessor; @@ -11016,12 +10905,13 @@ export class ObservableCertificatesV1alpha1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteClusterTrustBundleWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteClusterTrustBundle(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteClusterTrustBundleWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteClusterTrustBundle(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -11045,12 +10935,13 @@ export class ObservableCertificatesV1alpha1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteClusterTrustBundle(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteClusterTrustBundleWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteClusterTrustBundle(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteClusterTrustBundleWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -11060,6 +10951,7 @@ export class ObservableCertificatesV1alpha1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -11070,8 +10962,8 @@ export class ObservableCertificatesV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionClusterTrustBundleWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionClusterTrustBundle(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionClusterTrustBundleWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionClusterTrustBundle(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -11096,6 +10988,7 @@ export class ObservableCertificatesV1alpha1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -11106,8 +10999,8 @@ export class ObservableCertificatesV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionClusterTrustBundle(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionClusterTrustBundleWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionClusterTrustBundle(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionClusterTrustBundleWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -11309,7 +11202,7 @@ export class ObservableCertificatesV1alpha1Api { } -import { CoordinationApiRequestFactory, CoordinationApiResponseProcessor} from "../apis/CoordinationApi.js"; +import { CoordinationApiRequestFactory, CoordinationApiResponseProcessor} from "../apis/CoordinationApi"; export class ObservableCoordinationApi { private requestFactory: CoordinationApiRequestFactory; private responseProcessor: CoordinationApiResponseProcessor; @@ -11356,7 +11249,7 @@ export class ObservableCoordinationApi { } -import { CoordinationV1ApiRequestFactory, CoordinationV1ApiResponseProcessor} from "../apis/CoordinationV1Api.js"; +import { CoordinationV1ApiRequestFactory, CoordinationV1ApiResponseProcessor} from "../apis/CoordinationV1Api"; export class ObservableCoordinationV1Api { private requestFactory: CoordinationV1ApiRequestFactory; private responseProcessor: CoordinationV1ApiResponseProcessor; @@ -11421,6 +11314,7 @@ export class ObservableCoordinationV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -11431,8 +11325,8 @@ export class ObservableCoordinationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedLeaseWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedLease(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedLeaseWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedLease(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -11458,6 +11352,7 @@ export class ObservableCoordinationV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -11468,8 +11363,8 @@ export class ObservableCoordinationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedLease(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedLeaseWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedLease(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedLeaseWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -11479,12 +11374,13 @@ export class ObservableCoordinationV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedLeaseWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedLease(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedLeaseWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedLease(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -11509,12 +11405,13 @@ export class ObservableCoordinationV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedLease(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedLeaseWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedLease(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedLeaseWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -11775,27 +11672,33 @@ export class ObservableCoordinationV1Api { } -import { CoreApiRequestFactory, CoreApiResponseProcessor} from "../apis/CoreApi.js"; -export class ObservableCoreApi { - private requestFactory: CoreApiRequestFactory; - private responseProcessor: CoreApiResponseProcessor; +import { CoordinationV1alpha2ApiRequestFactory, CoordinationV1alpha2ApiResponseProcessor} from "../apis/CoordinationV1alpha2Api"; +export class ObservableCoordinationV1alpha2Api { + private requestFactory: CoordinationV1alpha2ApiRequestFactory; + private responseProcessor: CoordinationV1alpha2ApiResponseProcessor; private configuration: Configuration; public constructor( configuration: Configuration, - requestFactory?: CoreApiRequestFactory, - responseProcessor?: CoreApiResponseProcessor + requestFactory?: CoordinationV1alpha2ApiRequestFactory, + responseProcessor?: CoordinationV1alpha2ApiResponseProcessor ) { this.configuration = configuration; - this.requestFactory = requestFactory || new CoreApiRequestFactory(configuration); - this.responseProcessor = responseProcessor || new CoreApiResponseProcessor(); + this.requestFactory = requestFactory || new CoordinationV1alpha2ApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new CoordinationV1alpha2ApiResponseProcessor(); } /** - * get available API versions + * create a LeaseCandidate + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public getAPIVersionsWithHttpInfo(_options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.getAPIVersions(_options); + public createNamespacedLeaseCandidateWithHttpInfo(namespace: string, body: V1alpha2LeaseCandidate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.createNamespacedLeaseCandidate(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -11809,43 +11712,44 @@ export class ObservableCoreApi { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getAPIVersionsWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createNamespacedLeaseCandidateWithHttpInfo(rsp))); })); } /** - * get available API versions + * create a LeaseCandidate + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public getAPIVersions(_options?: Configuration): Observable { - return this.getAPIVersionsWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - -} - -import { CoreV1ApiRequestFactory, CoreV1ApiResponseProcessor} from "../apis/CoreV1Api.js"; -export class ObservableCoreV1Api { - private requestFactory: CoreV1ApiRequestFactory; - private responseProcessor: CoreV1ApiResponseProcessor; - private configuration: Configuration; - - public constructor( - configuration: Configuration, - requestFactory?: CoreV1ApiRequestFactory, - responseProcessor?: CoreV1ApiResponseProcessor - ) { - this.configuration = configuration; - this.requestFactory = requestFactory || new CoreV1ApiRequestFactory(configuration); - this.responseProcessor = responseProcessor || new CoreV1ApiResponseProcessor(); + public createNamespacedLeaseCandidate(namespace: string, body: V1alpha2LeaseCandidate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.createNamespacedLeaseCandidateWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * connect DELETE requests to proxy of Pod - * @param name name of the PodProxyOptions + * delete collection of LeaseCandidate * @param namespace object name and auth scope, such as for teams and projects - * @param [path] Path is the URL path to use for the current proxy request to pod. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] */ - public connectDeleteNamespacedPodProxyWithHttpInfo(name: string, namespace: string, path?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.connectDeleteNamespacedPodProxy(name, namespace, path, _options); + public deleteCollectionNamespacedLeaseCandidateWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedLeaseCandidate(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -11859,29 +11763,47 @@ export class ObservableCoreV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.connectDeleteNamespacedPodProxyWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionNamespacedLeaseCandidateWithHttpInfo(rsp))); })); } /** - * connect DELETE requests to proxy of Pod - * @param name name of the PodProxyOptions + * delete collection of LeaseCandidate * @param namespace object name and auth scope, such as for teams and projects - * @param [path] Path is the URL path to use for the current proxy request to pod. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] */ - public connectDeleteNamespacedPodProxy(name: string, namespace: string, path?: string, _options?: Configuration): Observable { - return this.connectDeleteNamespacedPodProxyWithHttpInfo(name, namespace, path, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedLeaseCandidate(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedLeaseCandidateWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * connect DELETE requests to proxy of Pod - * @param name name of the PodProxyOptions + * delete a LeaseCandidate + * @param name name of the LeaseCandidate * @param namespace object name and auth scope, such as for teams and projects - * @param path path to the resource - * @param [path2] Path is the URL path to use for the current proxy request to pod. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] */ - public connectDeleteNamespacedPodProxyWithPathWithHttpInfo(name: string, namespace: string, path: string, path2?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.connectDeleteNamespacedPodProxyWithPath(name, namespace, path, path2, _options); + public deleteNamespacedLeaseCandidateWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedLeaseCandidate(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -11895,29 +11817,31 @@ export class ObservableCoreV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.connectDeleteNamespacedPodProxyWithPathWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteNamespacedLeaseCandidateWithHttpInfo(rsp))); })); } /** - * connect DELETE requests to proxy of Pod - * @param name name of the PodProxyOptions + * delete a LeaseCandidate + * @param name name of the LeaseCandidate * @param namespace object name and auth scope, such as for teams and projects - * @param path path to the resource - * @param [path2] Path is the URL path to use for the current proxy request to pod. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] */ - public connectDeleteNamespacedPodProxyWithPath(name: string, namespace: string, path: string, path2?: string, _options?: Configuration): Observable { - return this.connectDeleteNamespacedPodProxyWithPathWithHttpInfo(name, namespace, path, path2, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedLeaseCandidate(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedLeaseCandidateWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * connect DELETE requests to proxy of Service - * @param name name of the ServiceProxyOptions - * @param namespace object name and auth scope, such as for teams and projects - * @param [path] Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. + * get available resources */ - public connectDeleteNamespacedServiceProxyWithHttpInfo(name: string, namespace: string, path?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.connectDeleteNamespacedServiceProxy(name, namespace, path, _options); + public getAPIResourcesWithHttpInfo(_options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.getAPIResources(_options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -11931,29 +11855,33 @@ export class ObservableCoreV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.connectDeleteNamespacedServiceProxyWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getAPIResourcesWithHttpInfo(rsp))); })); } /** - * connect DELETE requests to proxy of Service - * @param name name of the ServiceProxyOptions - * @param namespace object name and auth scope, such as for teams and projects - * @param [path] Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. + * get available resources */ - public connectDeleteNamespacedServiceProxy(name: string, namespace: string, path?: string, _options?: Configuration): Observable { - return this.connectDeleteNamespacedServiceProxyWithHttpInfo(name, namespace, path, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public getAPIResources(_options?: Configuration): Observable { + return this.getAPIResourcesWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * connect DELETE requests to proxy of Service - * @param name name of the ServiceProxyOptions - * @param namespace object name and auth scope, such as for teams and projects - * @param path path to the resource - * @param [path2] Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. + * list or watch objects of kind LeaseCandidate + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public connectDeleteNamespacedServiceProxyWithPathWithHttpInfo(name: string, namespace: string, path: string, path2?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.connectDeleteNamespacedServiceProxyWithPath(name, namespace, path, path2, _options); + public listLeaseCandidateForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listLeaseCandidateForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -11967,28 +11895,45 @@ export class ObservableCoreV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.connectDeleteNamespacedServiceProxyWithPathWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listLeaseCandidateForAllNamespacesWithHttpInfo(rsp))); })); } /** - * connect DELETE requests to proxy of Service - * @param name name of the ServiceProxyOptions - * @param namespace object name and auth scope, such as for teams and projects - * @param path path to the resource - * @param [path2] Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. + * list or watch objects of kind LeaseCandidate + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public connectDeleteNamespacedServiceProxyWithPath(name: string, namespace: string, path: string, path2?: string, _options?: Configuration): Observable { - return this.connectDeleteNamespacedServiceProxyWithPathWithHttpInfo(name, namespace, path, path2, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listLeaseCandidateForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listLeaseCandidateForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * connect DELETE requests to proxy of Node - * @param name name of the NodeProxyOptions - * @param [path] Path is the URL path to use for the current proxy request to node. + * list or watch objects of kind LeaseCandidate + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public connectDeleteNodeProxyWithHttpInfo(name: string, path?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.connectDeleteNodeProxy(name, path, _options); + public listNamespacedLeaseCandidateWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listNamespacedLeaseCandidate(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -12002,27 +11947,42 @@ export class ObservableCoreV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.connectDeleteNodeProxyWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listNamespacedLeaseCandidateWithHttpInfo(rsp))); })); } /** - * connect DELETE requests to proxy of Node - * @param name name of the NodeProxyOptions - * @param [path] Path is the URL path to use for the current proxy request to node. + * list or watch objects of kind LeaseCandidate + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public connectDeleteNodeProxy(name: string, path?: string, _options?: Configuration): Observable { - return this.connectDeleteNodeProxyWithHttpInfo(name, path, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listNamespacedLeaseCandidate(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listNamespacedLeaseCandidateWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * connect DELETE requests to proxy of Node - * @param name name of the NodeProxyOptions - * @param path path to the resource - * @param [path2] Path is the URL path to use for the current proxy request to node. + * partially update the specified LeaseCandidate + * @param name name of the LeaseCandidate + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public connectDeleteNodeProxyWithPathWithHttpInfo(name: string, path: string, path2?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.connectDeleteNodeProxyWithPath(name, path, path2, _options); + public patchNamespacedLeaseCandidateWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.patchNamespacedLeaseCandidate(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -12036,32 +11996,33 @@ export class ObservableCoreV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.connectDeleteNodeProxyWithPathWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchNamespacedLeaseCandidateWithHttpInfo(rsp))); })); } /** - * connect DELETE requests to proxy of Node - * @param name name of the NodeProxyOptions - * @param path path to the resource - * @param [path2] Path is the URL path to use for the current proxy request to node. + * partially update the specified LeaseCandidate + * @param name name of the LeaseCandidate + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public connectDeleteNodeProxyWithPath(name: string, path: string, path2?: string, _options?: Configuration): Observable { - return this.connectDeleteNodeProxyWithPathWithHttpInfo(name, path, path2, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public patchNamespacedLeaseCandidate(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchNamespacedLeaseCandidateWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * connect GET requests to attach of Pod - * @param name name of the PodAttachOptions + * read the specified LeaseCandidate + * @param name name of the LeaseCandidate * @param namespace object name and auth scope, such as for teams and projects - * @param [container] The container in which to execute the command. Defaults to only container if there is only one container in the pod. - * @param [stderr] Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. - * @param [stdin] Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. - * @param [stdout] Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. - * @param [tty] TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public connectGetNamespacedPodAttachWithHttpInfo(name: string, namespace: string, container?: string, stderr?: boolean, stdin?: boolean, stdout?: boolean, tty?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.connectGetNamespacedPodAttach(name, namespace, container, stderr, stdin, stdout, tty, _options); + public readNamespacedLeaseCandidateWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.readNamespacedLeaseCandidate(name, namespace, pretty, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -12075,37 +12036,396 @@ export class ObservableCoreV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.connectGetNamespacedPodAttachWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readNamespacedLeaseCandidateWithHttpInfo(rsp))); })); } /** - * connect GET requests to attach of Pod - * @param name name of the PodAttachOptions + * read the specified LeaseCandidate + * @param name name of the LeaseCandidate * @param namespace object name and auth scope, such as for teams and projects - * @param [container] The container in which to execute the command. Defaults to only container if there is only one container in the pod. - * @param [stderr] Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. - * @param [stdin] Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. - * @param [stdout] Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. - * @param [tty] TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public connectGetNamespacedPodAttach(name: string, namespace: string, container?: string, stderr?: boolean, stdin?: boolean, stdout?: boolean, tty?: boolean, _options?: Configuration): Observable { - return this.connectGetNamespacedPodAttachWithHttpInfo(name, namespace, container, stderr, stdin, stdout, tty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public readNamespacedLeaseCandidate(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable { + return this.readNamespacedLeaseCandidateWithHttpInfo(name, namespace, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * connect GET requests to exec of Pod - * @param name name of the PodExecOptions + * replace the specified LeaseCandidate + * @param name name of the LeaseCandidate * @param namespace object name and auth scope, such as for teams and projects - * @param [command] Command is the remote command to execute. argv array. Not executed within a shell. - * @param [container] Container in which to execute the command. Defaults to only container if there is only one container in the pod. - * @param [stderr] Redirect the standard error stream of the pod for this call. - * @param [stdin] Redirect the standard input stream of the pod for this call. Defaults to false. - * @param [stdout] Redirect the standard output stream of the pod for this call. - * @param [tty] TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public connectGetNamespacedPodExecWithHttpInfo(name: string, namespace: string, command?: string, container?: string, stderr?: boolean, stdin?: boolean, stdout?: boolean, tty?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.connectGetNamespacedPodExec(name, namespace, command, container, stderr, stdin, stdout, tty, _options); + public replaceNamespacedLeaseCandidateWithHttpInfo(name: string, namespace: string, body: V1alpha2LeaseCandidate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.replaceNamespacedLeaseCandidate(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceNamespacedLeaseCandidateWithHttpInfo(rsp))); + })); + } + + /** + * replace the specified LeaseCandidate + * @param name name of the LeaseCandidate + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public replaceNamespacedLeaseCandidate(name: string, namespace: string, body: V1alpha2LeaseCandidate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceNamespacedLeaseCandidateWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + +} + +import { CoreApiRequestFactory, CoreApiResponseProcessor} from "../apis/CoreApi"; +export class ObservableCoreApi { + private requestFactory: CoreApiRequestFactory; + private responseProcessor: CoreApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: CoreApiRequestFactory, + responseProcessor?: CoreApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new CoreApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new CoreApiResponseProcessor(); + } + + /** + * get available API versions + */ + public getAPIVersionsWithHttpInfo(_options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.getAPIVersions(_options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getAPIVersionsWithHttpInfo(rsp))); + })); + } + + /** + * get available API versions + */ + public getAPIVersions(_options?: Configuration): Observable { + return this.getAPIVersionsWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + +} + +import { CoreV1ApiRequestFactory, CoreV1ApiResponseProcessor} from "../apis/CoreV1Api"; +export class ObservableCoreV1Api { + private requestFactory: CoreV1ApiRequestFactory; + private responseProcessor: CoreV1ApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: CoreV1ApiRequestFactory, + responseProcessor?: CoreV1ApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new CoreV1ApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new CoreV1ApiResponseProcessor(); + } + + /** + * connect DELETE requests to proxy of Pod + * @param name name of the PodProxyOptions + * @param namespace object name and auth scope, such as for teams and projects + * @param [path] Path is the URL path to use for the current proxy request to pod. + */ + public connectDeleteNamespacedPodProxyWithHttpInfo(name: string, namespace: string, path?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.connectDeleteNamespacedPodProxy(name, namespace, path, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.connectDeleteNamespacedPodProxyWithHttpInfo(rsp))); + })); + } + + /** + * connect DELETE requests to proxy of Pod + * @param name name of the PodProxyOptions + * @param namespace object name and auth scope, such as for teams and projects + * @param [path] Path is the URL path to use for the current proxy request to pod. + */ + public connectDeleteNamespacedPodProxy(name: string, namespace: string, path?: string, _options?: Configuration): Observable { + return this.connectDeleteNamespacedPodProxyWithHttpInfo(name, namespace, path, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + + /** + * connect DELETE requests to proxy of Pod + * @param name name of the PodProxyOptions + * @param namespace object name and auth scope, such as for teams and projects + * @param path path to the resource + * @param [path2] Path is the URL path to use for the current proxy request to pod. + */ + public connectDeleteNamespacedPodProxyWithPathWithHttpInfo(name: string, namespace: string, path: string, path2?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.connectDeleteNamespacedPodProxyWithPath(name, namespace, path, path2, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.connectDeleteNamespacedPodProxyWithPathWithHttpInfo(rsp))); + })); + } + + /** + * connect DELETE requests to proxy of Pod + * @param name name of the PodProxyOptions + * @param namespace object name and auth scope, such as for teams and projects + * @param path path to the resource + * @param [path2] Path is the URL path to use for the current proxy request to pod. + */ + public connectDeleteNamespacedPodProxyWithPath(name: string, namespace: string, path: string, path2?: string, _options?: Configuration): Observable { + return this.connectDeleteNamespacedPodProxyWithPathWithHttpInfo(name, namespace, path, path2, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + + /** + * connect DELETE requests to proxy of Service + * @param name name of the ServiceProxyOptions + * @param namespace object name and auth scope, such as for teams and projects + * @param [path] Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. + */ + public connectDeleteNamespacedServiceProxyWithHttpInfo(name: string, namespace: string, path?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.connectDeleteNamespacedServiceProxy(name, namespace, path, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.connectDeleteNamespacedServiceProxyWithHttpInfo(rsp))); + })); + } + + /** + * connect DELETE requests to proxy of Service + * @param name name of the ServiceProxyOptions + * @param namespace object name and auth scope, such as for teams and projects + * @param [path] Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. + */ + public connectDeleteNamespacedServiceProxy(name: string, namespace: string, path?: string, _options?: Configuration): Observable { + return this.connectDeleteNamespacedServiceProxyWithHttpInfo(name, namespace, path, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + + /** + * connect DELETE requests to proxy of Service + * @param name name of the ServiceProxyOptions + * @param namespace object name and auth scope, such as for teams and projects + * @param path path to the resource + * @param [path2] Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. + */ + public connectDeleteNamespacedServiceProxyWithPathWithHttpInfo(name: string, namespace: string, path: string, path2?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.connectDeleteNamespacedServiceProxyWithPath(name, namespace, path, path2, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.connectDeleteNamespacedServiceProxyWithPathWithHttpInfo(rsp))); + })); + } + + /** + * connect DELETE requests to proxy of Service + * @param name name of the ServiceProxyOptions + * @param namespace object name and auth scope, such as for teams and projects + * @param path path to the resource + * @param [path2] Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. + */ + public connectDeleteNamespacedServiceProxyWithPath(name: string, namespace: string, path: string, path2?: string, _options?: Configuration): Observable { + return this.connectDeleteNamespacedServiceProxyWithPathWithHttpInfo(name, namespace, path, path2, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + + /** + * connect DELETE requests to proxy of Node + * @param name name of the NodeProxyOptions + * @param [path] Path is the URL path to use for the current proxy request to node. + */ + public connectDeleteNodeProxyWithHttpInfo(name: string, path?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.connectDeleteNodeProxy(name, path, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.connectDeleteNodeProxyWithHttpInfo(rsp))); + })); + } + + /** + * connect DELETE requests to proxy of Node + * @param name name of the NodeProxyOptions + * @param [path] Path is the URL path to use for the current proxy request to node. + */ + public connectDeleteNodeProxy(name: string, path?: string, _options?: Configuration): Observable { + return this.connectDeleteNodeProxyWithHttpInfo(name, path, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + + /** + * connect DELETE requests to proxy of Node + * @param name name of the NodeProxyOptions + * @param path path to the resource + * @param [path2] Path is the URL path to use for the current proxy request to node. + */ + public connectDeleteNodeProxyWithPathWithHttpInfo(name: string, path: string, path2?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.connectDeleteNodeProxyWithPath(name, path, path2, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.connectDeleteNodeProxyWithPathWithHttpInfo(rsp))); + })); + } + + /** + * connect DELETE requests to proxy of Node + * @param name name of the NodeProxyOptions + * @param path path to the resource + * @param [path2] Path is the URL path to use for the current proxy request to node. + */ + public connectDeleteNodeProxyWithPath(name: string, path: string, path2?: string, _options?: Configuration): Observable { + return this.connectDeleteNodeProxyWithPathWithHttpInfo(name, path, path2, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + + /** + * connect GET requests to attach of Pod + * @param name name of the PodAttachOptions + * @param namespace object name and auth scope, such as for teams and projects + * @param [container] The container in which to execute the command. Defaults to only container if there is only one container in the pod. + * @param [stderr] Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. + * @param [stdin] Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. + * @param [stdout] Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. + * @param [tty] TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. + */ + public connectGetNamespacedPodAttachWithHttpInfo(name: string, namespace: string, container?: string, stderr?: boolean, stdin?: boolean, stdout?: boolean, tty?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.connectGetNamespacedPodAttach(name, namespace, container, stderr, stdin, stdout, tty, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.connectGetNamespacedPodAttachWithHttpInfo(rsp))); + })); + } + + /** + * connect GET requests to attach of Pod + * @param name name of the PodAttachOptions + * @param namespace object name and auth scope, such as for teams and projects + * @param [container] The container in which to execute the command. Defaults to only container if there is only one container in the pod. + * @param [stderr] Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. + * @param [stdin] Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. + * @param [stdout] Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. + * @param [tty] TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. + */ + public connectGetNamespacedPodAttach(name: string, namespace: string, container?: string, stderr?: boolean, stdin?: boolean, stdout?: boolean, tty?: boolean, _options?: Configuration): Observable { + return this.connectGetNamespacedPodAttachWithHttpInfo(name, namespace, container, stderr, stdin, stdout, tty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + + /** + * connect GET requests to exec of Pod + * @param name name of the PodExecOptions + * @param namespace object name and auth scope, such as for teams and projects + * @param [command] Command is the remote command to execute. argv array. Not executed within a shell. + * @param [container] Container in which to execute the command. Defaults to only container if there is only one container in the pod. + * @param [stderr] Redirect the standard error stream of the pod for this call. + * @param [stdin] Redirect the standard input stream of the pod for this call. Defaults to false. + * @param [stdout] Redirect the standard output stream of the pod for this call. + * @param [tty] TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. + */ + public connectGetNamespacedPodExecWithHttpInfo(name: string, namespace: string, command?: string, container?: string, stderr?: boolean, stdin?: boolean, stdout?: boolean, tty?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.connectGetNamespacedPodExec(name, namespace, command, container, stderr, stdin, stdout, tty, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -14355,6 +14675,7 @@ export class ObservableCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -14365,8 +14686,8 @@ export class ObservableCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedConfigMapWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedConfigMap(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedConfigMapWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedConfigMap(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -14392,6 +14713,7 @@ export class ObservableCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -14402,8 +14724,8 @@ export class ObservableCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedConfigMap(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedConfigMapWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedConfigMap(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedConfigMapWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -14414,6 +14736,7 @@ export class ObservableCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -14424,8 +14747,8 @@ export class ObservableCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedEndpointsWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedEndpoints(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedEndpointsWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedEndpoints(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -14451,6 +14774,7 @@ export class ObservableCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -14461,8 +14785,8 @@ export class ObservableCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedEndpoints(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedEndpointsWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedEndpoints(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedEndpointsWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -14473,6 +14797,7 @@ export class ObservableCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -14483,8 +14808,8 @@ export class ObservableCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedEventWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedEvent(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedEventWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedEvent(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -14510,6 +14835,7 @@ export class ObservableCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -14520,8 +14846,8 @@ export class ObservableCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedEvent(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedEventWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedEvent(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedEventWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -14532,6 +14858,7 @@ export class ObservableCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -14542,8 +14869,8 @@ export class ObservableCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedLimitRangeWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedLimitRange(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedLimitRangeWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedLimitRange(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -14569,6 +14896,7 @@ export class ObservableCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -14579,8 +14907,8 @@ export class ObservableCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedLimitRange(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedLimitRangeWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedLimitRange(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedLimitRangeWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -14591,6 +14919,7 @@ export class ObservableCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -14601,8 +14930,8 @@ export class ObservableCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedPersistentVolumeClaimWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedPersistentVolumeClaim(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedPersistentVolumeClaimWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedPersistentVolumeClaim(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -14628,6 +14957,7 @@ export class ObservableCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -14638,8 +14968,8 @@ export class ObservableCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedPersistentVolumeClaim(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedPersistentVolumeClaimWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedPersistentVolumeClaim(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedPersistentVolumeClaimWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -14650,6 +14980,7 @@ export class ObservableCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -14660,8 +14991,8 @@ export class ObservableCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedPodWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedPod(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedPodWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedPod(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -14687,6 +15018,7 @@ export class ObservableCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -14697,8 +15029,8 @@ export class ObservableCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedPod(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedPodWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedPod(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedPodWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -14709,6 +15041,7 @@ export class ObservableCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -14719,8 +15052,8 @@ export class ObservableCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedPodTemplateWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedPodTemplate(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedPodTemplateWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedPodTemplate(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -14746,6 +15079,7 @@ export class ObservableCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -14756,8 +15090,8 @@ export class ObservableCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedPodTemplate(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedPodTemplateWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedPodTemplate(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedPodTemplateWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -14768,6 +15102,7 @@ export class ObservableCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -14778,8 +15113,8 @@ export class ObservableCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedReplicationControllerWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedReplicationController(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedReplicationControllerWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedReplicationController(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -14805,6 +15140,7 @@ export class ObservableCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -14815,8 +15151,8 @@ export class ObservableCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedReplicationController(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedReplicationControllerWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedReplicationController(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedReplicationControllerWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -14827,6 +15163,7 @@ export class ObservableCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -14837,8 +15174,8 @@ export class ObservableCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedResourceQuotaWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedResourceQuota(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedResourceQuotaWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedResourceQuota(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -14864,6 +15201,7 @@ export class ObservableCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -14874,8 +15212,8 @@ export class ObservableCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedResourceQuota(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedResourceQuotaWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedResourceQuota(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedResourceQuotaWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -14886,6 +15224,7 @@ export class ObservableCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -14896,8 +15235,8 @@ export class ObservableCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedSecretWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedSecret(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedSecretWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedSecret(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -14923,6 +15262,7 @@ export class ObservableCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -14933,8 +15273,8 @@ export class ObservableCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedSecret(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedSecretWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedSecret(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedSecretWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -14945,6 +15285,7 @@ export class ObservableCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -14955,8 +15296,8 @@ export class ObservableCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedServiceWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedService(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedServiceWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedService(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -14982,6 +15323,7 @@ export class ObservableCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -14992,8 +15334,8 @@ export class ObservableCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedService(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedServiceWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedService(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedServiceWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -15004,6 +15346,7 @@ export class ObservableCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -15014,8 +15357,8 @@ export class ObservableCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedServiceAccountWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedServiceAccount(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedServiceAccountWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedServiceAccount(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -15041,6 +15384,7 @@ export class ObservableCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -15051,8 +15395,8 @@ export class ObservableCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedServiceAccount(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedServiceAccountWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedServiceAccount(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedServiceAccountWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -15062,6 +15406,7 @@ export class ObservableCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -15072,8 +15417,8 @@ export class ObservableCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNodeWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNode(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNodeWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNode(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -15098,6 +15443,7 @@ export class ObservableCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -15108,8 +15454,8 @@ export class ObservableCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNode(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNodeWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNode(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNodeWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -15119,6 +15465,7 @@ export class ObservableCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -15129,8 +15476,8 @@ export class ObservableCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionPersistentVolumeWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionPersistentVolume(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionPersistentVolumeWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionPersistentVolume(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -15155,6 +15502,7 @@ export class ObservableCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -15165,8 +15513,8 @@ export class ObservableCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionPersistentVolume(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionPersistentVolumeWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionPersistentVolume(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionPersistentVolumeWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -15175,12 +15523,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespaceWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespace(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespaceWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespace(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -15204,12 +15553,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespace(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespaceWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespace(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespaceWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -15219,12 +15569,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedConfigMapWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedConfigMap(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedConfigMapWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedConfigMap(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -15249,12 +15600,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedConfigMap(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedConfigMapWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedConfigMap(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedConfigMapWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -15264,12 +15616,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedEndpointsWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedEndpoints(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedEndpointsWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedEndpoints(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -15294,12 +15647,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedEndpoints(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedEndpointsWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedEndpoints(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedEndpointsWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -15309,12 +15663,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedEventWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedEvent(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedEventWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedEvent(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -15339,12 +15694,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedEvent(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedEventWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedEvent(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedEventWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -15354,12 +15710,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedLimitRangeWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedLimitRange(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedLimitRangeWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedLimitRange(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -15384,12 +15741,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedLimitRange(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedLimitRangeWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedLimitRange(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedLimitRangeWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -15399,12 +15757,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedPersistentVolumeClaimWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedPersistentVolumeClaim(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedPersistentVolumeClaimWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedPersistentVolumeClaim(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -15429,12 +15788,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedPersistentVolumeClaim(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedPersistentVolumeClaimWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedPersistentVolumeClaim(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedPersistentVolumeClaimWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -15444,12 +15804,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedPodWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedPod(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedPodWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedPod(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -15474,12 +15835,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedPod(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedPodWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedPod(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedPodWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -15489,12 +15851,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedPodTemplateWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedPodTemplate(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedPodTemplateWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedPodTemplate(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -15519,12 +15882,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedPodTemplate(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedPodTemplateWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedPodTemplate(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedPodTemplateWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -15534,12 +15898,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedReplicationControllerWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedReplicationController(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedReplicationControllerWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedReplicationController(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -15564,12 +15929,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedReplicationController(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedReplicationControllerWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedReplicationController(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedReplicationControllerWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -15579,12 +15945,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedResourceQuotaWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedResourceQuota(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedResourceQuotaWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedResourceQuota(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -15609,12 +15976,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedResourceQuota(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedResourceQuotaWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedResourceQuota(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedResourceQuotaWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -15624,12 +15992,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedSecretWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedSecret(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedSecretWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedSecret(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -15654,12 +16023,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedSecret(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedSecretWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedSecret(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedSecretWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -15669,12 +16039,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedServiceWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedService(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedServiceWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedService(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -15699,12 +16070,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedService(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedServiceWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedService(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedServiceWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -15714,12 +16086,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedServiceAccountWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedServiceAccount(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedServiceAccountWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedServiceAccount(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -15744,12 +16117,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedServiceAccount(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedServiceAccountWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedServiceAccount(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedServiceAccountWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -15758,12 +16132,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNodeWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNode(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNodeWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNode(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -15787,12 +16162,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNode(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNodeWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNode(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNodeWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -15801,12 +16177,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deletePersistentVolumeWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deletePersistentVolume(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deletePersistentVolumeWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deletePersistentVolume(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -15830,12 +16207,13 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deletePersistentVolume(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deletePersistentVolumeWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deletePersistentVolume(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deletePersistentVolumeWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -17765,6 +18143,51 @@ export class ObservableCoreV1Api { return this.patchNamespacedPodEphemeralcontainersWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } + /** + * partially update resize of the specified Pod + * @param name name of the Pod + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchNamespacedPodResizeWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.patchNamespacedPodResize(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchNamespacedPodResizeWithHttpInfo(rsp))); + })); + } + + /** + * partially update resize of the specified Pod + * @param name name of the Pod + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchNamespacedPodResize(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchNamespacedPodResizeWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + /** * partially update status of the specified Pod * @param name name of the Pod @@ -18822,11 +19245,12 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [previous] Return previous terminated container logs. Defaults to false. * @param [sinceSeconds] A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. - * @param [tailLines] If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime + * @param [stream] Specify which container log stream to return to the client. Acceptable values are \"All\", \"Stdout\" and \"Stderr\". If not specified, \"All\" is used, and both stdout and stderr are returned interleaved. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\". + * @param [tailLines] If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\". * @param [timestamps] If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. */ - public readNamespacedPodLogWithHttpInfo(name: string, namespace: string, container?: string, follow?: boolean, insecureSkipTLSVerifyBackend?: boolean, limitBytes?: number, pretty?: string, previous?: boolean, sinceSeconds?: number, tailLines?: number, timestamps?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.readNamespacedPodLog(name, namespace, container, follow, insecureSkipTLSVerifyBackend, limitBytes, pretty, previous, sinceSeconds, tailLines, timestamps, _options); + public readNamespacedPodLogWithHttpInfo(name: string, namespace: string, container?: string, follow?: boolean, insecureSkipTLSVerifyBackend?: boolean, limitBytes?: number, pretty?: string, previous?: boolean, sinceSeconds?: number, stream?: string, tailLines?: number, timestamps?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.readNamespacedPodLog(name, namespace, container, follow, insecureSkipTLSVerifyBackend, limitBytes, pretty, previous, sinceSeconds, stream, tailLines, timestamps, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -18855,11 +19279,47 @@ export class ObservableCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [previous] Return previous terminated container logs. Defaults to false. * @param [sinceSeconds] A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. - * @param [tailLines] If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime + * @param [stream] Specify which container log stream to return to the client. Acceptable values are \"All\", \"Stdout\" and \"Stderr\". If not specified, \"All\" is used, and both stdout and stderr are returned interleaved. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\". + * @param [tailLines] If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\". * @param [timestamps] If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. */ - public readNamespacedPodLog(name: string, namespace: string, container?: string, follow?: boolean, insecureSkipTLSVerifyBackend?: boolean, limitBytes?: number, pretty?: string, previous?: boolean, sinceSeconds?: number, tailLines?: number, timestamps?: boolean, _options?: Configuration): Observable { - return this.readNamespacedPodLogWithHttpInfo(name, namespace, container, follow, insecureSkipTLSVerifyBackend, limitBytes, pretty, previous, sinceSeconds, tailLines, timestamps, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public readNamespacedPodLog(name: string, namespace: string, container?: string, follow?: boolean, insecureSkipTLSVerifyBackend?: boolean, limitBytes?: number, pretty?: string, previous?: boolean, sinceSeconds?: number, stream?: string, tailLines?: number, timestamps?: boolean, _options?: Configuration): Observable { + return this.readNamespacedPodLogWithHttpInfo(name, namespace, container, follow, insecureSkipTLSVerifyBackend, limitBytes, pretty, previous, sinceSeconds, stream, tailLines, timestamps, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + + /** + * read resize of the specified Pod + * @param name name of the Pod + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readNamespacedPodResizeWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.readNamespacedPodResize(name, namespace, pretty, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readNamespacedPodResizeWithHttpInfo(rsp))); + })); + } + + /** + * read resize of the specified Pod + * @param name name of the Pod + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readNamespacedPodResize(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable { + return this.readNamespacedPodResizeWithHttpInfo(name, namespace, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -19846,6 +20306,49 @@ export class ObservableCoreV1Api { return this.replaceNamespacedPodEphemeralcontainersWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } + /** + * replace resize of the specified Pod + * @param name name of the Pod + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public replaceNamespacedPodResizeWithHttpInfo(name: string, namespace: string, body: V1Pod, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.replaceNamespacedPodResize(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceNamespacedPodResizeWithHttpInfo(rsp))); + })); + } + + /** + * replace resize of the specified Pod + * @param name name of the Pod + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public replaceNamespacedPodResize(name: string, namespace: string, body: V1Pod, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceNamespacedPodResizeWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + /** * replace status of the specified Pod * @param name name of the Pod @@ -20485,7 +20988,7 @@ export class ObservableCoreV1Api { } -import { CustomObjectsApiRequestFactory, CustomObjectsApiResponseProcessor} from "../apis/CustomObjectsApi.js"; +import { CustomObjectsApiRequestFactory, CustomObjectsApiResponseProcessor} from "../apis/CustomObjectsApi"; export class ObservableCustomObjectsApi { private requestFactory: CustomObjectsApiRequestFactory; private responseProcessor: CustomObjectsApiResponseProcessor; @@ -21696,7 +22199,7 @@ export class ObservableCustomObjectsApi { } -import { DiscoveryApiRequestFactory, DiscoveryApiResponseProcessor} from "../apis/DiscoveryApi.js"; +import { DiscoveryApiRequestFactory, DiscoveryApiResponseProcessor} from "../apis/DiscoveryApi"; export class ObservableDiscoveryApi { private requestFactory: DiscoveryApiRequestFactory; private responseProcessor: DiscoveryApiResponseProcessor; @@ -21743,7 +22246,7 @@ export class ObservableDiscoveryApi { } -import { DiscoveryV1ApiRequestFactory, DiscoveryV1ApiResponseProcessor} from "../apis/DiscoveryV1Api.js"; +import { DiscoveryV1ApiRequestFactory, DiscoveryV1ApiResponseProcessor} from "../apis/DiscoveryV1Api"; export class ObservableDiscoveryV1Api { private requestFactory: DiscoveryV1ApiRequestFactory; private responseProcessor: DiscoveryV1ApiResponseProcessor; @@ -21808,6 +22311,7 @@ export class ObservableDiscoveryV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -21818,8 +22322,8 @@ export class ObservableDiscoveryV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedEndpointSliceWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedEndpointSlice(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedEndpointSliceWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedEndpointSlice(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -21845,6 +22349,7 @@ export class ObservableDiscoveryV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -21855,8 +22360,8 @@ export class ObservableDiscoveryV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedEndpointSlice(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedEndpointSliceWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedEndpointSlice(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedEndpointSliceWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -21866,12 +22371,13 @@ export class ObservableDiscoveryV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedEndpointSliceWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedEndpointSlice(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedEndpointSliceWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedEndpointSlice(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -21896,12 +22402,13 @@ export class ObservableDiscoveryV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedEndpointSlice(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedEndpointSliceWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedEndpointSlice(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedEndpointSliceWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -22162,7 +22669,7 @@ export class ObservableDiscoveryV1Api { } -import { EventsApiRequestFactory, EventsApiResponseProcessor} from "../apis/EventsApi.js"; +import { EventsApiRequestFactory, EventsApiResponseProcessor} from "../apis/EventsApi"; export class ObservableEventsApi { private requestFactory: EventsApiRequestFactory; private responseProcessor: EventsApiResponseProcessor; @@ -22209,7 +22716,7 @@ export class ObservableEventsApi { } -import { EventsV1ApiRequestFactory, EventsV1ApiResponseProcessor} from "../apis/EventsV1Api.js"; +import { EventsV1ApiRequestFactory, EventsV1ApiResponseProcessor} from "../apis/EventsV1Api"; export class ObservableEventsV1Api { private requestFactory: EventsV1ApiRequestFactory; private responseProcessor: EventsV1ApiResponseProcessor; @@ -22274,6 +22781,7 @@ export class ObservableEventsV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -22284,8 +22792,8 @@ export class ObservableEventsV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedEventWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedEvent(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedEventWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedEvent(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -22311,6 +22819,7 @@ export class ObservableEventsV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -22321,8 +22830,8 @@ export class ObservableEventsV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedEvent(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedEventWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedEvent(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedEventWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -22332,12 +22841,13 @@ export class ObservableEventsV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedEventWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedEvent(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedEventWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedEvent(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -22362,12 +22872,13 @@ export class ObservableEventsV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedEvent(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedEventWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedEvent(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedEventWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -22628,7 +23139,7 @@ export class ObservableEventsV1Api { } -import { FlowcontrolApiserverApiRequestFactory, FlowcontrolApiserverApiResponseProcessor} from "../apis/FlowcontrolApiserverApi.js"; +import { FlowcontrolApiserverApiRequestFactory, FlowcontrolApiserverApiResponseProcessor} from "../apis/FlowcontrolApiserverApi"; export class ObservableFlowcontrolApiserverApi { private requestFactory: FlowcontrolApiserverApiRequestFactory; private responseProcessor: FlowcontrolApiserverApiResponseProcessor; @@ -22675,7 +23186,7 @@ export class ObservableFlowcontrolApiserverApi { } -import { FlowcontrolApiserverV1ApiRequestFactory, FlowcontrolApiserverV1ApiResponseProcessor} from "../apis/FlowcontrolApiserverV1Api.js"; +import { FlowcontrolApiserverV1ApiRequestFactory, FlowcontrolApiserverV1ApiResponseProcessor} from "../apis/FlowcontrolApiserverV1Api"; export class ObservableFlowcontrolApiserverV1Api { private requestFactory: FlowcontrolApiserverV1ApiRequestFactory; private responseProcessor: FlowcontrolApiserverV1ApiResponseProcessor; @@ -22776,6 +23287,7 @@ export class ObservableFlowcontrolApiserverV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -22786,8 +23298,8 @@ export class ObservableFlowcontrolApiserverV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionFlowSchemaWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionFlowSchema(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionFlowSchemaWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionFlowSchema(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -22812,6 +23324,7 @@ export class ObservableFlowcontrolApiserverV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -22822,8 +23335,8 @@ export class ObservableFlowcontrolApiserverV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionFlowSchema(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionFlowSchemaWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionFlowSchema(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionFlowSchemaWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -22833,6 +23346,7 @@ export class ObservableFlowcontrolApiserverV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -22843,8 +23357,8 @@ export class ObservableFlowcontrolApiserverV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionPriorityLevelConfigurationWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionPriorityLevelConfiguration(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionPriorityLevelConfigurationWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionPriorityLevelConfiguration(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -22869,6 +23383,7 @@ export class ObservableFlowcontrolApiserverV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -22879,8 +23394,8 @@ export class ObservableFlowcontrolApiserverV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionPriorityLevelConfiguration(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionPriorityLevelConfigurationWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionPriorityLevelConfiguration(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionPriorityLevelConfigurationWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -22889,12 +23404,13 @@ export class ObservableFlowcontrolApiserverV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteFlowSchemaWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteFlowSchema(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteFlowSchemaWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteFlowSchema(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -22918,12 +23434,13 @@ export class ObservableFlowcontrolApiserverV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteFlowSchema(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteFlowSchemaWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteFlowSchema(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteFlowSchemaWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -22932,12 +23449,13 @@ export class ObservableFlowcontrolApiserverV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deletePriorityLevelConfigurationWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deletePriorityLevelConfiguration(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deletePriorityLevelConfigurationWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deletePriorityLevelConfiguration(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -22961,12 +23479,13 @@ export class ObservableFlowcontrolApiserverV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deletePriorityLevelConfiguration(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deletePriorityLevelConfigurationWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deletePriorityLevelConfiguration(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deletePriorityLevelConfigurationWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -23570,32 +24089,27 @@ export class ObservableFlowcontrolApiserverV1Api { } -import { FlowcontrolApiserverV1beta3ApiRequestFactory, FlowcontrolApiserverV1beta3ApiResponseProcessor} from "../apis/FlowcontrolApiserverV1beta3Api.js"; -export class ObservableFlowcontrolApiserverV1beta3Api { - private requestFactory: FlowcontrolApiserverV1beta3ApiRequestFactory; - private responseProcessor: FlowcontrolApiserverV1beta3ApiResponseProcessor; +import { InternalApiserverApiRequestFactory, InternalApiserverApiResponseProcessor} from "../apis/InternalApiserverApi"; +export class ObservableInternalApiserverApi { + private requestFactory: InternalApiserverApiRequestFactory; + private responseProcessor: InternalApiserverApiResponseProcessor; private configuration: Configuration; public constructor( configuration: Configuration, - requestFactory?: FlowcontrolApiserverV1beta3ApiRequestFactory, - responseProcessor?: FlowcontrolApiserverV1beta3ApiResponseProcessor + requestFactory?: InternalApiserverApiRequestFactory, + responseProcessor?: InternalApiserverApiResponseProcessor ) { this.configuration = configuration; - this.requestFactory = requestFactory || new FlowcontrolApiserverV1beta3ApiRequestFactory(configuration); - this.responseProcessor = responseProcessor || new FlowcontrolApiserverV1beta3ApiResponseProcessor(); + this.requestFactory = requestFactory || new InternalApiserverApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new InternalApiserverApiResponseProcessor(); } /** - * create a FlowSchema - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * get information of a group */ - public createFlowSchemaWithHttpInfo(body: V1beta3FlowSchema, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.createFlowSchema(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public getAPIGroupWithHttpInfo(_options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.getAPIGroup(_options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -23609,80 +24123,45 @@ export class ObservableFlowcontrolApiserverV1beta3Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createFlowSchemaWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getAPIGroupWithHttpInfo(rsp))); })); } /** - * create a FlowSchema - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * get information of a group */ - public createFlowSchema(body: V1beta3FlowSchema, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.createFlowSchemaWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public getAPIGroup(_options?: Configuration): Observable { + return this.getAPIGroupWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } - /** - * create a PriorityLevelConfiguration - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - */ - public createPriorityLevelConfigurationWithHttpInfo(body: V1beta3PriorityLevelConfiguration, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.createPriorityLevelConfiguration(body, pretty, dryRun, fieldManager, fieldValidation, _options); +} - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } +import { InternalApiserverV1alpha1ApiRequestFactory, InternalApiserverV1alpha1ApiResponseProcessor} from "../apis/InternalApiserverV1alpha1Api"; +export class ObservableInternalApiserverV1alpha1Api { + private requestFactory: InternalApiserverV1alpha1ApiRequestFactory; + private responseProcessor: InternalApiserverV1alpha1ApiResponseProcessor; + private configuration: Configuration; - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createPriorityLevelConfigurationWithHttpInfo(rsp))); - })); + public constructor( + configuration: Configuration, + requestFactory?: InternalApiserverV1alpha1ApiRequestFactory, + responseProcessor?: InternalApiserverV1alpha1ApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new InternalApiserverV1alpha1ApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new InternalApiserverV1alpha1ApiResponseProcessor(); } /** - * create a PriorityLevelConfiguration + * create a StorageVersion * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createPriorityLevelConfiguration(body: V1beta3PriorityLevelConfiguration, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.createPriorityLevelConfigurationWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * delete collection of FlowSchema - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] - */ - public deleteCollectionFlowSchemaWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionFlowSchema(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public createStorageVersionWithHttpInfo(body: V1alpha1StorageVersion, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.createStorageVersion(body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -23696,38 +24175,30 @@ export class ObservableFlowcontrolApiserverV1beta3Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionFlowSchemaWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createStorageVersionWithHttpInfo(rsp))); })); } /** - * delete collection of FlowSchema + * create a StorageVersion + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public deleteCollectionFlowSchema(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionFlowSchemaWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public createStorageVersion(body: V1alpha1StorageVersion, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.createStorageVersionWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete collection of PriorityLevelConfiguration + * delete collection of StorageVersion * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -23738,8 +24209,8 @@ export class ObservableFlowcontrolApiserverV1beta3Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionPriorityLevelConfigurationWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionPriorityLevelConfiguration(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionStorageVersionWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionStorageVersion(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -23753,17 +24224,18 @@ export class ObservableFlowcontrolApiserverV1beta3Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionPriorityLevelConfigurationWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionStorageVersionWithHttpInfo(rsp))); })); } /** - * delete collection of PriorityLevelConfiguration + * delete collection of StorageVersion * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -23774,65 +24246,23 @@ export class ObservableFlowcontrolApiserverV1beta3Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionPriorityLevelConfiguration(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionPriorityLevelConfigurationWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * delete a FlowSchema - * @param name name of the FlowSchema - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [body] - */ - public deleteFlowSchemaWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteFlowSchema(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteFlowSchemaWithHttpInfo(rsp))); - })); - } - - /** - * delete a FlowSchema - * @param name name of the FlowSchema - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [body] - */ - public deleteFlowSchema(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteFlowSchemaWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionStorageVersion(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionStorageVersionWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete a PriorityLevelConfiguration - * @param name name of the PriorityLevelConfiguration + * delete a StorageVersion + * @param name name of the StorageVersion * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deletePriorityLevelConfigurationWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deletePriorityLevelConfiguration(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteStorageVersionWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteStorageVersion(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -23846,22 +24276,23 @@ export class ObservableFlowcontrolApiserverV1beta3Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deletePriorityLevelConfigurationWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteStorageVersionWithHttpInfo(rsp))); })); } /** - * delete a PriorityLevelConfiguration - * @param name name of the PriorityLevelConfiguration + * delete a StorageVersion + * @param name name of the StorageVersion * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deletePriorityLevelConfiguration(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deletePriorityLevelConfigurationWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteStorageVersion(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteStorageVersionWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -23894,7 +24325,7 @@ export class ObservableFlowcontrolApiserverV1beta3Api { } /** - * list or watch objects of kind FlowSchema + * list or watch objects of kind StorageVersion * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -23907,8 +24338,8 @@ export class ObservableFlowcontrolApiserverV1beta3Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listFlowSchemaWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listFlowSchema(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listStorageVersionWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listStorageVersion(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -23922,12 +24353,12 @@ export class ObservableFlowcontrolApiserverV1beta3Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listFlowSchemaWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listStorageVersionWithHttpInfo(rsp))); })); } /** - * list or watch objects of kind FlowSchema + * list or watch objects of kind StorageVersion * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -23940,26 +24371,22 @@ export class ObservableFlowcontrolApiserverV1beta3Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listFlowSchema(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listFlowSchemaWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listStorageVersion(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listStorageVersionWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * list or watch objects of kind PriorityLevelConfiguration + * partially update the specified StorageVersion + * @param name name of the StorageVersion + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public listPriorityLevelConfigurationWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listPriorityLevelConfiguration(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public patchStorageVersionWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.patchStorageVersion(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -23973,31 +24400,27 @@ export class ObservableFlowcontrolApiserverV1beta3Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listPriorityLevelConfigurationWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchStorageVersionWithHttpInfo(rsp))); })); } /** - * list or watch objects of kind PriorityLevelConfiguration + * partially update the specified StorageVersion + * @param name name of the StorageVersion + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public listPriorityLevelConfiguration(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listPriorityLevelConfigurationWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public patchStorageVersion(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchStorageVersionWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * partially update the specified FlowSchema - * @param name name of the FlowSchema + * partially update status of the specified StorageVersion + * @param name name of the StorageVersion * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -24005,8 +24428,8 @@ export class ObservableFlowcontrolApiserverV1beta3Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchFlowSchemaWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.patchFlowSchema(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public patchStorageVersionStatusWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.patchStorageVersionStatus(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -24020,13 +24443,13 @@ export class ObservableFlowcontrolApiserverV1beta3Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchFlowSchemaWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchStorageVersionStatusWithHttpInfo(rsp))); })); } /** - * partially update the specified FlowSchema - * @param name name of the FlowSchema + * partially update status of the specified StorageVersion + * @param name name of the StorageVersion * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -24034,22 +24457,17 @@ export class ObservableFlowcontrolApiserverV1beta3Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchFlowSchema(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchFlowSchemaWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public patchStorageVersionStatus(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchStorageVersionStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * partially update status of the specified FlowSchema - * @param name name of the FlowSchema - * @param body + * read the specified StorageVersion + * @param name name of the StorageVersion * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchFlowSchemaStatusWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.patchFlowSchemaStatus(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public readStorageVersionWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.readStorageVersion(name, pretty, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -24063,36 +24481,26 @@ export class ObservableFlowcontrolApiserverV1beta3Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchFlowSchemaStatusWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readStorageVersionWithHttpInfo(rsp))); })); } /** - * partially update status of the specified FlowSchema - * @param name name of the FlowSchema - * @param body + * read the specified StorageVersion + * @param name name of the StorageVersion * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchFlowSchemaStatus(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchFlowSchemaStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public readStorageVersion(name: string, pretty?: string, _options?: Configuration): Observable { + return this.readStorageVersionWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * partially update the specified PriorityLevelConfiguration - * @param name name of the PriorityLevelConfiguration - * @param body + * read status of the specified StorageVersion + * @param name name of the StorageVersion * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchPriorityLevelConfigurationWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.patchPriorityLevelConfiguration(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public readStorageVersionStatusWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.readStorageVersionStatus(name, pretty, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -24106,36 +24514,30 @@ export class ObservableFlowcontrolApiserverV1beta3Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchPriorityLevelConfigurationWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readStorageVersionStatusWithHttpInfo(rsp))); })); } /** - * partially update the specified PriorityLevelConfiguration - * @param name name of the PriorityLevelConfiguration - * @param body + * read status of the specified StorageVersion + * @param name name of the StorageVersion * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchPriorityLevelConfiguration(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchPriorityLevelConfigurationWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public readStorageVersionStatus(name: string, pretty?: string, _options?: Configuration): Observable { + return this.readStorageVersionStatusWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * partially update status of the specified PriorityLevelConfiguration - * @param name name of the PriorityLevelConfiguration + * replace the specified StorageVersion + * @param name name of the StorageVersion * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchPriorityLevelConfigurationStatusWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.patchPriorityLevelConfigurationStatus(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public replaceStorageVersionWithHttpInfo(name: string, body: V1alpha1StorageVersion, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.replaceStorageVersion(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -24149,31 +24551,34 @@ export class ObservableFlowcontrolApiserverV1beta3Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchPriorityLevelConfigurationStatusWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceStorageVersionWithHttpInfo(rsp))); })); } /** - * partially update status of the specified PriorityLevelConfiguration - * @param name name of the PriorityLevelConfiguration + * replace the specified StorageVersion + * @param name name of the StorageVersion * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchPriorityLevelConfigurationStatus(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchPriorityLevelConfigurationStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public replaceStorageVersion(name: string, body: V1alpha1StorageVersion, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceStorageVersionWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * read the specified FlowSchema - * @param name name of the FlowSchema + * replace status of the specified StorageVersion + * @param name name of the StorageVersion + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public readFlowSchemaWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.readFlowSchema(name, pretty, _options); + public replaceStorageVersionStatusWithHttpInfo(name: string, body: V1alpha1StorageVersion, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.replaceStorageVersionStatus(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -24187,26 +24592,46 @@ export class ObservableFlowcontrolApiserverV1beta3Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readFlowSchemaWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceStorageVersionStatusWithHttpInfo(rsp))); })); } /** - * read the specified FlowSchema - * @param name name of the FlowSchema + * replace status of the specified StorageVersion + * @param name name of the StorageVersion + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public readFlowSchema(name: string, pretty?: string, _options?: Configuration): Observable { - return this.readFlowSchemaWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public replaceStorageVersionStatus(name: string, body: V1alpha1StorageVersion, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceStorageVersionStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + +} + +import { LogsApiRequestFactory, LogsApiResponseProcessor} from "../apis/LogsApi"; +export class ObservableLogsApi { + private requestFactory: LogsApiRequestFactory; + private responseProcessor: LogsApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: LogsApiRequestFactory, + responseProcessor?: LogsApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new LogsApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new LogsApiResponseProcessor(); } /** - * read status of the specified FlowSchema - * @param name name of the FlowSchema - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param logpath path to the log */ - public readFlowSchemaStatusWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.readFlowSchemaStatus(name, pretty, _options); + public logFileHandlerWithHttpInfo(logpath: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.logFileHandler(logpath, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -24220,26 +24645,21 @@ export class ObservableFlowcontrolApiserverV1beta3Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readFlowSchemaStatusWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.logFileHandlerWithHttpInfo(rsp))); })); } /** - * read status of the specified FlowSchema - * @param name name of the FlowSchema - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param logpath path to the log */ - public readFlowSchemaStatus(name: string, pretty?: string, _options?: Configuration): Observable { - return this.readFlowSchemaStatusWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public logFileHandler(logpath: string, _options?: Configuration): Observable { + return this.logFileHandlerWithHttpInfo(logpath, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * read the specified PriorityLevelConfiguration - * @param name name of the PriorityLevelConfiguration - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readPriorityLevelConfigurationWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.readPriorityLevelConfiguration(name, pretty, _options); + public logFileListHandlerWithHttpInfo(_options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.logFileListHandler(_options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -24253,26 +24673,39 @@ export class ObservableFlowcontrolApiserverV1beta3Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readPriorityLevelConfigurationWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.logFileListHandlerWithHttpInfo(rsp))); })); } /** - * read the specified PriorityLevelConfiguration - * @param name name of the PriorityLevelConfiguration - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readPriorityLevelConfiguration(name: string, pretty?: string, _options?: Configuration): Observable { - return this.readPriorityLevelConfigurationWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public logFileListHandler(_options?: Configuration): Observable { + return this.logFileListHandlerWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + +} + +import { NetworkingApiRequestFactory, NetworkingApiResponseProcessor} from "../apis/NetworkingApi"; +export class ObservableNetworkingApi { + private requestFactory: NetworkingApiRequestFactory; + private responseProcessor: NetworkingApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: NetworkingApiRequestFactory, + responseProcessor?: NetworkingApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new NetworkingApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new NetworkingApiResponseProcessor(); } /** - * read status of the specified PriorityLevelConfiguration - * @param name name of the PriorityLevelConfiguration - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * get information of a group */ - public readPriorityLevelConfigurationStatusWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.readPriorityLevelConfigurationStatus(name, pretty, _options); + public getAPIGroupWithHttpInfo(_options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.getAPIGroup(_options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -24286,30 +24719,45 @@ export class ObservableFlowcontrolApiserverV1beta3Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readPriorityLevelConfigurationStatusWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getAPIGroupWithHttpInfo(rsp))); })); } /** - * read status of the specified PriorityLevelConfiguration - * @param name name of the PriorityLevelConfiguration - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * get information of a group */ - public readPriorityLevelConfigurationStatus(name: string, pretty?: string, _options?: Configuration): Observable { - return this.readPriorityLevelConfigurationStatusWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public getAPIGroup(_options?: Configuration): Observable { + return this.getAPIGroupWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + +} + +import { NetworkingV1ApiRequestFactory, NetworkingV1ApiResponseProcessor} from "../apis/NetworkingV1Api"; +export class ObservableNetworkingV1Api { + private requestFactory: NetworkingV1ApiRequestFactory; + private responseProcessor: NetworkingV1ApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: NetworkingV1ApiRequestFactory, + responseProcessor?: NetworkingV1ApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new NetworkingV1ApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new NetworkingV1ApiResponseProcessor(); } /** - * replace the specified FlowSchema - * @param name name of the FlowSchema + * create an IngressClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceFlowSchemaWithHttpInfo(name: string, body: V1beta3FlowSchema, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.replaceFlowSchema(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createIngressClassWithHttpInfo(body: V1IngressClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.createIngressClass(body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -24323,34 +24771,33 @@ export class ObservableFlowcontrolApiserverV1beta3Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceFlowSchemaWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createIngressClassWithHttpInfo(rsp))); })); } /** - * replace the specified FlowSchema - * @param name name of the FlowSchema + * create an IngressClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceFlowSchema(name: string, body: V1beta3FlowSchema, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceFlowSchemaWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public createIngressClass(body: V1IngressClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.createIngressClassWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * replace status of the specified FlowSchema - * @param name name of the FlowSchema + * create an Ingress + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceFlowSchemaStatusWithHttpInfo(name: string, body: V1beta3FlowSchema, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.replaceFlowSchemaStatus(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createNamespacedIngressWithHttpInfo(namespace: string, body: V1Ingress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.createNamespacedIngress(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -24364,34 +24811,34 @@ export class ObservableFlowcontrolApiserverV1beta3Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceFlowSchemaStatusWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createNamespacedIngressWithHttpInfo(rsp))); })); } /** - * replace status of the specified FlowSchema - * @param name name of the FlowSchema + * create an Ingress + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceFlowSchemaStatus(name: string, body: V1beta3FlowSchema, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceFlowSchemaStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public createNamespacedIngress(namespace: string, body: V1Ingress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.createNamespacedIngressWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * replace the specified PriorityLevelConfiguration - * @param name name of the PriorityLevelConfiguration + * create a NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replacePriorityLevelConfigurationWithHttpInfo(name: string, body: V1beta3PriorityLevelConfiguration, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.replacePriorityLevelConfiguration(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createNamespacedNetworkPolicyWithHttpInfo(namespace: string, body: V1NetworkPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.createNamespacedNetworkPolicy(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -24405,34 +24852,43 @@ export class ObservableFlowcontrolApiserverV1beta3Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replacePriorityLevelConfigurationWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createNamespacedNetworkPolicyWithHttpInfo(rsp))); })); } /** - * replace the specified PriorityLevelConfiguration - * @param name name of the PriorityLevelConfiguration + * create a NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replacePriorityLevelConfiguration(name: string, body: V1beta3PriorityLevelConfiguration, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replacePriorityLevelConfigurationWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public createNamespacedNetworkPolicy(namespace: string, body: V1NetworkPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.createNamespacedNetworkPolicyWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * replace status of the specified PriorityLevelConfiguration - * @param name name of the PriorityLevelConfiguration - * @param body + * delete collection of IngressClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] */ - public replacePriorityLevelConfigurationStatusWithHttpInfo(name: string, body: V1beta3PriorityLevelConfiguration, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.replacePriorityLevelConfigurationStatus(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public deleteCollectionIngressClassWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionIngressClass(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -24446,46 +24902,53 @@ export class ObservableFlowcontrolApiserverV1beta3Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replacePriorityLevelConfigurationStatusWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionIngressClassWithHttpInfo(rsp))); })); } /** - * replace status of the specified PriorityLevelConfiguration - * @param name name of the PriorityLevelConfiguration - * @param body + * delete collection of IngressClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] */ - public replacePriorityLevelConfigurationStatus(name: string, body: V1beta3PriorityLevelConfiguration, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replacePriorityLevelConfigurationStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - -} - -import { InternalApiserverApiRequestFactory, InternalApiserverApiResponseProcessor} from "../apis/InternalApiserverApi.js"; -export class ObservableInternalApiserverApi { - private requestFactory: InternalApiserverApiRequestFactory; - private responseProcessor: InternalApiserverApiResponseProcessor; - private configuration: Configuration; - - public constructor( - configuration: Configuration, - requestFactory?: InternalApiserverApiRequestFactory, - responseProcessor?: InternalApiserverApiResponseProcessor - ) { - this.configuration = configuration; - this.requestFactory = requestFactory || new InternalApiserverApiRequestFactory(configuration); - this.responseProcessor = responseProcessor || new InternalApiserverApiResponseProcessor(); + public deleteCollectionIngressClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionIngressClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * get information of a group + * delete collection of Ingress + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] */ - public getAPIGroupWithHttpInfo(_options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.getAPIGroup(_options); + public deleteCollectionNamespacedIngressWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedIngress(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -24499,45 +24962,54 @@ export class ObservableInternalApiserverApi { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getAPIGroupWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionNamespacedIngressWithHttpInfo(rsp))); })); } /** - * get information of a group + * delete collection of Ingress + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] */ - public getAPIGroup(_options?: Configuration): Observable { - return this.getAPIGroupWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - -} - -import { InternalApiserverV1alpha1ApiRequestFactory, InternalApiserverV1alpha1ApiResponseProcessor} from "../apis/InternalApiserverV1alpha1Api.js"; -export class ObservableInternalApiserverV1alpha1Api { - private requestFactory: InternalApiserverV1alpha1ApiRequestFactory; - private responseProcessor: InternalApiserverV1alpha1ApiResponseProcessor; - private configuration: Configuration; - - public constructor( - configuration: Configuration, - requestFactory?: InternalApiserverV1alpha1ApiRequestFactory, - responseProcessor?: InternalApiserverV1alpha1ApiResponseProcessor - ) { - this.configuration = configuration; - this.requestFactory = requestFactory || new InternalApiserverV1alpha1ApiRequestFactory(configuration); - this.responseProcessor = responseProcessor || new InternalApiserverV1alpha1ApiResponseProcessor(); + public deleteCollectionNamespacedIngress(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedIngressWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * create a StorageVersion - * @param body + * delete collection of NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] */ - public createStorageVersionWithHttpInfo(body: V1alpha1StorageVersion, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.createStorageVersion(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public deleteCollectionNamespacedNetworkPolicyWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedNetworkPolicy(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -24551,29 +25023,19 @@ export class ObservableInternalApiserverV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createStorageVersionWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionNamespacedNetworkPolicyWithHttpInfo(rsp))); })); } /** - * create a StorageVersion - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - */ - public createStorageVersion(body: V1alpha1StorageVersion, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.createStorageVersionWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * delete collection of StorageVersion + * delete collection of NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -24584,8 +25046,23 @@ export class ObservableInternalApiserverV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionStorageVersionWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionStorageVersion(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedNetworkPolicy(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedNetworkPolicyWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + + /** + * delete an IngressClass + * @param name name of the IngressClass + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] + */ + public deleteIngressClassWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteIngressClass(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -24599,43 +25076,39 @@ export class ObservableInternalApiserverV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionStorageVersionWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteIngressClassWithHttpInfo(rsp))); })); } /** - * delete collection of StorageVersion + * delete an IngressClass + * @param name name of the IngressClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionStorageVersion(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionStorageVersionWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteIngressClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteIngressClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete a StorageVersion - * @param name name of the StorageVersion + * delete an Ingress + * @param name name of the Ingress + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteStorageVersionWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteStorageVersion(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedIngressWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedIngress(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -24649,29 +25122,40 @@ export class ObservableInternalApiserverV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteStorageVersionWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteNamespacedIngressWithHttpInfo(rsp))); })); } /** - * delete a StorageVersion - * @param name name of the StorageVersion + * delete an Ingress + * @param name name of the Ingress + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteStorageVersion(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteStorageVersionWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedIngress(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedIngressWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * get available resources + * delete a NetworkPolicy + * @param name name of the NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] */ - public getAPIResourcesWithHttpInfo(_options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.getAPIResources(_options); + public deleteNamespacedNetworkPolicyWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedNetworkPolicy(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -24685,19 +25169,57 @@ export class ObservableInternalApiserverV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getAPIResourcesWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteNamespacedNetworkPolicyWithHttpInfo(rsp))); })); } /** - * get available resources - */ - public getAPIResources(_options?: Configuration): Observable { - return this.getAPIResourcesWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } + * delete a NetworkPolicy + * @param name name of the NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] + */ + public deleteNamespacedNetworkPolicy(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedNetworkPolicyWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } /** - * list or watch objects of kind StorageVersion + * get available resources + */ + public getAPIResourcesWithHttpInfo(_options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.getAPIResources(_options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getAPIResourcesWithHttpInfo(rsp))); + })); + } + + /** + * get available resources + */ + public getAPIResources(_options?: Configuration): Observable { + return this.getAPIResourcesWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + + /** + * list or watch objects of kind IngressClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -24710,8 +25232,8 @@ export class ObservableInternalApiserverV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listStorageVersionWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listStorageVersion(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listIngressClassWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listIngressClass(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -24725,12 +25247,12 @@ export class ObservableInternalApiserverV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listStorageVersionWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listIngressClassWithHttpInfo(rsp))); })); } /** - * list or watch objects of kind StorageVersion + * list or watch objects of kind IngressClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -24743,22 +25265,26 @@ export class ObservableInternalApiserverV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listStorageVersion(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listStorageVersionWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listIngressClass(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listIngressClassWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * partially update the specified StorageVersion - * @param name name of the StorageVersion - * @param body + * list or watch objects of kind Ingress + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public patchStorageVersionWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.patchStorageVersion(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public listIngressForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listIngressForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -24772,36 +25298,45 @@ export class ObservableInternalApiserverV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchStorageVersionWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listIngressForAllNamespacesWithHttpInfo(rsp))); })); } /** - * partially update the specified StorageVersion - * @param name name of the StorageVersion - * @param body + * list or watch objects of kind Ingress + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public patchStorageVersion(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchStorageVersionWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listIngressForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listIngressForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * partially update status of the specified StorageVersion - * @param name name of the StorageVersion - * @param body + * list or watch objects of kind Ingress + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public patchStorageVersionStatusWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.patchStorageVersionStatus(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public listNamespacedIngressWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listNamespacedIngress(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -24815,31 +25350,46 @@ export class ObservableInternalApiserverV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchStorageVersionStatusWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listNamespacedIngressWithHttpInfo(rsp))); })); } /** - * partially update status of the specified StorageVersion - * @param name name of the StorageVersion - * @param body + * list or watch objects of kind Ingress + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public patchStorageVersionStatus(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchStorageVersionStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listNamespacedIngress(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listNamespacedIngressWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * read the specified StorageVersion - * @param name name of the StorageVersion + * list or watch objects of kind NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public readStorageVersionWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.readStorageVersion(name, pretty, _options); + public listNamespacedNetworkPolicyWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listNamespacedNetworkPolicy(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -24853,26 +25403,45 @@ export class ObservableInternalApiserverV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readStorageVersionWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listNamespacedNetworkPolicyWithHttpInfo(rsp))); })); } /** - * read the specified StorageVersion - * @param name name of the StorageVersion + * list or watch objects of kind NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public readStorageVersion(name: string, pretty?: string, _options?: Configuration): Observable { - return this.readStorageVersionWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listNamespacedNetworkPolicy(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listNamespacedNetworkPolicyWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * read status of the specified StorageVersion - * @param name name of the StorageVersion + * list or watch objects of kind NetworkPolicy + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public readStorageVersionStatusWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.readStorageVersionStatus(name, pretty, _options); + public listNetworkPolicyForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listNetworkPolicyForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -24886,30 +25455,40 @@ export class ObservableInternalApiserverV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readStorageVersionStatusWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listNetworkPolicyForAllNamespacesWithHttpInfo(rsp))); })); } /** - * read status of the specified StorageVersion - * @param name name of the StorageVersion + * list or watch objects of kind NetworkPolicy + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public readStorageVersionStatus(name: string, pretty?: string, _options?: Configuration): Observable { - return this.readStorageVersionStatusWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listNetworkPolicyForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listNetworkPolicyForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * replace the specified StorageVersion - * @param name name of the StorageVersion + * partially update the specified IngressClass + * @param name name of the IngressClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public replaceStorageVersionWithHttpInfo(name: string, body: V1alpha1StorageVersion, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.replaceStorageVersion(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public patchIngressClassWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.patchIngressClass(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -24923,34 +25502,37 @@ export class ObservableInternalApiserverV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceStorageVersionWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchIngressClassWithHttpInfo(rsp))); })); } /** - * replace the specified StorageVersion - * @param name name of the StorageVersion + * partially update the specified IngressClass + * @param name name of the IngressClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public replaceStorageVersion(name: string, body: V1alpha1StorageVersion, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceStorageVersionWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public patchIngressClass(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchIngressClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * replace status of the specified StorageVersion - * @param name name of the StorageVersion + * partially update the specified Ingress + * @param name name of the Ingress + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public replaceStorageVersionStatusWithHttpInfo(name: string, body: V1alpha1StorageVersion, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.replaceStorageVersionStatus(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public patchNamespacedIngressWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.patchNamespacedIngress(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -24964,46 +25546,38 @@ export class ObservableInternalApiserverV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceStorageVersionStatusWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchNamespacedIngressWithHttpInfo(rsp))); })); } /** - * replace status of the specified StorageVersion - * @param name name of the StorageVersion + * partially update the specified Ingress + * @param name name of the Ingress + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public replaceStorageVersionStatus(name: string, body: V1alpha1StorageVersion, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceStorageVersionStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - -} - -import { LogsApiRequestFactory, LogsApiResponseProcessor} from "../apis/LogsApi.js"; -export class ObservableLogsApi { - private requestFactory: LogsApiRequestFactory; - private responseProcessor: LogsApiResponseProcessor; - private configuration: Configuration; - - public constructor( - configuration: Configuration, - requestFactory?: LogsApiRequestFactory, - responseProcessor?: LogsApiResponseProcessor - ) { - this.configuration = configuration; - this.requestFactory = requestFactory || new LogsApiRequestFactory(configuration); - this.responseProcessor = responseProcessor || new LogsApiResponseProcessor(); + public patchNamespacedIngress(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchNamespacedIngressWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * @param logpath path to the log + * partially update status of the specified Ingress + * @param name name of the Ingress + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public logFileHandlerWithHttpInfo(logpath: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.logFileHandler(logpath, _options); + public patchNamespacedIngressStatusWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.patchNamespacedIngressStatus(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -25017,21 +25591,38 @@ export class ObservableLogsApi { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.logFileHandlerWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchNamespacedIngressStatusWithHttpInfo(rsp))); })); } /** - * @param logpath path to the log + * partially update status of the specified Ingress + * @param name name of the Ingress + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public logFileHandler(logpath: string, _options?: Configuration): Observable { - return this.logFileHandlerWithHttpInfo(logpath, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public patchNamespacedIngressStatus(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchNamespacedIngressStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** + * partially update the specified NetworkPolicy + * @param name name of the NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public logFileListHandlerWithHttpInfo(_options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.logFileListHandler(_options); + public patchNamespacedNetworkPolicyWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.patchNamespacedNetworkPolicy(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -25045,39 +25636,32 @@ export class ObservableLogsApi { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.logFileListHandlerWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchNamespacedNetworkPolicyWithHttpInfo(rsp))); })); } /** + * partially update the specified NetworkPolicy + * @param name name of the NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public logFileListHandler(_options?: Configuration): Observable { - return this.logFileListHandlerWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - -} - -import { NetworkingApiRequestFactory, NetworkingApiResponseProcessor} from "../apis/NetworkingApi.js"; -export class ObservableNetworkingApi { - private requestFactory: NetworkingApiRequestFactory; - private responseProcessor: NetworkingApiResponseProcessor; - private configuration: Configuration; - - public constructor( - configuration: Configuration, - requestFactory?: NetworkingApiRequestFactory, - responseProcessor?: NetworkingApiResponseProcessor - ) { - this.configuration = configuration; - this.requestFactory = requestFactory || new NetworkingApiRequestFactory(configuration); - this.responseProcessor = responseProcessor || new NetworkingApiResponseProcessor(); + public patchNamespacedNetworkPolicy(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchNamespacedNetworkPolicyWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * get information of a group + * read the specified IngressClass + * @param name name of the IngressClass + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public getAPIGroupWithHttpInfo(_options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.getAPIGroup(_options); + public readIngressClassWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.readIngressClass(name, pretty, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -25091,45 +25675,27 @@ export class ObservableNetworkingApi { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getAPIGroupWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readIngressClassWithHttpInfo(rsp))); })); } /** - * get information of a group + * read the specified IngressClass + * @param name name of the IngressClass + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public getAPIGroup(_options?: Configuration): Observable { - return this.getAPIGroupWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - -} - -import { NetworkingV1ApiRequestFactory, NetworkingV1ApiResponseProcessor} from "../apis/NetworkingV1Api.js"; -export class ObservableNetworkingV1Api { - private requestFactory: NetworkingV1ApiRequestFactory; - private responseProcessor: NetworkingV1ApiResponseProcessor; - private configuration: Configuration; - - public constructor( - configuration: Configuration, - requestFactory?: NetworkingV1ApiRequestFactory, - responseProcessor?: NetworkingV1ApiResponseProcessor - ) { - this.configuration = configuration; - this.requestFactory = requestFactory || new NetworkingV1ApiRequestFactory(configuration); - this.responseProcessor = responseProcessor || new NetworkingV1ApiResponseProcessor(); + public readIngressClass(name: string, pretty?: string, _options?: Configuration): Observable { + return this.readIngressClassWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * create an IngressClass - * @param body + * read the specified Ingress + * @param name name of the Ingress + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createIngressClassWithHttpInfo(body: V1IngressClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.createIngressClass(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public readNamespacedIngressWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.readNamespacedIngress(name, namespace, pretty, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -25143,33 +25709,28 @@ export class ObservableNetworkingV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createIngressClassWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readNamespacedIngressWithHttpInfo(rsp))); })); } /** - * create an IngressClass - * @param body + * read the specified Ingress + * @param name name of the Ingress + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createIngressClass(body: V1IngressClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.createIngressClassWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public readNamespacedIngress(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable { + return this.readNamespacedIngressWithHttpInfo(name, namespace, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * create an Ingress + * read status of the specified Ingress + * @param name name of the Ingress * @param namespace object name and auth scope, such as for teams and projects - * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedIngressWithHttpInfo(namespace: string, body: V1Ingress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.createNamespacedIngress(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public readNamespacedIngressStatusWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.readNamespacedIngressStatus(name, namespace, pretty, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -25183,34 +25744,28 @@ export class ObservableNetworkingV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createNamespacedIngressWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readNamespacedIngressStatusWithHttpInfo(rsp))); })); } /** - * create an Ingress + * read status of the specified Ingress + * @param name name of the Ingress * @param namespace object name and auth scope, such as for teams and projects - * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedIngress(namespace: string, body: V1Ingress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.createNamespacedIngressWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public readNamespacedIngressStatus(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable { + return this.readNamespacedIngressStatusWithHttpInfo(name, namespace, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * create a NetworkPolicy + * read the specified NetworkPolicy + * @param name name of the NetworkPolicy * @param namespace object name and auth scope, such as for teams and projects - * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedNetworkPolicyWithHttpInfo(namespace: string, body: V1NetworkPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.createNamespacedNetworkPolicy(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public readNamespacedNetworkPolicyWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.readNamespacedNetworkPolicy(name, namespace, pretty, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -25224,42 +25779,31 @@ export class ObservableNetworkingV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createNamespacedNetworkPolicyWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readNamespacedNetworkPolicyWithHttpInfo(rsp))); })); } /** - * create a NetworkPolicy + * read the specified NetworkPolicy + * @param name name of the NetworkPolicy * @param namespace object name and auth scope, such as for teams and projects - * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedNetworkPolicy(namespace: string, body: V1NetworkPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.createNamespacedNetworkPolicyWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public readNamespacedNetworkPolicy(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable { + return this.readNamespacedNetworkPolicyWithHttpInfo(name, namespace, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete collection of IngressClass + * replace the specified IngressClass + * @param name name of the IngressClass + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public deleteCollectionIngressClassWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionIngressClass(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public replaceIngressClassWithHttpInfo(name: string, body: V1IngressClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.replaceIngressClass(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -25273,51 +25817,35 @@ export class ObservableNetworkingV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionIngressClassWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceIngressClassWithHttpInfo(rsp))); })); } /** - * delete collection of IngressClass + * replace the specified IngressClass + * @param name name of the IngressClass + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] - */ - public deleteCollectionIngressClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionIngressClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public replaceIngressClass(name: string, body: V1IngressClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceIngressClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete collection of Ingress + * replace the specified Ingress + * @param name name of the Ingress * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public deleteCollectionNamespacedIngressWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedIngress(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public replaceNamespacedIngressWithHttpInfo(name: string, namespace: string, body: V1Ingress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.replaceNamespacedIngress(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -25331,40 +25859,214 @@ export class ObservableNetworkingV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionNamespacedIngressWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceNamespacedIngressWithHttpInfo(rsp))); })); } /** - * delete collection of Ingress + * replace the specified Ingress + * @param name name of the Ingress * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public deleteCollectionNamespacedIngress(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedIngressWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public replaceNamespacedIngress(name: string, namespace: string, body: V1Ingress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceNamespacedIngressWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete collection of NetworkPolicy + * replace status of the specified Ingress + * @param name name of the Ingress * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public replaceNamespacedIngressStatusWithHttpInfo(name: string, namespace: string, body: V1Ingress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.replaceNamespacedIngressStatus(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceNamespacedIngressStatusWithHttpInfo(rsp))); + })); + } + + /** + * replace status of the specified Ingress + * @param name name of the Ingress + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public replaceNamespacedIngressStatus(name: string, namespace: string, body: V1Ingress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceNamespacedIngressStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + + /** + * replace the specified NetworkPolicy + * @param name name of the NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public replaceNamespacedNetworkPolicyWithHttpInfo(name: string, namespace: string, body: V1NetworkPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.replaceNamespacedNetworkPolicy(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceNamespacedNetworkPolicyWithHttpInfo(rsp))); + })); + } + + /** + * replace the specified NetworkPolicy + * @param name name of the NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public replaceNamespacedNetworkPolicy(name: string, namespace: string, body: V1NetworkPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceNamespacedNetworkPolicyWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + +} + +import { NetworkingV1beta1ApiRequestFactory, NetworkingV1beta1ApiResponseProcessor} from "../apis/NetworkingV1beta1Api"; +export class ObservableNetworkingV1beta1Api { + private requestFactory: NetworkingV1beta1ApiRequestFactory; + private responseProcessor: NetworkingV1beta1ApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: NetworkingV1beta1ApiRequestFactory, + responseProcessor?: NetworkingV1beta1ApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new NetworkingV1beta1ApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new NetworkingV1beta1ApiResponseProcessor(); + } + + /** + * create an IPAddress + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public createIPAddressWithHttpInfo(body: V1beta1IPAddress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.createIPAddress(body, pretty, dryRun, fieldManager, fieldValidation, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createIPAddressWithHttpInfo(rsp))); + })); + } + + /** + * create an IPAddress + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public createIPAddress(body: V1beta1IPAddress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.createIPAddressWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + + /** + * create a ServiceCIDR + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public createServiceCIDRWithHttpInfo(body: V1beta1ServiceCIDR, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.createServiceCIDR(body, pretty, dryRun, fieldManager, fieldValidation, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createServiceCIDRWithHttpInfo(rsp))); + })); + } + + /** + * create a ServiceCIDR + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public createServiceCIDR(body: V1beta1ServiceCIDR, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.createServiceCIDRWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + + /** + * delete collection of IPAddress * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -25375,8 +26077,8 @@ export class ObservableNetworkingV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedNetworkPolicyWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedNetworkPolicy(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionIPAddressWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionIPAddress(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -25390,18 +26092,18 @@ export class ObservableNetworkingV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionNamespacedNetworkPolicyWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionIPAddressWithHttpInfo(rsp))); })); } /** - * delete collection of NetworkPolicy - * @param namespace object name and auth scope, such as for teams and projects + * delete collection of IPAddress * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -25412,22 +26114,30 @@ export class ObservableNetworkingV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedNetworkPolicy(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedNetworkPolicyWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionIPAddress(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionIPAddressWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete an IngressClass - * @param name name of the IngressClass + * delete collection of ServiceCIDR * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteIngressClassWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteIngressClass(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteCollectionServiceCIDRWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionServiceCIDR(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -25441,37 +26151,45 @@ export class ObservableNetworkingV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteIngressClassWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionServiceCIDRWithHttpInfo(rsp))); })); } /** - * delete an IngressClass - * @param name name of the IngressClass + * delete collection of ServiceCIDR * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteIngressClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteIngressClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionServiceCIDR(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionServiceCIDRWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete an Ingress - * @param name name of the Ingress - * @param namespace object name and auth scope, such as for teams and projects + * delete an IPAddress + * @param name name of the IPAddress * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedIngressWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedIngress(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteIPAddressWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteIPAddress(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -25485,38 +26203,38 @@ export class ObservableNetworkingV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteNamespacedIngressWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteIPAddressWithHttpInfo(rsp))); })); } /** - * delete an Ingress - * @param name name of the Ingress - * @param namespace object name and auth scope, such as for teams and projects + * delete an IPAddress + * @param name name of the IPAddress * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedIngress(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedIngressWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteIPAddress(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteIPAddressWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete a NetworkPolicy - * @param name name of the NetworkPolicy - * @param namespace object name and auth scope, such as for teams and projects + * delete a ServiceCIDR + * @param name name of the ServiceCIDR * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedNetworkPolicyWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedNetworkPolicy(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteServiceCIDRWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteServiceCIDR(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -25530,23 +26248,23 @@ export class ObservableNetworkingV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteNamespacedNetworkPolicyWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteServiceCIDRWithHttpInfo(rsp))); })); } /** - * delete a NetworkPolicy - * @param name name of the NetworkPolicy - * @param namespace object name and auth scope, such as for teams and projects + * delete a ServiceCIDR + * @param name name of the ServiceCIDR * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedNetworkPolicy(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedNetworkPolicyWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteServiceCIDR(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteServiceCIDRWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -25579,7 +26297,7 @@ export class ObservableNetworkingV1Api { } /** - * list or watch objects of kind IngressClass + * list or watch objects of kind IPAddress * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -25592,8 +26310,8 @@ export class ObservableNetworkingV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listIngressClassWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listIngressClass(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listIPAddressWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listIPAddress(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -25607,12 +26325,12 @@ export class ObservableNetworkingV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listIngressClassWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listIPAddressWithHttpInfo(rsp))); })); } /** - * list or watch objects of kind IngressClass + * list or watch objects of kind IPAddress * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -25625,26 +26343,26 @@ export class ObservableNetworkingV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listIngressClass(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listIngressClassWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listIPAddress(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listIPAddressWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * list or watch objects of kind Ingress + * list or watch objects of kind ServiceCIDR + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listIngressForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listIngressForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listServiceCIDRWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listServiceCIDR(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -25658,45 +26376,40 @@ export class ObservableNetworkingV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listIngressForAllNamespacesWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listServiceCIDRWithHttpInfo(rsp))); })); } /** - * list or watch objects of kind Ingress + * list or watch objects of kind ServiceCIDR + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listIngressForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listIngressForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listServiceCIDR(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listServiceCIDRWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * list or watch objects of kind Ingress - * @param namespace object name and auth scope, such as for teams and projects + * partially update the specified IPAddress + * @param name name of the IPAddress + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public listNamespacedIngressWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listNamespacedIngress(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public patchIPAddressWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.patchIPAddress(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -25710,46 +26423,36 @@ export class ObservableNetworkingV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listNamespacedIngressWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchIPAddressWithHttpInfo(rsp))); })); } /** - * list or watch objects of kind Ingress - * @param namespace object name and auth scope, such as for teams and projects + * partially update the specified IPAddress + * @param name name of the IPAddress + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public listNamespacedIngress(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listNamespacedIngressWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public patchIPAddress(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchIPAddressWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * list or watch objects of kind NetworkPolicy - * @param namespace object name and auth scope, such as for teams and projects + * partially update the specified ServiceCIDR + * @param name name of the ServiceCIDR + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public listNamespacedNetworkPolicyWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listNamespacedNetworkPolicy(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public patchServiceCIDRWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.patchServiceCIDR(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -25763,45 +26466,36 @@ export class ObservableNetworkingV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listNamespacedNetworkPolicyWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchServiceCIDRWithHttpInfo(rsp))); })); } /** - * list or watch objects of kind NetworkPolicy - * @param namespace object name and auth scope, such as for teams and projects + * partially update the specified ServiceCIDR + * @param name name of the ServiceCIDR + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public listNamespacedNetworkPolicy(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listNamespacedNetworkPolicyWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public patchServiceCIDR(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchServiceCIDRWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * list or watch objects of kind NetworkPolicy - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * partially update status of the specified ServiceCIDR + * @param name name of the ServiceCIDR + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public listNetworkPolicyForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listNetworkPolicyForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public patchServiceCIDRStatusWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.patchServiceCIDRStatus(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -25815,40 +26509,134 @@ export class ObservableNetworkingV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listNetworkPolicyForAllNamespacesWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchServiceCIDRStatusWithHttpInfo(rsp))); })); } /** - * list or watch objects of kind NetworkPolicy - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * partially update status of the specified ServiceCIDR + * @param name name of the ServiceCIDR + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public listNetworkPolicyForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listNetworkPolicyForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public patchServiceCIDRStatus(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchServiceCIDRStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * partially update the specified IngressClass - * @param name name of the IngressClass + * read the specified IPAddress + * @param name name of the IPAddress + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readIPAddressWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.readIPAddress(name, pretty, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readIPAddressWithHttpInfo(rsp))); + })); + } + + /** + * read the specified IPAddress + * @param name name of the IPAddress + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readIPAddress(name: string, pretty?: string, _options?: Configuration): Observable { + return this.readIPAddressWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + + /** + * read the specified ServiceCIDR + * @param name name of the ServiceCIDR + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readServiceCIDRWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.readServiceCIDR(name, pretty, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readServiceCIDRWithHttpInfo(rsp))); + })); + } + + /** + * read the specified ServiceCIDR + * @param name name of the ServiceCIDR + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readServiceCIDR(name: string, pretty?: string, _options?: Configuration): Observable { + return this.readServiceCIDRWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + + /** + * read status of the specified ServiceCIDR + * @param name name of the ServiceCIDR + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readServiceCIDRStatusWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.readServiceCIDRStatus(name, pretty, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readServiceCIDRStatusWithHttpInfo(rsp))); + })); + } + + /** + * read status of the specified ServiceCIDR + * @param name name of the ServiceCIDR + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readServiceCIDRStatus(name: string, pretty?: string, _options?: Configuration): Observable { + return this.readServiceCIDRStatusWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + + /** + * replace the specified IPAddress + * @param name name of the IPAddress * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchIngressClassWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.patchIngressClass(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public replaceIPAddressWithHttpInfo(name: string, body: V1beta1IPAddress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.replaceIPAddress(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -25862,37 +26650,34 @@ export class ObservableNetworkingV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchIngressClassWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceIPAddressWithHttpInfo(rsp))); })); } /** - * partially update the specified IngressClass - * @param name name of the IngressClass + * replace the specified IPAddress + * @param name name of the IPAddress * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchIngressClass(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchIngressClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public replaceIPAddress(name: string, body: V1beta1IPAddress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceIPAddressWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * partially update the specified Ingress - * @param name name of the Ingress - * @param namespace object name and auth scope, such as for teams and projects + * replace the specified ServiceCIDR + * @param name name of the ServiceCIDR * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedIngressWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.patchNamespacedIngress(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public replaceServiceCIDRWithHttpInfo(name: string, body: V1beta1ServiceCIDR, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.replaceServiceCIDR(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -25906,38 +26691,34 @@ export class ObservableNetworkingV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchNamespacedIngressWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceServiceCIDRWithHttpInfo(rsp))); })); } /** - * partially update the specified Ingress - * @param name name of the Ingress - * @param namespace object name and auth scope, such as for teams and projects + * replace the specified ServiceCIDR + * @param name name of the ServiceCIDR * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedIngress(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchNamespacedIngressWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public replaceServiceCIDR(name: string, body: V1beta1ServiceCIDR, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceServiceCIDRWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * partially update status of the specified Ingress - * @param name name of the Ingress - * @param namespace object name and auth scope, such as for teams and projects + * replace status of the specified ServiceCIDR + * @param name name of the ServiceCIDR * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedIngressStatusWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.patchNamespacedIngressStatus(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public replaceServiceCIDRStatusWithHttpInfo(name: string, body: V1beta1ServiceCIDR, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.replaceServiceCIDRStatus(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -25951,38 +26732,98 @@ export class ObservableNetworkingV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchNamespacedIngressStatusWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceServiceCIDRStatusWithHttpInfo(rsp))); })); } /** - * partially update status of the specified Ingress - * @param name name of the Ingress - * @param namespace object name and auth scope, such as for teams and projects + * replace status of the specified ServiceCIDR + * @param name name of the ServiceCIDR * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedIngressStatus(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchNamespacedIngressStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public replaceServiceCIDRStatus(name: string, body: V1beta1ServiceCIDR, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceServiceCIDRStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + +} + +import { NodeApiRequestFactory, NodeApiResponseProcessor} from "../apis/NodeApi"; +export class ObservableNodeApi { + private requestFactory: NodeApiRequestFactory; + private responseProcessor: NodeApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: NodeApiRequestFactory, + responseProcessor?: NodeApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new NodeApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new NodeApiResponseProcessor(); } /** - * partially update the specified NetworkPolicy - * @param name name of the NetworkPolicy - * @param namespace object name and auth scope, such as for teams and projects + * get information of a group + */ + public getAPIGroupWithHttpInfo(_options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.getAPIGroup(_options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getAPIGroupWithHttpInfo(rsp))); + })); + } + + /** + * get information of a group + */ + public getAPIGroup(_options?: Configuration): Observable { + return this.getAPIGroupWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + +} + +import { NodeV1ApiRequestFactory, NodeV1ApiResponseProcessor} from "../apis/NodeV1Api"; +export class ObservableNodeV1Api { + private requestFactory: NodeV1ApiRequestFactory; + private responseProcessor: NodeV1ApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: NodeV1ApiRequestFactory, + responseProcessor?: NodeV1ApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new NodeV1ApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new NodeV1ApiResponseProcessor(); + } + + /** + * create a RuntimeClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedNetworkPolicyWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.patchNamespacedNetworkPolicy(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public createRuntimeClassWithHttpInfo(body: V1RuntimeClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.createRuntimeClass(body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -25996,32 +26837,42 @@ export class ObservableNetworkingV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchNamespacedNetworkPolicyWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createRuntimeClassWithHttpInfo(rsp))); })); } /** - * partially update the specified NetworkPolicy - * @param name name of the NetworkPolicy - * @param namespace object name and auth scope, such as for teams and projects + * create a RuntimeClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedNetworkPolicy(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchNamespacedNetworkPolicyWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public createRuntimeClass(body: V1RuntimeClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.createRuntimeClassWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * read the specified IngressClass - * @param name name of the IngressClass + * delete collection of RuntimeClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] */ - public readIngressClassWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.readIngressClass(name, pretty, _options); + public deleteCollectionRuntimeClassWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionRuntimeClass(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -26035,27 +26886,45 @@ export class ObservableNetworkingV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readIngressClassWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionRuntimeClassWithHttpInfo(rsp))); })); } /** - * read the specified IngressClass - * @param name name of the IngressClass + * delete collection of RuntimeClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] */ - public readIngressClass(name: string, pretty?: string, _options?: Configuration): Observable { - return this.readIngressClassWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionRuntimeClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionRuntimeClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * read the specified Ingress - * @param name name of the Ingress - * @param namespace object name and auth scope, such as for teams and projects + * delete a RuntimeClass + * @param name name of the RuntimeClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] */ - public readNamespacedIngressWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.readNamespacedIngress(name, namespace, pretty, _options); + public deleteRuntimeClassWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteRuntimeClass(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -26069,28 +26938,30 @@ export class ObservableNetworkingV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readNamespacedIngressWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteRuntimeClassWithHttpInfo(rsp))); })); } /** - * read the specified Ingress - * @param name name of the Ingress - * @param namespace object name and auth scope, such as for teams and projects + * delete a RuntimeClass + * @param name name of the RuntimeClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] */ - public readNamespacedIngress(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable { - return this.readNamespacedIngressWithHttpInfo(name, namespace, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteRuntimeClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteRuntimeClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * read status of the specified Ingress - * @param name name of the Ingress - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * get available resources */ - public readNamespacedIngressStatusWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.readNamespacedIngressStatus(name, namespace, pretty, _options); + public getAPIResourcesWithHttpInfo(_options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.getAPIResources(_options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -26104,28 +26975,33 @@ export class ObservableNetworkingV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readNamespacedIngressStatusWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getAPIResourcesWithHttpInfo(rsp))); })); } /** - * read status of the specified Ingress - * @param name name of the Ingress - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * get available resources */ - public readNamespacedIngressStatus(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable { - return this.readNamespacedIngressStatusWithHttpInfo(name, namespace, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public getAPIResources(_options?: Configuration): Observable { + return this.getAPIResourcesWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * read the specified NetworkPolicy - * @param name name of the NetworkPolicy - * @param namespace object name and auth scope, such as for teams and projects + * list or watch objects of kind RuntimeClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public readNamespacedNetworkPolicyWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.readNamespacedNetworkPolicy(name, namespace, pretty, _options); + public listRuntimeClassWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listRuntimeClass(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -26139,31 +27015,40 @@ export class ObservableNetworkingV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readNamespacedNetworkPolicyWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listRuntimeClassWithHttpInfo(rsp))); })); } /** - * read the specified NetworkPolicy - * @param name name of the NetworkPolicy - * @param namespace object name and auth scope, such as for teams and projects + * list or watch objects of kind RuntimeClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public readNamespacedNetworkPolicy(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable { - return this.readNamespacedNetworkPolicyWithHttpInfo(name, namespace, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listRuntimeClass(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listRuntimeClassWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * replace the specified IngressClass - * @param name name of the IngressClass + * partially update the specified RuntimeClass + * @param name name of the RuntimeClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public replaceIngressClassWithHttpInfo(name: string, body: V1IngressClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.replaceIngressClass(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public patchRuntimeClassWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.patchRuntimeClass(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -26177,35 +27062,121 @@ export class ObservableNetworkingV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceIngressClassWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchRuntimeClassWithHttpInfo(rsp))); })); } /** - * replace the specified IngressClass - * @param name name of the IngressClass + * partially update the specified RuntimeClass + * @param name name of the RuntimeClass + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchRuntimeClass(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchRuntimeClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + + /** + * read the specified RuntimeClass + * @param name name of the RuntimeClass + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readRuntimeClassWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.readRuntimeClass(name, pretty, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readRuntimeClassWithHttpInfo(rsp))); + })); + } + + /** + * read the specified RuntimeClass + * @param name name of the RuntimeClass + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readRuntimeClass(name: string, pretty?: string, _options?: Configuration): Observable { + return this.readRuntimeClassWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + + /** + * replace the specified RuntimeClass + * @param name name of the RuntimeClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceIngressClass(name: string, body: V1IngressClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceIngressClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public replaceRuntimeClassWithHttpInfo(name: string, body: V1RuntimeClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.replaceRuntimeClass(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceRuntimeClassWithHttpInfo(rsp))); + })); } /** - * replace the specified Ingress - * @param name name of the Ingress - * @param namespace object name and auth scope, such as for teams and projects + * replace the specified RuntimeClass + * @param name name of the RuntimeClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedIngressWithHttpInfo(name: string, namespace: string, body: V1Ingress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.replaceNamespacedIngress(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceRuntimeClass(name: string, body: V1RuntimeClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceRuntimeClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + +} + +import { OpenidApiRequestFactory, OpenidApiResponseProcessor} from "../apis/OpenidApi"; +export class ObservableOpenidApi { + private requestFactory: OpenidApiRequestFactory; + private responseProcessor: OpenidApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: OpenidApiRequestFactory, + responseProcessor?: OpenidApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new OpenidApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new OpenidApiResponseProcessor(); + } + + /** + * get service account issuer OpenID JSON Web Key Set (contains public token verification keys) + */ + public getServiceAccountIssuerOpenIDKeysetWithHttpInfo(_options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.getServiceAccountIssuerOpenIDKeyset(_options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -26219,27 +27190,84 @@ export class ObservableNetworkingV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceNamespacedIngressWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getServiceAccountIssuerOpenIDKeysetWithHttpInfo(rsp))); + })); + } + + /** + * get service account issuer OpenID JSON Web Key Set (contains public token verification keys) + */ + public getServiceAccountIssuerOpenIDKeyset(_options?: Configuration): Observable { + return this.getServiceAccountIssuerOpenIDKeysetWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + +} + +import { PolicyApiRequestFactory, PolicyApiResponseProcessor} from "../apis/PolicyApi"; +export class ObservablePolicyApi { + private requestFactory: PolicyApiRequestFactory; + private responseProcessor: PolicyApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: PolicyApiRequestFactory, + responseProcessor?: PolicyApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new PolicyApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new PolicyApiResponseProcessor(); + } + + /** + * get information of a group + */ + public getAPIGroupWithHttpInfo(_options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.getAPIGroup(_options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getAPIGroupWithHttpInfo(rsp))); })); } - /** - * replace the specified Ingress - * @param name name of the Ingress - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - */ - public replaceNamespacedIngress(name: string, namespace: string, body: V1Ingress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceNamespacedIngressWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + /** + * get information of a group + */ + public getAPIGroup(_options?: Configuration): Observable { + return this.getAPIGroupWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + +} + +import { PolicyV1ApiRequestFactory, PolicyV1ApiResponseProcessor} from "../apis/PolicyV1Api"; +export class ObservablePolicyV1Api { + private requestFactory: PolicyV1ApiRequestFactory; + private responseProcessor: PolicyV1ApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: PolicyV1ApiRequestFactory, + responseProcessor?: PolicyV1ApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new PolicyV1ApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new PolicyV1ApiResponseProcessor(); } /** - * replace status of the specified Ingress - * @param name name of the Ingress + * create a PodDisruptionBudget * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -26247,8 +27275,8 @@ export class ObservableNetworkingV1Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedIngressStatusWithHttpInfo(name: string, namespace: string, body: V1Ingress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.replaceNamespacedIngressStatus(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createNamespacedPodDisruptionBudgetWithHttpInfo(namespace: string, body: V1PodDisruptionBudget, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.createNamespacedPodDisruptionBudget(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -26262,13 +27290,12 @@ export class ObservableNetworkingV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceNamespacedIngressStatusWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createNamespacedPodDisruptionBudgetWithHttpInfo(rsp))); })); } /** - * replace status of the specified Ingress - * @param name name of the Ingress + * create a PodDisruptionBudget * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -26276,22 +27303,31 @@ export class ObservableNetworkingV1Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedIngressStatus(name: string, namespace: string, body: V1Ingress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceNamespacedIngressStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public createNamespacedPodDisruptionBudget(namespace: string, body: V1PodDisruptionBudget, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.createNamespacedPodDisruptionBudgetWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * replace the specified NetworkPolicy - * @param name name of the NetworkPolicy + * delete collection of PodDisruptionBudget * @param namespace object name and auth scope, such as for teams and projects - * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] */ - public replaceNamespacedNetworkPolicyWithHttpInfo(name: string, namespace: string, body: V1NetworkPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.replaceNamespacedNetworkPolicy(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public deleteCollectionNamespacedPodDisruptionBudgetWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedPodDisruptionBudget(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -26305,52 +27341,47 @@ export class ObservableNetworkingV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceNamespacedNetworkPolicyWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionNamespacedPodDisruptionBudgetWithHttpInfo(rsp))); })); } /** - * replace the specified NetworkPolicy - * @param name name of the NetworkPolicy + * delete collection of PodDisruptionBudget * @param namespace object name and auth scope, such as for teams and projects - * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] */ - public replaceNamespacedNetworkPolicy(name: string, namespace: string, body: V1NetworkPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceNamespacedNetworkPolicyWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - -} - -import { NetworkingV1alpha1ApiRequestFactory, NetworkingV1alpha1ApiResponseProcessor} from "../apis/NetworkingV1alpha1Api.js"; -export class ObservableNetworkingV1alpha1Api { - private requestFactory: NetworkingV1alpha1ApiRequestFactory; - private responseProcessor: NetworkingV1alpha1ApiResponseProcessor; - private configuration: Configuration; - - public constructor( - configuration: Configuration, - requestFactory?: NetworkingV1alpha1ApiRequestFactory, - responseProcessor?: NetworkingV1alpha1ApiResponseProcessor - ) { - this.configuration = configuration; - this.requestFactory = requestFactory || new NetworkingV1alpha1ApiRequestFactory(configuration); - this.responseProcessor = responseProcessor || new NetworkingV1alpha1ApiResponseProcessor(); + public deleteCollectionNamespacedPodDisruptionBudget(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedPodDisruptionBudgetWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * create an IPAddress - * @param body + * delete a PodDisruptionBudget + * @param name name of the PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] */ - public createIPAddressWithHttpInfo(body: V1alpha1IPAddress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.createIPAddress(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public deleteNamespacedPodDisruptionBudgetWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedPodDisruptionBudget(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -26364,32 +27395,31 @@ export class ObservableNetworkingV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createIPAddressWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteNamespacedPodDisruptionBudgetWithHttpInfo(rsp))); })); } /** - * create an IPAddress - * @param body + * delete a PodDisruptionBudget + * @param name name of the PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] */ - public createIPAddress(body: V1alpha1IPAddress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.createIPAddressWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedPodDisruptionBudget(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedPodDisruptionBudgetWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * create a ServiceCIDR - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * get available resources */ - public createServiceCIDRWithHttpInfo(body: V1alpha1ServiceCIDR, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.createServiceCIDR(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public getAPIResourcesWithHttpInfo(_options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.getAPIResources(_options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -26403,41 +27433,34 @@ export class ObservableNetworkingV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createServiceCIDRWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getAPIResourcesWithHttpInfo(rsp))); })); } /** - * create a ServiceCIDR - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * get available resources */ - public createServiceCIDR(body: V1alpha1ServiceCIDR, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.createServiceCIDRWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public getAPIResources(_options?: Configuration): Observable { + return this.getAPIResourcesWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete collection of IPAddress + * list or watch objects of kind PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public deleteCollectionIPAddressWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionIPAddress(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public listNamespacedPodDisruptionBudgetWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listNamespacedPodDisruptionBudget(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -26451,50 +27474,45 @@ export class ObservableNetworkingV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionIPAddressWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listNamespacedPodDisruptionBudgetWithHttpInfo(rsp))); })); } /** - * delete collection of IPAddress + * list or watch objects of kind PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public deleteCollectionIPAddress(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionIPAddressWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listNamespacedPodDisruptionBudget(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listNamespacedPodDisruptionBudgetWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete collection of ServiceCIDR - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * list or watch objects of kind PodDisruptionBudget + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public deleteCollectionServiceCIDRWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionServiceCIDR(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public listPodDisruptionBudgetForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listPodDisruptionBudgetForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -26508,43 +27526,41 @@ export class ObservableNetworkingV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionServiceCIDRWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listPodDisruptionBudgetForAllNamespacesWithHttpInfo(rsp))); })); } /** - * delete collection of ServiceCIDR - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * list or watch objects of kind PodDisruptionBudget + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public deleteCollectionServiceCIDR(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionServiceCIDRWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listPodDisruptionBudgetForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listPodDisruptionBudgetForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete an IPAddress - * @param name name of the IPAddress + * partially update the specified PodDisruptionBudget + * @param name name of the PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [body] + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public deleteIPAddressWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteIPAddress(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public patchNamespacedPodDisruptionBudgetWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.patchNamespacedPodDisruptionBudget(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -26558,36 +27574,38 @@ export class ObservableNetworkingV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteIPAddressWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchNamespacedPodDisruptionBudgetWithHttpInfo(rsp))); })); } /** - * delete an IPAddress - * @param name name of the IPAddress + * partially update the specified PodDisruptionBudget + * @param name name of the PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [body] + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public deleteIPAddress(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteIPAddressWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public patchNamespacedPodDisruptionBudget(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchNamespacedPodDisruptionBudgetWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete a ServiceCIDR - * @param name name of the ServiceCIDR + * partially update status of the specified PodDisruptionBudget + * @param name name of the PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [body] + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public deleteServiceCIDRWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteServiceCIDR(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public patchNamespacedPodDisruptionBudgetStatusWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.patchNamespacedPodDisruptionBudgetStatus(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -26601,29 +27619,33 @@ export class ObservableNetworkingV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteServiceCIDRWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchNamespacedPodDisruptionBudgetStatusWithHttpInfo(rsp))); })); } /** - * delete a ServiceCIDR - * @param name name of the ServiceCIDR + * partially update status of the specified PodDisruptionBudget + * @param name name of the PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [body] + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public deleteServiceCIDR(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteServiceCIDRWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public patchNamespacedPodDisruptionBudgetStatus(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchNamespacedPodDisruptionBudgetStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * get available resources + * read the specified PodDisruptionBudget + * @param name name of the PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public getAPIResourcesWithHttpInfo(_options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.getAPIResources(_options); + public readNamespacedPodDisruptionBudgetWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.readNamespacedPodDisruptionBudget(name, namespace, pretty, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -26637,33 +27659,28 @@ export class ObservableNetworkingV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getAPIResourcesWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readNamespacedPodDisruptionBudgetWithHttpInfo(rsp))); })); } /** - * get available resources + * read the specified PodDisruptionBudget + * @param name name of the PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public getAPIResources(_options?: Configuration): Observable { - return this.getAPIResourcesWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public readNamespacedPodDisruptionBudget(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable { + return this.readNamespacedPodDisruptionBudgetWithHttpInfo(name, namespace, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * list or watch objects of kind IPAddress + * read status of the specified PodDisruptionBudget + * @param name name of the PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listIPAddressWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listIPAddress(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public readNamespacedPodDisruptionBudgetStatusWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.readNamespacedPodDisruptionBudgetStatus(name, namespace, pretty, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -26677,44 +27694,32 @@ export class ObservableNetworkingV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listIPAddressWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readNamespacedPodDisruptionBudgetStatusWithHttpInfo(rsp))); })); } /** - * list or watch objects of kind IPAddress + * read status of the specified PodDisruptionBudget + * @param name name of the PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listIPAddress(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listIPAddressWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public readNamespacedPodDisruptionBudgetStatus(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable { + return this.readNamespacedPodDisruptionBudgetStatusWithHttpInfo(name, namespace, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * list or watch objects of kind ServiceCIDR + * replace the specified PodDisruptionBudget + * @param name name of the PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public listServiceCIDRWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listServiceCIDR(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public replaceNamespacedPodDisruptionBudgetWithHttpInfo(name: string, namespace: string, body: V1PodDisruptionBudget, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.replaceNamespacedPodDisruptionBudget(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -26728,40 +27733,36 @@ export class ObservableNetworkingV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listServiceCIDRWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceNamespacedPodDisruptionBudgetWithHttpInfo(rsp))); })); } /** - * list or watch objects of kind ServiceCIDR + * replace the specified PodDisruptionBudget + * @param name name of the PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public listServiceCIDR(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listServiceCIDRWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public replaceNamespacedPodDisruptionBudget(name: string, namespace: string, body: V1PodDisruptionBudget, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceNamespacedPodDisruptionBudgetWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * partially update the specified IPAddress - * @param name name of the IPAddress + * replace status of the specified PodDisruptionBudget + * @param name name of the PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchIPAddressWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.patchIPAddress(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public replaceNamespacedPodDisruptionBudgetStatusWithHttpInfo(name: string, namespace: string, body: V1PodDisruptionBudget, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.replaceNamespacedPodDisruptionBudgetStatus(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -26775,36 +27776,99 @@ export class ObservableNetworkingV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchIPAddressWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceNamespacedPodDisruptionBudgetStatusWithHttpInfo(rsp))); })); } /** - * partially update the specified IPAddress - * @param name name of the IPAddress + * replace status of the specified PodDisruptionBudget + * @param name name of the PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchIPAddress(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchIPAddressWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public replaceNamespacedPodDisruptionBudgetStatus(name: string, namespace: string, body: V1PodDisruptionBudget, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceNamespacedPodDisruptionBudgetStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + +} + +import { RbacAuthorizationApiRequestFactory, RbacAuthorizationApiResponseProcessor} from "../apis/RbacAuthorizationApi"; +export class ObservableRbacAuthorizationApi { + private requestFactory: RbacAuthorizationApiRequestFactory; + private responseProcessor: RbacAuthorizationApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: RbacAuthorizationApiRequestFactory, + responseProcessor?: RbacAuthorizationApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new RbacAuthorizationApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new RbacAuthorizationApiResponseProcessor(); + } + + /** + * get information of a group + */ + public getAPIGroupWithHttpInfo(_options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.getAPIGroup(_options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getAPIGroupWithHttpInfo(rsp))); + })); + } + + /** + * get information of a group + */ + public getAPIGroup(_options?: Configuration): Observable { + return this.getAPIGroupWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + +} + +import { RbacAuthorizationV1ApiRequestFactory, RbacAuthorizationV1ApiResponseProcessor} from "../apis/RbacAuthorizationV1Api"; +export class ObservableRbacAuthorizationV1Api { + private requestFactory: RbacAuthorizationV1ApiRequestFactory; + private responseProcessor: RbacAuthorizationV1ApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: RbacAuthorizationV1ApiRequestFactory, + responseProcessor?: RbacAuthorizationV1ApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new RbacAuthorizationV1ApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new RbacAuthorizationV1ApiResponseProcessor(); } /** - * partially update the specified ServiceCIDR - * @param name name of the ServiceCIDR + * create a ClusterRole * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchServiceCIDRWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.patchServiceCIDR(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public createClusterRoleWithHttpInfo(body: V1ClusterRole, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.createClusterRole(body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -26818,36 +27882,32 @@ export class ObservableNetworkingV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchServiceCIDRWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createClusterRoleWithHttpInfo(rsp))); })); } /** - * partially update the specified ServiceCIDR - * @param name name of the ServiceCIDR + * create a ClusterRole * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchServiceCIDR(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchServiceCIDRWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public createClusterRole(body: V1ClusterRole, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.createClusterRoleWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * partially update status of the specified ServiceCIDR - * @param name name of the ServiceCIDR + * create a ClusterRoleBinding * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchServiceCIDRStatusWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.patchServiceCIDRStatus(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public createClusterRoleBindingWithHttpInfo(body: V1ClusterRoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.createClusterRoleBinding(body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -26861,31 +27921,33 @@ export class ObservableNetworkingV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchServiceCIDRStatusWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createClusterRoleBindingWithHttpInfo(rsp))); })); } /** - * partially update status of the specified ServiceCIDR - * @param name name of the ServiceCIDR + * create a ClusterRoleBinding * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchServiceCIDRStatus(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchServiceCIDRStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public createClusterRoleBinding(body: V1ClusterRoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.createClusterRoleBindingWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * read the specified IPAddress - * @param name name of the IPAddress + * create a Role + * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public readIPAddressWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.readIPAddress(name, pretty, _options); + public createNamespacedRoleWithHttpInfo(namespace: string, body: V1Role, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.createNamespacedRole(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -26899,26 +27961,34 @@ export class ObservableNetworkingV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readIPAddressWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createNamespacedRoleWithHttpInfo(rsp))); })); } /** - * read the specified IPAddress - * @param name name of the IPAddress + * create a Role + * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public readIPAddress(name: string, pretty?: string, _options?: Configuration): Observable { - return this.readIPAddressWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public createNamespacedRole(namespace: string, body: V1Role, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.createNamespacedRoleWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * read the specified ServiceCIDR - * @param name name of the ServiceCIDR + * create a RoleBinding + * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public readServiceCIDRWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.readServiceCIDR(name, pretty, _options); + public createNamespacedRoleBindingWithHttpInfo(namespace: string, body: V1RoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.createNamespacedRoleBinding(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -26932,26 +28002,36 @@ export class ObservableNetworkingV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readServiceCIDRWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createNamespacedRoleBindingWithHttpInfo(rsp))); })); } /** - * read the specified ServiceCIDR - * @param name name of the ServiceCIDR + * create a RoleBinding + * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public readServiceCIDR(name: string, pretty?: string, _options?: Configuration): Observable { - return this.readServiceCIDRWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public createNamespacedRoleBinding(namespace: string, body: V1RoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.createNamespacedRoleBindingWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * read status of the specified ServiceCIDR - * @param name name of the ServiceCIDR + * delete a ClusterRole + * @param name name of the ClusterRole * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] */ - public readServiceCIDRStatusWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.readServiceCIDRStatus(name, pretty, _options); + public deleteClusterRoleWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteClusterRole(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -26965,30 +28045,38 @@ export class ObservableNetworkingV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readServiceCIDRStatusWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteClusterRoleWithHttpInfo(rsp))); })); } /** - * read status of the specified ServiceCIDR - * @param name name of the ServiceCIDR + * delete a ClusterRole + * @param name name of the ClusterRole * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] */ - public readServiceCIDRStatus(name: string, pretty?: string, _options?: Configuration): Observable { - return this.readServiceCIDRStatusWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteClusterRole(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteClusterRoleWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * replace the specified IPAddress - * @param name name of the IPAddress - * @param body + * delete a ClusterRoleBinding + * @param name name of the ClusterRoleBinding * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] */ - public replaceIPAddressWithHttpInfo(name: string, body: V1alpha1IPAddress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.replaceIPAddress(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public deleteClusterRoleBindingWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteClusterRoleBinding(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -27002,34 +28090,45 @@ export class ObservableNetworkingV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceIPAddressWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteClusterRoleBindingWithHttpInfo(rsp))); })); } /** - * replace the specified IPAddress - * @param name name of the IPAddress - * @param body + * delete a ClusterRoleBinding + * @param name name of the ClusterRoleBinding * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] */ - public replaceIPAddress(name: string, body: V1alpha1IPAddress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceIPAddressWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteClusterRoleBinding(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteClusterRoleBindingWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * replace the specified ServiceCIDR - * @param name name of the ServiceCIDR - * @param body + * delete collection of ClusterRole * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] */ - public replaceServiceCIDRWithHttpInfo(name: string, body: V1alpha1ServiceCIDR, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.replaceServiceCIDR(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public deleteCollectionClusterRoleWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionClusterRole(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -27043,34 +28142,52 @@ export class ObservableNetworkingV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceServiceCIDRWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionClusterRoleWithHttpInfo(rsp))); })); } /** - * replace the specified ServiceCIDR - * @param name name of the ServiceCIDR - * @param body + * delete collection of ClusterRole * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] */ - public replaceServiceCIDR(name: string, body: V1alpha1ServiceCIDR, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceServiceCIDRWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionClusterRole(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionClusterRoleWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * replace status of the specified ServiceCIDR - * @param name name of the ServiceCIDR - * @param body + * delete collection of ClusterRoleBinding * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] */ - public replaceServiceCIDRStatusWithHttpInfo(name: string, body: V1alpha1ServiceCIDR, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.replaceServiceCIDRStatus(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public deleteCollectionClusterRoleBindingWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionClusterRoleBinding(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -27084,46 +28201,53 @@ export class ObservableNetworkingV1alpha1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceServiceCIDRStatusWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionClusterRoleBindingWithHttpInfo(rsp))); })); } /** - * replace status of the specified ServiceCIDR - * @param name name of the ServiceCIDR - * @param body + * delete collection of ClusterRoleBinding * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] */ - public replaceServiceCIDRStatus(name: string, body: V1alpha1ServiceCIDR, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceServiceCIDRStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - -} - -import { NodeApiRequestFactory, NodeApiResponseProcessor} from "../apis/NodeApi.js"; -export class ObservableNodeApi { - private requestFactory: NodeApiRequestFactory; - private responseProcessor: NodeApiResponseProcessor; - private configuration: Configuration; - - public constructor( - configuration: Configuration, - requestFactory?: NodeApiRequestFactory, - responseProcessor?: NodeApiResponseProcessor - ) { - this.configuration = configuration; - this.requestFactory = requestFactory || new NodeApiRequestFactory(configuration); - this.responseProcessor = responseProcessor || new NodeApiResponseProcessor(); + public deleteCollectionClusterRoleBinding(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionClusterRoleBindingWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * get information of a group + * delete collection of Role + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] */ - public getAPIGroupWithHttpInfo(_options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.getAPIGroup(_options); + public deleteCollectionNamespacedRoleWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedRole(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -27137,45 +28261,54 @@ export class ObservableNodeApi { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getAPIGroupWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionNamespacedRoleWithHttpInfo(rsp))); })); } /** - * get information of a group + * delete collection of Role + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] */ - public getAPIGroup(_options?: Configuration): Observable { - return this.getAPIGroupWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - -} - -import { NodeV1ApiRequestFactory, NodeV1ApiResponseProcessor} from "../apis/NodeV1Api.js"; -export class ObservableNodeV1Api { - private requestFactory: NodeV1ApiRequestFactory; - private responseProcessor: NodeV1ApiResponseProcessor; - private configuration: Configuration; - - public constructor( - configuration: Configuration, - requestFactory?: NodeV1ApiRequestFactory, - responseProcessor?: NodeV1ApiResponseProcessor - ) { - this.configuration = configuration; - this.requestFactory = requestFactory || new NodeV1ApiRequestFactory(configuration); - this.responseProcessor = responseProcessor || new NodeV1ApiResponseProcessor(); + public deleteCollectionNamespacedRole(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedRoleWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * create a RuntimeClass - * @param body + * delete collection of RoleBinding + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] */ - public createRuntimeClassWithHttpInfo(body: V1RuntimeClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.createRuntimeClass(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public deleteCollectionNamespacedRoleBindingWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedRoleBinding(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -27189,29 +28322,19 @@ export class ObservableNodeV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createRuntimeClassWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionNamespacedRoleBindingWithHttpInfo(rsp))); })); } /** - * create a RuntimeClass - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - */ - public createRuntimeClass(body: V1RuntimeClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.createRuntimeClassWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * delete collection of RuntimeClass + * delete collection of RoleBinding + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -27222,8 +28345,24 @@ export class ObservableNodeV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionRuntimeClassWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionRuntimeClass(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedRoleBinding(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedRoleBindingWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + + /** + * delete a Role + * @param name name of the Role + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] + */ + public deleteNamespacedRoleWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedRole(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -27237,43 +28376,40 @@ export class ObservableNodeV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionRuntimeClassWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteNamespacedRoleWithHttpInfo(rsp))); })); } /** - * delete collection of RuntimeClass + * delete a Role + * @param name name of the Role + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionRuntimeClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionRuntimeClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedRole(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedRoleWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete a RuntimeClass - * @param name name of the RuntimeClass + * delete a RoleBinding + * @param name name of the RoleBinding + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteRuntimeClassWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteRuntimeClass(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedRoleBindingWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedRoleBinding(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -27287,22 +28423,24 @@ export class ObservableNodeV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteRuntimeClassWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteNamespacedRoleBindingWithHttpInfo(rsp))); })); } /** - * delete a RuntimeClass - * @param name name of the RuntimeClass + * delete a RoleBinding + * @param name name of the RoleBinding + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteRuntimeClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteRuntimeClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedRoleBinding(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedRoleBindingWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -27335,7 +28473,7 @@ export class ObservableNodeV1Api { } /** - * list or watch objects of kind RuntimeClass + * list or watch objects of kind ClusterRole * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -27348,8 +28486,8 @@ export class ObservableNodeV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listRuntimeClassWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listRuntimeClass(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listClusterRoleWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listClusterRole(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -27363,12 +28501,12 @@ export class ObservableNodeV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listRuntimeClassWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listClusterRoleWithHttpInfo(rsp))); })); } /** - * list or watch objects of kind RuntimeClass + * list or watch objects of kind ClusterRole * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -27381,22 +28519,26 @@ export class ObservableNodeV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listRuntimeClass(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listRuntimeClassWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listClusterRole(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listClusterRoleWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * partially update the specified RuntimeClass - * @param name name of the RuntimeClass - * @param body + * list or watch objects of kind ClusterRoleBinding * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public patchRuntimeClassWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.patchRuntimeClass(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public listClusterRoleBindingWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listClusterRoleBinding(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -27410,31 +28552,45 @@ export class ObservableNodeV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchRuntimeClassWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listClusterRoleBindingWithHttpInfo(rsp))); })); } /** - * partially update the specified RuntimeClass - * @param name name of the RuntimeClass - * @param body + * list or watch objects of kind ClusterRoleBinding * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public patchRuntimeClass(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchRuntimeClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listClusterRoleBinding(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listClusterRoleBindingWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * read the specified RuntimeClass - * @param name name of the RuntimeClass + * list or watch objects of kind Role + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public readRuntimeClassWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.readRuntimeClass(name, pretty, _options); + public listNamespacedRoleWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listNamespacedRole(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -27448,30 +28604,46 @@ export class ObservableNodeV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readRuntimeClassWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listNamespacedRoleWithHttpInfo(rsp))); })); } /** - * read the specified RuntimeClass - * @param name name of the RuntimeClass + * list or watch objects of kind Role + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public readRuntimeClass(name: string, pretty?: string, _options?: Configuration): Observable { - return this.readRuntimeClassWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listNamespacedRole(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listNamespacedRoleWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * replace the specified RuntimeClass - * @param name name of the RuntimeClass - * @param body + * list or watch objects of kind RoleBinding + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public replaceRuntimeClassWithHttpInfo(name: string, body: V1RuntimeClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.replaceRuntimeClass(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public listNamespacedRoleBindingWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listNamespacedRoleBinding(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -27485,46 +28657,45 @@ export class ObservableNodeV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceRuntimeClassWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listNamespacedRoleBindingWithHttpInfo(rsp))); })); } /** - * replace the specified RuntimeClass - * @param name name of the RuntimeClass - * @param body + * list or watch objects of kind RoleBinding + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public replaceRuntimeClass(name: string, body: V1RuntimeClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceRuntimeClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - -} - -import { OpenidApiRequestFactory, OpenidApiResponseProcessor} from "../apis/OpenidApi.js"; -export class ObservableOpenidApi { - private requestFactory: OpenidApiRequestFactory; - private responseProcessor: OpenidApiResponseProcessor; - private configuration: Configuration; - - public constructor( - configuration: Configuration, - requestFactory?: OpenidApiRequestFactory, - responseProcessor?: OpenidApiResponseProcessor - ) { - this.configuration = configuration; - this.requestFactory = requestFactory || new OpenidApiRequestFactory(configuration); - this.responseProcessor = responseProcessor || new OpenidApiResponseProcessor(); + public listNamespacedRoleBinding(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listNamespacedRoleBindingWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * get service account issuer OpenID JSON Web Key Set (contains public token verification keys) + * list or watch objects of kind RoleBinding + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public getServiceAccountIssuerOpenIDKeysetWithHttpInfo(_options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.getServiceAccountIssuerOpenIDKeyset(_options); + public listRoleBindingForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listRoleBindingForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -27538,40 +28709,44 @@ export class ObservableOpenidApi { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getServiceAccountIssuerOpenIDKeysetWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listRoleBindingForAllNamespacesWithHttpInfo(rsp))); })); } /** - * get service account issuer OpenID JSON Web Key Set (contains public token verification keys) + * list or watch objects of kind RoleBinding + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public getServiceAccountIssuerOpenIDKeyset(_options?: Configuration): Observable { - return this.getServiceAccountIssuerOpenIDKeysetWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - -} - -import { PolicyApiRequestFactory, PolicyApiResponseProcessor} from "../apis/PolicyApi.js"; -export class ObservablePolicyApi { - private requestFactory: PolicyApiRequestFactory; - private responseProcessor: PolicyApiResponseProcessor; - private configuration: Configuration; - - public constructor( - configuration: Configuration, - requestFactory?: PolicyApiRequestFactory, - responseProcessor?: PolicyApiResponseProcessor - ) { - this.configuration = configuration; - this.requestFactory = requestFactory || new PolicyApiRequestFactory(configuration); - this.responseProcessor = responseProcessor || new PolicyApiResponseProcessor(); + public listRoleBindingForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listRoleBindingForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * get information of a group + * list or watch objects of kind Role + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public getAPIGroupWithHttpInfo(_options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.getAPIGroup(_options); + public listRoleForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listRoleForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -27585,46 +28760,40 @@ export class ObservablePolicyApi { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getAPIGroupWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listRoleForAllNamespacesWithHttpInfo(rsp))); })); } /** - * get information of a group + * list or watch objects of kind Role + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public getAPIGroup(_options?: Configuration): Observable { - return this.getAPIGroupWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - -} - -import { PolicyV1ApiRequestFactory, PolicyV1ApiResponseProcessor} from "../apis/PolicyV1Api.js"; -export class ObservablePolicyV1Api { - private requestFactory: PolicyV1ApiRequestFactory; - private responseProcessor: PolicyV1ApiResponseProcessor; - private configuration: Configuration; - - public constructor( - configuration: Configuration, - requestFactory?: PolicyV1ApiRequestFactory, - responseProcessor?: PolicyV1ApiResponseProcessor - ) { - this.configuration = configuration; - this.requestFactory = requestFactory || new PolicyV1ApiRequestFactory(configuration); - this.responseProcessor = responseProcessor || new PolicyV1ApiResponseProcessor(); + public listRoleForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listRoleForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * create a PodDisruptionBudget - * @param namespace object name and auth scope, such as for teams and projects + * partially update the specified ClusterRole + * @param name name of the ClusterRole * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public createNamespacedPodDisruptionBudgetWithHttpInfo(namespace: string, body: V1PodDisruptionBudget, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.createNamespacedPodDisruptionBudget(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public patchClusterRoleWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.patchClusterRole(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -27638,43 +28807,36 @@ export class ObservablePolicyV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createNamespacedPodDisruptionBudgetWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchClusterRoleWithHttpInfo(rsp))); })); } /** - * create a PodDisruptionBudget - * @param namespace object name and auth scope, such as for teams and projects + * partially update the specified ClusterRole + * @param name name of the ClusterRole * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public createNamespacedPodDisruptionBudget(namespace: string, body: V1PodDisruptionBudget, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.createNamespacedPodDisruptionBudgetWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public patchClusterRole(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchClusterRoleWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete collection of PodDisruptionBudget - * @param namespace object name and auth scope, such as for teams and projects + * partially update the specified ClusterRoleBinding + * @param name name of the ClusterRoleBinding + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public deleteCollectionNamespacedPodDisruptionBudgetWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedPodDisruptionBudget(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public patchClusterRoleBindingWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.patchClusterRoleBinding(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -27688,45 +28850,37 @@ export class ObservablePolicyV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionNamespacedPodDisruptionBudgetWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchClusterRoleBindingWithHttpInfo(rsp))); })); } /** - * delete collection of PodDisruptionBudget - * @param namespace object name and auth scope, such as for teams and projects + * partially update the specified ClusterRoleBinding + * @param name name of the ClusterRoleBinding + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public deleteCollectionNamespacedPodDisruptionBudget(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedPodDisruptionBudgetWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public patchClusterRoleBinding(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchClusterRoleBindingWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete a PodDisruptionBudget - * @param name name of the PodDisruptionBudget + * partially update the specified Role + * @param name name of the Role * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [body] + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public deleteNamespacedPodDisruptionBudgetWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedPodDisruptionBudget(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public patchNamespacedRoleWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.patchNamespacedRole(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -27740,30 +28894,38 @@ export class ObservablePolicyV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteNamespacedPodDisruptionBudgetWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchNamespacedRoleWithHttpInfo(rsp))); })); } /** - * delete a PodDisruptionBudget - * @param name name of the PodDisruptionBudget + * partially update the specified Role + * @param name name of the Role * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [body] + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public deleteNamespacedPodDisruptionBudget(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedPodDisruptionBudgetWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public patchNamespacedRole(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchNamespacedRoleWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * get available resources + * partially update the specified RoleBinding + * @param name name of the RoleBinding + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public getAPIResourcesWithHttpInfo(_options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.getAPIResources(_options); + public patchNamespacedRoleBindingWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.patchNamespacedRoleBinding(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -27777,34 +28939,32 @@ export class ObservablePolicyV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getAPIResourcesWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchNamespacedRoleBindingWithHttpInfo(rsp))); })); } /** - * get available resources + * partially update the specified RoleBinding + * @param name name of the RoleBinding + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public getAPIResources(_options?: Configuration): Observable { - return this.getAPIResourcesWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public patchNamespacedRoleBinding(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchNamespacedRoleBindingWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * list or watch objects of kind PodDisruptionBudget - * @param namespace object name and auth scope, such as for teams and projects + * read the specified ClusterRole + * @param name name of the ClusterRole * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listNamespacedPodDisruptionBudgetWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listNamespacedPodDisruptionBudget(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public readClusterRoleWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.readClusterRole(name, pretty, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -27818,45 +28978,26 @@ export class ObservablePolicyV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listNamespacedPodDisruptionBudgetWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readClusterRoleWithHttpInfo(rsp))); })); } /** - * list or watch objects of kind PodDisruptionBudget - * @param namespace object name and auth scope, such as for teams and projects + * read the specified ClusterRole + * @param name name of the ClusterRole * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listNamespacedPodDisruptionBudget(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listNamespacedPodDisruptionBudgetWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public readClusterRole(name: string, pretty?: string, _options?: Configuration): Observable { + return this.readClusterRoleWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * list or watch objects of kind PodDisruptionBudget - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * read the specified ClusterRoleBinding + * @param name name of the ClusterRoleBinding * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listPodDisruptionBudgetForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listPodDisruptionBudgetForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public readClusterRoleBindingWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.readClusterRoleBinding(name, pretty, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -27870,41 +29011,27 @@ export class ObservablePolicyV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listPodDisruptionBudgetForAllNamespacesWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readClusterRoleBindingWithHttpInfo(rsp))); })); } /** - * list or watch objects of kind PodDisruptionBudget - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * read the specified ClusterRoleBinding + * @param name name of the ClusterRoleBinding * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listPodDisruptionBudgetForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listPodDisruptionBudgetForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public readClusterRoleBinding(name: string, pretty?: string, _options?: Configuration): Observable { + return this.readClusterRoleBindingWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * partially update the specified PodDisruptionBudget - * @param name name of the PodDisruptionBudget + * read the specified Role + * @param name name of the Role * @param namespace object name and auth scope, such as for teams and projects - * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedPodDisruptionBudgetWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.patchNamespacedPodDisruptionBudget(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public readNamespacedRoleWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.readNamespacedRole(name, namespace, pretty, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -27918,38 +29045,28 @@ export class ObservablePolicyV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchNamespacedPodDisruptionBudgetWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readNamespacedRoleWithHttpInfo(rsp))); })); } /** - * partially update the specified PodDisruptionBudget - * @param name name of the PodDisruptionBudget + * read the specified Role + * @param name name of the Role * @param namespace object name and auth scope, such as for teams and projects - * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedPodDisruptionBudget(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchNamespacedPodDisruptionBudgetWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public readNamespacedRole(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable { + return this.readNamespacedRoleWithHttpInfo(name, namespace, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * partially update status of the specified PodDisruptionBudget - * @param name name of the PodDisruptionBudget + * read the specified RoleBinding + * @param name name of the RoleBinding * @param namespace object name and auth scope, such as for teams and projects - * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedPodDisruptionBudgetStatusWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.patchNamespacedPodDisruptionBudgetStatus(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public readNamespacedRoleBindingWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.readNamespacedRoleBinding(name, namespace, pretty, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -27963,33 +29080,31 @@ export class ObservablePolicyV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchNamespacedPodDisruptionBudgetStatusWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readNamespacedRoleBindingWithHttpInfo(rsp))); })); } /** - * partially update status of the specified PodDisruptionBudget - * @param name name of the PodDisruptionBudget + * read the specified RoleBinding + * @param name name of the RoleBinding * @param namespace object name and auth scope, such as for teams and projects - * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedPodDisruptionBudgetStatus(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchNamespacedPodDisruptionBudgetStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public readNamespacedRoleBinding(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable { + return this.readNamespacedRoleBindingWithHttpInfo(name, namespace, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * read the specified PodDisruptionBudget - * @param name name of the PodDisruptionBudget - * @param namespace object name and auth scope, such as for teams and projects + * replace the specified ClusterRole + * @param name name of the ClusterRole + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public readNamespacedPodDisruptionBudgetWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.readNamespacedPodDisruptionBudget(name, namespace, pretty, _options); + public replaceClusterRoleWithHttpInfo(name: string, body: V1ClusterRole, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.replaceClusterRole(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -28003,28 +29118,34 @@ export class ObservablePolicyV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readNamespacedPodDisruptionBudgetWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceClusterRoleWithHttpInfo(rsp))); })); } /** - * read the specified PodDisruptionBudget - * @param name name of the PodDisruptionBudget - * @param namespace object name and auth scope, such as for teams and projects + * replace the specified ClusterRole + * @param name name of the ClusterRole + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public readNamespacedPodDisruptionBudget(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable { - return this.readNamespacedPodDisruptionBudgetWithHttpInfo(name, namespace, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public replaceClusterRole(name: string, body: V1ClusterRole, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceClusterRoleWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * read status of the specified PodDisruptionBudget - * @param name name of the PodDisruptionBudget - * @param namespace object name and auth scope, such as for teams and projects + * replace the specified ClusterRoleBinding + * @param name name of the ClusterRoleBinding + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public readNamespacedPodDisruptionBudgetStatusWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.readNamespacedPodDisruptionBudgetStatus(name, namespace, pretty, _options); + public replaceClusterRoleBindingWithHttpInfo(name: string, body: V1ClusterRoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.replaceClusterRoleBinding(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -28038,23 +29159,26 @@ export class ObservablePolicyV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readNamespacedPodDisruptionBudgetStatusWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceClusterRoleBindingWithHttpInfo(rsp))); })); } /** - * read status of the specified PodDisruptionBudget - * @param name name of the PodDisruptionBudget - * @param namespace object name and auth scope, such as for teams and projects + * replace the specified ClusterRoleBinding + * @param name name of the ClusterRoleBinding + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public readNamespacedPodDisruptionBudgetStatus(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable { - return this.readNamespacedPodDisruptionBudgetStatusWithHttpInfo(name, namespace, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public replaceClusterRoleBinding(name: string, body: V1ClusterRoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceClusterRoleBindingWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * replace the specified PodDisruptionBudget - * @param name name of the PodDisruptionBudget + * replace the specified Role + * @param name name of the Role * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -28062,8 +29186,8 @@ export class ObservablePolicyV1Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedPodDisruptionBudgetWithHttpInfo(name: string, namespace: string, body: V1PodDisruptionBudget, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.replaceNamespacedPodDisruptionBudget(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceNamespacedRoleWithHttpInfo(name: string, namespace: string, body: V1Role, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.replaceNamespacedRole(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -28077,13 +29201,13 @@ export class ObservablePolicyV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceNamespacedPodDisruptionBudgetWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceNamespacedRoleWithHttpInfo(rsp))); })); } /** - * replace the specified PodDisruptionBudget - * @param name name of the PodDisruptionBudget + * replace the specified Role + * @param name name of the Role * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -28091,13 +29215,13 @@ export class ObservablePolicyV1Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedPodDisruptionBudget(name: string, namespace: string, body: V1PodDisruptionBudget, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceNamespacedPodDisruptionBudgetWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public replaceNamespacedRole(name: string, namespace: string, body: V1Role, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceNamespacedRoleWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * replace status of the specified PodDisruptionBudget - * @param name name of the PodDisruptionBudget + * replace the specified RoleBinding + * @param name name of the RoleBinding * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -28105,8 +29229,8 @@ export class ObservablePolicyV1Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedPodDisruptionBudgetStatusWithHttpInfo(name: string, namespace: string, body: V1PodDisruptionBudget, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.replaceNamespacedPodDisruptionBudgetStatus(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceNamespacedRoleBindingWithHttpInfo(name: string, namespace: string, body: V1RoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.replaceNamespacedRoleBinding(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -28120,13 +29244,13 @@ export class ObservablePolicyV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceNamespacedPodDisruptionBudgetStatusWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceNamespacedRoleBindingWithHttpInfo(rsp))); })); } /** - * replace status of the specified PodDisruptionBudget - * @param name name of the PodDisruptionBudget + * replace the specified RoleBinding + * @param name name of the RoleBinding * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -28134,26 +29258,26 @@ export class ObservablePolicyV1Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedPodDisruptionBudgetStatus(name: string, namespace: string, body: V1PodDisruptionBudget, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceNamespacedPodDisruptionBudgetStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public replaceNamespacedRoleBinding(name: string, namespace: string, body: V1RoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceNamespacedRoleBindingWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } } -import { RbacAuthorizationApiRequestFactory, RbacAuthorizationApiResponseProcessor} from "../apis/RbacAuthorizationApi.js"; -export class ObservableRbacAuthorizationApi { - private requestFactory: RbacAuthorizationApiRequestFactory; - private responseProcessor: RbacAuthorizationApiResponseProcessor; +import { ResourceApiRequestFactory, ResourceApiResponseProcessor} from "../apis/ResourceApi"; +export class ObservableResourceApi { + private requestFactory: ResourceApiRequestFactory; + private responseProcessor: ResourceApiResponseProcessor; private configuration: Configuration; public constructor( configuration: Configuration, - requestFactory?: RbacAuthorizationApiRequestFactory, - responseProcessor?: RbacAuthorizationApiResponseProcessor + requestFactory?: ResourceApiRequestFactory, + responseProcessor?: ResourceApiResponseProcessor ) { this.configuration = configuration; - this.requestFactory = requestFactory || new RbacAuthorizationApiRequestFactory(configuration); - this.responseProcessor = responseProcessor || new RbacAuthorizationApiResponseProcessor(); + this.requestFactory = requestFactory || new ResourceApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new ResourceApiResponseProcessor(); } /** @@ -28187,32 +29311,32 @@ export class ObservableRbacAuthorizationApi { } -import { RbacAuthorizationV1ApiRequestFactory, RbacAuthorizationV1ApiResponseProcessor} from "../apis/RbacAuthorizationV1Api.js"; -export class ObservableRbacAuthorizationV1Api { - private requestFactory: RbacAuthorizationV1ApiRequestFactory; - private responseProcessor: RbacAuthorizationV1ApiResponseProcessor; +import { ResourceV1alpha3ApiRequestFactory, ResourceV1alpha3ApiResponseProcessor} from "../apis/ResourceV1alpha3Api"; +export class ObservableResourceV1alpha3Api { + private requestFactory: ResourceV1alpha3ApiRequestFactory; + private responseProcessor: ResourceV1alpha3ApiResponseProcessor; private configuration: Configuration; public constructor( configuration: Configuration, - requestFactory?: RbacAuthorizationV1ApiRequestFactory, - responseProcessor?: RbacAuthorizationV1ApiResponseProcessor + requestFactory?: ResourceV1alpha3ApiRequestFactory, + responseProcessor?: ResourceV1alpha3ApiResponseProcessor ) { this.configuration = configuration; - this.requestFactory = requestFactory || new RbacAuthorizationV1ApiRequestFactory(configuration); - this.responseProcessor = responseProcessor || new RbacAuthorizationV1ApiResponseProcessor(); + this.requestFactory = requestFactory || new ResourceV1alpha3ApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new ResourceV1alpha3ApiResponseProcessor(); } /** - * create a ClusterRole + * create a DeviceClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createClusterRoleWithHttpInfo(body: V1ClusterRole, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.createClusterRole(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createDeviceClassWithHttpInfo(body: V1alpha3DeviceClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.createDeviceClass(body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -28226,32 +29350,33 @@ export class ObservableRbacAuthorizationV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createClusterRoleWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createDeviceClassWithHttpInfo(rsp))); })); } /** - * create a ClusterRole + * create a DeviceClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createClusterRole(body: V1ClusterRole, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.createClusterRoleWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public createDeviceClass(body: V1alpha3DeviceClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.createDeviceClassWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * create a ClusterRoleBinding + * create a ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createClusterRoleBindingWithHttpInfo(body: V1ClusterRoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.createClusterRoleBinding(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createNamespacedResourceClaimWithHttpInfo(namespace: string, body: V1alpha3ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.createNamespacedResourceClaim(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -28265,24 +29390,25 @@ export class ObservableRbacAuthorizationV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createClusterRoleBindingWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createNamespacedResourceClaimWithHttpInfo(rsp))); })); } /** - * create a ClusterRoleBinding + * create a ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createClusterRoleBinding(body: V1ClusterRoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.createClusterRoleBindingWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public createNamespacedResourceClaim(namespace: string, body: V1alpha3ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.createNamespacedResourceClaimWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * create a Role + * create a ResourceClaimTemplate * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -28290,8 +29416,8 @@ export class ObservableRbacAuthorizationV1Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedRoleWithHttpInfo(namespace: string, body: V1Role, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.createNamespacedRole(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createNamespacedResourceClaimTemplateWithHttpInfo(namespace: string, body: V1alpha3ResourceClaimTemplate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.createNamespacedResourceClaimTemplate(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -28305,12 +29431,12 @@ export class ObservableRbacAuthorizationV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createNamespacedRoleWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createNamespacedResourceClaimTemplateWithHttpInfo(rsp))); })); } /** - * create a Role + * create a ResourceClaimTemplate * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -28318,21 +29444,20 @@ export class ObservableRbacAuthorizationV1Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedRole(namespace: string, body: V1Role, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.createNamespacedRoleWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public createNamespacedResourceClaimTemplate(namespace: string, body: V1alpha3ResourceClaimTemplate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.createNamespacedResourceClaimTemplateWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * create a RoleBinding - * @param namespace object name and auth scope, such as for teams and projects + * create a ResourceSlice * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedRoleBindingWithHttpInfo(namespace: string, body: V1RoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.createNamespacedRoleBinding(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createResourceSliceWithHttpInfo(body: V1alpha3ResourceSlice, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.createResourceSlice(body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -28346,35 +29471,42 @@ export class ObservableRbacAuthorizationV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createNamespacedRoleBindingWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createResourceSliceWithHttpInfo(rsp))); })); } /** - * create a RoleBinding - * @param namespace object name and auth scope, such as for teams and projects + * create a ResourceSlice * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedRoleBinding(namespace: string, body: V1RoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.createNamespacedRoleBindingWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public createResourceSlice(body: V1alpha3ResourceSlice, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.createResourceSliceWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete a ClusterRole - * @param name name of the ClusterRole + * delete collection of DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteClusterRoleWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteClusterRole(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteCollectionDeviceClassWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionDeviceClass(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -28388,36 +29520,53 @@ export class ObservableRbacAuthorizationV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteClusterRoleWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionDeviceClassWithHttpInfo(rsp))); })); } /** - * delete a ClusterRole - * @param name name of the ClusterRole + * delete collection of DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteClusterRole(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteClusterRoleWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionDeviceClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionDeviceClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete a ClusterRoleBinding - * @param name name of the ClusterRoleBinding + * delete collection of ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteClusterRoleBindingWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteClusterRoleBinding(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteCollectionNamespacedResourceClaimWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedResourceClaim(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -28431,31 +29580,42 @@ export class ObservableRbacAuthorizationV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteClusterRoleBindingWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionNamespacedResourceClaimWithHttpInfo(rsp))); })); } /** - * delete a ClusterRoleBinding - * @param name name of the ClusterRoleBinding + * delete collection of ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteClusterRoleBinding(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteClusterRoleBindingWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedResourceClaim(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedResourceClaimWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete collection of ClusterRole + * delete collection of ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -28466,8 +29626,8 @@ export class ObservableRbacAuthorizationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionClusterRoleWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionClusterRole(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedResourceClaimTemplateWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedResourceClaimTemplate(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -28481,17 +29641,19 @@ export class ObservableRbacAuthorizationV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionClusterRoleWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionNamespacedResourceClaimTemplateWithHttpInfo(rsp))); })); } /** - * delete collection of ClusterRole + * delete collection of ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -28502,17 +29664,18 @@ export class ObservableRbacAuthorizationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionClusterRole(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionClusterRoleWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedResourceClaimTemplate(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedResourceClaimTemplateWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete collection of ClusterRoleBinding + * delete collection of ResourceSlice * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -28523,8 +29686,8 @@ export class ObservableRbacAuthorizationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionClusterRoleBindingWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionClusterRoleBinding(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionResourceSliceWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionResourceSlice(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -28538,17 +29701,18 @@ export class ObservableRbacAuthorizationV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionClusterRoleBindingWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionResourceSliceWithHttpInfo(rsp))); })); } /** - * delete collection of ClusterRoleBinding + * delete collection of ResourceSlice * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -28559,30 +29723,23 @@ export class ObservableRbacAuthorizationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionClusterRoleBinding(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionClusterRoleBindingWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionResourceSlice(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionResourceSliceWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete collection of Role - * @param namespace object name and auth scope, such as for teams and projects + * delete a DeviceClass + * @param name name of the DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedRoleWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedRole(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteDeviceClassWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteDeviceClass(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -28596,52 +29753,39 @@ export class ObservableRbacAuthorizationV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionNamespacedRoleWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteDeviceClassWithHttpInfo(rsp))); })); } /** - * delete collection of Role - * @param namespace object name and auth scope, such as for teams and projects + * delete a DeviceClass + * @param name name of the DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedRole(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedRoleWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteDeviceClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteDeviceClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete collection of RoleBinding + * delete a ResourceClaim + * @param name name of the ResourceClaim * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedRoleBindingWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedRoleBinding(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteNamespacedResourceClaimWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedResourceClaim(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -28655,45 +29799,40 @@ export class ObservableRbacAuthorizationV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionNamespacedRoleBindingWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteNamespacedResourceClaimWithHttpInfo(rsp))); })); } /** - * delete collection of RoleBinding + * delete a ResourceClaim + * @param name name of the ResourceClaim * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedRoleBinding(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedRoleBindingWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedResourceClaim(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedResourceClaimWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete a Role - * @param name name of the Role + * delete a ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedRoleWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedRole(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedResourceClaimTemplateWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedResourceClaimTemplate(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -28707,38 +29846,39 @@ export class ObservableRbacAuthorizationV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteNamespacedRoleWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteNamespacedResourceClaimTemplateWithHttpInfo(rsp))); })); } /** - * delete a Role - * @param name name of the Role + * delete a ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedRole(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedRoleWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedResourceClaimTemplate(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete a RoleBinding - * @param name name of the RoleBinding - * @param namespace object name and auth scope, such as for teams and projects + * delete a ResourceSlice + * @param name name of the ResourceSlice * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedRoleBindingWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedRoleBinding(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteResourceSliceWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteResourceSlice(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -28752,23 +29892,23 @@ export class ObservableRbacAuthorizationV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteNamespacedRoleBindingWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteResourceSliceWithHttpInfo(rsp))); })); } /** - * delete a RoleBinding - * @param name name of the RoleBinding - * @param namespace object name and auth scope, such as for teams and projects + * delete a ResourceSlice + * @param name name of the ResourceSlice * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedRoleBinding(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedRoleBindingWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteResourceSlice(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteResourceSliceWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -28801,7 +29941,7 @@ export class ObservableRbacAuthorizationV1Api { } /** - * list or watch objects of kind ClusterRole + * list or watch objects of kind DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -28814,8 +29954,8 @@ export class ObservableRbacAuthorizationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listClusterRoleWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listClusterRole(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listDeviceClassWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listDeviceClass(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -28829,12 +29969,12 @@ export class ObservableRbacAuthorizationV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listClusterRoleWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listDeviceClassWithHttpInfo(rsp))); })); } /** - * list or watch objects of kind ClusterRole + * list or watch objects of kind DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -28847,12 +29987,13 @@ export class ObservableRbacAuthorizationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listClusterRole(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listClusterRoleWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listDeviceClass(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listDeviceClassWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * list or watch objects of kind ClusterRoleBinding + * list or watch objects of kind ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -28865,8 +30006,8 @@ export class ObservableRbacAuthorizationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listClusterRoleBindingWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listClusterRoleBinding(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listNamespacedResourceClaimWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listNamespacedResourceClaim(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -28880,12 +30021,13 @@ export class ObservableRbacAuthorizationV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listClusterRoleBindingWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listNamespacedResourceClaimWithHttpInfo(rsp))); })); } /** - * list or watch objects of kind ClusterRoleBinding + * list or watch objects of kind ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -28898,12 +30040,12 @@ export class ObservableRbacAuthorizationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listClusterRoleBinding(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listClusterRoleBindingWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listNamespacedResourceClaim(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listNamespacedResourceClaimWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * list or watch objects of kind Role + * list or watch objects of kind ResourceClaimTemplate * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. @@ -28917,8 +30059,8 @@ export class ObservableRbacAuthorizationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listNamespacedRoleWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listNamespacedRole(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listNamespacedResourceClaimTemplateWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listNamespacedResourceClaimTemplate(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -28932,12 +30074,12 @@ export class ObservableRbacAuthorizationV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listNamespacedRoleWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listNamespacedResourceClaimTemplateWithHttpInfo(rsp))); })); } /** - * list or watch objects of kind Role + * list or watch objects of kind ResourceClaimTemplate * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. @@ -28951,27 +30093,26 @@ export class ObservableRbacAuthorizationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listNamespacedRole(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listNamespacedRoleWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listNamespacedResourceClaimTemplate(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listNamespacedResourceClaimTemplateWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * list or watch objects of kind RoleBinding - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * list or watch objects of kind ResourceClaim * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listNamespacedRoleBindingWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listNamespacedRoleBinding(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listResourceClaimForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listResourceClaimForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -28985,31 +30126,30 @@ export class ObservableRbacAuthorizationV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listNamespacedRoleBindingWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listResourceClaimForAllNamespacesWithHttpInfo(rsp))); })); } /** - * list or watch objects of kind RoleBinding - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * list or watch objects of kind ResourceClaim * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listNamespacedRoleBinding(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listNamespacedRoleBindingWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listResourceClaimForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listResourceClaimForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * list or watch objects of kind RoleBinding + * list or watch objects of kind ResourceClaimTemplate * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -29022,8 +30162,8 @@ export class ObservableRbacAuthorizationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listRoleBindingForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listRoleBindingForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listResourceClaimTemplateForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listResourceClaimTemplateForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -29037,12 +30177,12 @@ export class ObservableRbacAuthorizationV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listRoleBindingForAllNamespacesWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listResourceClaimTemplateForAllNamespacesWithHttpInfo(rsp))); })); } /** - * list or watch objects of kind RoleBinding + * list or watch objects of kind ResourceClaimTemplate * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -29055,26 +30195,26 @@ export class ObservableRbacAuthorizationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listRoleBindingForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listRoleBindingForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listResourceClaimTemplateForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listResourceClaimTemplateForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * list or watch objects of kind Role + * list or watch objects of kind ResourceSlice + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listRoleForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listRoleForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listResourceSliceWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listResourceSlice(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -29088,31 +30228,31 @@ export class ObservableRbacAuthorizationV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listRoleForAllNamespacesWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listResourceSliceWithHttpInfo(rsp))); })); } /** - * list or watch objects of kind Role + * list or watch objects of kind ResourceSlice + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listRoleForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listRoleForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listResourceSlice(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listResourceSliceWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * partially update the specified ClusterRole - * @param name name of the ClusterRole + * partially update the specified DeviceClass + * @param name name of the DeviceClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -29120,8 +30260,8 @@ export class ObservableRbacAuthorizationV1Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchClusterRoleWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.patchClusterRole(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public patchDeviceClassWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.patchDeviceClass(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -29135,13 +30275,13 @@ export class ObservableRbacAuthorizationV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchClusterRoleWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchDeviceClassWithHttpInfo(rsp))); })); } /** - * partially update the specified ClusterRole - * @param name name of the ClusterRole + * partially update the specified DeviceClass + * @param name name of the DeviceClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -29149,13 +30289,14 @@ export class ObservableRbacAuthorizationV1Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchClusterRole(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchClusterRoleWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public patchDeviceClass(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchDeviceClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * partially update the specified ClusterRoleBinding - * @param name name of the ClusterRoleBinding + * partially update the specified ResourceClaim + * @param name name of the ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -29163,8 +30304,8 @@ export class ObservableRbacAuthorizationV1Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchClusterRoleBindingWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.patchClusterRoleBinding(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public patchNamespacedResourceClaimWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.patchNamespacedResourceClaim(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -29178,13 +30319,14 @@ export class ObservableRbacAuthorizationV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchClusterRoleBindingWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchNamespacedResourceClaimWithHttpInfo(rsp))); })); } /** - * partially update the specified ClusterRoleBinding - * @param name name of the ClusterRoleBinding + * partially update the specified ResourceClaim + * @param name name of the ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -29192,13 +30334,13 @@ export class ObservableRbacAuthorizationV1Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchClusterRoleBinding(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchClusterRoleBindingWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public patchNamespacedResourceClaim(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchNamespacedResourceClaimWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * partially update the specified Role - * @param name name of the Role + * partially update status of the specified ResourceClaim + * @param name name of the ResourceClaim * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -29207,8 +30349,8 @@ export class ObservableRbacAuthorizationV1Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedRoleWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.patchNamespacedRole(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public patchNamespacedResourceClaimStatusWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.patchNamespacedResourceClaimStatus(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -29222,13 +30364,13 @@ export class ObservableRbacAuthorizationV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchNamespacedRoleWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchNamespacedResourceClaimStatusWithHttpInfo(rsp))); })); } /** - * partially update the specified Role - * @param name name of the Role + * partially update status of the specified ResourceClaim + * @param name name of the ResourceClaim * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -29237,13 +30379,13 @@ export class ObservableRbacAuthorizationV1Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedRole(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchNamespacedRoleWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public patchNamespacedResourceClaimStatus(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchNamespacedResourceClaimStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * partially update the specified RoleBinding - * @param name name of the RoleBinding + * partially update the specified ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -29252,8 +30394,8 @@ export class ObservableRbacAuthorizationV1Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedRoleBindingWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.patchNamespacedRoleBinding(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public patchNamespacedResourceClaimTemplateWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.patchNamespacedResourceClaimTemplate(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -29267,13 +30409,13 @@ export class ObservableRbacAuthorizationV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchNamespacedRoleBindingWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchNamespacedResourceClaimTemplateWithHttpInfo(rsp))); })); } /** - * partially update the specified RoleBinding - * @param name name of the RoleBinding + * partially update the specified ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -29282,157 +30424,22 @@ export class ObservableRbacAuthorizationV1Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedRoleBinding(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchNamespacedRoleBindingWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * read the specified ClusterRole - * @param name name of the ClusterRole - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readClusterRoleWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.readClusterRole(name, pretty, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readClusterRoleWithHttpInfo(rsp))); - })); - } - - /** - * read the specified ClusterRole - * @param name name of the ClusterRole - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readClusterRole(name: string, pretty?: string, _options?: Configuration): Observable { - return this.readClusterRoleWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * read the specified ClusterRoleBinding - * @param name name of the ClusterRoleBinding - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readClusterRoleBindingWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.readClusterRoleBinding(name, pretty, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readClusterRoleBindingWithHttpInfo(rsp))); - })); - } - - /** - * read the specified ClusterRoleBinding - * @param name name of the ClusterRoleBinding - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readClusterRoleBinding(name: string, pretty?: string, _options?: Configuration): Observable { - return this.readClusterRoleBindingWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * read the specified Role - * @param name name of the Role - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readNamespacedRoleWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.readNamespacedRole(name, namespace, pretty, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readNamespacedRoleWithHttpInfo(rsp))); - })); - } - - /** - * read the specified Role - * @param name name of the Role - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readNamespacedRole(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable { - return this.readNamespacedRoleWithHttpInfo(name, namespace, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public patchNamespacedResourceClaimTemplate(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * read the specified RoleBinding - * @param name name of the RoleBinding - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readNamespacedRoleBindingWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.readNamespacedRoleBinding(name, namespace, pretty, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readNamespacedRoleBindingWithHttpInfo(rsp))); - })); - } - - /** - * read the specified RoleBinding - * @param name name of the RoleBinding - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readNamespacedRoleBinding(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable { - return this.readNamespacedRoleBindingWithHttpInfo(name, namespace, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * replace the specified ClusterRole - * @param name name of the ClusterRole + * partially update the specified ResourceSlice + * @param name name of the ResourceSlice * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public replaceClusterRoleWithHttpInfo(name: string, body: V1ClusterRole, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.replaceClusterRole(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public patchResourceSliceWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.patchResourceSlice(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -29446,34 +30453,31 @@ export class ObservableRbacAuthorizationV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceClusterRoleWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchResourceSliceWithHttpInfo(rsp))); })); } /** - * replace the specified ClusterRole - * @param name name of the ClusterRole + * partially update the specified ResourceSlice + * @param name name of the ResourceSlice * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public replaceClusterRole(name: string, body: V1ClusterRole, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceClusterRoleWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public patchResourceSlice(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchResourceSliceWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * replace the specified ClusterRoleBinding - * @param name name of the ClusterRoleBinding - * @param body + * read the specified DeviceClass + * @param name name of the DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceClusterRoleBindingWithHttpInfo(name: string, body: V1ClusterRoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.replaceClusterRoleBinding(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public readDeviceClassWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.readDeviceClass(name, pretty, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -29487,35 +30491,27 @@ export class ObservableRbacAuthorizationV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceClusterRoleBindingWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readDeviceClassWithHttpInfo(rsp))); })); } /** - * replace the specified ClusterRoleBinding - * @param name name of the ClusterRoleBinding - * @param body + * read the specified DeviceClass + * @param name name of the DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceClusterRoleBinding(name: string, body: V1ClusterRoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceClusterRoleBindingWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public readDeviceClass(name: string, pretty?: string, _options?: Configuration): Observable { + return this.readDeviceClassWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * replace the specified Role - * @param name name of the Role + * read the specified ResourceClaim + * @param name name of the ResourceClaim * @param namespace object name and auth scope, such as for teams and projects - * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedRoleWithHttpInfo(name: string, namespace: string, body: V1Role, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.replaceNamespacedRole(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public readNamespacedResourceClaimWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.readNamespacedResourceClaim(name, namespace, pretty, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -29529,36 +30525,28 @@ export class ObservableRbacAuthorizationV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceNamespacedRoleWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readNamespacedResourceClaimWithHttpInfo(rsp))); })); } /** - * replace the specified Role - * @param name name of the Role + * read the specified ResourceClaim + * @param name name of the ResourceClaim * @param namespace object name and auth scope, such as for teams and projects - * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedRole(name: string, namespace: string, body: V1Role, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceNamespacedRoleWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public readNamespacedResourceClaim(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable { + return this.readNamespacedResourceClaimWithHttpInfo(name, namespace, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * replace the specified RoleBinding - * @param name name of the RoleBinding + * read status of the specified ResourceClaim + * @param name name of the ResourceClaim * @param namespace object name and auth scope, such as for teams and projects - * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedRoleBindingWithHttpInfo(name: string, namespace: string, body: V1RoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.replaceNamespacedRoleBinding(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public readNamespacedResourceClaimStatusWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.readNamespacedResourceClaimStatus(name, namespace, pretty, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -29572,47 +30560,28 @@ export class ObservableRbacAuthorizationV1Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceNamespacedRoleBindingWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readNamespacedResourceClaimStatusWithHttpInfo(rsp))); })); } /** - * replace the specified RoleBinding - * @param name name of the RoleBinding + * read status of the specified ResourceClaim + * @param name name of the ResourceClaim * @param namespace object name and auth scope, such as for teams and projects - * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedRoleBinding(name: string, namespace: string, body: V1RoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceNamespacedRoleBindingWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - -} - -import { ResourceApiRequestFactory, ResourceApiResponseProcessor} from "../apis/ResourceApi.js"; -export class ObservableResourceApi { - private requestFactory: ResourceApiRequestFactory; - private responseProcessor: ResourceApiResponseProcessor; - private configuration: Configuration; - - public constructor( - configuration: Configuration, - requestFactory?: ResourceApiRequestFactory, - responseProcessor?: ResourceApiResponseProcessor - ) { - this.configuration = configuration; - this.requestFactory = requestFactory || new ResourceApiRequestFactory(configuration); - this.responseProcessor = responseProcessor || new ResourceApiResponseProcessor(); + public readNamespacedResourceClaimStatus(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable { + return this.readNamespacedResourceClaimStatusWithHttpInfo(name, namespace, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * get information of a group + * read the specified ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public getAPIGroupWithHttpInfo(_options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.getAPIGroup(_options); + public readNamespacedResourceClaimTemplateWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.readNamespacedResourceClaimTemplate(name, namespace, pretty, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -29626,46 +30595,27 @@ export class ObservableResourceApi { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getAPIGroupWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readNamespacedResourceClaimTemplateWithHttpInfo(rsp))); })); } /** - * get information of a group + * read the specified ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public getAPIGroup(_options?: Configuration): Observable { - return this.getAPIGroupWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - -} - -import { ResourceV1alpha2ApiRequestFactory, ResourceV1alpha2ApiResponseProcessor} from "../apis/ResourceV1alpha2Api.js"; -export class ObservableResourceV1alpha2Api { - private requestFactory: ResourceV1alpha2ApiRequestFactory; - private responseProcessor: ResourceV1alpha2ApiResponseProcessor; - private configuration: Configuration; - - public constructor( - configuration: Configuration, - requestFactory?: ResourceV1alpha2ApiRequestFactory, - responseProcessor?: ResourceV1alpha2ApiResponseProcessor - ) { - this.configuration = configuration; - this.requestFactory = requestFactory || new ResourceV1alpha2ApiRequestFactory(configuration); - this.responseProcessor = responseProcessor || new ResourceV1alpha2ApiResponseProcessor(); + public readNamespacedResourceClaimTemplate(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable { + return this.readNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * create a PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects - * @param body + * read the specified ResourceSlice + * @param name name of the ResourceSlice * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedPodSchedulingContextWithHttpInfo(namespace: string, body: V1alpha2PodSchedulingContext, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.createNamespacedPodSchedulingContext(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public readResourceSliceWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.readResourceSlice(name, pretty, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -29679,34 +30629,30 @@ export class ObservableResourceV1alpha2Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createNamespacedPodSchedulingContextWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readResourceSliceWithHttpInfo(rsp))); })); } /** - * create a PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects - * @param body + * read the specified ResourceSlice + * @param name name of the ResourceSlice * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedPodSchedulingContext(namespace: string, body: V1alpha2PodSchedulingContext, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.createNamespacedPodSchedulingContextWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public readResourceSlice(name: string, pretty?: string, _options?: Configuration): Observable { + return this.readResourceSliceWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * create a ResourceClaim - * @param namespace object name and auth scope, such as for teams and projects + * replace the specified DeviceClass + * @param name name of the DeviceClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedResourceClaimWithHttpInfo(namespace: string, body: V1alpha2ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.createNamespacedResourceClaim(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceDeviceClassWithHttpInfo(name: string, body: V1alpha3DeviceClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.replaceDeviceClass(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -29720,25 +30666,26 @@ export class ObservableResourceV1alpha2Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createNamespacedResourceClaimWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceDeviceClassWithHttpInfo(rsp))); })); } /** - * create a ResourceClaim - * @param namespace object name and auth scope, such as for teams and projects + * replace the specified DeviceClass + * @param name name of the DeviceClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedResourceClaim(namespace: string, body: V1alpha2ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.createNamespacedResourceClaimWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public replaceDeviceClass(name: string, body: V1alpha3DeviceClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceDeviceClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * create ResourceClaimParameters + * replace the specified ResourceClaim + * @param name name of the ResourceClaim * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -29746,8 +30693,8 @@ export class ObservableResourceV1alpha2Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedResourceClaimParametersWithHttpInfo(namespace: string, body: V1alpha2ResourceClaimParameters, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.createNamespacedResourceClaimParameters(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceNamespacedResourceClaimWithHttpInfo(name: string, namespace: string, body: V1alpha3ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.replaceNamespacedResourceClaim(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -29761,12 +30708,13 @@ export class ObservableResourceV1alpha2Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createNamespacedResourceClaimParametersWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceNamespacedResourceClaimWithHttpInfo(rsp))); })); } /** - * create ResourceClaimParameters + * replace the specified ResourceClaim + * @param name name of the ResourceClaim * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -29774,12 +30722,13 @@ export class ObservableResourceV1alpha2Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedResourceClaimParameters(namespace: string, body: V1alpha2ResourceClaimParameters, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.createNamespacedResourceClaimParametersWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public replaceNamespacedResourceClaim(name: string, namespace: string, body: V1alpha3ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceNamespacedResourceClaimWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * create a ResourceClaimTemplate + * replace status of the specified ResourceClaim + * @param name name of the ResourceClaim * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -29787,8 +30736,8 @@ export class ObservableResourceV1alpha2Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedResourceClaimTemplateWithHttpInfo(namespace: string, body: V1alpha2ResourceClaimTemplate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.createNamespacedResourceClaimTemplate(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceNamespacedResourceClaimStatusWithHttpInfo(name: string, namespace: string, body: V1alpha3ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.replaceNamespacedResourceClaimStatus(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -29802,12 +30751,13 @@ export class ObservableResourceV1alpha2Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createNamespacedResourceClaimTemplateWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceNamespacedResourceClaimStatusWithHttpInfo(rsp))); })); } /** - * create a ResourceClaimTemplate + * replace status of the specified ResourceClaim + * @param name name of the ResourceClaim * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -29815,12 +30765,13 @@ export class ObservableResourceV1alpha2Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedResourceClaimTemplate(namespace: string, body: V1alpha2ResourceClaimTemplate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.createNamespacedResourceClaimTemplateWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public replaceNamespacedResourceClaimStatus(name: string, namespace: string, body: V1alpha3ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceNamespacedResourceClaimStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * create ResourceClassParameters + * replace the specified ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -29828,8 +30779,8 @@ export class ObservableResourceV1alpha2Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedResourceClassParametersWithHttpInfo(namespace: string, body: V1alpha2ResourceClassParameters, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.createNamespacedResourceClassParameters(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceNamespacedResourceClaimTemplateWithHttpInfo(name: string, namespace: string, body: V1alpha3ResourceClaimTemplate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.replaceNamespacedResourceClaimTemplate(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -29843,12 +30794,13 @@ export class ObservableResourceV1alpha2Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createNamespacedResourceClassParametersWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceNamespacedResourceClaimTemplateWithHttpInfo(rsp))); })); } /** - * create ResourceClassParameters + * replace the specified ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -29856,20 +30808,21 @@ export class ObservableResourceV1alpha2Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedResourceClassParameters(namespace: string, body: V1alpha2ResourceClassParameters, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.createNamespacedResourceClassParametersWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public replaceNamespacedResourceClaimTemplate(name: string, namespace: string, body: V1alpha3ResourceClaimTemplate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * create a ResourceClass + * replace the specified ResourceSlice + * @param name name of the ResourceSlice * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createResourceClassWithHttpInfo(body: V1alpha2ResourceClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.createResourceClass(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceResourceSliceWithHttpInfo(name: string, body: V1alpha3ResourceSlice, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.replaceResourceSlice(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -29883,32 +30836,51 @@ export class ObservableResourceV1alpha2Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createResourceClassWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceResourceSliceWithHttpInfo(rsp))); })); } /** - * create a ResourceClass + * replace the specified ResourceSlice + * @param name name of the ResourceSlice * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createResourceClass(body: V1alpha2ResourceClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.createResourceClassWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public replaceResourceSlice(name: string, body: V1alpha3ResourceSlice, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceResourceSliceWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + +} + +import { ResourceV1beta1ApiRequestFactory, ResourceV1beta1ApiResponseProcessor} from "../apis/ResourceV1beta1Api"; +export class ObservableResourceV1beta1Api { + private requestFactory: ResourceV1beta1ApiRequestFactory; + private responseProcessor: ResourceV1beta1ApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: ResourceV1beta1ApiRequestFactory, + responseProcessor?: ResourceV1beta1ApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new ResourceV1beta1ApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new ResourceV1beta1ApiResponseProcessor(); } /** - * create a ResourceSlice + * create a DeviceClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createResourceSliceWithHttpInfo(body: V1alpha2ResourceSlice, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.createResourceSlice(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createDeviceClassWithHttpInfo(body: V1beta1DeviceClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.createDeviceClass(body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -29922,42 +30894,33 @@ export class ObservableResourceV1alpha2Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createResourceSliceWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createDeviceClassWithHttpInfo(rsp))); })); } /** - * create a ResourceSlice + * create a DeviceClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createResourceSlice(body: V1alpha2ResourceSlice, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.createResourceSliceWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public createDeviceClass(body: V1beta1DeviceClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.createDeviceClassWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete collection of PodSchedulingContext + * create a ResourceClaim * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public deleteCollectionNamespacedPodSchedulingContextWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedPodSchedulingContext(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public createNamespacedResourceClaimWithHttpInfo(namespace: string, body: V1beta1ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.createNamespacedResourceClaim(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -29971,52 +30934,34 @@ export class ObservableResourceV1alpha2Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionNamespacedPodSchedulingContextWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createNamespacedResourceClaimWithHttpInfo(rsp))); })); } /** - * delete collection of PodSchedulingContext + * create a ResourceClaim * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public deleteCollectionNamespacedPodSchedulingContext(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedPodSchedulingContextWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public createNamespacedResourceClaim(namespace: string, body: V1beta1ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.createNamespacedResourceClaimWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete collection of ResourceClaim + * create a ResourceClaimTemplate * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public deleteCollectionNamespacedResourceClaimWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedResourceClaim(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public createNamespacedResourceClaimTemplateWithHttpInfo(namespace: string, body: V1beta1ResourceClaimTemplate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.createNamespacedResourceClaimTemplate(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -30030,52 +30975,33 @@ export class ObservableResourceV1alpha2Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionNamespacedResourceClaimWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createNamespacedResourceClaimTemplateWithHttpInfo(rsp))); })); } /** - * delete collection of ResourceClaim + * create a ResourceClaimTemplate * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public deleteCollectionNamespacedResourceClaim(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedResourceClaimWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public createNamespacedResourceClaimTemplate(namespace: string, body: V1beta1ResourceClaimTemplate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.createNamespacedResourceClaimTemplateWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete collection of ResourceClaimParameters - * @param namespace object name and auth scope, such as for teams and projects + * create a ResourceSlice + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public deleteCollectionNamespacedResourceClaimParametersWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedResourceClaimParameters(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public createResourceSliceWithHttpInfo(body: V1beta1ResourceSlice, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.createResourceSlice(body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -30089,40 +31015,30 @@ export class ObservableResourceV1alpha2Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionNamespacedResourceClaimParametersWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createResourceSliceWithHttpInfo(rsp))); })); } /** - * delete collection of ResourceClaimParameters - * @param namespace object name and auth scope, such as for teams and projects + * create a ResourceSlice + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public deleteCollectionNamespacedResourceClaimParameters(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedResourceClaimParametersWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public createResourceSlice(body: V1beta1ResourceSlice, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.createResourceSliceWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete collection of ResourceClaimTemplate - * @param namespace object name and auth scope, such as for teams and projects + * delete collection of DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -30133,8 +31049,8 @@ export class ObservableResourceV1alpha2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedResourceClaimTemplateWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedResourceClaimTemplate(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionDeviceClassWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionDeviceClass(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -30148,18 +31064,18 @@ export class ObservableResourceV1alpha2Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionNamespacedResourceClaimTemplateWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionDeviceClassWithHttpInfo(rsp))); })); } /** - * delete collection of ResourceClaimTemplate - * @param namespace object name and auth scope, such as for teams and projects + * delete collection of DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -30170,18 +31086,19 @@ export class ObservableResourceV1alpha2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedResourceClaimTemplate(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedResourceClaimTemplateWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionDeviceClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionDeviceClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete collection of ResourceClassParameters + * delete collection of ResourceClaim * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -30192,8 +31109,8 @@ export class ObservableResourceV1alpha2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedResourceClassParametersWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedResourceClassParameters(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedResourceClaimWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedResourceClaim(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -30207,18 +31124,19 @@ export class ObservableResourceV1alpha2Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionNamespacedResourceClassParametersWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionNamespacedResourceClaimWithHttpInfo(rsp))); })); } /** - * delete collection of ResourceClassParameters + * delete collection of ResourceClaim * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -30229,17 +31147,19 @@ export class ObservableResourceV1alpha2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedResourceClassParameters(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedResourceClassParametersWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedResourceClaim(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedResourceClaimWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete collection of ResourceClass + * delete collection of ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -30250,8 +31170,8 @@ export class ObservableResourceV1alpha2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionResourceClassWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionResourceClass(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedResourceClaimTemplateWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedResourceClaimTemplate(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -30265,17 +31185,19 @@ export class ObservableResourceV1alpha2Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionResourceClassWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionNamespacedResourceClaimTemplateWithHttpInfo(rsp))); })); } /** - * delete collection of ResourceClass + * delete collection of ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -30286,8 +31208,8 @@ export class ObservableResourceV1alpha2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionResourceClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionResourceClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedResourceClaimTemplate(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedResourceClaimTemplateWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -30297,6 +31219,7 @@ export class ObservableResourceV1alpha2Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -30307,8 +31230,8 @@ export class ObservableResourceV1alpha2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionResourceSliceWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionResourceSlice(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionResourceSliceWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionResourceSlice(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -30333,6 +31256,7 @@ export class ObservableResourceV1alpha2Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -30343,23 +31267,23 @@ export class ObservableResourceV1alpha2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionResourceSlice(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionResourceSliceWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionResourceSlice(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionResourceSliceWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * delete a PodSchedulingContext - * @param name name of the PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects + * delete a DeviceClass + * @param name name of the DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedPodSchedulingContextWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedPodSchedulingContext(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteDeviceClassWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteDeviceClass(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -30373,23 +31297,23 @@ export class ObservableResourceV1alpha2Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteNamespacedPodSchedulingContextWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteDeviceClassWithHttpInfo(rsp))); })); } /** - * delete a PodSchedulingContext - * @param name name of the PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects + * delete a DeviceClass + * @param name name of the DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedPodSchedulingContext(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedPodSchedulingContextWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteDeviceClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteDeviceClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -30399,12 +31323,13 @@ export class ObservableResourceV1alpha2Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedResourceClaimWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedResourceClaim(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedResourceClaimWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedResourceClaim(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -30429,87 +31354,13 @@ export class ObservableResourceV1alpha2Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedResourceClaim(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedResourceClaimWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * delete ResourceClaimParameters - * @param name name of the ResourceClaimParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [body] - */ - public deleteNamespacedResourceClaimParametersWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedResourceClaimParameters(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteNamespacedResourceClaimParametersWithHttpInfo(rsp))); - })); - } - - /** - * delete ResourceClaimParameters - * @param name name of the ResourceClaimParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [body] - */ - public deleteNamespacedResourceClaimParameters(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedResourceClaimParametersWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * delete a ResourceClaimTemplate - * @param name name of the ResourceClaimTemplate - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [body] - */ - public deleteNamespacedResourceClaimTemplateWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedResourceClaimTemplate(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteNamespacedResourceClaimTemplateWithHttpInfo(rsp))); - })); + public deleteNamespacedResourceClaim(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedResourceClaimWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -30519,350 +31370,13 @@ export class ObservableResourceV1alpha2Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [body] - */ - public deleteNamespacedResourceClaimTemplate(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * delete ResourceClassParameters - * @param name name of the ResourceClassParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [body] - */ - public deleteNamespacedResourceClassParametersWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedResourceClassParameters(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteNamespacedResourceClassParametersWithHttpInfo(rsp))); - })); - } - - /** - * delete ResourceClassParameters - * @param name name of the ResourceClassParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [body] - */ - public deleteNamespacedResourceClassParameters(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedResourceClassParametersWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * delete a ResourceClass - * @param name name of the ResourceClass - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [body] - */ - public deleteResourceClassWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteResourceClass(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteResourceClassWithHttpInfo(rsp))); - })); - } - - /** - * delete a ResourceClass - * @param name name of the ResourceClass - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [body] - */ - public deleteResourceClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteResourceClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * delete a ResourceSlice - * @param name name of the ResourceSlice - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [body] - */ - public deleteResourceSliceWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteResourceSlice(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteResourceSliceWithHttpInfo(rsp))); - })); - } - - /** - * delete a ResourceSlice - * @param name name of the ResourceSlice - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [body] - */ - public deleteResourceSlice(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteResourceSliceWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * get available resources - */ - public getAPIResourcesWithHttpInfo(_options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.getAPIResources(_options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getAPIResourcesWithHttpInfo(rsp))); - })); - } - - /** - * get available resources - */ - public getAPIResources(_options?: Configuration): Observable { - return this.getAPIResourcesWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * list or watch objects of kind PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - */ - public listNamespacedPodSchedulingContextWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listNamespacedPodSchedulingContext(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listNamespacedPodSchedulingContextWithHttpInfo(rsp))); - })); - } - - /** - * list or watch objects of kind PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - */ - public listNamespacedPodSchedulingContext(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listNamespacedPodSchedulingContextWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * list or watch objects of kind ResourceClaim - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - */ - public listNamespacedResourceClaimWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listNamespacedResourceClaim(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listNamespacedResourceClaimWithHttpInfo(rsp))); - })); - } - - /** - * list or watch objects of kind ResourceClaim - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - */ - public listNamespacedResourceClaim(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listNamespacedResourceClaimWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * list or watch objects of kind ResourceClaimParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - */ - public listNamespacedResourceClaimParametersWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listNamespacedResourceClaimParameters(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listNamespacedResourceClaimParametersWithHttpInfo(rsp))); - })); - } - - /** - * list or watch objects of kind ResourceClaimParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - */ - public listNamespacedResourceClaimParameters(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listNamespacedResourceClaimParametersWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * list or watch objects of kind ResourceClaimTemplate - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * @param [body] */ - public listNamespacedResourceClaimTemplateWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listNamespacedResourceClaimTemplate(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public deleteNamespacedResourceClaimTemplateWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedResourceClaimTemplate(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -30876,46 +31390,39 @@ export class ObservableResourceV1alpha2Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listNamespacedResourceClaimTemplateWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteNamespacedResourceClaimTemplateWithHttpInfo(rsp))); })); } /** - * list or watch objects of kind ResourceClaimTemplate + * delete a ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] */ - public listNamespacedResourceClaimTemplate(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listNamespacedResourceClaimTemplateWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedResourceClaimTemplate(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * list or watch objects of kind ResourceClassParameters - * @param namespace object name and auth scope, such as for teams and projects + * delete a ResourceSlice + * @param name name of the ResourceSlice * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] */ - public listNamespacedResourceClassParametersWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listNamespacedResourceClassParameters(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public deleteResourceSliceWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteResourceSlice(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -30929,45 +31436,30 @@ export class ObservableResourceV1alpha2Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listNamespacedResourceClassParametersWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteResourceSliceWithHttpInfo(rsp))); })); } /** - * list or watch objects of kind ResourceClassParameters - * @param namespace object name and auth scope, such as for teams and projects + * delete a ResourceSlice + * @param name name of the ResourceSlice * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] */ - public listNamespacedResourceClassParameters(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listNamespacedResourceClassParametersWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteResourceSlice(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteResourceSliceWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * list or watch objects of kind PodSchedulingContext - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * get available resources */ - public listPodSchedulingContextForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listPodSchedulingContextForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public getAPIResourcesWithHttpInfo(_options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.getAPIResources(_options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -30981,44 +31473,33 @@ export class ObservableResourceV1alpha2Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listPodSchedulingContextForAllNamespacesWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getAPIResourcesWithHttpInfo(rsp))); })); } /** - * list or watch objects of kind PodSchedulingContext - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * get available resources */ - public listPodSchedulingContextForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listPodSchedulingContextForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public getAPIResources(_options?: Configuration): Observable { + return this.getAPIResourcesWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * list or watch objects of kind ResourceClaim + * list or watch objects of kind DeviceClass + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listResourceClaimForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listResourceClaimForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listDeviceClassWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listDeviceClass(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -31032,44 +31513,45 @@ export class ObservableResourceV1alpha2Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listResourceClaimForAllNamespacesWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listDeviceClassWithHttpInfo(rsp))); })); } /** - * list or watch objects of kind ResourceClaim + * list or watch objects of kind DeviceClass + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listResourceClaimForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listResourceClaimForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listDeviceClass(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listDeviceClassWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * list or watch objects of kind ResourceClaimParameters + * list or watch objects of kind ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listResourceClaimParametersForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listResourceClaimParametersForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listNamespacedResourceClaimWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listNamespacedResourceClaim(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -31083,44 +31565,46 @@ export class ObservableResourceV1alpha2Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listResourceClaimParametersForAllNamespacesWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listNamespacedResourceClaimWithHttpInfo(rsp))); })); } /** - * list or watch objects of kind ResourceClaimParameters + * list or watch objects of kind ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listResourceClaimParametersForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listResourceClaimParametersForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listNamespacedResourceClaim(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listNamespacedResourceClaimWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** * list or watch objects of kind ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listResourceClaimTemplateForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listResourceClaimTemplateForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listNamespacedResourceClaimTemplateWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listNamespacedResourceClaimTemplate(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -31134,44 +31618,45 @@ export class ObservableResourceV1alpha2Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listResourceClaimTemplateForAllNamespacesWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listNamespacedResourceClaimTemplateWithHttpInfo(rsp))); })); } /** * list or watch objects of kind ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listResourceClaimTemplateForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listResourceClaimTemplateForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listNamespacedResourceClaimTemplate(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listNamespacedResourceClaimTemplateWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * list or watch objects of kind ResourceClass - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * list or watch objects of kind ResourceClaim * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listResourceClassWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listResourceClass(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listResourceClaimForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listResourceClaimForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -31185,30 +31670,30 @@ export class ObservableResourceV1alpha2Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listResourceClassWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listResourceClaimForAllNamespacesWithHttpInfo(rsp))); })); } /** - * list or watch objects of kind ResourceClass - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * list or watch objects of kind ResourceClaim * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listResourceClass(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listResourceClassWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listResourceClaimForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listResourceClaimForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * list or watch objects of kind ResourceClassParameters + * list or watch objects of kind ResourceClaimTemplate * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -31221,8 +31706,8 @@ export class ObservableResourceV1alpha2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listResourceClassParametersForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.listResourceClassParametersForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listResourceClaimTemplateForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listResourceClaimTemplateForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -31236,12 +31721,12 @@ export class ObservableResourceV1alpha2Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listResourceClassParametersForAllNamespacesWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listResourceClaimTemplateForAllNamespacesWithHttpInfo(rsp))); })); } /** - * list or watch objects of kind ResourceClassParameters + * list or watch objects of kind ResourceClaimTemplate * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -31254,8 +31739,8 @@ export class ObservableResourceV1alpha2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listResourceClassParametersForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listResourceClassParametersForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listResourceClaimTemplateForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listResourceClaimTemplateForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -31272,7 +31757,7 @@ export class ObservableResourceV1alpha2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listResourceSliceWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + public listResourceSliceWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { const requestContextPromise = this.requestFactory.listResourceSlice(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); // build promise chain @@ -31305,59 +31790,13 @@ export class ObservableResourceV1alpha2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listResourceSlice(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { - return this.listResourceSliceWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public listResourceSlice(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listResourceSliceWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * partially update the specified PodSchedulingContext - * @param name name of the PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchNamespacedPodSchedulingContextWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.patchNamespacedPodSchedulingContext(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchNamespacedPodSchedulingContextWithHttpInfo(rsp))); - })); - } - - /** - * partially update the specified PodSchedulingContext - * @param name name of the PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchNamespacedPodSchedulingContext(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchNamespacedPodSchedulingContextWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * partially update status of the specified PodSchedulingContext - * @param name name of the PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects + * partially update the specified DeviceClass + * @param name name of the DeviceClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -31365,8 +31804,8 @@ export class ObservableResourceV1alpha2Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedPodSchedulingContextStatusWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.patchNamespacedPodSchedulingContextStatus(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public patchDeviceClassWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.patchDeviceClass(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -31380,14 +31819,13 @@ export class ObservableResourceV1alpha2Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchNamespacedPodSchedulingContextStatusWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchDeviceClassWithHttpInfo(rsp))); })); } /** - * partially update status of the specified PodSchedulingContext - * @param name name of the PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects + * partially update the specified DeviceClass + * @param name name of the DeviceClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -31395,8 +31833,8 @@ export class ObservableResourceV1alpha2Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedPodSchedulingContextStatus(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchNamespacedPodSchedulingContextStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public patchDeviceClass(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchDeviceClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -31410,7 +31848,7 @@ export class ObservableResourceV1alpha2Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedResourceClaimWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + public patchNamespacedResourceClaimWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { const requestContextPromise = this.requestFactory.patchNamespacedResourceClaim(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); // build promise chain @@ -31440,53 +31878,8 @@ export class ObservableResourceV1alpha2Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedResourceClaim(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchNamespacedResourceClaimWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * partially update the specified ResourceClaimParameters - * @param name name of the ResourceClaimParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchNamespacedResourceClaimParametersWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.patchNamespacedResourceClaimParameters(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchNamespacedResourceClaimParametersWithHttpInfo(rsp))); - })); - } - - /** - * partially update the specified ResourceClaimParameters - * @param name name of the ResourceClaimParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchNamespacedResourceClaimParameters(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchNamespacedResourceClaimParametersWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public patchNamespacedResourceClaim(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchNamespacedResourceClaimWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -31500,7 +31893,7 @@ export class ObservableResourceV1alpha2Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedResourceClaimStatusWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + public patchNamespacedResourceClaimStatusWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { const requestContextPromise = this.requestFactory.patchNamespacedResourceClaimStatus(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); // build promise chain @@ -31530,8 +31923,8 @@ export class ObservableResourceV1alpha2Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedResourceClaimStatus(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchNamespacedResourceClaimStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public patchNamespacedResourceClaimStatus(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchNamespacedResourceClaimStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -31545,7 +31938,7 @@ export class ObservableResourceV1alpha2Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedResourceClaimTemplateWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + public patchNamespacedResourceClaimTemplateWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { const requestContextPromise = this.requestFactory.patchNamespacedResourceClaimTemplate(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); // build promise chain @@ -31575,96 +31968,8 @@ export class ObservableResourceV1alpha2Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedResourceClaimTemplate(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * partially update the specified ResourceClassParameters - * @param name name of the ResourceClassParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchNamespacedResourceClassParametersWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.patchNamespacedResourceClassParameters(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchNamespacedResourceClassParametersWithHttpInfo(rsp))); - })); - } - - /** - * partially update the specified ResourceClassParameters - * @param name name of the ResourceClassParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchNamespacedResourceClassParameters(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchNamespacedResourceClassParametersWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * partially update the specified ResourceClass - * @param name name of the ResourceClass - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchResourceClassWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.patchResourceClass(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchResourceClassWithHttpInfo(rsp))); - })); - } - - /** - * partially update the specified ResourceClass - * @param name name of the ResourceClass - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchResourceClass(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchResourceClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public patchNamespacedResourceClaimTemplate(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -31677,7 +31982,7 @@ export class ObservableResourceV1alpha2Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchResourceSliceWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + public patchResourceSliceWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { const requestContextPromise = this.requestFactory.patchResourceSlice(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); // build promise chain @@ -31706,53 +32011,17 @@ export class ObservableResourceV1alpha2Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchResourceSlice(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { - return this.patchResourceSliceWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * read the specified PodSchedulingContext - * @param name name of the PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readNamespacedPodSchedulingContextWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.readNamespacedPodSchedulingContext(name, namespace, pretty, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readNamespacedPodSchedulingContextWithHttpInfo(rsp))); - })); - } - - /** - * read the specified PodSchedulingContext - * @param name name of the PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readNamespacedPodSchedulingContext(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable { - return this.readNamespacedPodSchedulingContextWithHttpInfo(name, namespace, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public patchResourceSlice(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchResourceSliceWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * read status of the specified PodSchedulingContext - * @param name name of the PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects + * read the specified DeviceClass + * @param name name of the DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readNamespacedPodSchedulingContextStatusWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.readNamespacedPodSchedulingContextStatus(name, namespace, pretty, _options); + public readDeviceClassWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.readDeviceClass(name, pretty, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -31766,18 +32035,17 @@ export class ObservableResourceV1alpha2Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readNamespacedPodSchedulingContextStatusWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readDeviceClassWithHttpInfo(rsp))); })); } /** - * read status of the specified PodSchedulingContext - * @param name name of the PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects + * read the specified DeviceClass + * @param name name of the DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readNamespacedPodSchedulingContextStatus(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable { - return this.readNamespacedPodSchedulingContextStatusWithHttpInfo(name, namespace, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public readDeviceClass(name: string, pretty?: string, _options?: Configuration): Observable { + return this.readDeviceClassWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -31786,7 +32054,7 @@ export class ObservableResourceV1alpha2Api { * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readNamespacedResourceClaimWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable> { + public readNamespacedResourceClaimWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable> { const requestContextPromise = this.requestFactory.readNamespacedResourceClaim(name, namespace, pretty, _options); // build promise chain @@ -31811,43 +32079,8 @@ export class ObservableResourceV1alpha2Api { * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readNamespacedResourceClaim(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable { - return this.readNamespacedResourceClaimWithHttpInfo(name, namespace, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * read the specified ResourceClaimParameters - * @param name name of the ResourceClaimParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readNamespacedResourceClaimParametersWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.readNamespacedResourceClaimParameters(name, namespace, pretty, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readNamespacedResourceClaimParametersWithHttpInfo(rsp))); - })); - } - - /** - * read the specified ResourceClaimParameters - * @param name name of the ResourceClaimParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readNamespacedResourceClaimParameters(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable { - return this.readNamespacedResourceClaimParametersWithHttpInfo(name, namespace, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public readNamespacedResourceClaim(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable { + return this.readNamespacedResourceClaimWithHttpInfo(name, namespace, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -31856,7 +32089,7 @@ export class ObservableResourceV1alpha2Api { * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readNamespacedResourceClaimStatusWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable> { + public readNamespacedResourceClaimStatusWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable> { const requestContextPromise = this.requestFactory.readNamespacedResourceClaimStatus(name, namespace, pretty, _options); // build promise chain @@ -31881,8 +32114,8 @@ export class ObservableResourceV1alpha2Api { * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readNamespacedResourceClaimStatus(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable { - return this.readNamespacedResourceClaimStatusWithHttpInfo(name, namespace, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public readNamespacedResourceClaimStatus(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable { + return this.readNamespacedResourceClaimStatusWithHttpInfo(name, namespace, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -31891,7 +32124,7 @@ export class ObservableResourceV1alpha2Api { * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readNamespacedResourceClaimTemplateWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable> { + public readNamespacedResourceClaimTemplateWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable> { const requestContextPromise = this.requestFactory.readNamespacedResourceClaimTemplate(name, namespace, pretty, _options); // build promise chain @@ -31916,76 +32149,8 @@ export class ObservableResourceV1alpha2Api { * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readNamespacedResourceClaimTemplate(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable { - return this.readNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * read the specified ResourceClassParameters - * @param name name of the ResourceClassParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readNamespacedResourceClassParametersWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.readNamespacedResourceClassParameters(name, namespace, pretty, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readNamespacedResourceClassParametersWithHttpInfo(rsp))); - })); - } - - /** - * read the specified ResourceClassParameters - * @param name name of the ResourceClassParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readNamespacedResourceClassParameters(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable { - return this.readNamespacedResourceClassParametersWithHttpInfo(name, namespace, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * read the specified ResourceClass - * @param name name of the ResourceClass - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readResourceClassWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.readResourceClass(name, pretty, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readResourceClassWithHttpInfo(rsp))); - })); - } - - /** - * read the specified ResourceClass - * @param name name of the ResourceClass - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readResourceClass(name: string, pretty?: string, _options?: Configuration): Observable { - return this.readResourceClassWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public readNamespacedResourceClaimTemplate(name: string, namespace: string, pretty?: string, _options?: Configuration): Observable { + return this.readNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -31993,7 +32158,7 @@ export class ObservableResourceV1alpha2Api { * @param name name of the ResourceSlice * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readResourceSliceWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { + public readResourceSliceWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { const requestContextPromise = this.requestFactory.readResourceSlice(name, pretty, _options); // build promise chain @@ -32017,65 +32182,21 @@ export class ObservableResourceV1alpha2Api { * @param name name of the ResourceSlice * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readResourceSlice(name: string, pretty?: string, _options?: Configuration): Observable { - return this.readResourceSliceWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * replace the specified PodSchedulingContext - * @param name name of the PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - */ - public replaceNamespacedPodSchedulingContextWithHttpInfo(name: string, namespace: string, body: V1alpha2PodSchedulingContext, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.replaceNamespacedPodSchedulingContext(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceNamespacedPodSchedulingContextWithHttpInfo(rsp))); - })); - } - - /** - * replace the specified PodSchedulingContext - * @param name name of the PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - */ - public replaceNamespacedPodSchedulingContext(name: string, namespace: string, body: V1alpha2PodSchedulingContext, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceNamespacedPodSchedulingContextWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public readResourceSlice(name: string, pretty?: string, _options?: Configuration): Observable { + return this.readResourceSliceWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** - * replace status of the specified PodSchedulingContext - * @param name name of the PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects + * replace the specified DeviceClass + * @param name name of the DeviceClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedPodSchedulingContextStatusWithHttpInfo(name: string, namespace: string, body: V1alpha2PodSchedulingContext, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.replaceNamespacedPodSchedulingContextStatus(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceDeviceClassWithHttpInfo(name: string, body: V1beta1DeviceClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.replaceDeviceClass(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -32089,22 +32210,21 @@ export class ObservableResourceV1alpha2Api { for (const middleware of this.configuration.middleware) { middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceNamespacedPodSchedulingContextStatusWithHttpInfo(rsp))); + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceDeviceClassWithHttpInfo(rsp))); })); } /** - * replace status of the specified PodSchedulingContext - * @param name name of the PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects + * replace the specified DeviceClass + * @param name name of the DeviceClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedPodSchedulingContextStatus(name: string, namespace: string, body: V1alpha2PodSchedulingContext, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceNamespacedPodSchedulingContextStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public replaceDeviceClass(name: string, body: V1beta1DeviceClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceDeviceClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -32117,7 +32237,7 @@ export class ObservableResourceV1alpha2Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedResourceClaimWithHttpInfo(name: string, namespace: string, body: V1alpha2ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + public replaceNamespacedResourceClaimWithHttpInfo(name: string, namespace: string, body: V1beta1ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { const requestContextPromise = this.requestFactory.replaceNamespacedResourceClaim(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain @@ -32146,51 +32266,8 @@ export class ObservableResourceV1alpha2Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedResourceClaim(name: string, namespace: string, body: V1alpha2ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceNamespacedResourceClaimWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * replace the specified ResourceClaimParameters - * @param name name of the ResourceClaimParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - */ - public replaceNamespacedResourceClaimParametersWithHttpInfo(name: string, namespace: string, body: V1alpha2ResourceClaimParameters, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.replaceNamespacedResourceClaimParameters(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceNamespacedResourceClaimParametersWithHttpInfo(rsp))); - })); - } - - /** - * replace the specified ResourceClaimParameters - * @param name name of the ResourceClaimParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - */ - public replaceNamespacedResourceClaimParameters(name: string, namespace: string, body: V1alpha2ResourceClaimParameters, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceNamespacedResourceClaimParametersWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public replaceNamespacedResourceClaim(name: string, namespace: string, body: V1beta1ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceNamespacedResourceClaimWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -32203,7 +32280,7 @@ export class ObservableResourceV1alpha2Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedResourceClaimStatusWithHttpInfo(name: string, namespace: string, body: V1alpha2ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + public replaceNamespacedResourceClaimStatusWithHttpInfo(name: string, namespace: string, body: V1beta1ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { const requestContextPromise = this.requestFactory.replaceNamespacedResourceClaimStatus(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain @@ -32232,8 +32309,8 @@ export class ObservableResourceV1alpha2Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedResourceClaimStatus(name: string, namespace: string, body: V1alpha2ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceNamespacedResourceClaimStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public replaceNamespacedResourceClaimStatus(name: string, namespace: string, body: V1beta1ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceNamespacedResourceClaimStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -32246,7 +32323,7 @@ export class ObservableResourceV1alpha2Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedResourceClaimTemplateWithHttpInfo(name: string, namespace: string, body: V1alpha2ResourceClaimTemplate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + public replaceNamespacedResourceClaimTemplateWithHttpInfo(name: string, namespace: string, body: V1beta1ResourceClaimTemplate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { const requestContextPromise = this.requestFactory.replaceNamespacedResourceClaimTemplate(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain @@ -32275,92 +32352,8 @@ export class ObservableResourceV1alpha2Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedResourceClaimTemplate(name: string, namespace: string, body: V1alpha2ResourceClaimTemplate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * replace the specified ResourceClassParameters - * @param name name of the ResourceClassParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - */ - public replaceNamespacedResourceClassParametersWithHttpInfo(name: string, namespace: string, body: V1alpha2ResourceClassParameters, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.replaceNamespacedResourceClassParameters(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceNamespacedResourceClassParametersWithHttpInfo(rsp))); - })); - } - - /** - * replace the specified ResourceClassParameters - * @param name name of the ResourceClassParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - */ - public replaceNamespacedResourceClassParameters(name: string, namespace: string, body: V1alpha2ResourceClassParameters, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceNamespacedResourceClassParametersWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); - } - - /** - * replace the specified ResourceClass - * @param name name of the ResourceClass - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - */ - public replaceResourceClassWithHttpInfo(name: string, body: V1alpha2ResourceClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.replaceResourceClass(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); - - // build promise chain - let middlewarePreObservable = from(requestContextPromise); - for (const middleware of this.configuration.middleware) { - middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); - } - - return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). - pipe(mergeMap((response: ResponseContext) => { - let middlewarePostObservable = of(response); - for (const middleware of this.configuration.middleware) { - middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); - } - return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceResourceClassWithHttpInfo(rsp))); - })); - } - - /** - * replace the specified ResourceClass - * @param name name of the ResourceClass - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - */ - public replaceResourceClass(name: string, body: V1alpha2ResourceClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceResourceClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public replaceNamespacedResourceClaimTemplate(name: string, namespace: string, body: V1beta1ResourceClaimTemplate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -32372,7 +32365,7 @@ export class ObservableResourceV1alpha2Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceResourceSliceWithHttpInfo(name: string, body: V1alpha2ResourceSlice, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + public replaceResourceSliceWithHttpInfo(name: string, body: V1beta1ResourceSlice, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { const requestContextPromise = this.requestFactory.replaceResourceSlice(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); // build promise chain @@ -32400,13 +32393,13 @@ export class ObservableResourceV1alpha2Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceResourceSlice(name: string, body: V1alpha2ResourceSlice, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { - return this.replaceResourceSliceWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public replaceResourceSlice(name: string, body: V1beta1ResourceSlice, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceResourceSliceWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } } -import { SchedulingApiRequestFactory, SchedulingApiResponseProcessor} from "../apis/SchedulingApi.js"; +import { SchedulingApiRequestFactory, SchedulingApiResponseProcessor} from "../apis/SchedulingApi"; export class ObservableSchedulingApi { private requestFactory: SchedulingApiRequestFactory; private responseProcessor: SchedulingApiResponseProcessor; @@ -32453,7 +32446,7 @@ export class ObservableSchedulingApi { } -import { SchedulingV1ApiRequestFactory, SchedulingV1ApiResponseProcessor} from "../apis/SchedulingV1Api.js"; +import { SchedulingV1ApiRequestFactory, SchedulingV1ApiResponseProcessor} from "../apis/SchedulingV1Api"; export class ObservableSchedulingV1Api { private requestFactory: SchedulingV1ApiRequestFactory; private responseProcessor: SchedulingV1ApiResponseProcessor; @@ -32515,6 +32508,7 @@ export class ObservableSchedulingV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -32525,8 +32519,8 @@ export class ObservableSchedulingV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionPriorityClassWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionPriorityClass(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionPriorityClassWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionPriorityClass(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -32551,6 +32545,7 @@ export class ObservableSchedulingV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -32561,8 +32556,8 @@ export class ObservableSchedulingV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionPriorityClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionPriorityClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionPriorityClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionPriorityClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -32571,12 +32566,13 @@ export class ObservableSchedulingV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deletePriorityClassWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deletePriorityClass(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deletePriorityClassWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deletePriorityClass(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -32600,12 +32596,13 @@ export class ObservableSchedulingV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deletePriorityClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deletePriorityClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deletePriorityClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deletePriorityClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -32807,7 +32804,7 @@ export class ObservableSchedulingV1Api { } -import { StorageApiRequestFactory, StorageApiResponseProcessor} from "../apis/StorageApi.js"; +import { StorageApiRequestFactory, StorageApiResponseProcessor} from "../apis/StorageApi"; export class ObservableStorageApi { private requestFactory: StorageApiRequestFactory; private responseProcessor: StorageApiResponseProcessor; @@ -32854,7 +32851,7 @@ export class ObservableStorageApi { } -import { StorageV1ApiRequestFactory, StorageV1ApiResponseProcessor} from "../apis/StorageV1Api.js"; +import { StorageV1ApiRequestFactory, StorageV1ApiResponseProcessor} from "../apis/StorageV1Api"; export class ObservableStorageV1Api { private requestFactory: StorageV1ApiRequestFactory; private responseProcessor: StorageV1ApiResponseProcessor; @@ -33073,12 +33070,13 @@ export class ObservableStorageV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteCSIDriverWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCSIDriver(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteCSIDriverWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCSIDriver(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -33102,12 +33100,13 @@ export class ObservableStorageV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteCSIDriver(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCSIDriverWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCSIDriver(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCSIDriverWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -33116,12 +33115,13 @@ export class ObservableStorageV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteCSINodeWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCSINode(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteCSINodeWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCSINode(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -33145,12 +33145,13 @@ export class ObservableStorageV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteCSINode(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCSINodeWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCSINode(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCSINodeWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -33160,6 +33161,7 @@ export class ObservableStorageV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -33170,8 +33172,8 @@ export class ObservableStorageV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionCSIDriverWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionCSIDriver(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionCSIDriverWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionCSIDriver(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -33196,6 +33198,7 @@ export class ObservableStorageV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -33206,8 +33209,8 @@ export class ObservableStorageV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionCSIDriver(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionCSIDriverWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionCSIDriver(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionCSIDriverWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -33217,6 +33220,7 @@ export class ObservableStorageV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -33227,8 +33231,8 @@ export class ObservableStorageV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionCSINodeWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionCSINode(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionCSINodeWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionCSINode(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -33253,6 +33257,7 @@ export class ObservableStorageV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -33263,8 +33268,8 @@ export class ObservableStorageV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionCSINode(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionCSINodeWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionCSINode(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionCSINodeWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -33275,6 +33280,7 @@ export class ObservableStorageV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -33285,8 +33291,8 @@ export class ObservableStorageV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedCSIStorageCapacityWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionNamespacedCSIStorageCapacity(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedCSIStorageCapacityWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionNamespacedCSIStorageCapacity(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -33312,6 +33318,7 @@ export class ObservableStorageV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -33322,8 +33329,8 @@ export class ObservableStorageV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedCSIStorageCapacity(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionNamespacedCSIStorageCapacityWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionNamespacedCSIStorageCapacity(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionNamespacedCSIStorageCapacityWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -33333,6 +33340,7 @@ export class ObservableStorageV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -33343,8 +33351,8 @@ export class ObservableStorageV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionStorageClassWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionStorageClass(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionStorageClassWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionStorageClass(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -33369,6 +33377,7 @@ export class ObservableStorageV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -33379,8 +33388,8 @@ export class ObservableStorageV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionStorageClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionStorageClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionStorageClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionStorageClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -33390,6 +33399,7 @@ export class ObservableStorageV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -33400,8 +33410,8 @@ export class ObservableStorageV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionVolumeAttachmentWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionVolumeAttachment(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionVolumeAttachmentWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionVolumeAttachment(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -33426,6 +33436,7 @@ export class ObservableStorageV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -33436,8 +33447,8 @@ export class ObservableStorageV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionVolumeAttachment(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionVolumeAttachmentWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionVolumeAttachment(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionVolumeAttachmentWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -33447,12 +33458,13 @@ export class ObservableStorageV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedCSIStorageCapacityWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteNamespacedCSIStorageCapacity(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedCSIStorageCapacityWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteNamespacedCSIStorageCapacity(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -33477,12 +33489,13 @@ export class ObservableStorageV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedCSIStorageCapacity(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteNamespacedCSIStorageCapacityWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteNamespacedCSIStorageCapacity(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteNamespacedCSIStorageCapacityWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -33491,12 +33504,13 @@ export class ObservableStorageV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteStorageClassWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteStorageClass(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteStorageClassWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteStorageClass(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -33520,12 +33534,13 @@ export class ObservableStorageV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteStorageClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteStorageClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteStorageClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteStorageClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -33534,12 +33549,13 @@ export class ObservableStorageV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteVolumeAttachmentWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteVolumeAttachment(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteVolumeAttachmentWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteVolumeAttachment(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -33563,12 +33579,13 @@ export class ObservableStorageV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteVolumeAttachment(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteVolumeAttachmentWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteVolumeAttachment(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteVolumeAttachmentWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -34618,7 +34635,7 @@ export class ObservableStorageV1Api { } -import { StorageV1alpha1ApiRequestFactory, StorageV1alpha1ApiResponseProcessor} from "../apis/StorageV1alpha1Api.js"; +import { StorageV1alpha1ApiRequestFactory, StorageV1alpha1ApiResponseProcessor} from "../apis/StorageV1alpha1Api"; export class ObservableStorageV1alpha1Api { private requestFactory: StorageV1alpha1ApiRequestFactory; private responseProcessor: StorageV1alpha1ApiResponseProcessor; @@ -34680,6 +34697,7 @@ export class ObservableStorageV1alpha1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -34690,8 +34708,8 @@ export class ObservableStorageV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionVolumeAttributesClassWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionVolumeAttributesClass(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionVolumeAttributesClassWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionVolumeAttributesClass(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -34716,6 +34734,7 @@ export class ObservableStorageV1alpha1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -34726,8 +34745,8 @@ export class ObservableStorageV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionVolumeAttributesClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionVolumeAttributesClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionVolumeAttributesClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionVolumeAttributesClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -34736,12 +34755,13 @@ export class ObservableStorageV1alpha1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteVolumeAttributesClassWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteVolumeAttributesClass(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteVolumeAttributesClassWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteVolumeAttributesClass(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -34765,12 +34785,13 @@ export class ObservableStorageV1alpha1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteVolumeAttributesClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteVolumeAttributesClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteVolumeAttributesClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteVolumeAttributesClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -34972,7 +34993,365 @@ export class ObservableStorageV1alpha1Api { } -import { StoragemigrationApiRequestFactory, StoragemigrationApiResponseProcessor} from "../apis/StoragemigrationApi.js"; +import { StorageV1beta1ApiRequestFactory, StorageV1beta1ApiResponseProcessor} from "../apis/StorageV1beta1Api"; +export class ObservableStorageV1beta1Api { + private requestFactory: StorageV1beta1ApiRequestFactory; + private responseProcessor: StorageV1beta1ApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: StorageV1beta1ApiRequestFactory, + responseProcessor?: StorageV1beta1ApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = requestFactory || new StorageV1beta1ApiRequestFactory(configuration); + this.responseProcessor = responseProcessor || new StorageV1beta1ApiResponseProcessor(); + } + + /** + * create a VolumeAttributesClass + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public createVolumeAttributesClassWithHttpInfo(body: V1beta1VolumeAttributesClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.createVolumeAttributesClass(body, pretty, dryRun, fieldManager, fieldValidation, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.createVolumeAttributesClassWithHttpInfo(rsp))); + })); + } + + /** + * create a VolumeAttributesClass + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public createVolumeAttributesClass(body: V1beta1VolumeAttributesClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.createVolumeAttributesClassWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + + /** + * delete collection of VolumeAttributesClass + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] + */ + public deleteCollectionVolumeAttributesClassWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionVolumeAttributesClass(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteCollectionVolumeAttributesClassWithHttpInfo(rsp))); + })); + } + + /** + * delete collection of VolumeAttributesClass + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] + */ + public deleteCollectionVolumeAttributesClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionVolumeAttributesClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + + /** + * delete a VolumeAttributesClass + * @param name name of the VolumeAttributesClass + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] + */ + public deleteVolumeAttributesClassWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteVolumeAttributesClass(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.deleteVolumeAttributesClassWithHttpInfo(rsp))); + })); + } + + /** + * delete a VolumeAttributesClass + * @param name name of the VolumeAttributesClass + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] + */ + public deleteVolumeAttributesClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteVolumeAttributesClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + + /** + * get available resources + */ + public getAPIResourcesWithHttpInfo(_options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.getAPIResources(_options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.getAPIResourcesWithHttpInfo(rsp))); + })); + } + + /** + * get available resources + */ + public getAPIResources(_options?: Configuration): Observable { + return this.getAPIResourcesWithHttpInfo(_options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + + /** + * list or watch objects of kind VolumeAttributesClass + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + */ + public listVolumeAttributesClassWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.listVolumeAttributesClass(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.listVolumeAttributesClassWithHttpInfo(rsp))); + })); + } + + /** + * list or watch objects of kind VolumeAttributesClass + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + */ + public listVolumeAttributesClass(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Observable { + return this.listVolumeAttributesClassWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + + /** + * partially update the specified VolumeAttributesClass + * @param name name of the VolumeAttributesClass + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchVolumeAttributesClassWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.patchVolumeAttributesClass(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.patchVolumeAttributesClassWithHttpInfo(rsp))); + })); + } + + /** + * partially update the specified VolumeAttributesClass + * @param name name of the VolumeAttributesClass + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchVolumeAttributesClass(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Observable { + return this.patchVolumeAttributesClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + + /** + * read the specified VolumeAttributesClass + * @param name name of the VolumeAttributesClass + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readVolumeAttributesClassWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.readVolumeAttributesClass(name, pretty, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.readVolumeAttributesClassWithHttpInfo(rsp))); + })); + } + + /** + * read the specified VolumeAttributesClass + * @param name name of the VolumeAttributesClass + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readVolumeAttributesClass(name: string, pretty?: string, _options?: Configuration): Observable { + return this.readVolumeAttributesClassWithHttpInfo(name, pretty, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + + /** + * replace the specified VolumeAttributesClass + * @param name name of the VolumeAttributesClass + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public replaceVolumeAttributesClassWithHttpInfo(name: string, body: V1beta1VolumeAttributesClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.replaceVolumeAttributesClass(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + + // build promise chain + let middlewarePreObservable = from(requestContextPromise); + for (const middleware of this.configuration.middleware) { + middlewarePreObservable = middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => middleware.pre(ctx))); + } + + return middlewarePreObservable.pipe(mergeMap((ctx: RequestContext) => this.configuration.httpApi.send(ctx))). + pipe(mergeMap((response: ResponseContext) => { + let middlewarePostObservable = of(response); + for (const middleware of this.configuration.middleware) { + middlewarePostObservable = middlewarePostObservable.pipe(mergeMap((rsp: ResponseContext) => middleware.post(rsp))); + } + return middlewarePostObservable.pipe(map((rsp: ResponseContext) => this.responseProcessor.replaceVolumeAttributesClassWithHttpInfo(rsp))); + })); + } + + /** + * replace the specified VolumeAttributesClass + * @param name name of the VolumeAttributesClass + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public replaceVolumeAttributesClass(name: string, body: V1beta1VolumeAttributesClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Observable { + return this.replaceVolumeAttributesClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + } + +} + +import { StoragemigrationApiRequestFactory, StoragemigrationApiResponseProcessor} from "../apis/StoragemigrationApi"; export class ObservableStoragemigrationApi { private requestFactory: StoragemigrationApiRequestFactory; private responseProcessor: StoragemigrationApiResponseProcessor; @@ -35019,7 +35398,7 @@ export class ObservableStoragemigrationApi { } -import { StoragemigrationV1alpha1ApiRequestFactory, StoragemigrationV1alpha1ApiResponseProcessor} from "../apis/StoragemigrationV1alpha1Api.js"; +import { StoragemigrationV1alpha1ApiRequestFactory, StoragemigrationV1alpha1ApiResponseProcessor} from "../apis/StoragemigrationV1alpha1Api"; export class ObservableStoragemigrationV1alpha1Api { private requestFactory: StoragemigrationV1alpha1ApiRequestFactory; private responseProcessor: StoragemigrationV1alpha1ApiResponseProcessor; @@ -35081,6 +35460,7 @@ export class ObservableStoragemigrationV1alpha1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -35091,8 +35471,8 @@ export class ObservableStoragemigrationV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionStorageVersionMigrationWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteCollectionStorageVersionMigration(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionStorageVersionMigrationWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteCollectionStorageVersionMigration(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -35117,6 +35497,7 @@ export class ObservableStoragemigrationV1alpha1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -35127,8 +35508,8 @@ export class ObservableStoragemigrationV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionStorageVersionMigration(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteCollectionStorageVersionMigrationWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteCollectionStorageVersionMigration(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteCollectionStorageVersionMigrationWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -35137,12 +35518,13 @@ export class ObservableStoragemigrationV1alpha1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteStorageVersionMigrationWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { - const requestContextPromise = this.requestFactory.deleteStorageVersionMigration(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteStorageVersionMigrationWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable> { + const requestContextPromise = this.requestFactory.deleteStorageVersionMigration(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); // build promise chain let middlewarePreObservable = from(requestContextPromise); @@ -35166,12 +35548,13 @@ export class ObservableStoragemigrationV1alpha1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteStorageVersionMigration(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { - return this.deleteStorageVersionMigrationWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); + public deleteStorageVersionMigration(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Observable { + return this.deleteStorageVersionMigrationWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options).pipe(map((apiResponse: HttpInfo) => apiResponse.data)); } /** @@ -35490,7 +35873,7 @@ export class ObservableStoragemigrationV1alpha1Api { } -import { VersionApiRequestFactory, VersionApiResponseProcessor} from "../apis/VersionApi.js"; +import { VersionApiRequestFactory, VersionApiResponseProcessor} from "../apis/VersionApi"; export class ObservableVersionApi { private requestFactory: VersionApiRequestFactory; private responseProcessor: VersionApiResponseProcessor; @@ -35537,7 +35920,7 @@ export class ObservableVersionApi { } -import { WellKnownApiRequestFactory, WellKnownApiResponseProcessor} from "../apis/WellKnownApi.js"; +import { WellKnownApiRequestFactory, WellKnownApiResponseProcessor} from "../apis/WellKnownApi"; export class ObservableWellKnownApi { private requestFactory: WellKnownApiRequestFactory; private responseProcessor: WellKnownApiResponseProcessor; diff --git a/src/gen/types/PromiseAPI.ts b/src/gen/types/PromiseAPI.ts index 927658329fd..8b1f55cdf2f 100644 --- a/src/gen/types/PromiseAPI.ts +++ b/src/gen/types/PromiseAPI.ts @@ -1,622 +1,634 @@ -import { ResponseContext, RequestContext, HttpFile, HttpInfo } from '../http/http.js'; -import { Configuration} from '../configuration.js' - -import { AdmissionregistrationV1ServiceReference } from '../models/AdmissionregistrationV1ServiceReference.js'; -import { AdmissionregistrationV1WebhookClientConfig } from '../models/AdmissionregistrationV1WebhookClientConfig.js'; -import { ApiextensionsV1ServiceReference } from '../models/ApiextensionsV1ServiceReference.js'; -import { ApiextensionsV1WebhookClientConfig } from '../models/ApiextensionsV1WebhookClientConfig.js'; -import { ApiregistrationV1ServiceReference } from '../models/ApiregistrationV1ServiceReference.js'; -import { AuthenticationV1TokenRequest } from '../models/AuthenticationV1TokenRequest.js'; -import { CoreV1EndpointPort } from '../models/CoreV1EndpointPort.js'; -import { CoreV1Event } from '../models/CoreV1Event.js'; -import { CoreV1EventList } from '../models/CoreV1EventList.js'; -import { CoreV1EventSeries } from '../models/CoreV1EventSeries.js'; -import { DiscoveryV1EndpointPort } from '../models/DiscoveryV1EndpointPort.js'; -import { EventsV1Event } from '../models/EventsV1Event.js'; -import { EventsV1EventList } from '../models/EventsV1EventList.js'; -import { EventsV1EventSeries } from '../models/EventsV1EventSeries.js'; -import { FlowcontrolV1Subject } from '../models/FlowcontrolV1Subject.js'; -import { RbacV1Subject } from '../models/RbacV1Subject.js'; -import { StorageV1TokenRequest } from '../models/StorageV1TokenRequest.js'; -import { V1APIGroup } from '../models/V1APIGroup.js'; -import { V1APIGroupList } from '../models/V1APIGroupList.js'; -import { V1APIResource } from '../models/V1APIResource.js'; -import { V1APIResourceList } from '../models/V1APIResourceList.js'; -import { V1APIService } from '../models/V1APIService.js'; -import { V1APIServiceCondition } from '../models/V1APIServiceCondition.js'; -import { V1APIServiceList } from '../models/V1APIServiceList.js'; -import { V1APIServiceSpec } from '../models/V1APIServiceSpec.js'; -import { V1APIServiceStatus } from '../models/V1APIServiceStatus.js'; -import { V1APIVersions } from '../models/V1APIVersions.js'; -import { V1AWSElasticBlockStoreVolumeSource } from '../models/V1AWSElasticBlockStoreVolumeSource.js'; -import { V1Affinity } from '../models/V1Affinity.js'; -import { V1AggregationRule } from '../models/V1AggregationRule.js'; -import { V1AppArmorProfile } from '../models/V1AppArmorProfile.js'; -import { V1AttachedVolume } from '../models/V1AttachedVolume.js'; -import { V1AuditAnnotation } from '../models/V1AuditAnnotation.js'; -import { V1AzureDiskVolumeSource } from '../models/V1AzureDiskVolumeSource.js'; -import { V1AzureFilePersistentVolumeSource } from '../models/V1AzureFilePersistentVolumeSource.js'; -import { V1AzureFileVolumeSource } from '../models/V1AzureFileVolumeSource.js'; -import { V1Binding } from '../models/V1Binding.js'; -import { V1BoundObjectReference } from '../models/V1BoundObjectReference.js'; -import { V1CSIDriver } from '../models/V1CSIDriver.js'; -import { V1CSIDriverList } from '../models/V1CSIDriverList.js'; -import { V1CSIDriverSpec } from '../models/V1CSIDriverSpec.js'; -import { V1CSINode } from '../models/V1CSINode.js'; -import { V1CSINodeDriver } from '../models/V1CSINodeDriver.js'; -import { V1CSINodeList } from '../models/V1CSINodeList.js'; -import { V1CSINodeSpec } from '../models/V1CSINodeSpec.js'; -import { V1CSIPersistentVolumeSource } from '../models/V1CSIPersistentVolumeSource.js'; -import { V1CSIStorageCapacity } from '../models/V1CSIStorageCapacity.js'; -import { V1CSIStorageCapacityList } from '../models/V1CSIStorageCapacityList.js'; -import { V1CSIVolumeSource } from '../models/V1CSIVolumeSource.js'; -import { V1Capabilities } from '../models/V1Capabilities.js'; -import { V1CephFSPersistentVolumeSource } from '../models/V1CephFSPersistentVolumeSource.js'; -import { V1CephFSVolumeSource } from '../models/V1CephFSVolumeSource.js'; -import { V1CertificateSigningRequest } from '../models/V1CertificateSigningRequest.js'; -import { V1CertificateSigningRequestCondition } from '../models/V1CertificateSigningRequestCondition.js'; -import { V1CertificateSigningRequestList } from '../models/V1CertificateSigningRequestList.js'; -import { V1CertificateSigningRequestSpec } from '../models/V1CertificateSigningRequestSpec.js'; -import { V1CertificateSigningRequestStatus } from '../models/V1CertificateSigningRequestStatus.js'; -import { V1CinderPersistentVolumeSource } from '../models/V1CinderPersistentVolumeSource.js'; -import { V1CinderVolumeSource } from '../models/V1CinderVolumeSource.js'; -import { V1ClaimSource } from '../models/V1ClaimSource.js'; -import { V1ClientIPConfig } from '../models/V1ClientIPConfig.js'; -import { V1ClusterRole } from '../models/V1ClusterRole.js'; -import { V1ClusterRoleBinding } from '../models/V1ClusterRoleBinding.js'; -import { V1ClusterRoleBindingList } from '../models/V1ClusterRoleBindingList.js'; -import { V1ClusterRoleList } from '../models/V1ClusterRoleList.js'; -import { V1ClusterTrustBundleProjection } from '../models/V1ClusterTrustBundleProjection.js'; -import { V1ComponentCondition } from '../models/V1ComponentCondition.js'; -import { V1ComponentStatus } from '../models/V1ComponentStatus.js'; -import { V1ComponentStatusList } from '../models/V1ComponentStatusList.js'; -import { V1Condition } from '../models/V1Condition.js'; -import { V1ConfigMap } from '../models/V1ConfigMap.js'; -import { V1ConfigMapEnvSource } from '../models/V1ConfigMapEnvSource.js'; -import { V1ConfigMapKeySelector } from '../models/V1ConfigMapKeySelector.js'; -import { V1ConfigMapList } from '../models/V1ConfigMapList.js'; -import { V1ConfigMapNodeConfigSource } from '../models/V1ConfigMapNodeConfigSource.js'; -import { V1ConfigMapProjection } from '../models/V1ConfigMapProjection.js'; -import { V1ConfigMapVolumeSource } from '../models/V1ConfigMapVolumeSource.js'; -import { V1Container } from '../models/V1Container.js'; -import { V1ContainerImage } from '../models/V1ContainerImage.js'; -import { V1ContainerPort } from '../models/V1ContainerPort.js'; -import { V1ContainerResizePolicy } from '../models/V1ContainerResizePolicy.js'; -import { V1ContainerState } from '../models/V1ContainerState.js'; -import { V1ContainerStateRunning } from '../models/V1ContainerStateRunning.js'; -import { V1ContainerStateTerminated } from '../models/V1ContainerStateTerminated.js'; -import { V1ContainerStateWaiting } from '../models/V1ContainerStateWaiting.js'; -import { V1ContainerStatus } from '../models/V1ContainerStatus.js'; -import { V1ControllerRevision } from '../models/V1ControllerRevision.js'; -import { V1ControllerRevisionList } from '../models/V1ControllerRevisionList.js'; -import { V1CronJob } from '../models/V1CronJob.js'; -import { V1CronJobList } from '../models/V1CronJobList.js'; -import { V1CronJobSpec } from '../models/V1CronJobSpec.js'; -import { V1CronJobStatus } from '../models/V1CronJobStatus.js'; -import { V1CrossVersionObjectReference } from '../models/V1CrossVersionObjectReference.js'; -import { V1CustomResourceColumnDefinition } from '../models/V1CustomResourceColumnDefinition.js'; -import { V1CustomResourceConversion } from '../models/V1CustomResourceConversion.js'; -import { V1CustomResourceDefinition } from '../models/V1CustomResourceDefinition.js'; -import { V1CustomResourceDefinitionCondition } from '../models/V1CustomResourceDefinitionCondition.js'; -import { V1CustomResourceDefinitionList } from '../models/V1CustomResourceDefinitionList.js'; -import { V1CustomResourceDefinitionNames } from '../models/V1CustomResourceDefinitionNames.js'; -import { V1CustomResourceDefinitionSpec } from '../models/V1CustomResourceDefinitionSpec.js'; -import { V1CustomResourceDefinitionStatus } from '../models/V1CustomResourceDefinitionStatus.js'; -import { V1CustomResourceDefinitionVersion } from '../models/V1CustomResourceDefinitionVersion.js'; -import { V1CustomResourceSubresourceScale } from '../models/V1CustomResourceSubresourceScale.js'; -import { V1CustomResourceSubresources } from '../models/V1CustomResourceSubresources.js'; -import { V1CustomResourceValidation } from '../models/V1CustomResourceValidation.js'; -import { V1DaemonEndpoint } from '../models/V1DaemonEndpoint.js'; -import { V1DaemonSet } from '../models/V1DaemonSet.js'; -import { V1DaemonSetCondition } from '../models/V1DaemonSetCondition.js'; -import { V1DaemonSetList } from '../models/V1DaemonSetList.js'; -import { V1DaemonSetSpec } from '../models/V1DaemonSetSpec.js'; -import { V1DaemonSetStatus } from '../models/V1DaemonSetStatus.js'; -import { V1DaemonSetUpdateStrategy } from '../models/V1DaemonSetUpdateStrategy.js'; -import { V1DeleteOptions } from '../models/V1DeleteOptions.js'; -import { V1Deployment } from '../models/V1Deployment.js'; -import { V1DeploymentCondition } from '../models/V1DeploymentCondition.js'; -import { V1DeploymentList } from '../models/V1DeploymentList.js'; -import { V1DeploymentSpec } from '../models/V1DeploymentSpec.js'; -import { V1DeploymentStatus } from '../models/V1DeploymentStatus.js'; -import { V1DeploymentStrategy } from '../models/V1DeploymentStrategy.js'; -import { V1DownwardAPIProjection } from '../models/V1DownwardAPIProjection.js'; -import { V1DownwardAPIVolumeFile } from '../models/V1DownwardAPIVolumeFile.js'; -import { V1DownwardAPIVolumeSource } from '../models/V1DownwardAPIVolumeSource.js'; -import { V1EmptyDirVolumeSource } from '../models/V1EmptyDirVolumeSource.js'; -import { V1Endpoint } from '../models/V1Endpoint.js'; -import { V1EndpointAddress } from '../models/V1EndpointAddress.js'; -import { V1EndpointConditions } from '../models/V1EndpointConditions.js'; -import { V1EndpointHints } from '../models/V1EndpointHints.js'; -import { V1EndpointSlice } from '../models/V1EndpointSlice.js'; -import { V1EndpointSliceList } from '../models/V1EndpointSliceList.js'; -import { V1EndpointSubset } from '../models/V1EndpointSubset.js'; -import { V1Endpoints } from '../models/V1Endpoints.js'; -import { V1EndpointsList } from '../models/V1EndpointsList.js'; -import { V1EnvFromSource } from '../models/V1EnvFromSource.js'; -import { V1EnvVar } from '../models/V1EnvVar.js'; -import { V1EnvVarSource } from '../models/V1EnvVarSource.js'; -import { V1EphemeralContainer } from '../models/V1EphemeralContainer.js'; -import { V1EphemeralVolumeSource } from '../models/V1EphemeralVolumeSource.js'; -import { V1EventSource } from '../models/V1EventSource.js'; -import { V1Eviction } from '../models/V1Eviction.js'; -import { V1ExecAction } from '../models/V1ExecAction.js'; -import { V1ExemptPriorityLevelConfiguration } from '../models/V1ExemptPriorityLevelConfiguration.js'; -import { V1ExpressionWarning } from '../models/V1ExpressionWarning.js'; -import { V1ExternalDocumentation } from '../models/V1ExternalDocumentation.js'; -import { V1FCVolumeSource } from '../models/V1FCVolumeSource.js'; -import { V1FlexPersistentVolumeSource } from '../models/V1FlexPersistentVolumeSource.js'; -import { V1FlexVolumeSource } from '../models/V1FlexVolumeSource.js'; -import { V1FlockerVolumeSource } from '../models/V1FlockerVolumeSource.js'; -import { V1FlowDistinguisherMethod } from '../models/V1FlowDistinguisherMethod.js'; -import { V1FlowSchema } from '../models/V1FlowSchema.js'; -import { V1FlowSchemaCondition } from '../models/V1FlowSchemaCondition.js'; -import { V1FlowSchemaList } from '../models/V1FlowSchemaList.js'; -import { V1FlowSchemaSpec } from '../models/V1FlowSchemaSpec.js'; -import { V1FlowSchemaStatus } from '../models/V1FlowSchemaStatus.js'; -import { V1ForZone } from '../models/V1ForZone.js'; -import { V1GCEPersistentDiskVolumeSource } from '../models/V1GCEPersistentDiskVolumeSource.js'; -import { V1GRPCAction } from '../models/V1GRPCAction.js'; -import { V1GitRepoVolumeSource } from '../models/V1GitRepoVolumeSource.js'; -import { V1GlusterfsPersistentVolumeSource } from '../models/V1GlusterfsPersistentVolumeSource.js'; -import { V1GlusterfsVolumeSource } from '../models/V1GlusterfsVolumeSource.js'; -import { V1GroupSubject } from '../models/V1GroupSubject.js'; -import { V1GroupVersionForDiscovery } from '../models/V1GroupVersionForDiscovery.js'; -import { V1HTTPGetAction } from '../models/V1HTTPGetAction.js'; -import { V1HTTPHeader } from '../models/V1HTTPHeader.js'; -import { V1HTTPIngressPath } from '../models/V1HTTPIngressPath.js'; -import { V1HTTPIngressRuleValue } from '../models/V1HTTPIngressRuleValue.js'; -import { V1HorizontalPodAutoscaler } from '../models/V1HorizontalPodAutoscaler.js'; -import { V1HorizontalPodAutoscalerList } from '../models/V1HorizontalPodAutoscalerList.js'; -import { V1HorizontalPodAutoscalerSpec } from '../models/V1HorizontalPodAutoscalerSpec.js'; -import { V1HorizontalPodAutoscalerStatus } from '../models/V1HorizontalPodAutoscalerStatus.js'; -import { V1HostAlias } from '../models/V1HostAlias.js'; -import { V1HostIP } from '../models/V1HostIP.js'; -import { V1HostPathVolumeSource } from '../models/V1HostPathVolumeSource.js'; -import { V1IPBlock } from '../models/V1IPBlock.js'; -import { V1ISCSIPersistentVolumeSource } from '../models/V1ISCSIPersistentVolumeSource.js'; -import { V1ISCSIVolumeSource } from '../models/V1ISCSIVolumeSource.js'; -import { V1Ingress } from '../models/V1Ingress.js'; -import { V1IngressBackend } from '../models/V1IngressBackend.js'; -import { V1IngressClass } from '../models/V1IngressClass.js'; -import { V1IngressClassList } from '../models/V1IngressClassList.js'; -import { V1IngressClassParametersReference } from '../models/V1IngressClassParametersReference.js'; -import { V1IngressClassSpec } from '../models/V1IngressClassSpec.js'; -import { V1IngressList } from '../models/V1IngressList.js'; -import { V1IngressLoadBalancerIngress } from '../models/V1IngressLoadBalancerIngress.js'; -import { V1IngressLoadBalancerStatus } from '../models/V1IngressLoadBalancerStatus.js'; -import { V1IngressPortStatus } from '../models/V1IngressPortStatus.js'; -import { V1IngressRule } from '../models/V1IngressRule.js'; -import { V1IngressServiceBackend } from '../models/V1IngressServiceBackend.js'; -import { V1IngressSpec } from '../models/V1IngressSpec.js'; -import { V1IngressStatus } from '../models/V1IngressStatus.js'; -import { V1IngressTLS } from '../models/V1IngressTLS.js'; -import { V1JSONSchemaProps } from '../models/V1JSONSchemaProps.js'; -import { V1Job } from '../models/V1Job.js'; -import { V1JobCondition } from '../models/V1JobCondition.js'; -import { V1JobList } from '../models/V1JobList.js'; -import { V1JobSpec } from '../models/V1JobSpec.js'; -import { V1JobStatus } from '../models/V1JobStatus.js'; -import { V1JobTemplateSpec } from '../models/V1JobTemplateSpec.js'; -import { V1KeyToPath } from '../models/V1KeyToPath.js'; -import { V1LabelSelector } from '../models/V1LabelSelector.js'; -import { V1LabelSelectorRequirement } from '../models/V1LabelSelectorRequirement.js'; -import { V1Lease } from '../models/V1Lease.js'; -import { V1LeaseList } from '../models/V1LeaseList.js'; -import { V1LeaseSpec } from '../models/V1LeaseSpec.js'; -import { V1Lifecycle } from '../models/V1Lifecycle.js'; -import { V1LifecycleHandler } from '../models/V1LifecycleHandler.js'; -import { V1LimitRange } from '../models/V1LimitRange.js'; -import { V1LimitRangeItem } from '../models/V1LimitRangeItem.js'; -import { V1LimitRangeList } from '../models/V1LimitRangeList.js'; -import { V1LimitRangeSpec } from '../models/V1LimitRangeSpec.js'; -import { V1LimitResponse } from '../models/V1LimitResponse.js'; -import { V1LimitedPriorityLevelConfiguration } from '../models/V1LimitedPriorityLevelConfiguration.js'; -import { V1ListMeta } from '../models/V1ListMeta.js'; -import { V1LoadBalancerIngress } from '../models/V1LoadBalancerIngress.js'; -import { V1LoadBalancerStatus } from '../models/V1LoadBalancerStatus.js'; -import { V1LocalObjectReference } from '../models/V1LocalObjectReference.js'; -import { V1LocalSubjectAccessReview } from '../models/V1LocalSubjectAccessReview.js'; -import { V1LocalVolumeSource } from '../models/V1LocalVolumeSource.js'; -import { V1ManagedFieldsEntry } from '../models/V1ManagedFieldsEntry.js'; -import { V1MatchCondition } from '../models/V1MatchCondition.js'; -import { V1MatchResources } from '../models/V1MatchResources.js'; -import { V1ModifyVolumeStatus } from '../models/V1ModifyVolumeStatus.js'; -import { V1MutatingWebhook } from '../models/V1MutatingWebhook.js'; -import { V1MutatingWebhookConfiguration } from '../models/V1MutatingWebhookConfiguration.js'; -import { V1MutatingWebhookConfigurationList } from '../models/V1MutatingWebhookConfigurationList.js'; -import { V1NFSVolumeSource } from '../models/V1NFSVolumeSource.js'; -import { V1NamedRuleWithOperations } from '../models/V1NamedRuleWithOperations.js'; -import { V1Namespace } from '../models/V1Namespace.js'; -import { V1NamespaceCondition } from '../models/V1NamespaceCondition.js'; -import { V1NamespaceList } from '../models/V1NamespaceList.js'; -import { V1NamespaceSpec } from '../models/V1NamespaceSpec.js'; -import { V1NamespaceStatus } from '../models/V1NamespaceStatus.js'; -import { V1NetworkPolicy } from '../models/V1NetworkPolicy.js'; -import { V1NetworkPolicyEgressRule } from '../models/V1NetworkPolicyEgressRule.js'; -import { V1NetworkPolicyIngressRule } from '../models/V1NetworkPolicyIngressRule.js'; -import { V1NetworkPolicyList } from '../models/V1NetworkPolicyList.js'; -import { V1NetworkPolicyPeer } from '../models/V1NetworkPolicyPeer.js'; -import { V1NetworkPolicyPort } from '../models/V1NetworkPolicyPort.js'; -import { V1NetworkPolicySpec } from '../models/V1NetworkPolicySpec.js'; -import { V1Node } from '../models/V1Node.js'; -import { V1NodeAddress } from '../models/V1NodeAddress.js'; -import { V1NodeAffinity } from '../models/V1NodeAffinity.js'; -import { V1NodeCondition } from '../models/V1NodeCondition.js'; -import { V1NodeConfigSource } from '../models/V1NodeConfigSource.js'; -import { V1NodeConfigStatus } from '../models/V1NodeConfigStatus.js'; -import { V1NodeDaemonEndpoints } from '../models/V1NodeDaemonEndpoints.js'; -import { V1NodeList } from '../models/V1NodeList.js'; -import { V1NodeRuntimeHandler } from '../models/V1NodeRuntimeHandler.js'; -import { V1NodeRuntimeHandlerFeatures } from '../models/V1NodeRuntimeHandlerFeatures.js'; -import { V1NodeSelector } from '../models/V1NodeSelector.js'; -import { V1NodeSelectorRequirement } from '../models/V1NodeSelectorRequirement.js'; -import { V1NodeSelectorTerm } from '../models/V1NodeSelectorTerm.js'; -import { V1NodeSpec } from '../models/V1NodeSpec.js'; -import { V1NodeStatus } from '../models/V1NodeStatus.js'; -import { V1NodeSystemInfo } from '../models/V1NodeSystemInfo.js'; -import { V1NonResourceAttributes } from '../models/V1NonResourceAttributes.js'; -import { V1NonResourcePolicyRule } from '../models/V1NonResourcePolicyRule.js'; -import { V1NonResourceRule } from '../models/V1NonResourceRule.js'; -import { V1ObjectFieldSelector } from '../models/V1ObjectFieldSelector.js'; -import { V1ObjectMeta } from '../models/V1ObjectMeta.js'; -import { V1ObjectReference } from '../models/V1ObjectReference.js'; -import { V1Overhead } from '../models/V1Overhead.js'; -import { V1OwnerReference } from '../models/V1OwnerReference.js'; -import { V1ParamKind } from '../models/V1ParamKind.js'; -import { V1ParamRef } from '../models/V1ParamRef.js'; -import { V1PersistentVolume } from '../models/V1PersistentVolume.js'; -import { V1PersistentVolumeClaim } from '../models/V1PersistentVolumeClaim.js'; -import { V1PersistentVolumeClaimCondition } from '../models/V1PersistentVolumeClaimCondition.js'; -import { V1PersistentVolumeClaimList } from '../models/V1PersistentVolumeClaimList.js'; -import { V1PersistentVolumeClaimSpec } from '../models/V1PersistentVolumeClaimSpec.js'; -import { V1PersistentVolumeClaimStatus } from '../models/V1PersistentVolumeClaimStatus.js'; -import { V1PersistentVolumeClaimTemplate } from '../models/V1PersistentVolumeClaimTemplate.js'; -import { V1PersistentVolumeClaimVolumeSource } from '../models/V1PersistentVolumeClaimVolumeSource.js'; -import { V1PersistentVolumeList } from '../models/V1PersistentVolumeList.js'; -import { V1PersistentVolumeSpec } from '../models/V1PersistentVolumeSpec.js'; -import { V1PersistentVolumeStatus } from '../models/V1PersistentVolumeStatus.js'; -import { V1PhotonPersistentDiskVolumeSource } from '../models/V1PhotonPersistentDiskVolumeSource.js'; -import { V1Pod } from '../models/V1Pod.js'; -import { V1PodAffinity } from '../models/V1PodAffinity.js'; -import { V1PodAffinityTerm } from '../models/V1PodAffinityTerm.js'; -import { V1PodAntiAffinity } from '../models/V1PodAntiAffinity.js'; -import { V1PodCondition } from '../models/V1PodCondition.js'; -import { V1PodDNSConfig } from '../models/V1PodDNSConfig.js'; -import { V1PodDNSConfigOption } from '../models/V1PodDNSConfigOption.js'; -import { V1PodDisruptionBudget } from '../models/V1PodDisruptionBudget.js'; -import { V1PodDisruptionBudgetList } from '../models/V1PodDisruptionBudgetList.js'; -import { V1PodDisruptionBudgetSpec } from '../models/V1PodDisruptionBudgetSpec.js'; -import { V1PodDisruptionBudgetStatus } from '../models/V1PodDisruptionBudgetStatus.js'; -import { V1PodFailurePolicy } from '../models/V1PodFailurePolicy.js'; -import { V1PodFailurePolicyOnExitCodesRequirement } from '../models/V1PodFailurePolicyOnExitCodesRequirement.js'; -import { V1PodFailurePolicyOnPodConditionsPattern } from '../models/V1PodFailurePolicyOnPodConditionsPattern.js'; -import { V1PodFailurePolicyRule } from '../models/V1PodFailurePolicyRule.js'; -import { V1PodIP } from '../models/V1PodIP.js'; -import { V1PodList } from '../models/V1PodList.js'; -import { V1PodOS } from '../models/V1PodOS.js'; -import { V1PodReadinessGate } from '../models/V1PodReadinessGate.js'; -import { V1PodResourceClaim } from '../models/V1PodResourceClaim.js'; -import { V1PodResourceClaimStatus } from '../models/V1PodResourceClaimStatus.js'; -import { V1PodSchedulingGate } from '../models/V1PodSchedulingGate.js'; -import { V1PodSecurityContext } from '../models/V1PodSecurityContext.js'; -import { V1PodSpec } from '../models/V1PodSpec.js'; -import { V1PodStatus } from '../models/V1PodStatus.js'; -import { V1PodTemplate } from '../models/V1PodTemplate.js'; -import { V1PodTemplateList } from '../models/V1PodTemplateList.js'; -import { V1PodTemplateSpec } from '../models/V1PodTemplateSpec.js'; -import { V1PolicyRule } from '../models/V1PolicyRule.js'; -import { V1PolicyRulesWithSubjects } from '../models/V1PolicyRulesWithSubjects.js'; -import { V1PortStatus } from '../models/V1PortStatus.js'; -import { V1PortworxVolumeSource } from '../models/V1PortworxVolumeSource.js'; -import { V1Preconditions } from '../models/V1Preconditions.js'; -import { V1PreferredSchedulingTerm } from '../models/V1PreferredSchedulingTerm.js'; -import { V1PriorityClass } from '../models/V1PriorityClass.js'; -import { V1PriorityClassList } from '../models/V1PriorityClassList.js'; -import { V1PriorityLevelConfiguration } from '../models/V1PriorityLevelConfiguration.js'; -import { V1PriorityLevelConfigurationCondition } from '../models/V1PriorityLevelConfigurationCondition.js'; -import { V1PriorityLevelConfigurationList } from '../models/V1PriorityLevelConfigurationList.js'; -import { V1PriorityLevelConfigurationReference } from '../models/V1PriorityLevelConfigurationReference.js'; -import { V1PriorityLevelConfigurationSpec } from '../models/V1PriorityLevelConfigurationSpec.js'; -import { V1PriorityLevelConfigurationStatus } from '../models/V1PriorityLevelConfigurationStatus.js'; -import { V1Probe } from '../models/V1Probe.js'; -import { V1ProjectedVolumeSource } from '../models/V1ProjectedVolumeSource.js'; -import { V1QueuingConfiguration } from '../models/V1QueuingConfiguration.js'; -import { V1QuobyteVolumeSource } from '../models/V1QuobyteVolumeSource.js'; -import { V1RBDPersistentVolumeSource } from '../models/V1RBDPersistentVolumeSource.js'; -import { V1RBDVolumeSource } from '../models/V1RBDVolumeSource.js'; -import { V1ReplicaSet } from '../models/V1ReplicaSet.js'; -import { V1ReplicaSetCondition } from '../models/V1ReplicaSetCondition.js'; -import { V1ReplicaSetList } from '../models/V1ReplicaSetList.js'; -import { V1ReplicaSetSpec } from '../models/V1ReplicaSetSpec.js'; -import { V1ReplicaSetStatus } from '../models/V1ReplicaSetStatus.js'; -import { V1ReplicationController } from '../models/V1ReplicationController.js'; -import { V1ReplicationControllerCondition } from '../models/V1ReplicationControllerCondition.js'; -import { V1ReplicationControllerList } from '../models/V1ReplicationControllerList.js'; -import { V1ReplicationControllerSpec } from '../models/V1ReplicationControllerSpec.js'; -import { V1ReplicationControllerStatus } from '../models/V1ReplicationControllerStatus.js'; -import { V1ResourceAttributes } from '../models/V1ResourceAttributes.js'; -import { V1ResourceClaim } from '../models/V1ResourceClaim.js'; -import { V1ResourceFieldSelector } from '../models/V1ResourceFieldSelector.js'; -import { V1ResourcePolicyRule } from '../models/V1ResourcePolicyRule.js'; -import { V1ResourceQuota } from '../models/V1ResourceQuota.js'; -import { V1ResourceQuotaList } from '../models/V1ResourceQuotaList.js'; -import { V1ResourceQuotaSpec } from '../models/V1ResourceQuotaSpec.js'; -import { V1ResourceQuotaStatus } from '../models/V1ResourceQuotaStatus.js'; -import { V1ResourceRequirements } from '../models/V1ResourceRequirements.js'; -import { V1ResourceRule } from '../models/V1ResourceRule.js'; -import { V1Role } from '../models/V1Role.js'; -import { V1RoleBinding } from '../models/V1RoleBinding.js'; -import { V1RoleBindingList } from '../models/V1RoleBindingList.js'; -import { V1RoleList } from '../models/V1RoleList.js'; -import { V1RoleRef } from '../models/V1RoleRef.js'; -import { V1RollingUpdateDaemonSet } from '../models/V1RollingUpdateDaemonSet.js'; -import { V1RollingUpdateDeployment } from '../models/V1RollingUpdateDeployment.js'; -import { V1RollingUpdateStatefulSetStrategy } from '../models/V1RollingUpdateStatefulSetStrategy.js'; -import { V1RuleWithOperations } from '../models/V1RuleWithOperations.js'; -import { V1RuntimeClass } from '../models/V1RuntimeClass.js'; -import { V1RuntimeClassList } from '../models/V1RuntimeClassList.js'; -import { V1SELinuxOptions } from '../models/V1SELinuxOptions.js'; -import { V1Scale } from '../models/V1Scale.js'; -import { V1ScaleIOPersistentVolumeSource } from '../models/V1ScaleIOPersistentVolumeSource.js'; -import { V1ScaleIOVolumeSource } from '../models/V1ScaleIOVolumeSource.js'; -import { V1ScaleSpec } from '../models/V1ScaleSpec.js'; -import { V1ScaleStatus } from '../models/V1ScaleStatus.js'; -import { V1Scheduling } from '../models/V1Scheduling.js'; -import { V1ScopeSelector } from '../models/V1ScopeSelector.js'; -import { V1ScopedResourceSelectorRequirement } from '../models/V1ScopedResourceSelectorRequirement.js'; -import { V1SeccompProfile } from '../models/V1SeccompProfile.js'; -import { V1Secret } from '../models/V1Secret.js'; -import { V1SecretEnvSource } from '../models/V1SecretEnvSource.js'; -import { V1SecretKeySelector } from '../models/V1SecretKeySelector.js'; -import { V1SecretList } from '../models/V1SecretList.js'; -import { V1SecretProjection } from '../models/V1SecretProjection.js'; -import { V1SecretReference } from '../models/V1SecretReference.js'; -import { V1SecretVolumeSource } from '../models/V1SecretVolumeSource.js'; -import { V1SecurityContext } from '../models/V1SecurityContext.js'; -import { V1SelectableField } from '../models/V1SelectableField.js'; -import { V1SelfSubjectAccessReview } from '../models/V1SelfSubjectAccessReview.js'; -import { V1SelfSubjectAccessReviewSpec } from '../models/V1SelfSubjectAccessReviewSpec.js'; -import { V1SelfSubjectReview } from '../models/V1SelfSubjectReview.js'; -import { V1SelfSubjectReviewStatus } from '../models/V1SelfSubjectReviewStatus.js'; -import { V1SelfSubjectRulesReview } from '../models/V1SelfSubjectRulesReview.js'; -import { V1SelfSubjectRulesReviewSpec } from '../models/V1SelfSubjectRulesReviewSpec.js'; -import { V1ServerAddressByClientCIDR } from '../models/V1ServerAddressByClientCIDR.js'; -import { V1Service } from '../models/V1Service.js'; -import { V1ServiceAccount } from '../models/V1ServiceAccount.js'; -import { V1ServiceAccountList } from '../models/V1ServiceAccountList.js'; -import { V1ServiceAccountSubject } from '../models/V1ServiceAccountSubject.js'; -import { V1ServiceAccountTokenProjection } from '../models/V1ServiceAccountTokenProjection.js'; -import { V1ServiceBackendPort } from '../models/V1ServiceBackendPort.js'; -import { V1ServiceList } from '../models/V1ServiceList.js'; -import { V1ServicePort } from '../models/V1ServicePort.js'; -import { V1ServiceSpec } from '../models/V1ServiceSpec.js'; -import { V1ServiceStatus } from '../models/V1ServiceStatus.js'; -import { V1SessionAffinityConfig } from '../models/V1SessionAffinityConfig.js'; -import { V1SleepAction } from '../models/V1SleepAction.js'; -import { V1StatefulSet } from '../models/V1StatefulSet.js'; -import { V1StatefulSetCondition } from '../models/V1StatefulSetCondition.js'; -import { V1StatefulSetList } from '../models/V1StatefulSetList.js'; -import { V1StatefulSetOrdinals } from '../models/V1StatefulSetOrdinals.js'; -import { V1StatefulSetPersistentVolumeClaimRetentionPolicy } from '../models/V1StatefulSetPersistentVolumeClaimRetentionPolicy.js'; -import { V1StatefulSetSpec } from '../models/V1StatefulSetSpec.js'; -import { V1StatefulSetStatus } from '../models/V1StatefulSetStatus.js'; -import { V1StatefulSetUpdateStrategy } from '../models/V1StatefulSetUpdateStrategy.js'; -import { V1Status } from '../models/V1Status.js'; -import { V1StatusCause } from '../models/V1StatusCause.js'; -import { V1StatusDetails } from '../models/V1StatusDetails.js'; -import { V1StorageClass } from '../models/V1StorageClass.js'; -import { V1StorageClassList } from '../models/V1StorageClassList.js'; -import { V1StorageOSPersistentVolumeSource } from '../models/V1StorageOSPersistentVolumeSource.js'; -import { V1StorageOSVolumeSource } from '../models/V1StorageOSVolumeSource.js'; -import { V1SubjectAccessReview } from '../models/V1SubjectAccessReview.js'; -import { V1SubjectAccessReviewSpec } from '../models/V1SubjectAccessReviewSpec.js'; -import { V1SubjectAccessReviewStatus } from '../models/V1SubjectAccessReviewStatus.js'; -import { V1SubjectRulesReviewStatus } from '../models/V1SubjectRulesReviewStatus.js'; -import { V1SuccessPolicy } from '../models/V1SuccessPolicy.js'; -import { V1SuccessPolicyRule } from '../models/V1SuccessPolicyRule.js'; -import { V1Sysctl } from '../models/V1Sysctl.js'; -import { V1TCPSocketAction } from '../models/V1TCPSocketAction.js'; -import { V1Taint } from '../models/V1Taint.js'; -import { V1TokenRequestSpec } from '../models/V1TokenRequestSpec.js'; -import { V1TokenRequestStatus } from '../models/V1TokenRequestStatus.js'; -import { V1TokenReview } from '../models/V1TokenReview.js'; -import { V1TokenReviewSpec } from '../models/V1TokenReviewSpec.js'; -import { V1TokenReviewStatus } from '../models/V1TokenReviewStatus.js'; -import { V1Toleration } from '../models/V1Toleration.js'; -import { V1TopologySelectorLabelRequirement } from '../models/V1TopologySelectorLabelRequirement.js'; -import { V1TopologySelectorTerm } from '../models/V1TopologySelectorTerm.js'; -import { V1TopologySpreadConstraint } from '../models/V1TopologySpreadConstraint.js'; -import { V1TypeChecking } from '../models/V1TypeChecking.js'; -import { V1TypedLocalObjectReference } from '../models/V1TypedLocalObjectReference.js'; -import { V1TypedObjectReference } from '../models/V1TypedObjectReference.js'; -import { V1UncountedTerminatedPods } from '../models/V1UncountedTerminatedPods.js'; -import { V1UserInfo } from '../models/V1UserInfo.js'; -import { V1UserSubject } from '../models/V1UserSubject.js'; -import { V1ValidatingAdmissionPolicy } from '../models/V1ValidatingAdmissionPolicy.js'; -import { V1ValidatingAdmissionPolicyBinding } from '../models/V1ValidatingAdmissionPolicyBinding.js'; -import { V1ValidatingAdmissionPolicyBindingList } from '../models/V1ValidatingAdmissionPolicyBindingList.js'; -import { V1ValidatingAdmissionPolicyBindingSpec } from '../models/V1ValidatingAdmissionPolicyBindingSpec.js'; -import { V1ValidatingAdmissionPolicyList } from '../models/V1ValidatingAdmissionPolicyList.js'; -import { V1ValidatingAdmissionPolicySpec } from '../models/V1ValidatingAdmissionPolicySpec.js'; -import { V1ValidatingAdmissionPolicyStatus } from '../models/V1ValidatingAdmissionPolicyStatus.js'; -import { V1ValidatingWebhook } from '../models/V1ValidatingWebhook.js'; -import { V1ValidatingWebhookConfiguration } from '../models/V1ValidatingWebhookConfiguration.js'; -import { V1ValidatingWebhookConfigurationList } from '../models/V1ValidatingWebhookConfigurationList.js'; -import { V1Validation } from '../models/V1Validation.js'; -import { V1ValidationRule } from '../models/V1ValidationRule.js'; -import { V1Variable } from '../models/V1Variable.js'; -import { V1Volume } from '../models/V1Volume.js'; -import { V1VolumeAttachment } from '../models/V1VolumeAttachment.js'; -import { V1VolumeAttachmentList } from '../models/V1VolumeAttachmentList.js'; -import { V1VolumeAttachmentSource } from '../models/V1VolumeAttachmentSource.js'; -import { V1VolumeAttachmentSpec } from '../models/V1VolumeAttachmentSpec.js'; -import { V1VolumeAttachmentStatus } from '../models/V1VolumeAttachmentStatus.js'; -import { V1VolumeDevice } from '../models/V1VolumeDevice.js'; -import { V1VolumeError } from '../models/V1VolumeError.js'; -import { V1VolumeMount } from '../models/V1VolumeMount.js'; -import { V1VolumeMountStatus } from '../models/V1VolumeMountStatus.js'; -import { V1VolumeNodeAffinity } from '../models/V1VolumeNodeAffinity.js'; -import { V1VolumeNodeResources } from '../models/V1VolumeNodeResources.js'; -import { V1VolumeProjection } from '../models/V1VolumeProjection.js'; -import { V1VolumeResourceRequirements } from '../models/V1VolumeResourceRequirements.js'; -import { V1VsphereVirtualDiskVolumeSource } from '../models/V1VsphereVirtualDiskVolumeSource.js'; -import { V1WatchEvent } from '../models/V1WatchEvent.js'; -import { V1WebhookConversion } from '../models/V1WebhookConversion.js'; -import { V1WeightedPodAffinityTerm } from '../models/V1WeightedPodAffinityTerm.js'; -import { V1WindowsSecurityContextOptions } from '../models/V1WindowsSecurityContextOptions.js'; -import { V1alpha1AuditAnnotation } from '../models/V1alpha1AuditAnnotation.js'; -import { V1alpha1ClusterTrustBundle } from '../models/V1alpha1ClusterTrustBundle.js'; -import { V1alpha1ClusterTrustBundleList } from '../models/V1alpha1ClusterTrustBundleList.js'; -import { V1alpha1ClusterTrustBundleSpec } from '../models/V1alpha1ClusterTrustBundleSpec.js'; -import { V1alpha1ExpressionWarning } from '../models/V1alpha1ExpressionWarning.js'; -import { V1alpha1GroupVersionResource } from '../models/V1alpha1GroupVersionResource.js'; -import { V1alpha1IPAddress } from '../models/V1alpha1IPAddress.js'; -import { V1alpha1IPAddressList } from '../models/V1alpha1IPAddressList.js'; -import { V1alpha1IPAddressSpec } from '../models/V1alpha1IPAddressSpec.js'; -import { V1alpha1MatchCondition } from '../models/V1alpha1MatchCondition.js'; -import { V1alpha1MatchResources } from '../models/V1alpha1MatchResources.js'; -import { V1alpha1MigrationCondition } from '../models/V1alpha1MigrationCondition.js'; -import { V1alpha1NamedRuleWithOperations } from '../models/V1alpha1NamedRuleWithOperations.js'; -import { V1alpha1ParamKind } from '../models/V1alpha1ParamKind.js'; -import { V1alpha1ParamRef } from '../models/V1alpha1ParamRef.js'; -import { V1alpha1ParentReference } from '../models/V1alpha1ParentReference.js'; -import { V1alpha1SelfSubjectReview } from '../models/V1alpha1SelfSubjectReview.js'; -import { V1alpha1SelfSubjectReviewStatus } from '../models/V1alpha1SelfSubjectReviewStatus.js'; -import { V1alpha1ServerStorageVersion } from '../models/V1alpha1ServerStorageVersion.js'; -import { V1alpha1ServiceCIDR } from '../models/V1alpha1ServiceCIDR.js'; -import { V1alpha1ServiceCIDRList } from '../models/V1alpha1ServiceCIDRList.js'; -import { V1alpha1ServiceCIDRSpec } from '../models/V1alpha1ServiceCIDRSpec.js'; -import { V1alpha1ServiceCIDRStatus } from '../models/V1alpha1ServiceCIDRStatus.js'; -import { V1alpha1StorageVersion } from '../models/V1alpha1StorageVersion.js'; -import { V1alpha1StorageVersionCondition } from '../models/V1alpha1StorageVersionCondition.js'; -import { V1alpha1StorageVersionList } from '../models/V1alpha1StorageVersionList.js'; -import { V1alpha1StorageVersionMigration } from '../models/V1alpha1StorageVersionMigration.js'; -import { V1alpha1StorageVersionMigrationList } from '../models/V1alpha1StorageVersionMigrationList.js'; -import { V1alpha1StorageVersionMigrationSpec } from '../models/V1alpha1StorageVersionMigrationSpec.js'; -import { V1alpha1StorageVersionMigrationStatus } from '../models/V1alpha1StorageVersionMigrationStatus.js'; -import { V1alpha1StorageVersionStatus } from '../models/V1alpha1StorageVersionStatus.js'; -import { V1alpha1TypeChecking } from '../models/V1alpha1TypeChecking.js'; -import { V1alpha1ValidatingAdmissionPolicy } from '../models/V1alpha1ValidatingAdmissionPolicy.js'; -import { V1alpha1ValidatingAdmissionPolicyBinding } from '../models/V1alpha1ValidatingAdmissionPolicyBinding.js'; -import { V1alpha1ValidatingAdmissionPolicyBindingList } from '../models/V1alpha1ValidatingAdmissionPolicyBindingList.js'; -import { V1alpha1ValidatingAdmissionPolicyBindingSpec } from '../models/V1alpha1ValidatingAdmissionPolicyBindingSpec.js'; -import { V1alpha1ValidatingAdmissionPolicyList } from '../models/V1alpha1ValidatingAdmissionPolicyList.js'; -import { V1alpha1ValidatingAdmissionPolicySpec } from '../models/V1alpha1ValidatingAdmissionPolicySpec.js'; -import { V1alpha1ValidatingAdmissionPolicyStatus } from '../models/V1alpha1ValidatingAdmissionPolicyStatus.js'; -import { V1alpha1Validation } from '../models/V1alpha1Validation.js'; -import { V1alpha1Variable } from '../models/V1alpha1Variable.js'; -import { V1alpha1VolumeAttributesClass } from '../models/V1alpha1VolumeAttributesClass.js'; -import { V1alpha1VolumeAttributesClassList } from '../models/V1alpha1VolumeAttributesClassList.js'; -import { V1alpha2AllocationResult } from '../models/V1alpha2AllocationResult.js'; -import { V1alpha2DriverAllocationResult } from '../models/V1alpha2DriverAllocationResult.js'; -import { V1alpha2DriverRequests } from '../models/V1alpha2DriverRequests.js'; -import { V1alpha2NamedResourcesAllocationResult } from '../models/V1alpha2NamedResourcesAllocationResult.js'; -import { V1alpha2NamedResourcesAttribute } from '../models/V1alpha2NamedResourcesAttribute.js'; -import { V1alpha2NamedResourcesFilter } from '../models/V1alpha2NamedResourcesFilter.js'; -import { V1alpha2NamedResourcesInstance } from '../models/V1alpha2NamedResourcesInstance.js'; -import { V1alpha2NamedResourcesIntSlice } from '../models/V1alpha2NamedResourcesIntSlice.js'; -import { V1alpha2NamedResourcesRequest } from '../models/V1alpha2NamedResourcesRequest.js'; -import { V1alpha2NamedResourcesResources } from '../models/V1alpha2NamedResourcesResources.js'; -import { V1alpha2NamedResourcesStringSlice } from '../models/V1alpha2NamedResourcesStringSlice.js'; -import { V1alpha2PodSchedulingContext } from '../models/V1alpha2PodSchedulingContext.js'; -import { V1alpha2PodSchedulingContextList } from '../models/V1alpha2PodSchedulingContextList.js'; -import { V1alpha2PodSchedulingContextSpec } from '../models/V1alpha2PodSchedulingContextSpec.js'; -import { V1alpha2PodSchedulingContextStatus } from '../models/V1alpha2PodSchedulingContextStatus.js'; -import { V1alpha2ResourceClaim } from '../models/V1alpha2ResourceClaim.js'; -import { V1alpha2ResourceClaimConsumerReference } from '../models/V1alpha2ResourceClaimConsumerReference.js'; -import { V1alpha2ResourceClaimList } from '../models/V1alpha2ResourceClaimList.js'; -import { V1alpha2ResourceClaimParameters } from '../models/V1alpha2ResourceClaimParameters.js'; -import { V1alpha2ResourceClaimParametersList } from '../models/V1alpha2ResourceClaimParametersList.js'; -import { V1alpha2ResourceClaimParametersReference } from '../models/V1alpha2ResourceClaimParametersReference.js'; -import { V1alpha2ResourceClaimSchedulingStatus } from '../models/V1alpha2ResourceClaimSchedulingStatus.js'; -import { V1alpha2ResourceClaimSpec } from '../models/V1alpha2ResourceClaimSpec.js'; -import { V1alpha2ResourceClaimStatus } from '../models/V1alpha2ResourceClaimStatus.js'; -import { V1alpha2ResourceClaimTemplate } from '../models/V1alpha2ResourceClaimTemplate.js'; -import { V1alpha2ResourceClaimTemplateList } from '../models/V1alpha2ResourceClaimTemplateList.js'; -import { V1alpha2ResourceClaimTemplateSpec } from '../models/V1alpha2ResourceClaimTemplateSpec.js'; -import { V1alpha2ResourceClass } from '../models/V1alpha2ResourceClass.js'; -import { V1alpha2ResourceClassList } from '../models/V1alpha2ResourceClassList.js'; -import { V1alpha2ResourceClassParameters } from '../models/V1alpha2ResourceClassParameters.js'; -import { V1alpha2ResourceClassParametersList } from '../models/V1alpha2ResourceClassParametersList.js'; -import { V1alpha2ResourceClassParametersReference } from '../models/V1alpha2ResourceClassParametersReference.js'; -import { V1alpha2ResourceFilter } from '../models/V1alpha2ResourceFilter.js'; -import { V1alpha2ResourceHandle } from '../models/V1alpha2ResourceHandle.js'; -import { V1alpha2ResourceRequest } from '../models/V1alpha2ResourceRequest.js'; -import { V1alpha2ResourceSlice } from '../models/V1alpha2ResourceSlice.js'; -import { V1alpha2ResourceSliceList } from '../models/V1alpha2ResourceSliceList.js'; -import { V1alpha2StructuredResourceHandle } from '../models/V1alpha2StructuredResourceHandle.js'; -import { V1alpha2VendorParameters } from '../models/V1alpha2VendorParameters.js'; -import { V1beta1AuditAnnotation } from '../models/V1beta1AuditAnnotation.js'; -import { V1beta1ExpressionWarning } from '../models/V1beta1ExpressionWarning.js'; -import { V1beta1MatchCondition } from '../models/V1beta1MatchCondition.js'; -import { V1beta1MatchResources } from '../models/V1beta1MatchResources.js'; -import { V1beta1NamedRuleWithOperations } from '../models/V1beta1NamedRuleWithOperations.js'; -import { V1beta1ParamKind } from '../models/V1beta1ParamKind.js'; -import { V1beta1ParamRef } from '../models/V1beta1ParamRef.js'; -import { V1beta1SelfSubjectReview } from '../models/V1beta1SelfSubjectReview.js'; -import { V1beta1SelfSubjectReviewStatus } from '../models/V1beta1SelfSubjectReviewStatus.js'; -import { V1beta1TypeChecking } from '../models/V1beta1TypeChecking.js'; -import { V1beta1ValidatingAdmissionPolicy } from '../models/V1beta1ValidatingAdmissionPolicy.js'; -import { V1beta1ValidatingAdmissionPolicyBinding } from '../models/V1beta1ValidatingAdmissionPolicyBinding.js'; -import { V1beta1ValidatingAdmissionPolicyBindingList } from '../models/V1beta1ValidatingAdmissionPolicyBindingList.js'; -import { V1beta1ValidatingAdmissionPolicyBindingSpec } from '../models/V1beta1ValidatingAdmissionPolicyBindingSpec.js'; -import { V1beta1ValidatingAdmissionPolicyList } from '../models/V1beta1ValidatingAdmissionPolicyList.js'; -import { V1beta1ValidatingAdmissionPolicySpec } from '../models/V1beta1ValidatingAdmissionPolicySpec.js'; -import { V1beta1ValidatingAdmissionPolicyStatus } from '../models/V1beta1ValidatingAdmissionPolicyStatus.js'; -import { V1beta1Validation } from '../models/V1beta1Validation.js'; -import { V1beta1Variable } from '../models/V1beta1Variable.js'; -import { V1beta3ExemptPriorityLevelConfiguration } from '../models/V1beta3ExemptPriorityLevelConfiguration.js'; -import { V1beta3FlowDistinguisherMethod } from '../models/V1beta3FlowDistinguisherMethod.js'; -import { V1beta3FlowSchema } from '../models/V1beta3FlowSchema.js'; -import { V1beta3FlowSchemaCondition } from '../models/V1beta3FlowSchemaCondition.js'; -import { V1beta3FlowSchemaList } from '../models/V1beta3FlowSchemaList.js'; -import { V1beta3FlowSchemaSpec } from '../models/V1beta3FlowSchemaSpec.js'; -import { V1beta3FlowSchemaStatus } from '../models/V1beta3FlowSchemaStatus.js'; -import { V1beta3GroupSubject } from '../models/V1beta3GroupSubject.js'; -import { V1beta3LimitResponse } from '../models/V1beta3LimitResponse.js'; -import { V1beta3LimitedPriorityLevelConfiguration } from '../models/V1beta3LimitedPriorityLevelConfiguration.js'; -import { V1beta3NonResourcePolicyRule } from '../models/V1beta3NonResourcePolicyRule.js'; -import { V1beta3PolicyRulesWithSubjects } from '../models/V1beta3PolicyRulesWithSubjects.js'; -import { V1beta3PriorityLevelConfiguration } from '../models/V1beta3PriorityLevelConfiguration.js'; -import { V1beta3PriorityLevelConfigurationCondition } from '../models/V1beta3PriorityLevelConfigurationCondition.js'; -import { V1beta3PriorityLevelConfigurationList } from '../models/V1beta3PriorityLevelConfigurationList.js'; -import { V1beta3PriorityLevelConfigurationReference } from '../models/V1beta3PriorityLevelConfigurationReference.js'; -import { V1beta3PriorityLevelConfigurationSpec } from '../models/V1beta3PriorityLevelConfigurationSpec.js'; -import { V1beta3PriorityLevelConfigurationStatus } from '../models/V1beta3PriorityLevelConfigurationStatus.js'; -import { V1beta3QueuingConfiguration } from '../models/V1beta3QueuingConfiguration.js'; -import { V1beta3ResourcePolicyRule } from '../models/V1beta3ResourcePolicyRule.js'; -import { V1beta3ServiceAccountSubject } from '../models/V1beta3ServiceAccountSubject.js'; -import { V1beta3Subject } from '../models/V1beta3Subject.js'; -import { V1beta3UserSubject } from '../models/V1beta3UserSubject.js'; -import { V2ContainerResourceMetricSource } from '../models/V2ContainerResourceMetricSource.js'; -import { V2ContainerResourceMetricStatus } from '../models/V2ContainerResourceMetricStatus.js'; -import { V2CrossVersionObjectReference } from '../models/V2CrossVersionObjectReference.js'; -import { V2ExternalMetricSource } from '../models/V2ExternalMetricSource.js'; -import { V2ExternalMetricStatus } from '../models/V2ExternalMetricStatus.js'; -import { V2HPAScalingPolicy } from '../models/V2HPAScalingPolicy.js'; -import { V2HPAScalingRules } from '../models/V2HPAScalingRules.js'; -import { V2HorizontalPodAutoscaler } from '../models/V2HorizontalPodAutoscaler.js'; -import { V2HorizontalPodAutoscalerBehavior } from '../models/V2HorizontalPodAutoscalerBehavior.js'; -import { V2HorizontalPodAutoscalerCondition } from '../models/V2HorizontalPodAutoscalerCondition.js'; -import { V2HorizontalPodAutoscalerList } from '../models/V2HorizontalPodAutoscalerList.js'; -import { V2HorizontalPodAutoscalerSpec } from '../models/V2HorizontalPodAutoscalerSpec.js'; -import { V2HorizontalPodAutoscalerStatus } from '../models/V2HorizontalPodAutoscalerStatus.js'; -import { V2MetricIdentifier } from '../models/V2MetricIdentifier.js'; -import { V2MetricSpec } from '../models/V2MetricSpec.js'; -import { V2MetricStatus } from '../models/V2MetricStatus.js'; -import { V2MetricTarget } from '../models/V2MetricTarget.js'; -import { V2MetricValueStatus } from '../models/V2MetricValueStatus.js'; -import { V2ObjectMetricSource } from '../models/V2ObjectMetricSource.js'; -import { V2ObjectMetricStatus } from '../models/V2ObjectMetricStatus.js'; -import { V2PodsMetricSource } from '../models/V2PodsMetricSource.js'; -import { V2PodsMetricStatus } from '../models/V2PodsMetricStatus.js'; -import { V2ResourceMetricSource } from '../models/V2ResourceMetricSource.js'; -import { V2ResourceMetricStatus } from '../models/V2ResourceMetricStatus.js'; -import { VersionInfo } from '../models/VersionInfo.js'; -import { ObservableAdmissionregistrationApi } from './ObservableAPI.js'; - -import { AdmissionregistrationApiRequestFactory, AdmissionregistrationApiResponseProcessor} from "../apis/AdmissionregistrationApi.js"; +import { ResponseContext, RequestContext, HttpFile, HttpInfo } from '../http/http'; +import { Configuration} from '../configuration' + +import { AdmissionregistrationV1ServiceReference } from '../models/AdmissionregistrationV1ServiceReference'; +import { AdmissionregistrationV1WebhookClientConfig } from '../models/AdmissionregistrationV1WebhookClientConfig'; +import { ApiextensionsV1ServiceReference } from '../models/ApiextensionsV1ServiceReference'; +import { ApiextensionsV1WebhookClientConfig } from '../models/ApiextensionsV1WebhookClientConfig'; +import { ApiregistrationV1ServiceReference } from '../models/ApiregistrationV1ServiceReference'; +import { AuthenticationV1TokenRequest } from '../models/AuthenticationV1TokenRequest'; +import { CoreV1EndpointPort } from '../models/CoreV1EndpointPort'; +import { CoreV1Event } from '../models/CoreV1Event'; +import { CoreV1EventList } from '../models/CoreV1EventList'; +import { CoreV1EventSeries } from '../models/CoreV1EventSeries'; +import { DiscoveryV1EndpointPort } from '../models/DiscoveryV1EndpointPort'; +import { EventsV1Event } from '../models/EventsV1Event'; +import { EventsV1EventList } from '../models/EventsV1EventList'; +import { EventsV1EventSeries } from '../models/EventsV1EventSeries'; +import { FlowcontrolV1Subject } from '../models/FlowcontrolV1Subject'; +import { RbacV1Subject } from '../models/RbacV1Subject'; +import { StorageV1TokenRequest } from '../models/StorageV1TokenRequest'; +import { V1APIGroup } from '../models/V1APIGroup'; +import { V1APIGroupList } from '../models/V1APIGroupList'; +import { V1APIResource } from '../models/V1APIResource'; +import { V1APIResourceList } from '../models/V1APIResourceList'; +import { V1APIService } from '../models/V1APIService'; +import { V1APIServiceCondition } from '../models/V1APIServiceCondition'; +import { V1APIServiceList } from '../models/V1APIServiceList'; +import { V1APIServiceSpec } from '../models/V1APIServiceSpec'; +import { V1APIServiceStatus } from '../models/V1APIServiceStatus'; +import { V1APIVersions } from '../models/V1APIVersions'; +import { V1AWSElasticBlockStoreVolumeSource } from '../models/V1AWSElasticBlockStoreVolumeSource'; +import { V1Affinity } from '../models/V1Affinity'; +import { V1AggregationRule } from '../models/V1AggregationRule'; +import { V1AppArmorProfile } from '../models/V1AppArmorProfile'; +import { V1AttachedVolume } from '../models/V1AttachedVolume'; +import { V1AuditAnnotation } from '../models/V1AuditAnnotation'; +import { V1AzureDiskVolumeSource } from '../models/V1AzureDiskVolumeSource'; +import { V1AzureFilePersistentVolumeSource } from '../models/V1AzureFilePersistentVolumeSource'; +import { V1AzureFileVolumeSource } from '../models/V1AzureFileVolumeSource'; +import { V1Binding } from '../models/V1Binding'; +import { V1BoundObjectReference } from '../models/V1BoundObjectReference'; +import { V1CSIDriver } from '../models/V1CSIDriver'; +import { V1CSIDriverList } from '../models/V1CSIDriverList'; +import { V1CSIDriverSpec } from '../models/V1CSIDriverSpec'; +import { V1CSINode } from '../models/V1CSINode'; +import { V1CSINodeDriver } from '../models/V1CSINodeDriver'; +import { V1CSINodeList } from '../models/V1CSINodeList'; +import { V1CSINodeSpec } from '../models/V1CSINodeSpec'; +import { V1CSIPersistentVolumeSource } from '../models/V1CSIPersistentVolumeSource'; +import { V1CSIStorageCapacity } from '../models/V1CSIStorageCapacity'; +import { V1CSIStorageCapacityList } from '../models/V1CSIStorageCapacityList'; +import { V1CSIVolumeSource } from '../models/V1CSIVolumeSource'; +import { V1Capabilities } from '../models/V1Capabilities'; +import { V1CephFSPersistentVolumeSource } from '../models/V1CephFSPersistentVolumeSource'; +import { V1CephFSVolumeSource } from '../models/V1CephFSVolumeSource'; +import { V1CertificateSigningRequest } from '../models/V1CertificateSigningRequest'; +import { V1CertificateSigningRequestCondition } from '../models/V1CertificateSigningRequestCondition'; +import { V1CertificateSigningRequestList } from '../models/V1CertificateSigningRequestList'; +import { V1CertificateSigningRequestSpec } from '../models/V1CertificateSigningRequestSpec'; +import { V1CertificateSigningRequestStatus } from '../models/V1CertificateSigningRequestStatus'; +import { V1CinderPersistentVolumeSource } from '../models/V1CinderPersistentVolumeSource'; +import { V1CinderVolumeSource } from '../models/V1CinderVolumeSource'; +import { V1ClientIPConfig } from '../models/V1ClientIPConfig'; +import { V1ClusterRole } from '../models/V1ClusterRole'; +import { V1ClusterRoleBinding } from '../models/V1ClusterRoleBinding'; +import { V1ClusterRoleBindingList } from '../models/V1ClusterRoleBindingList'; +import { V1ClusterRoleList } from '../models/V1ClusterRoleList'; +import { V1ClusterTrustBundleProjection } from '../models/V1ClusterTrustBundleProjection'; +import { V1ComponentCondition } from '../models/V1ComponentCondition'; +import { V1ComponentStatus } from '../models/V1ComponentStatus'; +import { V1ComponentStatusList } from '../models/V1ComponentStatusList'; +import { V1Condition } from '../models/V1Condition'; +import { V1ConfigMap } from '../models/V1ConfigMap'; +import { V1ConfigMapEnvSource } from '../models/V1ConfigMapEnvSource'; +import { V1ConfigMapKeySelector } from '../models/V1ConfigMapKeySelector'; +import { V1ConfigMapList } from '../models/V1ConfigMapList'; +import { V1ConfigMapNodeConfigSource } from '../models/V1ConfigMapNodeConfigSource'; +import { V1ConfigMapProjection } from '../models/V1ConfigMapProjection'; +import { V1ConfigMapVolumeSource } from '../models/V1ConfigMapVolumeSource'; +import { V1Container } from '../models/V1Container'; +import { V1ContainerImage } from '../models/V1ContainerImage'; +import { V1ContainerPort } from '../models/V1ContainerPort'; +import { V1ContainerResizePolicy } from '../models/V1ContainerResizePolicy'; +import { V1ContainerState } from '../models/V1ContainerState'; +import { V1ContainerStateRunning } from '../models/V1ContainerStateRunning'; +import { V1ContainerStateTerminated } from '../models/V1ContainerStateTerminated'; +import { V1ContainerStateWaiting } from '../models/V1ContainerStateWaiting'; +import { V1ContainerStatus } from '../models/V1ContainerStatus'; +import { V1ContainerUser } from '../models/V1ContainerUser'; +import { V1ControllerRevision } from '../models/V1ControllerRevision'; +import { V1ControllerRevisionList } from '../models/V1ControllerRevisionList'; +import { V1CronJob } from '../models/V1CronJob'; +import { V1CronJobList } from '../models/V1CronJobList'; +import { V1CronJobSpec } from '../models/V1CronJobSpec'; +import { V1CronJobStatus } from '../models/V1CronJobStatus'; +import { V1CrossVersionObjectReference } from '../models/V1CrossVersionObjectReference'; +import { V1CustomResourceColumnDefinition } from '../models/V1CustomResourceColumnDefinition'; +import { V1CustomResourceConversion } from '../models/V1CustomResourceConversion'; +import { V1CustomResourceDefinition } from '../models/V1CustomResourceDefinition'; +import { V1CustomResourceDefinitionCondition } from '../models/V1CustomResourceDefinitionCondition'; +import { V1CustomResourceDefinitionList } from '../models/V1CustomResourceDefinitionList'; +import { V1CustomResourceDefinitionNames } from '../models/V1CustomResourceDefinitionNames'; +import { V1CustomResourceDefinitionSpec } from '../models/V1CustomResourceDefinitionSpec'; +import { V1CustomResourceDefinitionStatus } from '../models/V1CustomResourceDefinitionStatus'; +import { V1CustomResourceDefinitionVersion } from '../models/V1CustomResourceDefinitionVersion'; +import { V1CustomResourceSubresourceScale } from '../models/V1CustomResourceSubresourceScale'; +import { V1CustomResourceSubresources } from '../models/V1CustomResourceSubresources'; +import { V1CustomResourceValidation } from '../models/V1CustomResourceValidation'; +import { V1DaemonEndpoint } from '../models/V1DaemonEndpoint'; +import { V1DaemonSet } from '../models/V1DaemonSet'; +import { V1DaemonSetCondition } from '../models/V1DaemonSetCondition'; +import { V1DaemonSetList } from '../models/V1DaemonSetList'; +import { V1DaemonSetSpec } from '../models/V1DaemonSetSpec'; +import { V1DaemonSetStatus } from '../models/V1DaemonSetStatus'; +import { V1DaemonSetUpdateStrategy } from '../models/V1DaemonSetUpdateStrategy'; +import { V1DeleteOptions } from '../models/V1DeleteOptions'; +import { V1Deployment } from '../models/V1Deployment'; +import { V1DeploymentCondition } from '../models/V1DeploymentCondition'; +import { V1DeploymentList } from '../models/V1DeploymentList'; +import { V1DeploymentSpec } from '../models/V1DeploymentSpec'; +import { V1DeploymentStatus } from '../models/V1DeploymentStatus'; +import { V1DeploymentStrategy } from '../models/V1DeploymentStrategy'; +import { V1DownwardAPIProjection } from '../models/V1DownwardAPIProjection'; +import { V1DownwardAPIVolumeFile } from '../models/V1DownwardAPIVolumeFile'; +import { V1DownwardAPIVolumeSource } from '../models/V1DownwardAPIVolumeSource'; +import { V1EmptyDirVolumeSource } from '../models/V1EmptyDirVolumeSource'; +import { V1Endpoint } from '../models/V1Endpoint'; +import { V1EndpointAddress } from '../models/V1EndpointAddress'; +import { V1EndpointConditions } from '../models/V1EndpointConditions'; +import { V1EndpointHints } from '../models/V1EndpointHints'; +import { V1EndpointSlice } from '../models/V1EndpointSlice'; +import { V1EndpointSliceList } from '../models/V1EndpointSliceList'; +import { V1EndpointSubset } from '../models/V1EndpointSubset'; +import { V1Endpoints } from '../models/V1Endpoints'; +import { V1EndpointsList } from '../models/V1EndpointsList'; +import { V1EnvFromSource } from '../models/V1EnvFromSource'; +import { V1EnvVar } from '../models/V1EnvVar'; +import { V1EnvVarSource } from '../models/V1EnvVarSource'; +import { V1EphemeralContainer } from '../models/V1EphemeralContainer'; +import { V1EphemeralVolumeSource } from '../models/V1EphemeralVolumeSource'; +import { V1EventSource } from '../models/V1EventSource'; +import { V1Eviction } from '../models/V1Eviction'; +import { V1ExecAction } from '../models/V1ExecAction'; +import { V1ExemptPriorityLevelConfiguration } from '../models/V1ExemptPriorityLevelConfiguration'; +import { V1ExpressionWarning } from '../models/V1ExpressionWarning'; +import { V1ExternalDocumentation } from '../models/V1ExternalDocumentation'; +import { V1FCVolumeSource } from '../models/V1FCVolumeSource'; +import { V1FieldSelectorAttributes } from '../models/V1FieldSelectorAttributes'; +import { V1FieldSelectorRequirement } from '../models/V1FieldSelectorRequirement'; +import { V1FlexPersistentVolumeSource } from '../models/V1FlexPersistentVolumeSource'; +import { V1FlexVolumeSource } from '../models/V1FlexVolumeSource'; +import { V1FlockerVolumeSource } from '../models/V1FlockerVolumeSource'; +import { V1FlowDistinguisherMethod } from '../models/V1FlowDistinguisherMethod'; +import { V1FlowSchema } from '../models/V1FlowSchema'; +import { V1FlowSchemaCondition } from '../models/V1FlowSchemaCondition'; +import { V1FlowSchemaList } from '../models/V1FlowSchemaList'; +import { V1FlowSchemaSpec } from '../models/V1FlowSchemaSpec'; +import { V1FlowSchemaStatus } from '../models/V1FlowSchemaStatus'; +import { V1ForZone } from '../models/V1ForZone'; +import { V1GCEPersistentDiskVolumeSource } from '../models/V1GCEPersistentDiskVolumeSource'; +import { V1GRPCAction } from '../models/V1GRPCAction'; +import { V1GitRepoVolumeSource } from '../models/V1GitRepoVolumeSource'; +import { V1GlusterfsPersistentVolumeSource } from '../models/V1GlusterfsPersistentVolumeSource'; +import { V1GlusterfsVolumeSource } from '../models/V1GlusterfsVolumeSource'; +import { V1GroupSubject } from '../models/V1GroupSubject'; +import { V1GroupVersionForDiscovery } from '../models/V1GroupVersionForDiscovery'; +import { V1HTTPGetAction } from '../models/V1HTTPGetAction'; +import { V1HTTPHeader } from '../models/V1HTTPHeader'; +import { V1HTTPIngressPath } from '../models/V1HTTPIngressPath'; +import { V1HTTPIngressRuleValue } from '../models/V1HTTPIngressRuleValue'; +import { V1HorizontalPodAutoscaler } from '../models/V1HorizontalPodAutoscaler'; +import { V1HorizontalPodAutoscalerList } from '../models/V1HorizontalPodAutoscalerList'; +import { V1HorizontalPodAutoscalerSpec } from '../models/V1HorizontalPodAutoscalerSpec'; +import { V1HorizontalPodAutoscalerStatus } from '../models/V1HorizontalPodAutoscalerStatus'; +import { V1HostAlias } from '../models/V1HostAlias'; +import { V1HostIP } from '../models/V1HostIP'; +import { V1HostPathVolumeSource } from '../models/V1HostPathVolumeSource'; +import { V1IPBlock } from '../models/V1IPBlock'; +import { V1ISCSIPersistentVolumeSource } from '../models/V1ISCSIPersistentVolumeSource'; +import { V1ISCSIVolumeSource } from '../models/V1ISCSIVolumeSource'; +import { V1ImageVolumeSource } from '../models/V1ImageVolumeSource'; +import { V1Ingress } from '../models/V1Ingress'; +import { V1IngressBackend } from '../models/V1IngressBackend'; +import { V1IngressClass } from '../models/V1IngressClass'; +import { V1IngressClassList } from '../models/V1IngressClassList'; +import { V1IngressClassParametersReference } from '../models/V1IngressClassParametersReference'; +import { V1IngressClassSpec } from '../models/V1IngressClassSpec'; +import { V1IngressList } from '../models/V1IngressList'; +import { V1IngressLoadBalancerIngress } from '../models/V1IngressLoadBalancerIngress'; +import { V1IngressLoadBalancerStatus } from '../models/V1IngressLoadBalancerStatus'; +import { V1IngressPortStatus } from '../models/V1IngressPortStatus'; +import { V1IngressRule } from '../models/V1IngressRule'; +import { V1IngressServiceBackend } from '../models/V1IngressServiceBackend'; +import { V1IngressSpec } from '../models/V1IngressSpec'; +import { V1IngressStatus } from '../models/V1IngressStatus'; +import { V1IngressTLS } from '../models/V1IngressTLS'; +import { V1JSONSchemaProps } from '../models/V1JSONSchemaProps'; +import { V1Job } from '../models/V1Job'; +import { V1JobCondition } from '../models/V1JobCondition'; +import { V1JobList } from '../models/V1JobList'; +import { V1JobSpec } from '../models/V1JobSpec'; +import { V1JobStatus } from '../models/V1JobStatus'; +import { V1JobTemplateSpec } from '../models/V1JobTemplateSpec'; +import { V1KeyToPath } from '../models/V1KeyToPath'; +import { V1LabelSelector } from '../models/V1LabelSelector'; +import { V1LabelSelectorAttributes } from '../models/V1LabelSelectorAttributes'; +import { V1LabelSelectorRequirement } from '../models/V1LabelSelectorRequirement'; +import { V1Lease } from '../models/V1Lease'; +import { V1LeaseList } from '../models/V1LeaseList'; +import { V1LeaseSpec } from '../models/V1LeaseSpec'; +import { V1Lifecycle } from '../models/V1Lifecycle'; +import { V1LifecycleHandler } from '../models/V1LifecycleHandler'; +import { V1LimitRange } from '../models/V1LimitRange'; +import { V1LimitRangeItem } from '../models/V1LimitRangeItem'; +import { V1LimitRangeList } from '../models/V1LimitRangeList'; +import { V1LimitRangeSpec } from '../models/V1LimitRangeSpec'; +import { V1LimitResponse } from '../models/V1LimitResponse'; +import { V1LimitedPriorityLevelConfiguration } from '../models/V1LimitedPriorityLevelConfiguration'; +import { V1LinuxContainerUser } from '../models/V1LinuxContainerUser'; +import { V1ListMeta } from '../models/V1ListMeta'; +import { V1LoadBalancerIngress } from '../models/V1LoadBalancerIngress'; +import { V1LoadBalancerStatus } from '../models/V1LoadBalancerStatus'; +import { V1LocalObjectReference } from '../models/V1LocalObjectReference'; +import { V1LocalSubjectAccessReview } from '../models/V1LocalSubjectAccessReview'; +import { V1LocalVolumeSource } from '../models/V1LocalVolumeSource'; +import { V1ManagedFieldsEntry } from '../models/V1ManagedFieldsEntry'; +import { V1MatchCondition } from '../models/V1MatchCondition'; +import { V1MatchResources } from '../models/V1MatchResources'; +import { V1ModifyVolumeStatus } from '../models/V1ModifyVolumeStatus'; +import { V1MutatingWebhook } from '../models/V1MutatingWebhook'; +import { V1MutatingWebhookConfiguration } from '../models/V1MutatingWebhookConfiguration'; +import { V1MutatingWebhookConfigurationList } from '../models/V1MutatingWebhookConfigurationList'; +import { V1NFSVolumeSource } from '../models/V1NFSVolumeSource'; +import { V1NamedRuleWithOperations } from '../models/V1NamedRuleWithOperations'; +import { V1Namespace } from '../models/V1Namespace'; +import { V1NamespaceCondition } from '../models/V1NamespaceCondition'; +import { V1NamespaceList } from '../models/V1NamespaceList'; +import { V1NamespaceSpec } from '../models/V1NamespaceSpec'; +import { V1NamespaceStatus } from '../models/V1NamespaceStatus'; +import { V1NetworkPolicy } from '../models/V1NetworkPolicy'; +import { V1NetworkPolicyEgressRule } from '../models/V1NetworkPolicyEgressRule'; +import { V1NetworkPolicyIngressRule } from '../models/V1NetworkPolicyIngressRule'; +import { V1NetworkPolicyList } from '../models/V1NetworkPolicyList'; +import { V1NetworkPolicyPeer } from '../models/V1NetworkPolicyPeer'; +import { V1NetworkPolicyPort } from '../models/V1NetworkPolicyPort'; +import { V1NetworkPolicySpec } from '../models/V1NetworkPolicySpec'; +import { V1Node } from '../models/V1Node'; +import { V1NodeAddress } from '../models/V1NodeAddress'; +import { V1NodeAffinity } from '../models/V1NodeAffinity'; +import { V1NodeCondition } from '../models/V1NodeCondition'; +import { V1NodeConfigSource } from '../models/V1NodeConfigSource'; +import { V1NodeConfigStatus } from '../models/V1NodeConfigStatus'; +import { V1NodeDaemonEndpoints } from '../models/V1NodeDaemonEndpoints'; +import { V1NodeFeatures } from '../models/V1NodeFeatures'; +import { V1NodeList } from '../models/V1NodeList'; +import { V1NodeRuntimeHandler } from '../models/V1NodeRuntimeHandler'; +import { V1NodeRuntimeHandlerFeatures } from '../models/V1NodeRuntimeHandlerFeatures'; +import { V1NodeSelector } from '../models/V1NodeSelector'; +import { V1NodeSelectorRequirement } from '../models/V1NodeSelectorRequirement'; +import { V1NodeSelectorTerm } from '../models/V1NodeSelectorTerm'; +import { V1NodeSpec } from '../models/V1NodeSpec'; +import { V1NodeStatus } from '../models/V1NodeStatus'; +import { V1NodeSystemInfo } from '../models/V1NodeSystemInfo'; +import { V1NonResourceAttributes } from '../models/V1NonResourceAttributes'; +import { V1NonResourcePolicyRule } from '../models/V1NonResourcePolicyRule'; +import { V1NonResourceRule } from '../models/V1NonResourceRule'; +import { V1ObjectFieldSelector } from '../models/V1ObjectFieldSelector'; +import { V1ObjectMeta } from '../models/V1ObjectMeta'; +import { V1ObjectReference } from '../models/V1ObjectReference'; +import { V1Overhead } from '../models/V1Overhead'; +import { V1OwnerReference } from '../models/V1OwnerReference'; +import { V1ParamKind } from '../models/V1ParamKind'; +import { V1ParamRef } from '../models/V1ParamRef'; +import { V1PersistentVolume } from '../models/V1PersistentVolume'; +import { V1PersistentVolumeClaim } from '../models/V1PersistentVolumeClaim'; +import { V1PersistentVolumeClaimCondition } from '../models/V1PersistentVolumeClaimCondition'; +import { V1PersistentVolumeClaimList } from '../models/V1PersistentVolumeClaimList'; +import { V1PersistentVolumeClaimSpec } from '../models/V1PersistentVolumeClaimSpec'; +import { V1PersistentVolumeClaimStatus } from '../models/V1PersistentVolumeClaimStatus'; +import { V1PersistentVolumeClaimTemplate } from '../models/V1PersistentVolumeClaimTemplate'; +import { V1PersistentVolumeClaimVolumeSource } from '../models/V1PersistentVolumeClaimVolumeSource'; +import { V1PersistentVolumeList } from '../models/V1PersistentVolumeList'; +import { V1PersistentVolumeSpec } from '../models/V1PersistentVolumeSpec'; +import { V1PersistentVolumeStatus } from '../models/V1PersistentVolumeStatus'; +import { V1PhotonPersistentDiskVolumeSource } from '../models/V1PhotonPersistentDiskVolumeSource'; +import { V1Pod } from '../models/V1Pod'; +import { V1PodAffinity } from '../models/V1PodAffinity'; +import { V1PodAffinityTerm } from '../models/V1PodAffinityTerm'; +import { V1PodAntiAffinity } from '../models/V1PodAntiAffinity'; +import { V1PodCondition } from '../models/V1PodCondition'; +import { V1PodDNSConfig } from '../models/V1PodDNSConfig'; +import { V1PodDNSConfigOption } from '../models/V1PodDNSConfigOption'; +import { V1PodDisruptionBudget } from '../models/V1PodDisruptionBudget'; +import { V1PodDisruptionBudgetList } from '../models/V1PodDisruptionBudgetList'; +import { V1PodDisruptionBudgetSpec } from '../models/V1PodDisruptionBudgetSpec'; +import { V1PodDisruptionBudgetStatus } from '../models/V1PodDisruptionBudgetStatus'; +import { V1PodFailurePolicy } from '../models/V1PodFailurePolicy'; +import { V1PodFailurePolicyOnExitCodesRequirement } from '../models/V1PodFailurePolicyOnExitCodesRequirement'; +import { V1PodFailurePolicyOnPodConditionsPattern } from '../models/V1PodFailurePolicyOnPodConditionsPattern'; +import { V1PodFailurePolicyRule } from '../models/V1PodFailurePolicyRule'; +import { V1PodIP } from '../models/V1PodIP'; +import { V1PodList } from '../models/V1PodList'; +import { V1PodOS } from '../models/V1PodOS'; +import { V1PodReadinessGate } from '../models/V1PodReadinessGate'; +import { V1PodResourceClaim } from '../models/V1PodResourceClaim'; +import { V1PodResourceClaimStatus } from '../models/V1PodResourceClaimStatus'; +import { V1PodSchedulingGate } from '../models/V1PodSchedulingGate'; +import { V1PodSecurityContext } from '../models/V1PodSecurityContext'; +import { V1PodSpec } from '../models/V1PodSpec'; +import { V1PodStatus } from '../models/V1PodStatus'; +import { V1PodTemplate } from '../models/V1PodTemplate'; +import { V1PodTemplateList } from '../models/V1PodTemplateList'; +import { V1PodTemplateSpec } from '../models/V1PodTemplateSpec'; +import { V1PolicyRule } from '../models/V1PolicyRule'; +import { V1PolicyRulesWithSubjects } from '../models/V1PolicyRulesWithSubjects'; +import { V1PortStatus } from '../models/V1PortStatus'; +import { V1PortworxVolumeSource } from '../models/V1PortworxVolumeSource'; +import { V1Preconditions } from '../models/V1Preconditions'; +import { V1PreferredSchedulingTerm } from '../models/V1PreferredSchedulingTerm'; +import { V1PriorityClass } from '../models/V1PriorityClass'; +import { V1PriorityClassList } from '../models/V1PriorityClassList'; +import { V1PriorityLevelConfiguration } from '../models/V1PriorityLevelConfiguration'; +import { V1PriorityLevelConfigurationCondition } from '../models/V1PriorityLevelConfigurationCondition'; +import { V1PriorityLevelConfigurationList } from '../models/V1PriorityLevelConfigurationList'; +import { V1PriorityLevelConfigurationReference } from '../models/V1PriorityLevelConfigurationReference'; +import { V1PriorityLevelConfigurationSpec } from '../models/V1PriorityLevelConfigurationSpec'; +import { V1PriorityLevelConfigurationStatus } from '../models/V1PriorityLevelConfigurationStatus'; +import { V1Probe } from '../models/V1Probe'; +import { V1ProjectedVolumeSource } from '../models/V1ProjectedVolumeSource'; +import { V1QueuingConfiguration } from '../models/V1QueuingConfiguration'; +import { V1QuobyteVolumeSource } from '../models/V1QuobyteVolumeSource'; +import { V1RBDPersistentVolumeSource } from '../models/V1RBDPersistentVolumeSource'; +import { V1RBDVolumeSource } from '../models/V1RBDVolumeSource'; +import { V1ReplicaSet } from '../models/V1ReplicaSet'; +import { V1ReplicaSetCondition } from '../models/V1ReplicaSetCondition'; +import { V1ReplicaSetList } from '../models/V1ReplicaSetList'; +import { V1ReplicaSetSpec } from '../models/V1ReplicaSetSpec'; +import { V1ReplicaSetStatus } from '../models/V1ReplicaSetStatus'; +import { V1ReplicationController } from '../models/V1ReplicationController'; +import { V1ReplicationControllerCondition } from '../models/V1ReplicationControllerCondition'; +import { V1ReplicationControllerList } from '../models/V1ReplicationControllerList'; +import { V1ReplicationControllerSpec } from '../models/V1ReplicationControllerSpec'; +import { V1ReplicationControllerStatus } from '../models/V1ReplicationControllerStatus'; +import { V1ResourceAttributes } from '../models/V1ResourceAttributes'; +import { V1ResourceClaim } from '../models/V1ResourceClaim'; +import { V1ResourceFieldSelector } from '../models/V1ResourceFieldSelector'; +import { V1ResourceHealth } from '../models/V1ResourceHealth'; +import { V1ResourcePolicyRule } from '../models/V1ResourcePolicyRule'; +import { V1ResourceQuota } from '../models/V1ResourceQuota'; +import { V1ResourceQuotaList } from '../models/V1ResourceQuotaList'; +import { V1ResourceQuotaSpec } from '../models/V1ResourceQuotaSpec'; +import { V1ResourceQuotaStatus } from '../models/V1ResourceQuotaStatus'; +import { V1ResourceRequirements } from '../models/V1ResourceRequirements'; +import { V1ResourceRule } from '../models/V1ResourceRule'; +import { V1ResourceStatus } from '../models/V1ResourceStatus'; +import { V1Role } from '../models/V1Role'; +import { V1RoleBinding } from '../models/V1RoleBinding'; +import { V1RoleBindingList } from '../models/V1RoleBindingList'; +import { V1RoleList } from '../models/V1RoleList'; +import { V1RoleRef } from '../models/V1RoleRef'; +import { V1RollingUpdateDaemonSet } from '../models/V1RollingUpdateDaemonSet'; +import { V1RollingUpdateDeployment } from '../models/V1RollingUpdateDeployment'; +import { V1RollingUpdateStatefulSetStrategy } from '../models/V1RollingUpdateStatefulSetStrategy'; +import { V1RuleWithOperations } from '../models/V1RuleWithOperations'; +import { V1RuntimeClass } from '../models/V1RuntimeClass'; +import { V1RuntimeClassList } from '../models/V1RuntimeClassList'; +import { V1SELinuxOptions } from '../models/V1SELinuxOptions'; +import { V1Scale } from '../models/V1Scale'; +import { V1ScaleIOPersistentVolumeSource } from '../models/V1ScaleIOPersistentVolumeSource'; +import { V1ScaleIOVolumeSource } from '../models/V1ScaleIOVolumeSource'; +import { V1ScaleSpec } from '../models/V1ScaleSpec'; +import { V1ScaleStatus } from '../models/V1ScaleStatus'; +import { V1Scheduling } from '../models/V1Scheduling'; +import { V1ScopeSelector } from '../models/V1ScopeSelector'; +import { V1ScopedResourceSelectorRequirement } from '../models/V1ScopedResourceSelectorRequirement'; +import { V1SeccompProfile } from '../models/V1SeccompProfile'; +import { V1Secret } from '../models/V1Secret'; +import { V1SecretEnvSource } from '../models/V1SecretEnvSource'; +import { V1SecretKeySelector } from '../models/V1SecretKeySelector'; +import { V1SecretList } from '../models/V1SecretList'; +import { V1SecretProjection } from '../models/V1SecretProjection'; +import { V1SecretReference } from '../models/V1SecretReference'; +import { V1SecretVolumeSource } from '../models/V1SecretVolumeSource'; +import { V1SecurityContext } from '../models/V1SecurityContext'; +import { V1SelectableField } from '../models/V1SelectableField'; +import { V1SelfSubjectAccessReview } from '../models/V1SelfSubjectAccessReview'; +import { V1SelfSubjectAccessReviewSpec } from '../models/V1SelfSubjectAccessReviewSpec'; +import { V1SelfSubjectReview } from '../models/V1SelfSubjectReview'; +import { V1SelfSubjectReviewStatus } from '../models/V1SelfSubjectReviewStatus'; +import { V1SelfSubjectRulesReview } from '../models/V1SelfSubjectRulesReview'; +import { V1SelfSubjectRulesReviewSpec } from '../models/V1SelfSubjectRulesReviewSpec'; +import { V1ServerAddressByClientCIDR } from '../models/V1ServerAddressByClientCIDR'; +import { V1Service } from '../models/V1Service'; +import { V1ServiceAccount } from '../models/V1ServiceAccount'; +import { V1ServiceAccountList } from '../models/V1ServiceAccountList'; +import { V1ServiceAccountSubject } from '../models/V1ServiceAccountSubject'; +import { V1ServiceAccountTokenProjection } from '../models/V1ServiceAccountTokenProjection'; +import { V1ServiceBackendPort } from '../models/V1ServiceBackendPort'; +import { V1ServiceList } from '../models/V1ServiceList'; +import { V1ServicePort } from '../models/V1ServicePort'; +import { V1ServiceSpec } from '../models/V1ServiceSpec'; +import { V1ServiceStatus } from '../models/V1ServiceStatus'; +import { V1SessionAffinityConfig } from '../models/V1SessionAffinityConfig'; +import { V1SleepAction } from '../models/V1SleepAction'; +import { V1StatefulSet } from '../models/V1StatefulSet'; +import { V1StatefulSetCondition } from '../models/V1StatefulSetCondition'; +import { V1StatefulSetList } from '../models/V1StatefulSetList'; +import { V1StatefulSetOrdinals } from '../models/V1StatefulSetOrdinals'; +import { V1StatefulSetPersistentVolumeClaimRetentionPolicy } from '../models/V1StatefulSetPersistentVolumeClaimRetentionPolicy'; +import { V1StatefulSetSpec } from '../models/V1StatefulSetSpec'; +import { V1StatefulSetStatus } from '../models/V1StatefulSetStatus'; +import { V1StatefulSetUpdateStrategy } from '../models/V1StatefulSetUpdateStrategy'; +import { V1Status } from '../models/V1Status'; +import { V1StatusCause } from '../models/V1StatusCause'; +import { V1StatusDetails } from '../models/V1StatusDetails'; +import { V1StorageClass } from '../models/V1StorageClass'; +import { V1StorageClassList } from '../models/V1StorageClassList'; +import { V1StorageOSPersistentVolumeSource } from '../models/V1StorageOSPersistentVolumeSource'; +import { V1StorageOSVolumeSource } from '../models/V1StorageOSVolumeSource'; +import { V1SubjectAccessReview } from '../models/V1SubjectAccessReview'; +import { V1SubjectAccessReviewSpec } from '../models/V1SubjectAccessReviewSpec'; +import { V1SubjectAccessReviewStatus } from '../models/V1SubjectAccessReviewStatus'; +import { V1SubjectRulesReviewStatus } from '../models/V1SubjectRulesReviewStatus'; +import { V1SuccessPolicy } from '../models/V1SuccessPolicy'; +import { V1SuccessPolicyRule } from '../models/V1SuccessPolicyRule'; +import { V1Sysctl } from '../models/V1Sysctl'; +import { V1TCPSocketAction } from '../models/V1TCPSocketAction'; +import { V1Taint } from '../models/V1Taint'; +import { V1TokenRequestSpec } from '../models/V1TokenRequestSpec'; +import { V1TokenRequestStatus } from '../models/V1TokenRequestStatus'; +import { V1TokenReview } from '../models/V1TokenReview'; +import { V1TokenReviewSpec } from '../models/V1TokenReviewSpec'; +import { V1TokenReviewStatus } from '../models/V1TokenReviewStatus'; +import { V1Toleration } from '../models/V1Toleration'; +import { V1TopologySelectorLabelRequirement } from '../models/V1TopologySelectorLabelRequirement'; +import { V1TopologySelectorTerm } from '../models/V1TopologySelectorTerm'; +import { V1TopologySpreadConstraint } from '../models/V1TopologySpreadConstraint'; +import { V1TypeChecking } from '../models/V1TypeChecking'; +import { V1TypedLocalObjectReference } from '../models/V1TypedLocalObjectReference'; +import { V1TypedObjectReference } from '../models/V1TypedObjectReference'; +import { V1UncountedTerminatedPods } from '../models/V1UncountedTerminatedPods'; +import { V1UserInfo } from '../models/V1UserInfo'; +import { V1UserSubject } from '../models/V1UserSubject'; +import { V1ValidatingAdmissionPolicy } from '../models/V1ValidatingAdmissionPolicy'; +import { V1ValidatingAdmissionPolicyBinding } from '../models/V1ValidatingAdmissionPolicyBinding'; +import { V1ValidatingAdmissionPolicyBindingList } from '../models/V1ValidatingAdmissionPolicyBindingList'; +import { V1ValidatingAdmissionPolicyBindingSpec } from '../models/V1ValidatingAdmissionPolicyBindingSpec'; +import { V1ValidatingAdmissionPolicyList } from '../models/V1ValidatingAdmissionPolicyList'; +import { V1ValidatingAdmissionPolicySpec } from '../models/V1ValidatingAdmissionPolicySpec'; +import { V1ValidatingAdmissionPolicyStatus } from '../models/V1ValidatingAdmissionPolicyStatus'; +import { V1ValidatingWebhook } from '../models/V1ValidatingWebhook'; +import { V1ValidatingWebhookConfiguration } from '../models/V1ValidatingWebhookConfiguration'; +import { V1ValidatingWebhookConfigurationList } from '../models/V1ValidatingWebhookConfigurationList'; +import { V1Validation } from '../models/V1Validation'; +import { V1ValidationRule } from '../models/V1ValidationRule'; +import { V1Variable } from '../models/V1Variable'; +import { V1Volume } from '../models/V1Volume'; +import { V1VolumeAttachment } from '../models/V1VolumeAttachment'; +import { V1VolumeAttachmentList } from '../models/V1VolumeAttachmentList'; +import { V1VolumeAttachmentSource } from '../models/V1VolumeAttachmentSource'; +import { V1VolumeAttachmentSpec } from '../models/V1VolumeAttachmentSpec'; +import { V1VolumeAttachmentStatus } from '../models/V1VolumeAttachmentStatus'; +import { V1VolumeDevice } from '../models/V1VolumeDevice'; +import { V1VolumeError } from '../models/V1VolumeError'; +import { V1VolumeMount } from '../models/V1VolumeMount'; +import { V1VolumeMountStatus } from '../models/V1VolumeMountStatus'; +import { V1VolumeNodeAffinity } from '../models/V1VolumeNodeAffinity'; +import { V1VolumeNodeResources } from '../models/V1VolumeNodeResources'; +import { V1VolumeProjection } from '../models/V1VolumeProjection'; +import { V1VolumeResourceRequirements } from '../models/V1VolumeResourceRequirements'; +import { V1VsphereVirtualDiskVolumeSource } from '../models/V1VsphereVirtualDiskVolumeSource'; +import { V1WatchEvent } from '../models/V1WatchEvent'; +import { V1WebhookConversion } from '../models/V1WebhookConversion'; +import { V1WeightedPodAffinityTerm } from '../models/V1WeightedPodAffinityTerm'; +import { V1WindowsSecurityContextOptions } from '../models/V1WindowsSecurityContextOptions'; +import { V1alpha1ApplyConfiguration } from '../models/V1alpha1ApplyConfiguration'; +import { V1alpha1ClusterTrustBundle } from '../models/V1alpha1ClusterTrustBundle'; +import { V1alpha1ClusterTrustBundleList } from '../models/V1alpha1ClusterTrustBundleList'; +import { V1alpha1ClusterTrustBundleSpec } from '../models/V1alpha1ClusterTrustBundleSpec'; +import { V1alpha1GroupVersionResource } from '../models/V1alpha1GroupVersionResource'; +import { V1alpha1JSONPatch } from '../models/V1alpha1JSONPatch'; +import { V1alpha1MatchCondition } from '../models/V1alpha1MatchCondition'; +import { V1alpha1MatchResources } from '../models/V1alpha1MatchResources'; +import { V1alpha1MigrationCondition } from '../models/V1alpha1MigrationCondition'; +import { V1alpha1MutatingAdmissionPolicy } from '../models/V1alpha1MutatingAdmissionPolicy'; +import { V1alpha1MutatingAdmissionPolicyBinding } from '../models/V1alpha1MutatingAdmissionPolicyBinding'; +import { V1alpha1MutatingAdmissionPolicyBindingList } from '../models/V1alpha1MutatingAdmissionPolicyBindingList'; +import { V1alpha1MutatingAdmissionPolicyBindingSpec } from '../models/V1alpha1MutatingAdmissionPolicyBindingSpec'; +import { V1alpha1MutatingAdmissionPolicyList } from '../models/V1alpha1MutatingAdmissionPolicyList'; +import { V1alpha1MutatingAdmissionPolicySpec } from '../models/V1alpha1MutatingAdmissionPolicySpec'; +import { V1alpha1Mutation } from '../models/V1alpha1Mutation'; +import { V1alpha1NamedRuleWithOperations } from '../models/V1alpha1NamedRuleWithOperations'; +import { V1alpha1ParamKind } from '../models/V1alpha1ParamKind'; +import { V1alpha1ParamRef } from '../models/V1alpha1ParamRef'; +import { V1alpha1ServerStorageVersion } from '../models/V1alpha1ServerStorageVersion'; +import { V1alpha1StorageVersion } from '../models/V1alpha1StorageVersion'; +import { V1alpha1StorageVersionCondition } from '../models/V1alpha1StorageVersionCondition'; +import { V1alpha1StorageVersionList } from '../models/V1alpha1StorageVersionList'; +import { V1alpha1StorageVersionMigration } from '../models/V1alpha1StorageVersionMigration'; +import { V1alpha1StorageVersionMigrationList } from '../models/V1alpha1StorageVersionMigrationList'; +import { V1alpha1StorageVersionMigrationSpec } from '../models/V1alpha1StorageVersionMigrationSpec'; +import { V1alpha1StorageVersionMigrationStatus } from '../models/V1alpha1StorageVersionMigrationStatus'; +import { V1alpha1StorageVersionStatus } from '../models/V1alpha1StorageVersionStatus'; +import { V1alpha1Variable } from '../models/V1alpha1Variable'; +import { V1alpha1VolumeAttributesClass } from '../models/V1alpha1VolumeAttributesClass'; +import { V1alpha1VolumeAttributesClassList } from '../models/V1alpha1VolumeAttributesClassList'; +import { V1alpha2LeaseCandidate } from '../models/V1alpha2LeaseCandidate'; +import { V1alpha2LeaseCandidateList } from '../models/V1alpha2LeaseCandidateList'; +import { V1alpha2LeaseCandidateSpec } from '../models/V1alpha2LeaseCandidateSpec'; +import { V1alpha3AllocatedDeviceStatus } from '../models/V1alpha3AllocatedDeviceStatus'; +import { V1alpha3AllocationResult } from '../models/V1alpha3AllocationResult'; +import { V1alpha3BasicDevice } from '../models/V1alpha3BasicDevice'; +import { V1alpha3CELDeviceSelector } from '../models/V1alpha3CELDeviceSelector'; +import { V1alpha3Device } from '../models/V1alpha3Device'; +import { V1alpha3DeviceAllocationConfiguration } from '../models/V1alpha3DeviceAllocationConfiguration'; +import { V1alpha3DeviceAllocationResult } from '../models/V1alpha3DeviceAllocationResult'; +import { V1alpha3DeviceAttribute } from '../models/V1alpha3DeviceAttribute'; +import { V1alpha3DeviceClaim } from '../models/V1alpha3DeviceClaim'; +import { V1alpha3DeviceClaimConfiguration } from '../models/V1alpha3DeviceClaimConfiguration'; +import { V1alpha3DeviceClass } from '../models/V1alpha3DeviceClass'; +import { V1alpha3DeviceClassConfiguration } from '../models/V1alpha3DeviceClassConfiguration'; +import { V1alpha3DeviceClassList } from '../models/V1alpha3DeviceClassList'; +import { V1alpha3DeviceClassSpec } from '../models/V1alpha3DeviceClassSpec'; +import { V1alpha3DeviceConstraint } from '../models/V1alpha3DeviceConstraint'; +import { V1alpha3DeviceRequest } from '../models/V1alpha3DeviceRequest'; +import { V1alpha3DeviceRequestAllocationResult } from '../models/V1alpha3DeviceRequestAllocationResult'; +import { V1alpha3DeviceSelector } from '../models/V1alpha3DeviceSelector'; +import { V1alpha3NetworkDeviceData } from '../models/V1alpha3NetworkDeviceData'; +import { V1alpha3OpaqueDeviceConfiguration } from '../models/V1alpha3OpaqueDeviceConfiguration'; +import { V1alpha3ResourceClaim } from '../models/V1alpha3ResourceClaim'; +import { V1alpha3ResourceClaimConsumerReference } from '../models/V1alpha3ResourceClaimConsumerReference'; +import { V1alpha3ResourceClaimList } from '../models/V1alpha3ResourceClaimList'; +import { V1alpha3ResourceClaimSpec } from '../models/V1alpha3ResourceClaimSpec'; +import { V1alpha3ResourceClaimStatus } from '../models/V1alpha3ResourceClaimStatus'; +import { V1alpha3ResourceClaimTemplate } from '../models/V1alpha3ResourceClaimTemplate'; +import { V1alpha3ResourceClaimTemplateList } from '../models/V1alpha3ResourceClaimTemplateList'; +import { V1alpha3ResourceClaimTemplateSpec } from '../models/V1alpha3ResourceClaimTemplateSpec'; +import { V1alpha3ResourcePool } from '../models/V1alpha3ResourcePool'; +import { V1alpha3ResourceSlice } from '../models/V1alpha3ResourceSlice'; +import { V1alpha3ResourceSliceList } from '../models/V1alpha3ResourceSliceList'; +import { V1alpha3ResourceSliceSpec } from '../models/V1alpha3ResourceSliceSpec'; +import { V1beta1AllocatedDeviceStatus } from '../models/V1beta1AllocatedDeviceStatus'; +import { V1beta1AllocationResult } from '../models/V1beta1AllocationResult'; +import { V1beta1AuditAnnotation } from '../models/V1beta1AuditAnnotation'; +import { V1beta1BasicDevice } from '../models/V1beta1BasicDevice'; +import { V1beta1CELDeviceSelector } from '../models/V1beta1CELDeviceSelector'; +import { V1beta1Device } from '../models/V1beta1Device'; +import { V1beta1DeviceAllocationConfiguration } from '../models/V1beta1DeviceAllocationConfiguration'; +import { V1beta1DeviceAllocationResult } from '../models/V1beta1DeviceAllocationResult'; +import { V1beta1DeviceAttribute } from '../models/V1beta1DeviceAttribute'; +import { V1beta1DeviceCapacity } from '../models/V1beta1DeviceCapacity'; +import { V1beta1DeviceClaim } from '../models/V1beta1DeviceClaim'; +import { V1beta1DeviceClaimConfiguration } from '../models/V1beta1DeviceClaimConfiguration'; +import { V1beta1DeviceClass } from '../models/V1beta1DeviceClass'; +import { V1beta1DeviceClassConfiguration } from '../models/V1beta1DeviceClassConfiguration'; +import { V1beta1DeviceClassList } from '../models/V1beta1DeviceClassList'; +import { V1beta1DeviceClassSpec } from '../models/V1beta1DeviceClassSpec'; +import { V1beta1DeviceConstraint } from '../models/V1beta1DeviceConstraint'; +import { V1beta1DeviceRequest } from '../models/V1beta1DeviceRequest'; +import { V1beta1DeviceRequestAllocationResult } from '../models/V1beta1DeviceRequestAllocationResult'; +import { V1beta1DeviceSelector } from '../models/V1beta1DeviceSelector'; +import { V1beta1ExpressionWarning } from '../models/V1beta1ExpressionWarning'; +import { V1beta1IPAddress } from '../models/V1beta1IPAddress'; +import { V1beta1IPAddressList } from '../models/V1beta1IPAddressList'; +import { V1beta1IPAddressSpec } from '../models/V1beta1IPAddressSpec'; +import { V1beta1MatchCondition } from '../models/V1beta1MatchCondition'; +import { V1beta1MatchResources } from '../models/V1beta1MatchResources'; +import { V1beta1NamedRuleWithOperations } from '../models/V1beta1NamedRuleWithOperations'; +import { V1beta1NetworkDeviceData } from '../models/V1beta1NetworkDeviceData'; +import { V1beta1OpaqueDeviceConfiguration } from '../models/V1beta1OpaqueDeviceConfiguration'; +import { V1beta1ParamKind } from '../models/V1beta1ParamKind'; +import { V1beta1ParamRef } from '../models/V1beta1ParamRef'; +import { V1beta1ParentReference } from '../models/V1beta1ParentReference'; +import { V1beta1ResourceClaim } from '../models/V1beta1ResourceClaim'; +import { V1beta1ResourceClaimConsumerReference } from '../models/V1beta1ResourceClaimConsumerReference'; +import { V1beta1ResourceClaimList } from '../models/V1beta1ResourceClaimList'; +import { V1beta1ResourceClaimSpec } from '../models/V1beta1ResourceClaimSpec'; +import { V1beta1ResourceClaimStatus } from '../models/V1beta1ResourceClaimStatus'; +import { V1beta1ResourceClaimTemplate } from '../models/V1beta1ResourceClaimTemplate'; +import { V1beta1ResourceClaimTemplateList } from '../models/V1beta1ResourceClaimTemplateList'; +import { V1beta1ResourceClaimTemplateSpec } from '../models/V1beta1ResourceClaimTemplateSpec'; +import { V1beta1ResourcePool } from '../models/V1beta1ResourcePool'; +import { V1beta1ResourceSlice } from '../models/V1beta1ResourceSlice'; +import { V1beta1ResourceSliceList } from '../models/V1beta1ResourceSliceList'; +import { V1beta1ResourceSliceSpec } from '../models/V1beta1ResourceSliceSpec'; +import { V1beta1SelfSubjectReview } from '../models/V1beta1SelfSubjectReview'; +import { V1beta1SelfSubjectReviewStatus } from '../models/V1beta1SelfSubjectReviewStatus'; +import { V1beta1ServiceCIDR } from '../models/V1beta1ServiceCIDR'; +import { V1beta1ServiceCIDRList } from '../models/V1beta1ServiceCIDRList'; +import { V1beta1ServiceCIDRSpec } from '../models/V1beta1ServiceCIDRSpec'; +import { V1beta1ServiceCIDRStatus } from '../models/V1beta1ServiceCIDRStatus'; +import { V1beta1TypeChecking } from '../models/V1beta1TypeChecking'; +import { V1beta1ValidatingAdmissionPolicy } from '../models/V1beta1ValidatingAdmissionPolicy'; +import { V1beta1ValidatingAdmissionPolicyBinding } from '../models/V1beta1ValidatingAdmissionPolicyBinding'; +import { V1beta1ValidatingAdmissionPolicyBindingList } from '../models/V1beta1ValidatingAdmissionPolicyBindingList'; +import { V1beta1ValidatingAdmissionPolicyBindingSpec } from '../models/V1beta1ValidatingAdmissionPolicyBindingSpec'; +import { V1beta1ValidatingAdmissionPolicyList } from '../models/V1beta1ValidatingAdmissionPolicyList'; +import { V1beta1ValidatingAdmissionPolicySpec } from '../models/V1beta1ValidatingAdmissionPolicySpec'; +import { V1beta1ValidatingAdmissionPolicyStatus } from '../models/V1beta1ValidatingAdmissionPolicyStatus'; +import { V1beta1Validation } from '../models/V1beta1Validation'; +import { V1beta1Variable } from '../models/V1beta1Variable'; +import { V1beta1VolumeAttributesClass } from '../models/V1beta1VolumeAttributesClass'; +import { V1beta1VolumeAttributesClassList } from '../models/V1beta1VolumeAttributesClassList'; +import { V2ContainerResourceMetricSource } from '../models/V2ContainerResourceMetricSource'; +import { V2ContainerResourceMetricStatus } from '../models/V2ContainerResourceMetricStatus'; +import { V2CrossVersionObjectReference } from '../models/V2CrossVersionObjectReference'; +import { V2ExternalMetricSource } from '../models/V2ExternalMetricSource'; +import { V2ExternalMetricStatus } from '../models/V2ExternalMetricStatus'; +import { V2HPAScalingPolicy } from '../models/V2HPAScalingPolicy'; +import { V2HPAScalingRules } from '../models/V2HPAScalingRules'; +import { V2HorizontalPodAutoscaler } from '../models/V2HorizontalPodAutoscaler'; +import { V2HorizontalPodAutoscalerBehavior } from '../models/V2HorizontalPodAutoscalerBehavior'; +import { V2HorizontalPodAutoscalerCondition } from '../models/V2HorizontalPodAutoscalerCondition'; +import { V2HorizontalPodAutoscalerList } from '../models/V2HorizontalPodAutoscalerList'; +import { V2HorizontalPodAutoscalerSpec } from '../models/V2HorizontalPodAutoscalerSpec'; +import { V2HorizontalPodAutoscalerStatus } from '../models/V2HorizontalPodAutoscalerStatus'; +import { V2MetricIdentifier } from '../models/V2MetricIdentifier'; +import { V2MetricSpec } from '../models/V2MetricSpec'; +import { V2MetricStatus } from '../models/V2MetricStatus'; +import { V2MetricTarget } from '../models/V2MetricTarget'; +import { V2MetricValueStatus } from '../models/V2MetricValueStatus'; +import { V2ObjectMetricSource } from '../models/V2ObjectMetricSource'; +import { V2ObjectMetricStatus } from '../models/V2ObjectMetricStatus'; +import { V2PodsMetricSource } from '../models/V2PodsMetricSource'; +import { V2PodsMetricStatus } from '../models/V2PodsMetricStatus'; +import { V2ResourceMetricSource } from '../models/V2ResourceMetricSource'; +import { V2ResourceMetricStatus } from '../models/V2ResourceMetricStatus'; +import { VersionInfo } from '../models/VersionInfo'; +import { ObservableAdmissionregistrationApi } from './ObservableAPI'; + +import { AdmissionregistrationApiRequestFactory, AdmissionregistrationApiResponseProcessor} from "../apis/AdmissionregistrationApi"; export class PromiseAdmissionregistrationApi { private api: ObservableAdmissionregistrationApi @@ -649,9 +661,9 @@ export class PromiseAdmissionregistrationApi { -import { ObservableAdmissionregistrationV1Api } from './ObservableAPI.js'; +import { ObservableAdmissionregistrationV1Api } from './ObservableAPI'; -import { AdmissionregistrationV1ApiRequestFactory, AdmissionregistrationV1ApiResponseProcessor} from "../apis/AdmissionregistrationV1Api.js"; +import { AdmissionregistrationV1ApiRequestFactory, AdmissionregistrationV1ApiResponseProcessor} from "../apis/AdmissionregistrationV1Api"; export class PromiseAdmissionregistrationV1Api { private api: ObservableAdmissionregistrationV1Api @@ -774,6 +786,7 @@ export class PromiseAdmissionregistrationV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -784,8 +797,8 @@ export class PromiseAdmissionregistrationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionMutatingWebhookConfigurationWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionMutatingWebhookConfigurationWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionMutatingWebhookConfigurationWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionMutatingWebhookConfigurationWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -796,6 +809,7 @@ export class PromiseAdmissionregistrationV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -806,8 +820,8 @@ export class PromiseAdmissionregistrationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionMutatingWebhookConfiguration(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionMutatingWebhookConfiguration(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionMutatingWebhookConfiguration(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionMutatingWebhookConfiguration(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -818,6 +832,7 @@ export class PromiseAdmissionregistrationV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -828,8 +843,8 @@ export class PromiseAdmissionregistrationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionValidatingAdmissionPolicyWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionValidatingAdmissionPolicyWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionValidatingAdmissionPolicyWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionValidatingAdmissionPolicyWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -840,6 +855,7 @@ export class PromiseAdmissionregistrationV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -850,8 +866,8 @@ export class PromiseAdmissionregistrationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionValidatingAdmissionPolicy(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionValidatingAdmissionPolicy(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionValidatingAdmissionPolicy(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionValidatingAdmissionPolicy(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -862,6 +878,7 @@ export class PromiseAdmissionregistrationV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -872,8 +889,8 @@ export class PromiseAdmissionregistrationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -884,6 +901,7 @@ export class PromiseAdmissionregistrationV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -894,8 +912,8 @@ export class PromiseAdmissionregistrationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionValidatingAdmissionPolicyBinding(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionValidatingAdmissionPolicyBinding(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionValidatingAdmissionPolicyBinding(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionValidatingAdmissionPolicyBinding(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -906,6 +924,7 @@ export class PromiseAdmissionregistrationV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -916,8 +935,8 @@ export class PromiseAdmissionregistrationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionValidatingWebhookConfigurationWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionValidatingWebhookConfigurationWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionValidatingWebhookConfigurationWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionValidatingWebhookConfigurationWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -928,6 +947,7 @@ export class PromiseAdmissionregistrationV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -938,8 +958,8 @@ export class PromiseAdmissionregistrationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionValidatingWebhookConfiguration(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionValidatingWebhookConfiguration(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionValidatingWebhookConfiguration(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionValidatingWebhookConfiguration(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -949,12 +969,13 @@ export class PromiseAdmissionregistrationV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteMutatingWebhookConfigurationWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteMutatingWebhookConfigurationWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteMutatingWebhookConfigurationWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteMutatingWebhookConfigurationWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -964,12 +985,13 @@ export class PromiseAdmissionregistrationV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteMutatingWebhookConfiguration(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteMutatingWebhookConfiguration(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteMutatingWebhookConfiguration(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteMutatingWebhookConfiguration(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -979,12 +1001,13 @@ export class PromiseAdmissionregistrationV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteValidatingAdmissionPolicyWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteValidatingAdmissionPolicyWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteValidatingAdmissionPolicyWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteValidatingAdmissionPolicyWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -994,12 +1017,13 @@ export class PromiseAdmissionregistrationV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteValidatingAdmissionPolicy(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteValidatingAdmissionPolicy(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteValidatingAdmissionPolicy(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteValidatingAdmissionPolicy(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -1009,12 +1033,13 @@ export class PromiseAdmissionregistrationV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteValidatingAdmissionPolicyBindingWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteValidatingAdmissionPolicyBindingWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteValidatingAdmissionPolicyBindingWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteValidatingAdmissionPolicyBindingWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -1024,12 +1049,13 @@ export class PromiseAdmissionregistrationV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteValidatingAdmissionPolicyBinding(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteValidatingAdmissionPolicyBinding(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteValidatingAdmissionPolicyBinding(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteValidatingAdmissionPolicyBinding(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -1039,12 +1065,13 @@ export class PromiseAdmissionregistrationV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteValidatingWebhookConfigurationWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteValidatingWebhookConfigurationWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteValidatingWebhookConfigurationWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteValidatingWebhookConfigurationWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -1054,12 +1081,13 @@ export class PromiseAdmissionregistrationV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteValidatingWebhookConfiguration(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteValidatingWebhookConfiguration(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteValidatingWebhookConfiguration(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteValidatingWebhookConfiguration(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -1626,9 +1654,9 @@ export class PromiseAdmissionregistrationV1Api { -import { ObservableAdmissionregistrationV1alpha1Api } from './ObservableAPI.js'; +import { ObservableAdmissionregistrationV1alpha1Api } from './ObservableAPI'; -import { AdmissionregistrationV1alpha1ApiRequestFactory, AdmissionregistrationV1alpha1ApiResponseProcessor} from "../apis/AdmissionregistrationV1alpha1Api.js"; +import { AdmissionregistrationV1alpha1ApiRequestFactory, AdmissionregistrationV1alpha1ApiResponseProcessor} from "../apis/AdmissionregistrationV1alpha1Api"; export class PromiseAdmissionregistrationV1alpha1Api { private api: ObservableAdmissionregistrationV1alpha1Api @@ -1641,64 +1669,65 @@ export class PromiseAdmissionregistrationV1alpha1Api { } /** - * create a ValidatingAdmissionPolicy + * create a MutatingAdmissionPolicy * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createValidatingAdmissionPolicyWithHttpInfo(body: V1alpha1ValidatingAdmissionPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.createValidatingAdmissionPolicyWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createMutatingAdmissionPolicyWithHttpInfo(body: V1alpha1MutatingAdmissionPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.createMutatingAdmissionPolicyWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * create a ValidatingAdmissionPolicy + * create a MutatingAdmissionPolicy * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createValidatingAdmissionPolicy(body: V1alpha1ValidatingAdmissionPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.createValidatingAdmissionPolicy(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createMutatingAdmissionPolicy(body: V1alpha1MutatingAdmissionPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.createMutatingAdmissionPolicy(body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * create a ValidatingAdmissionPolicyBinding + * create a MutatingAdmissionPolicyBinding * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createValidatingAdmissionPolicyBindingWithHttpInfo(body: V1alpha1ValidatingAdmissionPolicyBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.createValidatingAdmissionPolicyBindingWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createMutatingAdmissionPolicyBindingWithHttpInfo(body: V1alpha1MutatingAdmissionPolicyBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.createMutatingAdmissionPolicyBindingWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * create a ValidatingAdmissionPolicyBinding + * create a MutatingAdmissionPolicyBinding * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createValidatingAdmissionPolicyBinding(body: V1alpha1ValidatingAdmissionPolicyBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.createValidatingAdmissionPolicyBinding(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createMutatingAdmissionPolicyBinding(body: V1alpha1MutatingAdmissionPolicyBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.createMutatingAdmissionPolicyBinding(body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * delete collection of ValidatingAdmissionPolicy + * delete collection of MutatingAdmissionPolicy * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1709,18 +1738,19 @@ export class PromiseAdmissionregistrationV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionValidatingAdmissionPolicyWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionValidatingAdmissionPolicyWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionMutatingAdmissionPolicyWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionMutatingAdmissionPolicyWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * delete collection of ValidatingAdmissionPolicy + * delete collection of MutatingAdmissionPolicy * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1731,18 +1761,19 @@ export class PromiseAdmissionregistrationV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionValidatingAdmissionPolicy(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionValidatingAdmissionPolicy(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionMutatingAdmissionPolicy(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionMutatingAdmissionPolicy(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * delete collection of ValidatingAdmissionPolicyBinding + * delete collection of MutatingAdmissionPolicyBinding * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1753,18 +1784,19 @@ export class PromiseAdmissionregistrationV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionMutatingAdmissionPolicyBindingWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionMutatingAdmissionPolicyBindingWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * delete collection of ValidatingAdmissionPolicyBinding + * delete collection of MutatingAdmissionPolicyBinding * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -1775,68 +1807,72 @@ export class PromiseAdmissionregistrationV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionValidatingAdmissionPolicyBinding(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionValidatingAdmissionPolicyBinding(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionMutatingAdmissionPolicyBinding(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionMutatingAdmissionPolicyBinding(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * delete a ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy + * delete a MutatingAdmissionPolicy + * @param name name of the MutatingAdmissionPolicy * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteValidatingAdmissionPolicyWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteValidatingAdmissionPolicyWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteMutatingAdmissionPolicyWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteMutatingAdmissionPolicyWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * delete a ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy + * delete a MutatingAdmissionPolicy + * @param name name of the MutatingAdmissionPolicy * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteValidatingAdmissionPolicy(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteValidatingAdmissionPolicy(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteMutatingAdmissionPolicy(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteMutatingAdmissionPolicy(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * delete a ValidatingAdmissionPolicyBinding - * @param name name of the ValidatingAdmissionPolicyBinding + * delete a MutatingAdmissionPolicyBinding + * @param name name of the MutatingAdmissionPolicyBinding * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteValidatingAdmissionPolicyBindingWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteValidatingAdmissionPolicyBindingWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteMutatingAdmissionPolicyBindingWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteMutatingAdmissionPolicyBindingWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * delete a ValidatingAdmissionPolicyBinding - * @param name name of the ValidatingAdmissionPolicyBinding + * delete a MutatingAdmissionPolicyBinding + * @param name name of the MutatingAdmissionPolicyBinding * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteValidatingAdmissionPolicyBinding(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteValidatingAdmissionPolicyBinding(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteMutatingAdmissionPolicyBinding(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteMutatingAdmissionPolicyBinding(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -1857,7 +1893,7 @@ export class PromiseAdmissionregistrationV1alpha1Api { } /** - * list or watch objects of kind ValidatingAdmissionPolicy + * list or watch objects of kind MutatingAdmissionPolicy * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -1870,13 +1906,13 @@ export class PromiseAdmissionregistrationV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listValidatingAdmissionPolicyWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { - const result = this.api.listValidatingAdmissionPolicyWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listMutatingAdmissionPolicyWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listMutatingAdmissionPolicyWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind ValidatingAdmissionPolicy + * list or watch objects of kind MutatingAdmissionPolicy * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -1889,13 +1925,13 @@ export class PromiseAdmissionregistrationV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listValidatingAdmissionPolicy(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listValidatingAdmissionPolicy(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listMutatingAdmissionPolicy(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listMutatingAdmissionPolicy(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind ValidatingAdmissionPolicyBinding + * list or watch objects of kind MutatingAdmissionPolicyBinding * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -1908,13 +1944,13 @@ export class PromiseAdmissionregistrationV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listValidatingAdmissionPolicyBindingWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { - const result = this.api.listValidatingAdmissionPolicyBindingWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listMutatingAdmissionPolicyBindingWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listMutatingAdmissionPolicyBindingWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind ValidatingAdmissionPolicyBinding + * list or watch objects of kind MutatingAdmissionPolicyBinding * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -1927,44 +1963,14 @@ export class PromiseAdmissionregistrationV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listValidatingAdmissionPolicyBinding(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listValidatingAdmissionPolicyBinding(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); - return result.toPromise(); - } - - /** - * partially update the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchValidatingAdmissionPolicyWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { - const result = this.api.patchValidatingAdmissionPolicyWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); - return result.toPromise(); - } - - /** - * partially update the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchValidatingAdmissionPolicy(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { - const result = this.api.patchValidatingAdmissionPolicy(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public listMutatingAdmissionPolicyBinding(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listMutatingAdmissionPolicyBinding(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * partially update the specified ValidatingAdmissionPolicyBinding - * @param name name of the ValidatingAdmissionPolicyBinding + * partially update the specified MutatingAdmissionPolicy + * @param name name of the MutatingAdmissionPolicy * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -1972,14 +1978,14 @@ export class PromiseAdmissionregistrationV1alpha1Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchValidatingAdmissionPolicyBindingWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { - const result = this.api.patchValidatingAdmissionPolicyBindingWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public patchMutatingAdmissionPolicyWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + const result = this.api.patchMutatingAdmissionPolicyWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } /** - * partially update the specified ValidatingAdmissionPolicyBinding - * @param name name of the ValidatingAdmissionPolicyBinding + * partially update the specified MutatingAdmissionPolicy + * @param name name of the MutatingAdmissionPolicy * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -1987,14 +1993,14 @@ export class PromiseAdmissionregistrationV1alpha1Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchValidatingAdmissionPolicyBinding(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { - const result = this.api.patchValidatingAdmissionPolicyBinding(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public patchMutatingAdmissionPolicy(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + const result = this.api.patchMutatingAdmissionPolicy(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } /** - * partially update status of the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy + * partially update the specified MutatingAdmissionPolicyBinding + * @param name name of the MutatingAdmissionPolicyBinding * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -2002,14 +2008,14 @@ export class PromiseAdmissionregistrationV1alpha1Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchValidatingAdmissionPolicyStatusWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { - const result = this.api.patchValidatingAdmissionPolicyStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public patchMutatingAdmissionPolicyBindingWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + const result = this.api.patchMutatingAdmissionPolicyBindingWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } /** - * partially update status of the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy + * partially update the specified MutatingAdmissionPolicyBinding + * @param name name of the MutatingAdmissionPolicyBinding * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -2017,152 +2023,104 @@ export class PromiseAdmissionregistrationV1alpha1Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchValidatingAdmissionPolicyStatus(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { - const result = this.api.patchValidatingAdmissionPolicyStatus(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); - return result.toPromise(); - } - - /** - * read the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readValidatingAdmissionPolicyWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { - const result = this.api.readValidatingAdmissionPolicyWithHttpInfo(name, pretty, _options); - return result.toPromise(); - } - - /** - * read the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readValidatingAdmissionPolicy(name: string, pretty?: string, _options?: Configuration): Promise { - const result = this.api.readValidatingAdmissionPolicy(name, pretty, _options); - return result.toPromise(); - } - - /** - * read the specified ValidatingAdmissionPolicyBinding - * @param name name of the ValidatingAdmissionPolicyBinding - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readValidatingAdmissionPolicyBindingWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { - const result = this.api.readValidatingAdmissionPolicyBindingWithHttpInfo(name, pretty, _options); - return result.toPromise(); - } - - /** - * read the specified ValidatingAdmissionPolicyBinding - * @param name name of the ValidatingAdmissionPolicyBinding - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readValidatingAdmissionPolicyBinding(name: string, pretty?: string, _options?: Configuration): Promise { - const result = this.api.readValidatingAdmissionPolicyBinding(name, pretty, _options); + public patchMutatingAdmissionPolicyBinding(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + const result = this.api.patchMutatingAdmissionPolicyBinding(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } /** - * read status of the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy + * read the specified MutatingAdmissionPolicy + * @param name name of the MutatingAdmissionPolicy * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readValidatingAdmissionPolicyStatusWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { - const result = this.api.readValidatingAdmissionPolicyStatusWithHttpInfo(name, pretty, _options); + public readMutatingAdmissionPolicyWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { + const result = this.api.readMutatingAdmissionPolicyWithHttpInfo(name, pretty, _options); return result.toPromise(); } /** - * read status of the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy + * read the specified MutatingAdmissionPolicy + * @param name name of the MutatingAdmissionPolicy * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readValidatingAdmissionPolicyStatus(name: string, pretty?: string, _options?: Configuration): Promise { - const result = this.api.readValidatingAdmissionPolicyStatus(name, pretty, _options); + public readMutatingAdmissionPolicy(name: string, pretty?: string, _options?: Configuration): Promise { + const result = this.api.readMutatingAdmissionPolicy(name, pretty, _options); return result.toPromise(); } /** - * replace the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy - * @param body + * read the specified MutatingAdmissionPolicyBinding + * @param name name of the MutatingAdmissionPolicyBinding * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceValidatingAdmissionPolicyWithHttpInfo(name: string, body: V1alpha1ValidatingAdmissionPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replaceValidatingAdmissionPolicyWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public readMutatingAdmissionPolicyBindingWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { + const result = this.api.readMutatingAdmissionPolicyBindingWithHttpInfo(name, pretty, _options); return result.toPromise(); } /** - * replace the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy - * @param body + * read the specified MutatingAdmissionPolicyBinding + * @param name name of the MutatingAdmissionPolicyBinding * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceValidatingAdmissionPolicy(name: string, body: V1alpha1ValidatingAdmissionPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replaceValidatingAdmissionPolicy(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public readMutatingAdmissionPolicyBinding(name: string, pretty?: string, _options?: Configuration): Promise { + const result = this.api.readMutatingAdmissionPolicyBinding(name, pretty, _options); return result.toPromise(); } /** - * replace the specified ValidatingAdmissionPolicyBinding - * @param name name of the ValidatingAdmissionPolicyBinding + * replace the specified MutatingAdmissionPolicy + * @param name name of the MutatingAdmissionPolicy * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceValidatingAdmissionPolicyBindingWithHttpInfo(name: string, body: V1alpha1ValidatingAdmissionPolicyBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replaceValidatingAdmissionPolicyBindingWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceMutatingAdmissionPolicyWithHttpInfo(name: string, body: V1alpha1MutatingAdmissionPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceMutatingAdmissionPolicyWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * replace the specified ValidatingAdmissionPolicyBinding - * @param name name of the ValidatingAdmissionPolicyBinding + * replace the specified MutatingAdmissionPolicy + * @param name name of the MutatingAdmissionPolicy * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceValidatingAdmissionPolicyBinding(name: string, body: V1alpha1ValidatingAdmissionPolicyBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replaceValidatingAdmissionPolicyBinding(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceMutatingAdmissionPolicy(name: string, body: V1alpha1MutatingAdmissionPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceMutatingAdmissionPolicy(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * replace status of the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy + * replace the specified MutatingAdmissionPolicyBinding + * @param name name of the MutatingAdmissionPolicyBinding * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceValidatingAdmissionPolicyStatusWithHttpInfo(name: string, body: V1alpha1ValidatingAdmissionPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replaceValidatingAdmissionPolicyStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceMutatingAdmissionPolicyBindingWithHttpInfo(name: string, body: V1alpha1MutatingAdmissionPolicyBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceMutatingAdmissionPolicyBindingWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * replace status of the specified ValidatingAdmissionPolicy - * @param name name of the ValidatingAdmissionPolicy + * replace the specified MutatingAdmissionPolicyBinding + * @param name name of the MutatingAdmissionPolicyBinding * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceValidatingAdmissionPolicyStatus(name: string, body: V1alpha1ValidatingAdmissionPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replaceValidatingAdmissionPolicyStatus(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceMutatingAdmissionPolicyBinding(name: string, body: V1alpha1MutatingAdmissionPolicyBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceMutatingAdmissionPolicyBinding(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } @@ -2171,9 +2129,9 @@ export class PromiseAdmissionregistrationV1alpha1Api { -import { ObservableAdmissionregistrationV1beta1Api } from './ObservableAPI.js'; +import { ObservableAdmissionregistrationV1beta1Api } from './ObservableAPI'; -import { AdmissionregistrationV1beta1ApiRequestFactory, AdmissionregistrationV1beta1ApiResponseProcessor} from "../apis/AdmissionregistrationV1beta1Api.js"; +import { AdmissionregistrationV1beta1ApiRequestFactory, AdmissionregistrationV1beta1ApiResponseProcessor} from "../apis/AdmissionregistrationV1beta1Api"; export class PromiseAdmissionregistrationV1beta1Api { private api: ObservableAdmissionregistrationV1beta1Api @@ -2244,6 +2202,7 @@ export class PromiseAdmissionregistrationV1beta1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -2254,8 +2213,8 @@ export class PromiseAdmissionregistrationV1beta1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionValidatingAdmissionPolicyWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionValidatingAdmissionPolicyWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionValidatingAdmissionPolicyWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionValidatingAdmissionPolicyWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -2266,6 +2225,7 @@ export class PromiseAdmissionregistrationV1beta1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -2276,8 +2236,8 @@ export class PromiseAdmissionregistrationV1beta1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionValidatingAdmissionPolicy(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionValidatingAdmissionPolicy(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionValidatingAdmissionPolicy(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionValidatingAdmissionPolicy(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -2288,6 +2248,7 @@ export class PromiseAdmissionregistrationV1beta1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -2298,8 +2259,8 @@ export class PromiseAdmissionregistrationV1beta1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionValidatingAdmissionPolicyBindingWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -2310,6 +2271,7 @@ export class PromiseAdmissionregistrationV1beta1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -2320,8 +2282,8 @@ export class PromiseAdmissionregistrationV1beta1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionValidatingAdmissionPolicyBinding(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionValidatingAdmissionPolicyBinding(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionValidatingAdmissionPolicyBinding(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionValidatingAdmissionPolicyBinding(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -2331,12 +2293,13 @@ export class PromiseAdmissionregistrationV1beta1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteValidatingAdmissionPolicyWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteValidatingAdmissionPolicyWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteValidatingAdmissionPolicyWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteValidatingAdmissionPolicyWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -2346,12 +2309,13 @@ export class PromiseAdmissionregistrationV1beta1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteValidatingAdmissionPolicy(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteValidatingAdmissionPolicy(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteValidatingAdmissionPolicy(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteValidatingAdmissionPolicy(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -2361,12 +2325,13 @@ export class PromiseAdmissionregistrationV1beta1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteValidatingAdmissionPolicyBindingWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteValidatingAdmissionPolicyBindingWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteValidatingAdmissionPolicyBindingWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteValidatingAdmissionPolicyBindingWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -2376,12 +2341,13 @@ export class PromiseAdmissionregistrationV1beta1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteValidatingAdmissionPolicyBinding(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteValidatingAdmissionPolicyBinding(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteValidatingAdmissionPolicyBinding(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteValidatingAdmissionPolicyBinding(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -2716,9 +2682,9 @@ export class PromiseAdmissionregistrationV1beta1Api { -import { ObservableApiextensionsApi } from './ObservableAPI.js'; +import { ObservableApiextensionsApi } from './ObservableAPI'; -import { ApiextensionsApiRequestFactory, ApiextensionsApiResponseProcessor} from "../apis/ApiextensionsApi.js"; +import { ApiextensionsApiRequestFactory, ApiextensionsApiResponseProcessor} from "../apis/ApiextensionsApi"; export class PromiseApiextensionsApi { private api: ObservableApiextensionsApi @@ -2751,9 +2717,9 @@ export class PromiseApiextensionsApi { -import { ObservableApiextensionsV1Api } from './ObservableAPI.js'; +import { ObservableApiextensionsV1Api } from './ObservableAPI'; -import { ApiextensionsV1ApiRequestFactory, ApiextensionsV1ApiResponseProcessor} from "../apis/ApiextensionsV1Api.js"; +import { ApiextensionsV1ApiRequestFactory, ApiextensionsV1ApiResponseProcessor} from "../apis/ApiextensionsV1Api"; export class PromiseApiextensionsV1Api { private api: ObservableApiextensionsV1Api @@ -2798,6 +2764,7 @@ export class PromiseApiextensionsV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -2808,8 +2775,8 @@ export class PromiseApiextensionsV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionCustomResourceDefinitionWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionCustomResourceDefinitionWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionCustomResourceDefinitionWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionCustomResourceDefinitionWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -2820,6 +2787,7 @@ export class PromiseApiextensionsV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -2830,8 +2798,8 @@ export class PromiseApiextensionsV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionCustomResourceDefinition(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionCustomResourceDefinition(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionCustomResourceDefinition(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionCustomResourceDefinition(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -2841,12 +2809,13 @@ export class PromiseApiextensionsV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteCustomResourceDefinitionWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCustomResourceDefinitionWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteCustomResourceDefinitionWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCustomResourceDefinitionWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -2856,12 +2825,13 @@ export class PromiseApiextensionsV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteCustomResourceDefinition(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCustomResourceDefinition(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteCustomResourceDefinition(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCustomResourceDefinition(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -3080,9 +3050,9 @@ export class PromiseApiextensionsV1Api { -import { ObservableApiregistrationApi } from './ObservableAPI.js'; +import { ObservableApiregistrationApi } from './ObservableAPI'; -import { ApiregistrationApiRequestFactory, ApiregistrationApiResponseProcessor} from "../apis/ApiregistrationApi.js"; +import { ApiregistrationApiRequestFactory, ApiregistrationApiResponseProcessor} from "../apis/ApiregistrationApi"; export class PromiseApiregistrationApi { private api: ObservableApiregistrationApi @@ -3115,9 +3085,9 @@ export class PromiseApiregistrationApi { -import { ObservableApiregistrationV1Api } from './ObservableAPI.js'; +import { ObservableApiregistrationV1Api } from './ObservableAPI'; -import { ApiregistrationV1ApiRequestFactory, ApiregistrationV1ApiResponseProcessor} from "../apis/ApiregistrationV1Api.js"; +import { ApiregistrationV1ApiRequestFactory, ApiregistrationV1ApiResponseProcessor} from "../apis/ApiregistrationV1Api"; export class PromiseApiregistrationV1Api { private api: ObservableApiregistrationV1Api @@ -3161,12 +3131,13 @@ export class PromiseApiregistrationV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteAPIServiceWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteAPIServiceWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteAPIServiceWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteAPIServiceWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -3176,12 +3147,13 @@ export class PromiseApiregistrationV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteAPIService(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteAPIService(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteAPIService(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteAPIService(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -3192,6 +3164,7 @@ export class PromiseApiregistrationV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -3202,8 +3175,8 @@ export class PromiseApiregistrationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionAPIServiceWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionAPIServiceWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionAPIServiceWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionAPIServiceWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -3214,6 +3187,7 @@ export class PromiseApiregistrationV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -3224,8 +3198,8 @@ export class PromiseApiregistrationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionAPIService(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionAPIService(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionAPIService(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionAPIService(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -3444,9 +3418,9 @@ export class PromiseApiregistrationV1Api { -import { ObservableApisApi } from './ObservableAPI.js'; +import { ObservableApisApi } from './ObservableAPI'; -import { ApisApiRequestFactory, ApisApiResponseProcessor} from "../apis/ApisApi.js"; +import { ApisApiRequestFactory, ApisApiResponseProcessor} from "../apis/ApisApi"; export class PromiseApisApi { private api: ObservableApisApi @@ -3479,9 +3453,9 @@ export class PromiseApisApi { -import { ObservableAppsApi } from './ObservableAPI.js'; +import { ObservableAppsApi } from './ObservableAPI'; -import { AppsApiRequestFactory, AppsApiResponseProcessor} from "../apis/AppsApi.js"; +import { AppsApiRequestFactory, AppsApiResponseProcessor} from "../apis/AppsApi"; export class PromiseAppsApi { private api: ObservableAppsApi @@ -3514,9 +3488,9 @@ export class PromiseAppsApi { -import { ObservableAppsV1Api } from './ObservableAPI.js'; +import { ObservableAppsV1Api } from './ObservableAPI'; -import { AppsV1ApiRequestFactory, AppsV1ApiResponseProcessor} from "../apis/AppsV1Api.js"; +import { AppsV1ApiRequestFactory, AppsV1ApiResponseProcessor} from "../apis/AppsV1Api"; export class PromiseAppsV1Api { private api: ObservableAppsV1Api @@ -3676,6 +3650,7 @@ export class PromiseAppsV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -3686,8 +3661,8 @@ export class PromiseAppsV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedControllerRevisionWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedControllerRevisionWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedControllerRevisionWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedControllerRevisionWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -3699,6 +3674,7 @@ export class PromiseAppsV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -3709,8 +3685,8 @@ export class PromiseAppsV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedControllerRevision(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedControllerRevision(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedControllerRevision(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedControllerRevision(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -3722,6 +3698,7 @@ export class PromiseAppsV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -3732,8 +3709,8 @@ export class PromiseAppsV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedDaemonSetWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedDaemonSetWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedDaemonSetWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedDaemonSetWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -3745,6 +3722,7 @@ export class PromiseAppsV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -3755,8 +3733,8 @@ export class PromiseAppsV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedDaemonSet(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedDaemonSet(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedDaemonSet(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedDaemonSet(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -3768,6 +3746,7 @@ export class PromiseAppsV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -3778,8 +3757,8 @@ export class PromiseAppsV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedDeploymentWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedDeploymentWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedDeploymentWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedDeploymentWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -3791,6 +3770,7 @@ export class PromiseAppsV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -3801,8 +3781,8 @@ export class PromiseAppsV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedDeployment(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedDeployment(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedDeployment(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedDeployment(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -3814,6 +3794,7 @@ export class PromiseAppsV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -3824,8 +3805,8 @@ export class PromiseAppsV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedReplicaSetWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedReplicaSetWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedReplicaSetWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedReplicaSetWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -3837,6 +3818,7 @@ export class PromiseAppsV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -3847,8 +3829,8 @@ export class PromiseAppsV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedReplicaSet(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedReplicaSet(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedReplicaSet(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedReplicaSet(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -3860,6 +3842,7 @@ export class PromiseAppsV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -3870,8 +3853,8 @@ export class PromiseAppsV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedStatefulSetWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedStatefulSetWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedStatefulSetWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedStatefulSetWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -3883,6 +3866,7 @@ export class PromiseAppsV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -3893,8 +3877,8 @@ export class PromiseAppsV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedStatefulSet(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedStatefulSet(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedStatefulSet(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedStatefulSet(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -3905,12 +3889,13 @@ export class PromiseAppsV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedControllerRevisionWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedControllerRevisionWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedControllerRevisionWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedControllerRevisionWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -3921,12 +3906,13 @@ export class PromiseAppsV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedControllerRevision(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedControllerRevision(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedControllerRevision(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedControllerRevision(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -3937,12 +3923,13 @@ export class PromiseAppsV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedDaemonSetWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedDaemonSetWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedDaemonSetWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedDaemonSetWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -3953,12 +3940,13 @@ export class PromiseAppsV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedDaemonSet(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedDaemonSet(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedDaemonSet(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedDaemonSet(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -3969,12 +3957,13 @@ export class PromiseAppsV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedDeploymentWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedDeploymentWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedDeploymentWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedDeploymentWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -3985,12 +3974,13 @@ export class PromiseAppsV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedDeployment(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedDeployment(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedDeployment(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedDeployment(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -4001,12 +3991,13 @@ export class PromiseAppsV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedReplicaSetWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedReplicaSetWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedReplicaSetWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedReplicaSetWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -4017,12 +4008,13 @@ export class PromiseAppsV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedReplicaSet(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedReplicaSet(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedReplicaSet(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedReplicaSet(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -4033,12 +4025,13 @@ export class PromiseAppsV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedStatefulSetWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedStatefulSetWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedStatefulSetWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedStatefulSetWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -4049,12 +4042,13 @@ export class PromiseAppsV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedStatefulSet(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedStatefulSet(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedStatefulSet(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedStatefulSet(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -5477,9 +5471,9 @@ export class PromiseAppsV1Api { -import { ObservableAuthenticationApi } from './ObservableAPI.js'; +import { ObservableAuthenticationApi } from './ObservableAPI'; -import { AuthenticationApiRequestFactory, AuthenticationApiResponseProcessor} from "../apis/AuthenticationApi.js"; +import { AuthenticationApiRequestFactory, AuthenticationApiResponseProcessor} from "../apis/AuthenticationApi"; export class PromiseAuthenticationApi { private api: ObservableAuthenticationApi @@ -5512,9 +5506,9 @@ export class PromiseAuthenticationApi { -import { ObservableAuthenticationV1Api } from './ObservableAPI.js'; +import { ObservableAuthenticationV1Api } from './ObservableAPI'; -import { AuthenticationV1ApiRequestFactory, AuthenticationV1ApiResponseProcessor} from "../apis/AuthenticationV1Api.js"; +import { AuthenticationV1ApiRequestFactory, AuthenticationV1ApiResponseProcessor} from "../apis/AuthenticationV1Api"; export class PromiseAuthenticationV1Api { private api: ObservableAuthenticationV1Api @@ -5599,70 +5593,9 @@ export class PromiseAuthenticationV1Api { -import { ObservableAuthenticationV1alpha1Api } from './ObservableAPI.js'; - -import { AuthenticationV1alpha1ApiRequestFactory, AuthenticationV1alpha1ApiResponseProcessor} from "../apis/AuthenticationV1alpha1Api.js"; -export class PromiseAuthenticationV1alpha1Api { - private api: ObservableAuthenticationV1alpha1Api - - public constructor( - configuration: Configuration, - requestFactory?: AuthenticationV1alpha1ApiRequestFactory, - responseProcessor?: AuthenticationV1alpha1ApiResponseProcessor - ) { - this.api = new ObservableAuthenticationV1alpha1Api(configuration, requestFactory, responseProcessor); - } - - /** - * create a SelfSubjectReview - * @param body - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public createSelfSubjectReviewWithHttpInfo(body: V1alpha1SelfSubjectReview, dryRun?: string, fieldManager?: string, fieldValidation?: string, pretty?: string, _options?: Configuration): Promise> { - const result = this.api.createSelfSubjectReviewWithHttpInfo(body, dryRun, fieldManager, fieldValidation, pretty, _options); - return result.toPromise(); - } - - /** - * create a SelfSubjectReview - * @param body - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public createSelfSubjectReview(body: V1alpha1SelfSubjectReview, dryRun?: string, fieldManager?: string, fieldValidation?: string, pretty?: string, _options?: Configuration): Promise { - const result = this.api.createSelfSubjectReview(body, dryRun, fieldManager, fieldValidation, pretty, _options); - return result.toPromise(); - } - - /** - * get available resources - */ - public getAPIResourcesWithHttpInfo(_options?: Configuration): Promise> { - const result = this.api.getAPIResourcesWithHttpInfo(_options); - return result.toPromise(); - } - - /** - * get available resources - */ - public getAPIResources(_options?: Configuration): Promise { - const result = this.api.getAPIResources(_options); - return result.toPromise(); - } - - -} - - - -import { ObservableAuthenticationV1beta1Api } from './ObservableAPI.js'; +import { ObservableAuthenticationV1beta1Api } from './ObservableAPI'; -import { AuthenticationV1beta1ApiRequestFactory, AuthenticationV1beta1ApiResponseProcessor} from "../apis/AuthenticationV1beta1Api.js"; +import { AuthenticationV1beta1ApiRequestFactory, AuthenticationV1beta1ApiResponseProcessor} from "../apis/AuthenticationV1beta1Api"; export class PromiseAuthenticationV1beta1Api { private api: ObservableAuthenticationV1beta1Api @@ -5721,9 +5654,9 @@ export class PromiseAuthenticationV1beta1Api { -import { ObservableAuthorizationApi } from './ObservableAPI.js'; +import { ObservableAuthorizationApi } from './ObservableAPI'; -import { AuthorizationApiRequestFactory, AuthorizationApiResponseProcessor} from "../apis/AuthorizationApi.js"; +import { AuthorizationApiRequestFactory, AuthorizationApiResponseProcessor} from "../apis/AuthorizationApi"; export class PromiseAuthorizationApi { private api: ObservableAuthorizationApi @@ -5756,9 +5689,9 @@ export class PromiseAuthorizationApi { -import { ObservableAuthorizationV1Api } from './ObservableAPI.js'; +import { ObservableAuthorizationV1Api } from './ObservableAPI'; -import { AuthorizationV1ApiRequestFactory, AuthorizationV1ApiResponseProcessor} from "../apis/AuthorizationV1Api.js"; +import { AuthorizationV1ApiRequestFactory, AuthorizationV1ApiResponseProcessor} from "../apis/AuthorizationV1Api"; export class PromiseAuthorizationV1Api { private api: ObservableAuthorizationV1Api @@ -5897,9 +5830,9 @@ export class PromiseAuthorizationV1Api { -import { ObservableAutoscalingApi } from './ObservableAPI.js'; +import { ObservableAutoscalingApi } from './ObservableAPI'; -import { AutoscalingApiRequestFactory, AutoscalingApiResponseProcessor} from "../apis/AutoscalingApi.js"; +import { AutoscalingApiRequestFactory, AutoscalingApiResponseProcessor} from "../apis/AutoscalingApi"; export class PromiseAutoscalingApi { private api: ObservableAutoscalingApi @@ -5932,9 +5865,9 @@ export class PromiseAutoscalingApi { -import { ObservableAutoscalingV1Api } from './ObservableAPI.js'; +import { ObservableAutoscalingV1Api } from './ObservableAPI'; -import { AutoscalingV1ApiRequestFactory, AutoscalingV1ApiResponseProcessor} from "../apis/AutoscalingV1Api.js"; +import { AutoscalingV1ApiRequestFactory, AutoscalingV1ApiResponseProcessor} from "../apis/AutoscalingV1Api"; export class PromiseAutoscalingV1Api { private api: ObservableAutoscalingV1Api @@ -5982,6 +5915,7 @@ export class PromiseAutoscalingV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -5992,8 +5926,8 @@ export class PromiseAutoscalingV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -6005,6 +5939,7 @@ export class PromiseAutoscalingV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -6015,8 +5950,8 @@ export class PromiseAutoscalingV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedHorizontalPodAutoscaler(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedHorizontalPodAutoscaler(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedHorizontalPodAutoscaler(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedHorizontalPodAutoscaler(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -6027,12 +5962,13 @@ export class PromiseAutoscalingV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedHorizontalPodAutoscalerWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedHorizontalPodAutoscalerWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedHorizontalPodAutoscalerWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedHorizontalPodAutoscalerWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -6043,12 +5979,13 @@ export class PromiseAutoscalingV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedHorizontalPodAutoscaler(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedHorizontalPodAutoscaler(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedHorizontalPodAutoscaler(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedHorizontalPodAutoscaler(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -6319,9 +6256,9 @@ export class PromiseAutoscalingV1Api { -import { ObservableAutoscalingV2Api } from './ObservableAPI.js'; +import { ObservableAutoscalingV2Api } from './ObservableAPI'; -import { AutoscalingV2ApiRequestFactory, AutoscalingV2ApiResponseProcessor} from "../apis/AutoscalingV2Api.js"; +import { AutoscalingV2ApiRequestFactory, AutoscalingV2ApiResponseProcessor} from "../apis/AutoscalingV2Api"; export class PromiseAutoscalingV2Api { private api: ObservableAutoscalingV2Api @@ -6369,6 +6306,7 @@ export class PromiseAutoscalingV2Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -6379,8 +6317,8 @@ export class PromiseAutoscalingV2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedHorizontalPodAutoscalerWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -6392,6 +6330,7 @@ export class PromiseAutoscalingV2Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -6402,8 +6341,8 @@ export class PromiseAutoscalingV2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedHorizontalPodAutoscaler(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedHorizontalPodAutoscaler(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedHorizontalPodAutoscaler(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedHorizontalPodAutoscaler(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -6414,12 +6353,13 @@ export class PromiseAutoscalingV2Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedHorizontalPodAutoscalerWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedHorizontalPodAutoscalerWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedHorizontalPodAutoscalerWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedHorizontalPodAutoscalerWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -6430,12 +6370,13 @@ export class PromiseAutoscalingV2Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedHorizontalPodAutoscaler(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedHorizontalPodAutoscaler(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedHorizontalPodAutoscaler(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedHorizontalPodAutoscaler(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -6706,9 +6647,9 @@ export class PromiseAutoscalingV2Api { -import { ObservableBatchApi } from './ObservableAPI.js'; +import { ObservableBatchApi } from './ObservableAPI'; -import { BatchApiRequestFactory, BatchApiResponseProcessor} from "../apis/BatchApi.js"; +import { BatchApiRequestFactory, BatchApiResponseProcessor} from "../apis/BatchApi"; export class PromiseBatchApi { private api: ObservableBatchApi @@ -6741,9 +6682,9 @@ export class PromiseBatchApi { -import { ObservableBatchV1Api } from './ObservableAPI.js'; +import { ObservableBatchV1Api } from './ObservableAPI'; -import { BatchV1ApiRequestFactory, BatchV1ApiResponseProcessor} from "../apis/BatchV1Api.js"; +import { BatchV1ApiRequestFactory, BatchV1ApiResponseProcessor} from "../apis/BatchV1Api"; export class PromiseBatchV1Api { private api: ObservableBatchV1Api @@ -6819,6 +6760,7 @@ export class PromiseBatchV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -6829,8 +6771,8 @@ export class PromiseBatchV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedCronJobWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedCronJobWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedCronJobWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedCronJobWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -6842,6 +6784,7 @@ export class PromiseBatchV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -6852,8 +6795,8 @@ export class PromiseBatchV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedCronJob(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedCronJob(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedCronJob(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedCronJob(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -6865,6 +6808,7 @@ export class PromiseBatchV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -6875,8 +6819,8 @@ export class PromiseBatchV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedJobWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedJobWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedJobWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedJobWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -6888,6 +6832,7 @@ export class PromiseBatchV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -6898,8 +6843,8 @@ export class PromiseBatchV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedJob(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedJob(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedJob(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedJob(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -6910,12 +6855,13 @@ export class PromiseBatchV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedCronJobWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedCronJobWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedCronJobWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedCronJobWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -6926,12 +6872,13 @@ export class PromiseBatchV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedCronJob(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedCronJob(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedCronJob(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedCronJob(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -6942,12 +6889,13 @@ export class PromiseBatchV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedJobWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedJobWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedJobWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedJobWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -6958,12 +6906,13 @@ export class PromiseBatchV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedJob(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedJob(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedJob(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedJob(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -7480,9 +7429,9 @@ export class PromiseBatchV1Api { -import { ObservableCertificatesApi } from './ObservableAPI.js'; +import { ObservableCertificatesApi } from './ObservableAPI'; -import { CertificatesApiRequestFactory, CertificatesApiResponseProcessor} from "../apis/CertificatesApi.js"; +import { CertificatesApiRequestFactory, CertificatesApiResponseProcessor} from "../apis/CertificatesApi"; export class PromiseCertificatesApi { private api: ObservableCertificatesApi @@ -7515,9 +7464,9 @@ export class PromiseCertificatesApi { -import { ObservableCertificatesV1Api } from './ObservableAPI.js'; +import { ObservableCertificatesV1Api } from './ObservableAPI'; -import { CertificatesV1ApiRequestFactory, CertificatesV1ApiResponseProcessor} from "../apis/CertificatesV1Api.js"; +import { CertificatesV1ApiRequestFactory, CertificatesV1ApiResponseProcessor} from "../apis/CertificatesV1Api"; export class PromiseCertificatesV1Api { private api: ObservableCertificatesV1Api @@ -7561,12 +7510,13 @@ export class PromiseCertificatesV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteCertificateSigningRequestWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCertificateSigningRequestWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteCertificateSigningRequestWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCertificateSigningRequestWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -7576,12 +7526,13 @@ export class PromiseCertificatesV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteCertificateSigningRequest(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCertificateSigningRequest(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteCertificateSigningRequest(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCertificateSigningRequest(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -7592,6 +7543,7 @@ export class PromiseCertificatesV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -7602,8 +7554,8 @@ export class PromiseCertificatesV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionCertificateSigningRequestWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionCertificateSigningRequestWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionCertificateSigningRequestWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionCertificateSigningRequestWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -7614,6 +7566,7 @@ export class PromiseCertificatesV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -7624,8 +7577,8 @@ export class PromiseCertificatesV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionCertificateSigningRequest(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionCertificateSigningRequest(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionCertificateSigningRequest(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionCertificateSigningRequest(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -7922,9 +7875,9 @@ export class PromiseCertificatesV1Api { -import { ObservableCertificatesV1alpha1Api } from './ObservableAPI.js'; +import { ObservableCertificatesV1alpha1Api } from './ObservableAPI'; -import { CertificatesV1alpha1ApiRequestFactory, CertificatesV1alpha1ApiResponseProcessor} from "../apis/CertificatesV1alpha1Api.js"; +import { CertificatesV1alpha1ApiRequestFactory, CertificatesV1alpha1ApiResponseProcessor} from "../apis/CertificatesV1alpha1Api"; export class PromiseCertificatesV1alpha1Api { private api: ObservableCertificatesV1alpha1Api @@ -7968,12 +7921,13 @@ export class PromiseCertificatesV1alpha1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteClusterTrustBundleWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteClusterTrustBundleWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteClusterTrustBundleWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteClusterTrustBundleWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -7983,12 +7937,13 @@ export class PromiseCertificatesV1alpha1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteClusterTrustBundle(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteClusterTrustBundle(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteClusterTrustBundle(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteClusterTrustBundle(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -7999,6 +7954,7 @@ export class PromiseCertificatesV1alpha1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -8009,8 +7965,8 @@ export class PromiseCertificatesV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionClusterTrustBundleWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionClusterTrustBundleWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionClusterTrustBundleWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionClusterTrustBundleWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -8021,6 +7977,7 @@ export class PromiseCertificatesV1alpha1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -8031,8 +7988,8 @@ export class PromiseCertificatesV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionClusterTrustBundle(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionClusterTrustBundle(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionClusterTrustBundle(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionClusterTrustBundle(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -8173,9 +8130,9 @@ export class PromiseCertificatesV1alpha1Api { -import { ObservableCoordinationApi } from './ObservableAPI.js'; +import { ObservableCoordinationApi } from './ObservableAPI'; -import { CoordinationApiRequestFactory, CoordinationApiResponseProcessor} from "../apis/CoordinationApi.js"; +import { CoordinationApiRequestFactory, CoordinationApiResponseProcessor} from "../apis/CoordinationApi"; export class PromiseCoordinationApi { private api: ObservableCoordinationApi @@ -8208,9 +8165,9 @@ export class PromiseCoordinationApi { -import { ObservableCoordinationV1Api } from './ObservableAPI.js'; +import { ObservableCoordinationV1Api } from './ObservableAPI'; -import { CoordinationV1ApiRequestFactory, CoordinationV1ApiResponseProcessor} from "../apis/CoordinationV1Api.js"; +import { CoordinationV1ApiRequestFactory, CoordinationV1ApiResponseProcessor} from "../apis/CoordinationV1Api"; export class PromiseCoordinationV1Api { private api: ObservableCoordinationV1Api @@ -8258,6 +8215,7 @@ export class PromiseCoordinationV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -8268,8 +8226,8 @@ export class PromiseCoordinationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedLeaseWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedLeaseWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedLeaseWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedLeaseWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -8281,6 +8239,7 @@ export class PromiseCoordinationV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -8291,8 +8250,8 @@ export class PromiseCoordinationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedLease(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedLease(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedLease(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedLease(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -8303,12 +8262,13 @@ export class PromiseCoordinationV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedLeaseWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedLeaseWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedLeaseWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedLeaseWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -8319,12 +8279,13 @@ export class PromiseCoordinationV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedLease(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedLease(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedLease(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedLease(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -8511,74 +8472,381 @@ export class PromiseCoordinationV1Api { -import { ObservableCoreApi } from './ObservableAPI.js'; +import { ObservableCoordinationV1alpha2Api } from './ObservableAPI'; -import { CoreApiRequestFactory, CoreApiResponseProcessor} from "../apis/CoreApi.js"; -export class PromiseCoreApi { - private api: ObservableCoreApi +import { CoordinationV1alpha2ApiRequestFactory, CoordinationV1alpha2ApiResponseProcessor} from "../apis/CoordinationV1alpha2Api"; +export class PromiseCoordinationV1alpha2Api { + private api: ObservableCoordinationV1alpha2Api public constructor( configuration: Configuration, - requestFactory?: CoreApiRequestFactory, - responseProcessor?: CoreApiResponseProcessor + requestFactory?: CoordinationV1alpha2ApiRequestFactory, + responseProcessor?: CoordinationV1alpha2ApiResponseProcessor ) { - this.api = new ObservableCoreApi(configuration, requestFactory, responseProcessor); - } - - /** - * get available API versions - */ - public getAPIVersionsWithHttpInfo(_options?: Configuration): Promise> { - const result = this.api.getAPIVersionsWithHttpInfo(_options); - return result.toPromise(); + this.api = new ObservableCoordinationV1alpha2Api(configuration, requestFactory, responseProcessor); } /** - * get available API versions + * create a LeaseCandidate + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public getAPIVersions(_options?: Configuration): Promise { - const result = this.api.getAPIVersions(_options); + public createNamespacedLeaseCandidateWithHttpInfo(namespace: string, body: V1alpha2LeaseCandidate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.createNamespacedLeaseCandidateWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } - -} - - - -import { ObservableCoreV1Api } from './ObservableAPI.js'; - -import { CoreV1ApiRequestFactory, CoreV1ApiResponseProcessor} from "../apis/CoreV1Api.js"; -export class PromiseCoreV1Api { - private api: ObservableCoreV1Api - - public constructor( - configuration: Configuration, - requestFactory?: CoreV1ApiRequestFactory, - responseProcessor?: CoreV1ApiResponseProcessor - ) { - this.api = new ObservableCoreV1Api(configuration, requestFactory, responseProcessor); - } - /** - * connect DELETE requests to proxy of Pod - * @param name name of the PodProxyOptions + * create a LeaseCandidate * @param namespace object name and auth scope, such as for teams and projects - * @param [path] Path is the URL path to use for the current proxy request to pod. + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public connectDeleteNamespacedPodProxyWithHttpInfo(name: string, namespace: string, path?: string, _options?: Configuration): Promise> { - const result = this.api.connectDeleteNamespacedPodProxyWithHttpInfo(name, namespace, path, _options); + public createNamespacedLeaseCandidate(namespace: string, body: V1alpha2LeaseCandidate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.createNamespacedLeaseCandidate(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * connect DELETE requests to proxy of Pod - * @param name name of the PodProxyOptions + * delete collection of LeaseCandidate * @param namespace object name and auth scope, such as for teams and projects - * @param [path] Path is the URL path to use for the current proxy request to pod. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] */ - public connectDeleteNamespacedPodProxy(name: string, namespace: string, path?: string, _options?: Configuration): Promise { - const result = this.api.connectDeleteNamespacedPodProxy(name, namespace, path, _options); + public deleteCollectionNamespacedLeaseCandidateWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedLeaseCandidateWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + return result.toPromise(); + } + + /** + * delete collection of LeaseCandidate + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] + */ + public deleteCollectionNamespacedLeaseCandidate(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedLeaseCandidate(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + return result.toPromise(); + } + + /** + * delete a LeaseCandidate + * @param name name of the LeaseCandidate + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] + */ + public deleteNamespacedLeaseCandidateWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedLeaseCandidateWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); + return result.toPromise(); + } + + /** + * delete a LeaseCandidate + * @param name name of the LeaseCandidate + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] + */ + public deleteNamespacedLeaseCandidate(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedLeaseCandidate(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); + return result.toPromise(); + } + + /** + * get available resources + */ + public getAPIResourcesWithHttpInfo(_options?: Configuration): Promise> { + const result = this.api.getAPIResourcesWithHttpInfo(_options); + return result.toPromise(); + } + + /** + * get available resources + */ + public getAPIResources(_options?: Configuration): Promise { + const result = this.api.getAPIResources(_options); + return result.toPromise(); + } + + /** + * list or watch objects of kind LeaseCandidate + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + */ + public listLeaseCandidateForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listLeaseCandidateForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + return result.toPromise(); + } + + /** + * list or watch objects of kind LeaseCandidate + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + */ + public listLeaseCandidateForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listLeaseCandidateForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + return result.toPromise(); + } + + /** + * list or watch objects of kind LeaseCandidate + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + */ + public listNamespacedLeaseCandidateWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listNamespacedLeaseCandidateWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + return result.toPromise(); + } + + /** + * list or watch objects of kind LeaseCandidate + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + */ + public listNamespacedLeaseCandidate(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listNamespacedLeaseCandidate(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + return result.toPromise(); + } + + /** + * partially update the specified LeaseCandidate + * @param name name of the LeaseCandidate + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchNamespacedLeaseCandidateWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + const result = this.api.patchNamespacedLeaseCandidateWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + return result.toPromise(); + } + + /** + * partially update the specified LeaseCandidate + * @param name name of the LeaseCandidate + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchNamespacedLeaseCandidate(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + const result = this.api.patchNamespacedLeaseCandidate(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + return result.toPromise(); + } + + /** + * read the specified LeaseCandidate + * @param name name of the LeaseCandidate + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readNamespacedLeaseCandidateWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise> { + const result = this.api.readNamespacedLeaseCandidateWithHttpInfo(name, namespace, pretty, _options); + return result.toPromise(); + } + + /** + * read the specified LeaseCandidate + * @param name name of the LeaseCandidate + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readNamespacedLeaseCandidate(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { + const result = this.api.readNamespacedLeaseCandidate(name, namespace, pretty, _options); + return result.toPromise(); + } + + /** + * replace the specified LeaseCandidate + * @param name name of the LeaseCandidate + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public replaceNamespacedLeaseCandidateWithHttpInfo(name: string, namespace: string, body: V1alpha2LeaseCandidate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceNamespacedLeaseCandidateWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + return result.toPromise(); + } + + /** + * replace the specified LeaseCandidate + * @param name name of the LeaseCandidate + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public replaceNamespacedLeaseCandidate(name: string, namespace: string, body: V1alpha2LeaseCandidate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceNamespacedLeaseCandidate(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + return result.toPromise(); + } + + +} + + + +import { ObservableCoreApi } from './ObservableAPI'; + +import { CoreApiRequestFactory, CoreApiResponseProcessor} from "../apis/CoreApi"; +export class PromiseCoreApi { + private api: ObservableCoreApi + + public constructor( + configuration: Configuration, + requestFactory?: CoreApiRequestFactory, + responseProcessor?: CoreApiResponseProcessor + ) { + this.api = new ObservableCoreApi(configuration, requestFactory, responseProcessor); + } + + /** + * get available API versions + */ + public getAPIVersionsWithHttpInfo(_options?: Configuration): Promise> { + const result = this.api.getAPIVersionsWithHttpInfo(_options); + return result.toPromise(); + } + + /** + * get available API versions + */ + public getAPIVersions(_options?: Configuration): Promise { + const result = this.api.getAPIVersions(_options); + return result.toPromise(); + } + + +} + + + +import { ObservableCoreV1Api } from './ObservableAPI'; + +import { CoreV1ApiRequestFactory, CoreV1ApiResponseProcessor} from "../apis/CoreV1Api"; +export class PromiseCoreV1Api { + private api: ObservableCoreV1Api + + public constructor( + configuration: Configuration, + requestFactory?: CoreV1ApiRequestFactory, + responseProcessor?: CoreV1ApiResponseProcessor + ) { + this.api = new ObservableCoreV1Api(configuration, requestFactory, responseProcessor); + } + + /** + * connect DELETE requests to proxy of Pod + * @param name name of the PodProxyOptions + * @param namespace object name and auth scope, such as for teams and projects + * @param [path] Path is the URL path to use for the current proxy request to pod. + */ + public connectDeleteNamespacedPodProxyWithHttpInfo(name: string, namespace: string, path?: string, _options?: Configuration): Promise> { + const result = this.api.connectDeleteNamespacedPodProxyWithHttpInfo(name, namespace, path, _options); + return result.toPromise(); + } + + /** + * connect DELETE requests to proxy of Pod + * @param name name of the PodProxyOptions + * @param namespace object name and auth scope, such as for teams and projects + * @param [path] Path is the URL path to use for the current proxy request to pod. + */ + public connectDeleteNamespacedPodProxy(name: string, namespace: string, path?: string, _options?: Configuration): Promise { + const result = this.api.connectDeleteNamespacedPodProxy(name, namespace, path, _options); return result.toPromise(); } @@ -10206,6 +10474,7 @@ export class PromiseCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10216,8 +10485,8 @@ export class PromiseCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedConfigMapWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedConfigMapWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedConfigMapWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedConfigMapWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -10229,6 +10498,7 @@ export class PromiseCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10239,8 +10509,8 @@ export class PromiseCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedConfigMap(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedConfigMap(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedConfigMap(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedConfigMap(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -10252,6 +10522,7 @@ export class PromiseCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10262,8 +10533,8 @@ export class PromiseCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedEndpointsWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedEndpointsWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedEndpointsWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedEndpointsWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -10275,6 +10546,7 @@ export class PromiseCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10285,8 +10557,8 @@ export class PromiseCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedEndpoints(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedEndpoints(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedEndpoints(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedEndpoints(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -10298,6 +10570,7 @@ export class PromiseCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10308,8 +10581,8 @@ export class PromiseCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedEventWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedEventWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedEventWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedEventWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -10321,6 +10594,7 @@ export class PromiseCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10331,8 +10605,8 @@ export class PromiseCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedEvent(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedEvent(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedEvent(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedEvent(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -10344,6 +10618,7 @@ export class PromiseCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10354,8 +10629,8 @@ export class PromiseCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedLimitRangeWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedLimitRangeWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedLimitRangeWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedLimitRangeWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -10367,6 +10642,7 @@ export class PromiseCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10377,8 +10653,8 @@ export class PromiseCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedLimitRange(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedLimitRange(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedLimitRange(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedLimitRange(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -10390,6 +10666,7 @@ export class PromiseCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10400,8 +10677,8 @@ export class PromiseCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedPersistentVolumeClaimWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedPersistentVolumeClaimWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedPersistentVolumeClaimWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedPersistentVolumeClaimWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -10413,6 +10690,7 @@ export class PromiseCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10423,8 +10701,8 @@ export class PromiseCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedPersistentVolumeClaim(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedPersistentVolumeClaim(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedPersistentVolumeClaim(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedPersistentVolumeClaim(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -10436,6 +10714,7 @@ export class PromiseCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10446,8 +10725,8 @@ export class PromiseCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedPodWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedPodWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedPodWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedPodWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -10459,6 +10738,7 @@ export class PromiseCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10469,8 +10749,8 @@ export class PromiseCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedPod(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedPod(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedPod(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedPod(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -10482,6 +10762,7 @@ export class PromiseCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10492,8 +10773,8 @@ export class PromiseCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedPodTemplateWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedPodTemplateWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedPodTemplateWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedPodTemplateWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -10505,6 +10786,7 @@ export class PromiseCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10515,8 +10797,8 @@ export class PromiseCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedPodTemplate(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedPodTemplate(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedPodTemplate(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedPodTemplate(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -10528,6 +10810,7 @@ export class PromiseCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10538,8 +10821,8 @@ export class PromiseCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedReplicationControllerWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedReplicationControllerWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedReplicationControllerWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedReplicationControllerWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -10551,6 +10834,7 @@ export class PromiseCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10561,8 +10845,8 @@ export class PromiseCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedReplicationController(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedReplicationController(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedReplicationController(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedReplicationController(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -10574,6 +10858,7 @@ export class PromiseCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10584,8 +10869,8 @@ export class PromiseCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedResourceQuotaWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedResourceQuotaWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedResourceQuotaWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedResourceQuotaWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -10597,6 +10882,7 @@ export class PromiseCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10607,8 +10893,8 @@ export class PromiseCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedResourceQuota(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedResourceQuota(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedResourceQuota(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedResourceQuota(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -10620,6 +10906,7 @@ export class PromiseCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10630,8 +10917,8 @@ export class PromiseCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedSecretWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedSecretWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedSecretWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedSecretWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -10643,6 +10930,7 @@ export class PromiseCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10653,8 +10941,8 @@ export class PromiseCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedSecret(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedSecret(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedSecret(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedSecret(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -10666,6 +10954,7 @@ export class PromiseCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10676,8 +10965,8 @@ export class PromiseCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedServiceWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedServiceWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedServiceWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedServiceWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -10689,6 +10978,7 @@ export class PromiseCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10699,8 +10989,8 @@ export class PromiseCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedService(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedService(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedService(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedService(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -10712,6 +11002,7 @@ export class PromiseCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10722,8 +11013,8 @@ export class PromiseCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedServiceAccountWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedServiceAccountWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedServiceAccountWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedServiceAccountWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -10735,6 +11026,7 @@ export class PromiseCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10745,8 +11037,8 @@ export class PromiseCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedServiceAccount(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedServiceAccount(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedServiceAccount(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedServiceAccount(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -10757,6 +11049,7 @@ export class PromiseCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10767,8 +11060,8 @@ export class PromiseCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNodeWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNodeWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNodeWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNodeWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -10779,6 +11072,7 @@ export class PromiseCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10789,8 +11083,8 @@ export class PromiseCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNode(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNode(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNode(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNode(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -10801,6 +11095,7 @@ export class PromiseCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10811,8 +11106,8 @@ export class PromiseCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionPersistentVolumeWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionPersistentVolumeWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionPersistentVolumeWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionPersistentVolumeWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -10823,6 +11118,7 @@ export class PromiseCoreV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -10833,8 +11129,8 @@ export class PromiseCoreV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionPersistentVolume(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionPersistentVolume(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionPersistentVolume(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionPersistentVolume(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -10844,12 +11140,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespaceWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespaceWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespaceWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespaceWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -10859,12 +11156,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespace(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespace(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespace(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespace(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -10875,12 +11173,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedConfigMapWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedConfigMapWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedConfigMapWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedConfigMapWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -10891,12 +11190,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedConfigMap(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedConfigMap(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedConfigMap(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedConfigMap(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -10907,12 +11207,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedEndpointsWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedEndpointsWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedEndpointsWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedEndpointsWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -10923,12 +11224,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedEndpoints(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedEndpoints(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedEndpoints(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedEndpoints(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -10939,12 +11241,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedEventWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedEventWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedEventWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedEventWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -10955,12 +11258,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedEvent(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedEvent(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedEvent(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedEvent(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -10971,12 +11275,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedLimitRangeWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedLimitRangeWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedLimitRangeWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedLimitRangeWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -10987,12 +11292,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedLimitRange(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedLimitRange(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedLimitRange(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedLimitRange(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -11003,12 +11309,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedPersistentVolumeClaimWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedPersistentVolumeClaimWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedPersistentVolumeClaimWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedPersistentVolumeClaimWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -11019,12 +11326,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedPersistentVolumeClaim(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedPersistentVolumeClaim(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedPersistentVolumeClaim(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedPersistentVolumeClaim(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -11035,12 +11343,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedPodWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedPodWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedPodWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedPodWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -11051,12 +11360,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedPod(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedPod(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedPod(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedPod(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -11067,12 +11377,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedPodTemplateWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedPodTemplateWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedPodTemplateWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedPodTemplateWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -11083,12 +11394,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedPodTemplate(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedPodTemplate(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedPodTemplate(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedPodTemplate(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -11099,12 +11411,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedReplicationControllerWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedReplicationControllerWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedReplicationControllerWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedReplicationControllerWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -11115,12 +11428,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedReplicationController(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedReplicationController(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedReplicationController(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedReplicationController(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -11131,12 +11445,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedResourceQuotaWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedResourceQuotaWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedResourceQuotaWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedResourceQuotaWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -11147,12 +11462,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedResourceQuota(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedResourceQuota(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedResourceQuota(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedResourceQuota(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -11163,12 +11479,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedSecretWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedSecretWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedSecretWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedSecretWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -11179,12 +11496,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedSecret(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedSecret(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedSecret(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedSecret(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -11195,12 +11513,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedServiceWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedServiceWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedServiceWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedServiceWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -11211,12 +11530,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedService(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedService(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedService(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedService(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -11227,12 +11547,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedServiceAccountWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedServiceAccountWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedServiceAccountWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedServiceAccountWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -11243,12 +11564,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedServiceAccount(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedServiceAccount(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedServiceAccount(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedServiceAccount(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -11258,12 +11580,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNodeWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNodeWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNodeWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNodeWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -11273,12 +11596,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNode(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNode(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNode(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNode(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -11288,12 +11612,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deletePersistentVolumeWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deletePersistentVolumeWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deletePersistentVolumeWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deletePersistentVolumeWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -11303,12 +11628,13 @@ export class PromiseCoreV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deletePersistentVolume(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deletePersistentVolume(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deletePersistentVolume(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deletePersistentVolume(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -12732,6 +13058,38 @@ export class PromiseCoreV1Api { return result.toPromise(); } + /** + * partially update resize of the specified Pod + * @param name name of the Pod + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchNamespacedPodResizeWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + const result = this.api.patchNamespacedPodResizeWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + return result.toPromise(); + } + + /** + * partially update resize of the specified Pod + * @param name name of the Pod + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchNamespacedPodResize(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + const result = this.api.patchNamespacedPodResize(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + return result.toPromise(); + } + /** * partially update status of the specified Pod * @param name name of the Pod @@ -13449,32 +13807,56 @@ export class PromiseCoreV1Api { * @param [insecureSkipTLSVerifyBackend] insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver\'s TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). * @param [limitBytes] If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [previous] Return previous terminated container logs. Defaults to false. - * @param [sinceSeconds] A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. - * @param [tailLines] If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime - * @param [timestamps] If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. + * @param [previous] Return previous terminated container logs. Defaults to false. + * @param [sinceSeconds] A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. + * @param [stream] Specify which container log stream to return to the client. Acceptable values are \"All\", \"Stdout\" and \"Stderr\". If not specified, \"All\" is used, and both stdout and stderr are returned interleaved. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\". + * @param [tailLines] If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\". + * @param [timestamps] If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. + */ + public readNamespacedPodLogWithHttpInfo(name: string, namespace: string, container?: string, follow?: boolean, insecureSkipTLSVerifyBackend?: boolean, limitBytes?: number, pretty?: string, previous?: boolean, sinceSeconds?: number, stream?: string, tailLines?: number, timestamps?: boolean, _options?: Configuration): Promise> { + const result = this.api.readNamespacedPodLogWithHttpInfo(name, namespace, container, follow, insecureSkipTLSVerifyBackend, limitBytes, pretty, previous, sinceSeconds, stream, tailLines, timestamps, _options); + return result.toPromise(); + } + + /** + * read log of the specified Pod + * @param name name of the Pod + * @param namespace object name and auth scope, such as for teams and projects + * @param [container] The container for which to stream logs. Defaults to only container if there is one container in the pod. + * @param [follow] Follow the log stream of the pod. Defaults to false. + * @param [insecureSkipTLSVerifyBackend] insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver\'s TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). + * @param [limitBytes] If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [previous] Return previous terminated container logs. Defaults to false. + * @param [sinceSeconds] A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. + * @param [stream] Specify which container log stream to return to the client. Acceptable values are \"All\", \"Stdout\" and \"Stderr\". If not specified, \"All\" is used, and both stdout and stderr are returned interleaved. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\". + * @param [tailLines] If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\". + * @param [timestamps] If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. + */ + public readNamespacedPodLog(name: string, namespace: string, container?: string, follow?: boolean, insecureSkipTLSVerifyBackend?: boolean, limitBytes?: number, pretty?: string, previous?: boolean, sinceSeconds?: number, stream?: string, tailLines?: number, timestamps?: boolean, _options?: Configuration): Promise { + const result = this.api.readNamespacedPodLog(name, namespace, container, follow, insecureSkipTLSVerifyBackend, limitBytes, pretty, previous, sinceSeconds, stream, tailLines, timestamps, _options); + return result.toPromise(); + } + + /** + * read resize of the specified Pod + * @param name name of the Pod + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readNamespacedPodLogWithHttpInfo(name: string, namespace: string, container?: string, follow?: boolean, insecureSkipTLSVerifyBackend?: boolean, limitBytes?: number, pretty?: string, previous?: boolean, sinceSeconds?: number, tailLines?: number, timestamps?: boolean, _options?: Configuration): Promise> { - const result = this.api.readNamespacedPodLogWithHttpInfo(name, namespace, container, follow, insecureSkipTLSVerifyBackend, limitBytes, pretty, previous, sinceSeconds, tailLines, timestamps, _options); + public readNamespacedPodResizeWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise> { + const result = this.api.readNamespacedPodResizeWithHttpInfo(name, namespace, pretty, _options); return result.toPromise(); } /** - * read log of the specified Pod + * read resize of the specified Pod * @param name name of the Pod * @param namespace object name and auth scope, such as for teams and projects - * @param [container] The container for which to stream logs. Defaults to only container if there is one container in the pod. - * @param [follow] Follow the log stream of the pod. Defaults to false. - * @param [insecureSkipTLSVerifyBackend] insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver\'s TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). - * @param [limitBytes] If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [previous] Return previous terminated container logs. Defaults to false. - * @param [sinceSeconds] A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. - * @param [tailLines] If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime - * @param [timestamps] If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. */ - public readNamespacedPodLog(name: string, namespace: string, container?: string, follow?: boolean, insecureSkipTLSVerifyBackend?: boolean, limitBytes?: number, pretty?: string, previous?: boolean, sinceSeconds?: number, tailLines?: number, timestamps?: boolean, _options?: Configuration): Promise { - const result = this.api.readNamespacedPodLog(name, namespace, container, follow, insecureSkipTLSVerifyBackend, limitBytes, pretty, previous, sinceSeconds, tailLines, timestamps, _options); + public readNamespacedPodResize(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { + const result = this.api.readNamespacedPodResize(name, namespace, pretty, _options); return result.toPromise(); } @@ -14124,6 +14506,36 @@ export class PromiseCoreV1Api { return result.toPromise(); } + /** + * replace resize of the specified Pod + * @param name name of the Pod + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public replaceNamespacedPodResizeWithHttpInfo(name: string, namespace: string, body: V1Pod, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceNamespacedPodResizeWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + return result.toPromise(); + } + + /** + * replace resize of the specified Pod + * @param name name of the Pod + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public replaceNamespacedPodResize(name: string, namespace: string, body: V1Pod, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceNamespacedPodResize(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + return result.toPromise(); + } + /** * replace status of the specified Pod * @param name name of the Pod @@ -14571,9 +14983,9 @@ export class PromiseCoreV1Api { -import { ObservableCustomObjectsApi } from './ObservableAPI.js'; +import { ObservableCustomObjectsApi } from './ObservableAPI'; -import { CustomObjectsApiRequestFactory, CustomObjectsApiResponseProcessor} from "../apis/CustomObjectsApi.js"; +import { CustomObjectsApiRequestFactory, CustomObjectsApiResponseProcessor} from "../apis/CustomObjectsApi"; export class PromiseCustomObjectsApi { private api: ObservableCustomObjectsApi @@ -15432,9 +15844,9 @@ export class PromiseCustomObjectsApi { -import { ObservableDiscoveryApi } from './ObservableAPI.js'; +import { ObservableDiscoveryApi } from './ObservableAPI'; -import { DiscoveryApiRequestFactory, DiscoveryApiResponseProcessor} from "../apis/DiscoveryApi.js"; +import { DiscoveryApiRequestFactory, DiscoveryApiResponseProcessor} from "../apis/DiscoveryApi"; export class PromiseDiscoveryApi { private api: ObservableDiscoveryApi @@ -15467,9 +15879,9 @@ export class PromiseDiscoveryApi { -import { ObservableDiscoveryV1Api } from './ObservableAPI.js'; +import { ObservableDiscoveryV1Api } from './ObservableAPI'; -import { DiscoveryV1ApiRequestFactory, DiscoveryV1ApiResponseProcessor} from "../apis/DiscoveryV1Api.js"; +import { DiscoveryV1ApiRequestFactory, DiscoveryV1ApiResponseProcessor} from "../apis/DiscoveryV1Api"; export class PromiseDiscoveryV1Api { private api: ObservableDiscoveryV1Api @@ -15517,6 +15929,7 @@ export class PromiseDiscoveryV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -15527,8 +15940,8 @@ export class PromiseDiscoveryV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedEndpointSliceWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedEndpointSliceWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedEndpointSliceWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedEndpointSliceWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -15540,6 +15953,7 @@ export class PromiseDiscoveryV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -15550,8 +15964,8 @@ export class PromiseDiscoveryV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedEndpointSlice(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedEndpointSlice(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedEndpointSlice(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedEndpointSlice(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -15562,12 +15976,13 @@ export class PromiseDiscoveryV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedEndpointSliceWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedEndpointSliceWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedEndpointSliceWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedEndpointSliceWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -15578,12 +15993,13 @@ export class PromiseDiscoveryV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedEndpointSlice(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedEndpointSlice(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedEndpointSlice(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedEndpointSlice(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -15770,9 +16186,9 @@ export class PromiseDiscoveryV1Api { -import { ObservableEventsApi } from './ObservableAPI.js'; +import { ObservableEventsApi } from './ObservableAPI'; -import { EventsApiRequestFactory, EventsApiResponseProcessor} from "../apis/EventsApi.js"; +import { EventsApiRequestFactory, EventsApiResponseProcessor} from "../apis/EventsApi"; export class PromiseEventsApi { private api: ObservableEventsApi @@ -15805,9 +16221,9 @@ export class PromiseEventsApi { -import { ObservableEventsV1Api } from './ObservableAPI.js'; +import { ObservableEventsV1Api } from './ObservableAPI'; -import { EventsV1ApiRequestFactory, EventsV1ApiResponseProcessor} from "../apis/EventsV1Api.js"; +import { EventsV1ApiRequestFactory, EventsV1ApiResponseProcessor} from "../apis/EventsV1Api"; export class PromiseEventsV1Api { private api: ObservableEventsV1Api @@ -15855,6 +16271,7 @@ export class PromiseEventsV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -15865,8 +16282,8 @@ export class PromiseEventsV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedEventWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedEventWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedEventWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedEventWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -15878,6 +16295,7 @@ export class PromiseEventsV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -15888,8 +16306,8 @@ export class PromiseEventsV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedEvent(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedEvent(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedEvent(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedEvent(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -15900,12 +16318,13 @@ export class PromiseEventsV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedEventWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedEventWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedEventWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedEventWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -15916,12 +16335,13 @@ export class PromiseEventsV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedEvent(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedEvent(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedEvent(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedEvent(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -16108,9 +16528,9 @@ export class PromiseEventsV1Api { -import { ObservableFlowcontrolApiserverApi } from './ObservableAPI.js'; +import { ObservableFlowcontrolApiserverApi } from './ObservableAPI'; -import { FlowcontrolApiserverApiRequestFactory, FlowcontrolApiserverApiResponseProcessor} from "../apis/FlowcontrolApiserverApi.js"; +import { FlowcontrolApiserverApiRequestFactory, FlowcontrolApiserverApiResponseProcessor} from "../apis/FlowcontrolApiserverApi"; export class PromiseFlowcontrolApiserverApi { private api: ObservableFlowcontrolApiserverApi @@ -16143,9 +16563,9 @@ export class PromiseFlowcontrolApiserverApi { -import { ObservableFlowcontrolApiserverV1Api } from './ObservableAPI.js'; +import { ObservableFlowcontrolApiserverV1Api } from './ObservableAPI'; -import { FlowcontrolApiserverV1ApiRequestFactory, FlowcontrolApiserverV1ApiResponseProcessor} from "../apis/FlowcontrolApiserverV1Api.js"; +import { FlowcontrolApiserverV1ApiRequestFactory, FlowcontrolApiserverV1ApiResponseProcessor} from "../apis/FlowcontrolApiserverV1Api"; export class PromiseFlowcontrolApiserverV1Api { private api: ObservableFlowcontrolApiserverV1Api @@ -16216,6 +16636,7 @@ export class PromiseFlowcontrolApiserverV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -16226,8 +16647,8 @@ export class PromiseFlowcontrolApiserverV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionFlowSchemaWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionFlowSchemaWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionFlowSchemaWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionFlowSchemaWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -16238,6 +16659,7 @@ export class PromiseFlowcontrolApiserverV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -16248,8 +16670,8 @@ export class PromiseFlowcontrolApiserverV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionFlowSchema(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionFlowSchema(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionFlowSchema(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionFlowSchema(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -16260,6 +16682,7 @@ export class PromiseFlowcontrolApiserverV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -16270,8 +16693,8 @@ export class PromiseFlowcontrolApiserverV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionPriorityLevelConfigurationWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionPriorityLevelConfigurationWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionPriorityLevelConfigurationWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionPriorityLevelConfigurationWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -16282,6 +16705,7 @@ export class PromiseFlowcontrolApiserverV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -16292,8 +16716,8 @@ export class PromiseFlowcontrolApiserverV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionPriorityLevelConfiguration(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionPriorityLevelConfiguration(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionPriorityLevelConfiguration(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionPriorityLevelConfiguration(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -16303,12 +16727,13 @@ export class PromiseFlowcontrolApiserverV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteFlowSchemaWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteFlowSchemaWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteFlowSchemaWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteFlowSchemaWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -16318,12 +16743,13 @@ export class PromiseFlowcontrolApiserverV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteFlowSchema(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteFlowSchema(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteFlowSchema(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteFlowSchema(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -16333,12 +16759,13 @@ export class PromiseFlowcontrolApiserverV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deletePriorityLevelConfigurationWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deletePriorityLevelConfigurationWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deletePriorityLevelConfigurationWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deletePriorityLevelConfigurationWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -16348,12 +16775,13 @@ export class PromiseFlowcontrolApiserverV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deletePriorityLevelConfiguration(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deletePriorityLevelConfiguration(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deletePriorityLevelConfiguration(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deletePriorityLevelConfiguration(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -16766,123 +17194,89 @@ export class PromiseFlowcontrolApiserverV1Api { -import { ObservableFlowcontrolApiserverV1beta3Api } from './ObservableAPI.js'; +import { ObservableInternalApiserverApi } from './ObservableAPI'; -import { FlowcontrolApiserverV1beta3ApiRequestFactory, FlowcontrolApiserverV1beta3ApiResponseProcessor} from "../apis/FlowcontrolApiserverV1beta3Api.js"; -export class PromiseFlowcontrolApiserverV1beta3Api { - private api: ObservableFlowcontrolApiserverV1beta3Api +import { InternalApiserverApiRequestFactory, InternalApiserverApiResponseProcessor} from "../apis/InternalApiserverApi"; +export class PromiseInternalApiserverApi { + private api: ObservableInternalApiserverApi public constructor( configuration: Configuration, - requestFactory?: FlowcontrolApiserverV1beta3ApiRequestFactory, - responseProcessor?: FlowcontrolApiserverV1beta3ApiResponseProcessor + requestFactory?: InternalApiserverApiRequestFactory, + responseProcessor?: InternalApiserverApiResponseProcessor ) { - this.api = new ObservableFlowcontrolApiserverV1beta3Api(configuration, requestFactory, responseProcessor); + this.api = new ObservableInternalApiserverApi(configuration, requestFactory, responseProcessor); } /** - * create a FlowSchema - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * get information of a group */ - public createFlowSchemaWithHttpInfo(body: V1beta3FlowSchema, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.createFlowSchemaWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public getAPIGroupWithHttpInfo(_options?: Configuration): Promise> { + const result = this.api.getAPIGroupWithHttpInfo(_options); return result.toPromise(); } /** - * create a FlowSchema - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * get information of a group */ - public createFlowSchema(body: V1beta3FlowSchema, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.createFlowSchema(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public getAPIGroup(_options?: Configuration): Promise { + const result = this.api.getAPIGroup(_options); return result.toPromise(); } + +} + + + +import { ObservableInternalApiserverV1alpha1Api } from './ObservableAPI'; + +import { InternalApiserverV1alpha1ApiRequestFactory, InternalApiserverV1alpha1ApiResponseProcessor} from "../apis/InternalApiserverV1alpha1Api"; +export class PromiseInternalApiserverV1alpha1Api { + private api: ObservableInternalApiserverV1alpha1Api + + public constructor( + configuration: Configuration, + requestFactory?: InternalApiserverV1alpha1ApiRequestFactory, + responseProcessor?: InternalApiserverV1alpha1ApiResponseProcessor + ) { + this.api = new ObservableInternalApiserverV1alpha1Api(configuration, requestFactory, responseProcessor); + } + /** - * create a PriorityLevelConfiguration + * create a StorageVersion * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createPriorityLevelConfigurationWithHttpInfo(body: V1beta3PriorityLevelConfiguration, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.createPriorityLevelConfigurationWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createStorageVersionWithHttpInfo(body: V1alpha1StorageVersion, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.createStorageVersionWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * create a PriorityLevelConfiguration + * create a StorageVersion * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createPriorityLevelConfiguration(body: V1beta3PriorityLevelConfiguration, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.createPriorityLevelConfiguration(body, pretty, dryRun, fieldManager, fieldValidation, _options); - return result.toPromise(); - } - - /** - * delete collection of FlowSchema - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] - */ - public deleteCollectionFlowSchemaWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionFlowSchemaWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); - return result.toPromise(); - } - - /** - * delete collection of FlowSchema - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] - */ - public deleteCollectionFlowSchema(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionFlowSchema(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public createStorageVersion(body: V1alpha1StorageVersion, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.createStorageVersion(body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * delete collection of PriorityLevelConfiguration + * delete collection of StorageVersion * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -16893,18 +17287,19 @@ export class PromiseFlowcontrolApiserverV1beta3Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionPriorityLevelConfigurationWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionPriorityLevelConfigurationWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionStorageVersionWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionStorageVersionWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * delete collection of PriorityLevelConfiguration + * delete collection of StorageVersion * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -16915,68 +17310,40 @@ export class PromiseFlowcontrolApiserverV1beta3Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionPriorityLevelConfiguration(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionPriorityLevelConfiguration(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); - return result.toPromise(); - } - - /** - * delete a FlowSchema - * @param name name of the FlowSchema - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [body] - */ - public deleteFlowSchemaWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteFlowSchemaWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); - return result.toPromise(); - } - - /** - * delete a FlowSchema - * @param name name of the FlowSchema - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [body] - */ - public deleteFlowSchema(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteFlowSchema(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteCollectionStorageVersion(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionStorageVersion(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * delete a PriorityLevelConfiguration - * @param name name of the PriorityLevelConfiguration + * delete a StorageVersion + * @param name name of the StorageVersion * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deletePriorityLevelConfigurationWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deletePriorityLevelConfigurationWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteStorageVersionWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteStorageVersionWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * delete a PriorityLevelConfiguration - * @param name name of the PriorityLevelConfiguration + * delete a StorageVersion + * @param name name of the StorageVersion * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deletePriorityLevelConfiguration(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deletePriorityLevelConfiguration(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteStorageVersion(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteStorageVersion(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -16997,7 +17364,7 @@ export class PromiseFlowcontrolApiserverV1beta3Api { } /** - * list or watch objects of kind FlowSchema + * list or watch objects of kind StorageVersion * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -17010,13 +17377,13 @@ export class PromiseFlowcontrolApiserverV1beta3Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listFlowSchemaWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { - const result = this.api.listFlowSchemaWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listStorageVersionWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listStorageVersionWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind FlowSchema + * list or watch objects of kind StorageVersion * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -17029,572 +17396,807 @@ export class PromiseFlowcontrolApiserverV1beta3Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listFlowSchema(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listFlowSchema(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listStorageVersion(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listStorageVersion(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + return result.toPromise(); + } + + /** + * partially update the specified StorageVersion + * @param name name of the StorageVersion + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchStorageVersionWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + const result = this.api.patchStorageVersionWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + return result.toPromise(); + } + + /** + * partially update the specified StorageVersion + * @param name name of the StorageVersion + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchStorageVersion(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + const result = this.api.patchStorageVersion(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + return result.toPromise(); + } + + /** + * partially update status of the specified StorageVersion + * @param name name of the StorageVersion + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchStorageVersionStatusWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + const result = this.api.patchStorageVersionStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + return result.toPromise(); + } + + /** + * partially update status of the specified StorageVersion + * @param name name of the StorageVersion + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchStorageVersionStatus(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + const result = this.api.patchStorageVersionStatus(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + return result.toPromise(); + } + + /** + * read the specified StorageVersion + * @param name name of the StorageVersion + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readStorageVersionWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { + const result = this.api.readStorageVersionWithHttpInfo(name, pretty, _options); + return result.toPromise(); + } + + /** + * read the specified StorageVersion + * @param name name of the StorageVersion + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readStorageVersion(name: string, pretty?: string, _options?: Configuration): Promise { + const result = this.api.readStorageVersion(name, pretty, _options); return result.toPromise(); } /** - * list or watch objects of kind PriorityLevelConfiguration + * read status of the specified StorageVersion + * @param name name of the StorageVersion * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listPriorityLevelConfigurationWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { - const result = this.api.listPriorityLevelConfigurationWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public readStorageVersionStatusWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { + const result = this.api.readStorageVersionStatusWithHttpInfo(name, pretty, _options); return result.toPromise(); } /** - * list or watch objects of kind PriorityLevelConfiguration + * read status of the specified StorageVersion + * @param name name of the StorageVersion * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listPriorityLevelConfiguration(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listPriorityLevelConfiguration(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public readStorageVersionStatus(name: string, pretty?: string, _options?: Configuration): Promise { + const result = this.api.readStorageVersionStatus(name, pretty, _options); return result.toPromise(); } /** - * partially update the specified FlowSchema - * @param name name of the FlowSchema + * replace the specified StorageVersion + * @param name name of the StorageVersion * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchFlowSchemaWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { - const result = this.api.patchFlowSchemaWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public replaceStorageVersionWithHttpInfo(name: string, body: V1alpha1StorageVersion, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceStorageVersionWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * partially update the specified FlowSchema - * @param name name of the FlowSchema + * replace the specified StorageVersion + * @param name name of the StorageVersion * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchFlowSchema(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { - const result = this.api.patchFlowSchema(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public replaceStorageVersion(name: string, body: V1alpha1StorageVersion, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceStorageVersion(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * partially update status of the specified FlowSchema - * @param name name of the FlowSchema + * replace status of the specified StorageVersion + * @param name name of the StorageVersion * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchFlowSchemaStatusWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { - const result = this.api.patchFlowSchemaStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public replaceStorageVersionStatusWithHttpInfo(name: string, body: V1alpha1StorageVersion, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceStorageVersionStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * partially update status of the specified FlowSchema - * @param name name of the FlowSchema + * replace status of the specified StorageVersion + * @param name name of the StorageVersion * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchFlowSchemaStatus(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { - const result = this.api.patchFlowSchemaStatus(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public replaceStorageVersionStatus(name: string, body: V1alpha1StorageVersion, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceStorageVersionStatus(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } + +} + + + +import { ObservableLogsApi } from './ObservableAPI'; + +import { LogsApiRequestFactory, LogsApiResponseProcessor} from "../apis/LogsApi"; +export class PromiseLogsApi { + private api: ObservableLogsApi + + public constructor( + configuration: Configuration, + requestFactory?: LogsApiRequestFactory, + responseProcessor?: LogsApiResponseProcessor + ) { + this.api = new ObservableLogsApi(configuration, requestFactory, responseProcessor); + } + /** - * partially update the specified PriorityLevelConfiguration - * @param name name of the PriorityLevelConfiguration - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * @param logpath path to the log */ - public patchPriorityLevelConfigurationWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { - const result = this.api.patchPriorityLevelConfigurationWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public logFileHandlerWithHttpInfo(logpath: string, _options?: Configuration): Promise> { + const result = this.api.logFileHandlerWithHttpInfo(logpath, _options); return result.toPromise(); } /** - * partially update the specified PriorityLevelConfiguration - * @param name name of the PriorityLevelConfiguration - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * @param logpath path to the log */ - public patchPriorityLevelConfiguration(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { - const result = this.api.patchPriorityLevelConfiguration(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public logFileHandler(logpath: string, _options?: Configuration): Promise { + const result = this.api.logFileHandler(logpath, _options); return result.toPromise(); } /** - * partially update status of the specified PriorityLevelConfiguration - * @param name name of the PriorityLevelConfiguration + */ + public logFileListHandlerWithHttpInfo(_options?: Configuration): Promise> { + const result = this.api.logFileListHandlerWithHttpInfo(_options); + return result.toPromise(); + } + + /** + */ + public logFileListHandler(_options?: Configuration): Promise { + const result = this.api.logFileListHandler(_options); + return result.toPromise(); + } + + +} + + + +import { ObservableNetworkingApi } from './ObservableAPI'; + +import { NetworkingApiRequestFactory, NetworkingApiResponseProcessor} from "../apis/NetworkingApi"; +export class PromiseNetworkingApi { + private api: ObservableNetworkingApi + + public constructor( + configuration: Configuration, + requestFactory?: NetworkingApiRequestFactory, + responseProcessor?: NetworkingApiResponseProcessor + ) { + this.api = new ObservableNetworkingApi(configuration, requestFactory, responseProcessor); + } + + /** + * get information of a group + */ + public getAPIGroupWithHttpInfo(_options?: Configuration): Promise> { + const result = this.api.getAPIGroupWithHttpInfo(_options); + return result.toPromise(); + } + + /** + * get information of a group + */ + public getAPIGroup(_options?: Configuration): Promise { + const result = this.api.getAPIGroup(_options); + return result.toPromise(); + } + + +} + + + +import { ObservableNetworkingV1Api } from './ObservableAPI'; + +import { NetworkingV1ApiRequestFactory, NetworkingV1ApiResponseProcessor} from "../apis/NetworkingV1Api"; +export class PromiseNetworkingV1Api { + private api: ObservableNetworkingV1Api + + public constructor( + configuration: Configuration, + requestFactory?: NetworkingV1ApiRequestFactory, + responseProcessor?: NetworkingV1ApiResponseProcessor + ) { + this.api = new ObservableNetworkingV1Api(configuration, requestFactory, responseProcessor); + } + + /** + * create an IngressClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchPriorityLevelConfigurationStatusWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { - const result = this.api.patchPriorityLevelConfigurationStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public createIngressClassWithHttpInfo(body: V1IngressClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.createIngressClassWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * partially update status of the specified PriorityLevelConfiguration - * @param name name of the PriorityLevelConfiguration + * create an IngressClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchPriorityLevelConfigurationStatus(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { - const result = this.api.patchPriorityLevelConfigurationStatus(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public createIngressClass(body: V1IngressClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.createIngressClass(body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * read the specified FlowSchema - * @param name name of the FlowSchema + * create an Ingress + * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public readFlowSchemaWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { - const result = this.api.readFlowSchemaWithHttpInfo(name, pretty, _options); + public createNamespacedIngressWithHttpInfo(namespace: string, body: V1Ingress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.createNamespacedIngressWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * read the specified FlowSchema - * @param name name of the FlowSchema + * create an Ingress + * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public readFlowSchema(name: string, pretty?: string, _options?: Configuration): Promise { - const result = this.api.readFlowSchema(name, pretty, _options); + public createNamespacedIngress(namespace: string, body: V1Ingress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.createNamespacedIngress(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * read status of the specified FlowSchema - * @param name name of the FlowSchema + * create a NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public readFlowSchemaStatusWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { - const result = this.api.readFlowSchemaStatusWithHttpInfo(name, pretty, _options); + public createNamespacedNetworkPolicyWithHttpInfo(namespace: string, body: V1NetworkPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.createNamespacedNetworkPolicyWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * read status of the specified FlowSchema - * @param name name of the FlowSchema + * create a NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public readFlowSchemaStatus(name: string, pretty?: string, _options?: Configuration): Promise { - const result = this.api.readFlowSchemaStatus(name, pretty, _options); + public createNamespacedNetworkPolicy(namespace: string, body: V1NetworkPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.createNamespacedNetworkPolicy(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * read the specified PriorityLevelConfiguration - * @param name name of the PriorityLevelConfiguration + * delete collection of IngressClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] */ - public readPriorityLevelConfigurationWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { - const result = this.api.readPriorityLevelConfigurationWithHttpInfo(name, pretty, _options); + public deleteCollectionIngressClassWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionIngressClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * read the specified PriorityLevelConfiguration - * @param name name of the PriorityLevelConfiguration + * delete collection of IngressClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] */ - public readPriorityLevelConfiguration(name: string, pretty?: string, _options?: Configuration): Promise { - const result = this.api.readPriorityLevelConfiguration(name, pretty, _options); + public deleteCollectionIngressClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionIngressClass(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * read status of the specified PriorityLevelConfiguration - * @param name name of the PriorityLevelConfiguration + * delete collection of Ingress + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] */ - public readPriorityLevelConfigurationStatusWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { - const result = this.api.readPriorityLevelConfigurationStatusWithHttpInfo(name, pretty, _options); + public deleteCollectionNamespacedIngressWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedIngressWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * read status of the specified PriorityLevelConfiguration - * @param name name of the PriorityLevelConfiguration + * delete collection of Ingress + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] */ - public readPriorityLevelConfigurationStatus(name: string, pretty?: string, _options?: Configuration): Promise { - const result = this.api.readPriorityLevelConfigurationStatus(name, pretty, _options); + public deleteCollectionNamespacedIngress(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedIngress(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * replace the specified FlowSchema - * @param name name of the FlowSchema - * @param body + * delete collection of NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] */ - public replaceFlowSchemaWithHttpInfo(name: string, body: V1beta3FlowSchema, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replaceFlowSchemaWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public deleteCollectionNamespacedNetworkPolicyWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedNetworkPolicyWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * replace the specified FlowSchema - * @param name name of the FlowSchema - * @param body + * delete collection of NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] */ - public replaceFlowSchema(name: string, body: V1beta3FlowSchema, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replaceFlowSchema(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public deleteCollectionNamespacedNetworkPolicy(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedNetworkPolicy(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * replace status of the specified FlowSchema - * @param name name of the FlowSchema - * @param body + * delete an IngressClass + * @param name name of the IngressClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] */ - public replaceFlowSchemaStatusWithHttpInfo(name: string, body: V1beta3FlowSchema, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replaceFlowSchemaStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public deleteIngressClassWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteIngressClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * replace status of the specified FlowSchema - * @param name name of the FlowSchema - * @param body + * delete an IngressClass + * @param name name of the IngressClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] */ - public replaceFlowSchemaStatus(name: string, body: V1beta3FlowSchema, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replaceFlowSchemaStatus(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public deleteIngressClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteIngressClass(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * replace the specified PriorityLevelConfiguration - * @param name name of the PriorityLevelConfiguration - * @param body + * delete an Ingress + * @param name name of the Ingress + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] */ - public replacePriorityLevelConfigurationWithHttpInfo(name: string, body: V1beta3PriorityLevelConfiguration, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replacePriorityLevelConfigurationWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public deleteNamespacedIngressWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedIngressWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * replace the specified PriorityLevelConfiguration - * @param name name of the PriorityLevelConfiguration - * @param body + * delete an Ingress + * @param name name of the Ingress + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] */ - public replacePriorityLevelConfiguration(name: string, body: V1beta3PriorityLevelConfiguration, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replacePriorityLevelConfiguration(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public deleteNamespacedIngress(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedIngress(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * replace status of the specified PriorityLevelConfiguration - * @param name name of the PriorityLevelConfiguration - * @param body + * delete a NetworkPolicy + * @param name name of the NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] */ - public replacePriorityLevelConfigurationStatusWithHttpInfo(name: string, body: V1beta3PriorityLevelConfiguration, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replacePriorityLevelConfigurationStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public deleteNamespacedNetworkPolicyWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedNetworkPolicyWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * replace status of the specified PriorityLevelConfiguration - * @param name name of the PriorityLevelConfiguration - * @param body + * delete a NetworkPolicy + * @param name name of the NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] */ - public replacePriorityLevelConfigurationStatus(name: string, body: V1beta3PriorityLevelConfiguration, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replacePriorityLevelConfigurationStatus(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public deleteNamespacedNetworkPolicy(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedNetworkPolicy(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } - -} - - - -import { ObservableInternalApiserverApi } from './ObservableAPI.js'; - -import { InternalApiserverApiRequestFactory, InternalApiserverApiResponseProcessor} from "../apis/InternalApiserverApi.js"; -export class PromiseInternalApiserverApi { - private api: ObservableInternalApiserverApi - - public constructor( - configuration: Configuration, - requestFactory?: InternalApiserverApiRequestFactory, - responseProcessor?: InternalApiserverApiResponseProcessor - ) { - this.api = new ObservableInternalApiserverApi(configuration, requestFactory, responseProcessor); - } - /** - * get information of a group + * get available resources */ - public getAPIGroupWithHttpInfo(_options?: Configuration): Promise> { - const result = this.api.getAPIGroupWithHttpInfo(_options); + public getAPIResourcesWithHttpInfo(_options?: Configuration): Promise> { + const result = this.api.getAPIResourcesWithHttpInfo(_options); return result.toPromise(); } /** - * get information of a group + * get available resources */ - public getAPIGroup(_options?: Configuration): Promise { - const result = this.api.getAPIGroup(_options); + public getAPIResources(_options?: Configuration): Promise { + const result = this.api.getAPIResources(_options); return result.toPromise(); } - -} - - - -import { ObservableInternalApiserverV1alpha1Api } from './ObservableAPI.js'; - -import { InternalApiserverV1alpha1ApiRequestFactory, InternalApiserverV1alpha1ApiResponseProcessor} from "../apis/InternalApiserverV1alpha1Api.js"; -export class PromiseInternalApiserverV1alpha1Api { - private api: ObservableInternalApiserverV1alpha1Api - - public constructor( - configuration: Configuration, - requestFactory?: InternalApiserverV1alpha1ApiRequestFactory, - responseProcessor?: InternalApiserverV1alpha1ApiResponseProcessor - ) { - this.api = new ObservableInternalApiserverV1alpha1Api(configuration, requestFactory, responseProcessor); - } - /** - * create a StorageVersion - * @param body + * list or watch objects of kind IngressClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public createStorageVersionWithHttpInfo(body: V1alpha1StorageVersion, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.createStorageVersionWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public listIngressClassWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listIngressClassWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * create a StorageVersion - * @param body + * list or watch objects of kind IngressClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - */ - public createStorageVersion(body: V1alpha1StorageVersion, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.createStorageVersion(body, pretty, dryRun, fieldManager, fieldValidation, _options); + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + */ + public listIngressClass(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listIngressClass(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * delete collection of StorageVersion - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * list or watch objects of kind Ingress + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public deleteCollectionStorageVersionWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionStorageVersionWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public listIngressForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listIngressForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * delete collection of StorageVersion - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * list or watch objects of kind Ingress + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public deleteCollectionStorageVersion(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionStorageVersion(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public listIngressForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listIngressForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * delete a StorageVersion - * @param name name of the StorageVersion + * list or watch objects of kind Ingress + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [body] + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public deleteStorageVersionWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteStorageVersionWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public listNamespacedIngressWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listNamespacedIngressWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * delete a StorageVersion - * @param name name of the StorageVersion + * list or watch objects of kind Ingress + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [body] + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public deleteStorageVersion(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteStorageVersion(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public listNamespacedIngress(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listNamespacedIngress(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * get available resources + * list or watch objects of kind NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public getAPIResourcesWithHttpInfo(_options?: Configuration): Promise> { - const result = this.api.getAPIResourcesWithHttpInfo(_options); + public listNamespacedNetworkPolicyWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listNamespacedNetworkPolicyWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * get available resources + * list or watch objects of kind NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public getAPIResources(_options?: Configuration): Promise { - const result = this.api.getAPIResources(_options); + public listNamespacedNetworkPolicy(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listNamespacedNetworkPolicy(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind StorageVersion - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * list or watch objects of kind NetworkPolicy * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listStorageVersionWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { - const result = this.api.listStorageVersionWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listNetworkPolicyForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listNetworkPolicyForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind StorageVersion - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * list or watch objects of kind NetworkPolicy * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listStorageVersion(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listStorageVersion(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listNetworkPolicyForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listNetworkPolicyForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * partially update the specified StorageVersion - * @param name name of the StorageVersion + * partially update the specified IngressClass + * @param name name of the IngressClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -17602,14 +18204,14 @@ export class PromiseInternalApiserverV1alpha1Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchStorageVersionWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { - const result = this.api.patchStorageVersionWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public patchIngressClassWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + const result = this.api.patchIngressClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } /** - * partially update the specified StorageVersion - * @param name name of the StorageVersion + * partially update the specified IngressClass + * @param name name of the IngressClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -17617,14 +18219,15 @@ export class PromiseInternalApiserverV1alpha1Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchStorageVersion(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { - const result = this.api.patchStorageVersion(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public patchIngressClass(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + const result = this.api.patchIngressClass(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } /** - * partially update status of the specified StorageVersion - * @param name name of the StorageVersion + * partially update the specified Ingress + * @param name name of the Ingress + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -17632,253 +18235,268 @@ export class PromiseInternalApiserverV1alpha1Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchStorageVersionStatusWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { - const result = this.api.patchStorageVersionStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public patchNamespacedIngressWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + const result = this.api.patchNamespacedIngressWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + return result.toPromise(); + } + + /** + * partially update the specified Ingress + * @param name name of the Ingress + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchNamespacedIngress(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + const result = this.api.patchNamespacedIngress(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + return result.toPromise(); + } + + /** + * partially update status of the specified Ingress + * @param name name of the Ingress + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchNamespacedIngressStatusWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + const result = this.api.patchNamespacedIngressStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + return result.toPromise(); + } + + /** + * partially update status of the specified Ingress + * @param name name of the Ingress + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchNamespacedIngressStatus(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + const result = this.api.patchNamespacedIngressStatus(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + return result.toPromise(); + } + + /** + * partially update the specified NetworkPolicy + * @param name name of the NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchNamespacedNetworkPolicyWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + const result = this.api.patchNamespacedNetworkPolicyWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + return result.toPromise(); + } + + /** + * partially update the specified NetworkPolicy + * @param name name of the NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchNamespacedNetworkPolicy(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + const result = this.api.patchNamespacedNetworkPolicy(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + return result.toPromise(); + } + + /** + * read the specified IngressClass + * @param name name of the IngressClass + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readIngressClassWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { + const result = this.api.readIngressClassWithHttpInfo(name, pretty, _options); + return result.toPromise(); + } + + /** + * read the specified IngressClass + * @param name name of the IngressClass + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readIngressClass(name: string, pretty?: string, _options?: Configuration): Promise { + const result = this.api.readIngressClass(name, pretty, _options); + return result.toPromise(); + } + + /** + * read the specified Ingress + * @param name name of the Ingress + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readNamespacedIngressWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise> { + const result = this.api.readNamespacedIngressWithHttpInfo(name, namespace, pretty, _options); return result.toPromise(); } /** - * partially update status of the specified StorageVersion - * @param name name of the StorageVersion - * @param body + * read the specified Ingress + * @param name name of the Ingress + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchStorageVersionStatus(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { - const result = this.api.patchStorageVersionStatus(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public readNamespacedIngress(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { + const result = this.api.readNamespacedIngress(name, namespace, pretty, _options); return result.toPromise(); } /** - * read the specified StorageVersion - * @param name name of the StorageVersion + * read status of the specified Ingress + * @param name name of the Ingress + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readStorageVersionWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { - const result = this.api.readStorageVersionWithHttpInfo(name, pretty, _options); + public readNamespacedIngressStatusWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise> { + const result = this.api.readNamespacedIngressStatusWithHttpInfo(name, namespace, pretty, _options); return result.toPromise(); } /** - * read the specified StorageVersion - * @param name name of the StorageVersion + * read status of the specified Ingress + * @param name name of the Ingress + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readStorageVersion(name: string, pretty?: string, _options?: Configuration): Promise { - const result = this.api.readStorageVersion(name, pretty, _options); + public readNamespacedIngressStatus(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { + const result = this.api.readNamespacedIngressStatus(name, namespace, pretty, _options); return result.toPromise(); } /** - * read status of the specified StorageVersion - * @param name name of the StorageVersion + * read the specified NetworkPolicy + * @param name name of the NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readStorageVersionStatusWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { - const result = this.api.readStorageVersionStatusWithHttpInfo(name, pretty, _options); + public readNamespacedNetworkPolicyWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise> { + const result = this.api.readNamespacedNetworkPolicyWithHttpInfo(name, namespace, pretty, _options); return result.toPromise(); } /** - * read status of the specified StorageVersion - * @param name name of the StorageVersion + * read the specified NetworkPolicy + * @param name name of the NetworkPolicy + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readStorageVersionStatus(name: string, pretty?: string, _options?: Configuration): Promise { - const result = this.api.readStorageVersionStatus(name, pretty, _options); + public readNamespacedNetworkPolicy(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { + const result = this.api.readNamespacedNetworkPolicy(name, namespace, pretty, _options); return result.toPromise(); } /** - * replace the specified StorageVersion - * @param name name of the StorageVersion + * replace the specified IngressClass + * @param name name of the IngressClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceStorageVersionWithHttpInfo(name: string, body: V1alpha1StorageVersion, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replaceStorageVersionWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceIngressClassWithHttpInfo(name: string, body: V1IngressClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceIngressClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * replace the specified StorageVersion - * @param name name of the StorageVersion + * replace the specified IngressClass + * @param name name of the IngressClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceStorageVersion(name: string, body: V1alpha1StorageVersion, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replaceStorageVersion(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceIngressClass(name: string, body: V1IngressClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceIngressClass(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * replace status of the specified StorageVersion - * @param name name of the StorageVersion + * replace the specified Ingress + * @param name name of the Ingress + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceStorageVersionStatusWithHttpInfo(name: string, body: V1alpha1StorageVersion, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replaceStorageVersionStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceNamespacedIngressWithHttpInfo(name: string, namespace: string, body: V1Ingress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceNamespacedIngressWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * replace status of the specified StorageVersion - * @param name name of the StorageVersion + * replace the specified Ingress + * @param name name of the Ingress + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceStorageVersionStatus(name: string, body: V1alpha1StorageVersion, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replaceStorageVersionStatus(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); - return result.toPromise(); - } - - -} - - - -import { ObservableLogsApi } from './ObservableAPI.js'; - -import { LogsApiRequestFactory, LogsApiResponseProcessor} from "../apis/LogsApi.js"; -export class PromiseLogsApi { - private api: ObservableLogsApi - - public constructor( - configuration: Configuration, - requestFactory?: LogsApiRequestFactory, - responseProcessor?: LogsApiResponseProcessor - ) { - this.api = new ObservableLogsApi(configuration, requestFactory, responseProcessor); - } - - /** - * @param logpath path to the log - */ - public logFileHandlerWithHttpInfo(logpath: string, _options?: Configuration): Promise> { - const result = this.api.logFileHandlerWithHttpInfo(logpath, _options); - return result.toPromise(); - } - - /** - * @param logpath path to the log - */ - public logFileHandler(logpath: string, _options?: Configuration): Promise { - const result = this.api.logFileHandler(logpath, _options); - return result.toPromise(); - } - - /** - */ - public logFileListHandlerWithHttpInfo(_options?: Configuration): Promise> { - const result = this.api.logFileListHandlerWithHttpInfo(_options); - return result.toPromise(); - } - - /** - */ - public logFileListHandler(_options?: Configuration): Promise { - const result = this.api.logFileListHandler(_options); - return result.toPromise(); - } - - -} - - - -import { ObservableNetworkingApi } from './ObservableAPI.js'; - -import { NetworkingApiRequestFactory, NetworkingApiResponseProcessor} from "../apis/NetworkingApi.js"; -export class PromiseNetworkingApi { - private api: ObservableNetworkingApi - - public constructor( - configuration: Configuration, - requestFactory?: NetworkingApiRequestFactory, - responseProcessor?: NetworkingApiResponseProcessor - ) { - this.api = new ObservableNetworkingApi(configuration, requestFactory, responseProcessor); - } - - /** - * get information of a group - */ - public getAPIGroupWithHttpInfo(_options?: Configuration): Promise> { - const result = this.api.getAPIGroupWithHttpInfo(_options); - return result.toPromise(); - } - - /** - * get information of a group - */ - public getAPIGroup(_options?: Configuration): Promise { - const result = this.api.getAPIGroup(_options); + public replaceNamespacedIngress(name: string, namespace: string, body: V1Ingress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceNamespacedIngress(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } - -} - - - -import { ObservableNetworkingV1Api } from './ObservableAPI.js'; - -import { NetworkingV1ApiRequestFactory, NetworkingV1ApiResponseProcessor} from "../apis/NetworkingV1Api.js"; -export class PromiseNetworkingV1Api { - private api: ObservableNetworkingV1Api - - public constructor( - configuration: Configuration, - requestFactory?: NetworkingV1ApiRequestFactory, - responseProcessor?: NetworkingV1ApiResponseProcessor - ) { - this.api = new ObservableNetworkingV1Api(configuration, requestFactory, responseProcessor); - } - /** - * create an IngressClass + * replace status of the specified Ingress + * @param name name of the Ingress + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createIngressClassWithHttpInfo(body: V1IngressClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.createIngressClassWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceNamespacedIngressStatusWithHttpInfo(name: string, namespace: string, body: V1Ingress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceNamespacedIngressStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * create an IngressClass + * replace status of the specified Ingress + * @param name name of the Ingress + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createIngressClass(body: V1IngressClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.createIngressClass(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceNamespacedIngressStatus(name: string, namespace: string, body: V1Ingress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceNamespacedIngressStatus(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * create an Ingress + * replace the specified NetworkPolicy + * @param name name of the NetworkPolicy * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -17886,13 +18504,14 @@ export class PromiseNetworkingV1Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedIngressWithHttpInfo(namespace: string, body: V1Ingress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.createNamespacedIngressWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceNamespacedNetworkPolicyWithHttpInfo(name: string, namespace: string, body: V1NetworkPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceNamespacedNetworkPolicyWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * create an Ingress + * replace the specified NetworkPolicy + * @param name name of the NetworkPolicy * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -17900,91 +18519,90 @@ export class PromiseNetworkingV1Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedIngress(namespace: string, body: V1Ingress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.createNamespacedIngress(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceNamespacedNetworkPolicy(name: string, namespace: string, body: V1NetworkPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceNamespacedNetworkPolicy(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } + +} + + + +import { ObservableNetworkingV1beta1Api } from './ObservableAPI'; + +import { NetworkingV1beta1ApiRequestFactory, NetworkingV1beta1ApiResponseProcessor} from "../apis/NetworkingV1beta1Api"; +export class PromiseNetworkingV1beta1Api { + private api: ObservableNetworkingV1beta1Api + + public constructor( + configuration: Configuration, + requestFactory?: NetworkingV1beta1ApiRequestFactory, + responseProcessor?: NetworkingV1beta1ApiResponseProcessor + ) { + this.api = new ObservableNetworkingV1beta1Api(configuration, requestFactory, responseProcessor); + } + /** - * create a NetworkPolicy - * @param namespace object name and auth scope, such as for teams and projects + * create an IPAddress * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedNetworkPolicyWithHttpInfo(namespace: string, body: V1NetworkPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.createNamespacedNetworkPolicyWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createIPAddressWithHttpInfo(body: V1beta1IPAddress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.createIPAddressWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * create a NetworkPolicy - * @param namespace object name and auth scope, such as for teams and projects + * create an IPAddress * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedNetworkPolicy(namespace: string, body: V1NetworkPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.createNamespacedNetworkPolicy(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createIPAddress(body: V1beta1IPAddress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.createIPAddress(body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); - } - - /** - * delete collection of IngressClass - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + } + + /** + * create a ServiceCIDR + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public deleteCollectionIngressClassWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionIngressClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public createServiceCIDRWithHttpInfo(body: V1beta1ServiceCIDR, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.createServiceCIDRWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * delete collection of IngressClass + * create a ServiceCIDR + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public deleteCollectionIngressClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionIngressClass(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public createServiceCIDR(body: V1beta1ServiceCIDR, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.createServiceCIDR(body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * delete collection of Ingress - * @param namespace object name and auth scope, such as for teams and projects + * delete collection of IPAddress * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -17995,19 +18613,19 @@ export class PromiseNetworkingV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedIngressWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedIngressWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionIPAddressWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionIPAddressWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * delete collection of Ingress - * @param namespace object name and auth scope, such as for teams and projects + * delete collection of IPAddress * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -18018,19 +18636,19 @@ export class PromiseNetworkingV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedIngress(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedIngress(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionIPAddress(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionIPAddress(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * delete collection of NetworkPolicy - * @param namespace object name and auth scope, such as for teams and projects + * delete collection of ServiceCIDR * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -18041,19 +18659,19 @@ export class PromiseNetworkingV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedNetworkPolicyWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedNetworkPolicyWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionServiceCIDRWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionServiceCIDRWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * delete collection of NetworkPolicy - * @param namespace object name and auth scope, such as for teams and projects + * delete collection of ServiceCIDR * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -18064,102 +18682,72 @@ export class PromiseNetworkingV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedNetworkPolicy(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedNetworkPolicy(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); - return result.toPromise(); - } - - /** - * delete an IngressClass - * @param name name of the IngressClass - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [body] - */ - public deleteIngressClassWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteIngressClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); - return result.toPromise(); - } - - /** - * delete an IngressClass - * @param name name of the IngressClass - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [body] - */ - public deleteIngressClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteIngressClass(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteCollectionServiceCIDR(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionServiceCIDR(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * delete an Ingress - * @param name name of the Ingress - * @param namespace object name and auth scope, such as for teams and projects + * delete an IPAddress + * @param name name of the IPAddress * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedIngressWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedIngressWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteIPAddressWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteIPAddressWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * delete an Ingress - * @param name name of the Ingress - * @param namespace object name and auth scope, such as for teams and projects + * delete an IPAddress + * @param name name of the IPAddress * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedIngress(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedIngress(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteIPAddress(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteIPAddress(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * delete a NetworkPolicy - * @param name name of the NetworkPolicy - * @param namespace object name and auth scope, such as for teams and projects + * delete a ServiceCIDR + * @param name name of the ServiceCIDR * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedNetworkPolicyWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedNetworkPolicyWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteServiceCIDRWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteServiceCIDRWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * delete a NetworkPolicy - * @param name name of the NetworkPolicy - * @param namespace object name and auth scope, such as for teams and projects + * delete a ServiceCIDR + * @param name name of the ServiceCIDR * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedNetworkPolicy(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedNetworkPolicy(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteServiceCIDR(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteServiceCIDR(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -18180,7 +18768,7 @@ export class PromiseNetworkingV1Api { } /** - * list or watch objects of kind IngressClass + * list or watch objects of kind IPAddress * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -18193,13 +18781,13 @@ export class PromiseNetworkingV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listIngressClassWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { - const result = this.api.listIngressClassWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listIPAddressWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listIPAddressWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind IngressClass + * list or watch objects of kind IPAddress * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -18212,494 +18800,570 @@ export class PromiseNetworkingV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listIngressClass(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listIngressClass(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listIPAddress(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listIPAddress(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind Ingress + * list or watch objects of kind ServiceCIDR + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listIngressForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { - const result = this.api.listIngressForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listServiceCIDRWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listServiceCIDRWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind Ingress + * list or watch objects of kind ServiceCIDR + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listIngressForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listIngressForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listServiceCIDR(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listServiceCIDR(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind Ingress - * @param namespace object name and auth scope, such as for teams and projects + * partially update the specified IPAddress + * @param name name of the IPAddress + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public listNamespacedIngressWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { - const result = this.api.listNamespacedIngressWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public patchIPAddressWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + const result = this.api.patchIPAddressWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } /** - * list or watch objects of kind Ingress - * @param namespace object name and auth scope, such as for teams and projects + * partially update the specified IPAddress + * @param name name of the IPAddress + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public listNamespacedIngress(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listNamespacedIngress(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public patchIPAddress(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + const result = this.api.patchIPAddress(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } /** - * list or watch objects of kind NetworkPolicy - * @param namespace object name and auth scope, such as for teams and projects + * partially update the specified ServiceCIDR + * @param name name of the ServiceCIDR + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public listNamespacedNetworkPolicyWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { - const result = this.api.listNamespacedNetworkPolicyWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public patchServiceCIDRWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + const result = this.api.patchServiceCIDRWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } /** - * list or watch objects of kind NetworkPolicy - * @param namespace object name and auth scope, such as for teams and projects + * partially update the specified ServiceCIDR + * @param name name of the ServiceCIDR + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchServiceCIDR(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + const result = this.api.patchServiceCIDR(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + return result.toPromise(); + } + + /** + * partially update status of the specified ServiceCIDR + * @param name name of the ServiceCIDR + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchServiceCIDRStatusWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + const result = this.api.patchServiceCIDRStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + return result.toPromise(); + } + + /** + * partially update status of the specified ServiceCIDR + * @param name name of the ServiceCIDR + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchServiceCIDRStatus(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + const result = this.api.patchServiceCIDRStatus(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + return result.toPromise(); + } + + /** + * read the specified IPAddress + * @param name name of the IPAddress + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readIPAddressWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { + const result = this.api.readIPAddressWithHttpInfo(name, pretty, _options); + return result.toPromise(); + } + + /** + * read the specified IPAddress + * @param name name of the IPAddress + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readIPAddress(name: string, pretty?: string, _options?: Configuration): Promise { + const result = this.api.readIPAddress(name, pretty, _options); + return result.toPromise(); + } + + /** + * read the specified ServiceCIDR + * @param name name of the ServiceCIDR + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readServiceCIDRWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { + const result = this.api.readServiceCIDRWithHttpInfo(name, pretty, _options); + return result.toPromise(); + } + + /** + * read the specified ServiceCIDR + * @param name name of the ServiceCIDR * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listNamespacedNetworkPolicy(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listNamespacedNetworkPolicy(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public readServiceCIDR(name: string, pretty?: string, _options?: Configuration): Promise { + const result = this.api.readServiceCIDR(name, pretty, _options); return result.toPromise(); } /** - * list or watch objects of kind NetworkPolicy - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * read status of the specified ServiceCIDR + * @param name name of the ServiceCIDR * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listNetworkPolicyForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { - const result = this.api.listNetworkPolicyForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public readServiceCIDRStatusWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { + const result = this.api.readServiceCIDRStatusWithHttpInfo(name, pretty, _options); return result.toPromise(); } /** - * list or watch objects of kind NetworkPolicy - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * read status of the specified ServiceCIDR + * @param name name of the ServiceCIDR * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listNetworkPolicyForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listNetworkPolicyForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public readServiceCIDRStatus(name: string, pretty?: string, _options?: Configuration): Promise { + const result = this.api.readServiceCIDRStatus(name, pretty, _options); return result.toPromise(); } /** - * partially update the specified IngressClass - * @param name name of the IngressClass + * replace the specified IPAddress + * @param name name of the IPAddress * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchIngressClassWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { - const result = this.api.patchIngressClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public replaceIPAddressWithHttpInfo(name: string, body: V1beta1IPAddress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceIPAddressWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * partially update the specified IngressClass - * @param name name of the IngressClass + * replace the specified IPAddress + * @param name name of the IPAddress * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchIngressClass(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { - const result = this.api.patchIngressClass(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public replaceIPAddress(name: string, body: V1beta1IPAddress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceIPAddress(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * partially update the specified Ingress - * @param name name of the Ingress - * @param namespace object name and auth scope, such as for teams and projects + * replace the specified ServiceCIDR + * @param name name of the ServiceCIDR * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedIngressWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { - const result = this.api.patchNamespacedIngressWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public replaceServiceCIDRWithHttpInfo(name: string, body: V1beta1ServiceCIDR, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceServiceCIDRWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * partially update the specified Ingress - * @param name name of the Ingress - * @param namespace object name and auth scope, such as for teams and projects + * replace the specified ServiceCIDR + * @param name name of the ServiceCIDR * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedIngress(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { - const result = this.api.patchNamespacedIngress(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public replaceServiceCIDR(name: string, body: V1beta1ServiceCIDR, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceServiceCIDR(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * partially update status of the specified Ingress - * @param name name of the Ingress - * @param namespace object name and auth scope, such as for teams and projects + * replace status of the specified ServiceCIDR + * @param name name of the ServiceCIDR * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedIngressStatusWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { - const result = this.api.patchNamespacedIngressStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public replaceServiceCIDRStatusWithHttpInfo(name: string, body: V1beta1ServiceCIDR, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceServiceCIDRStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * partially update status of the specified Ingress - * @param name name of the Ingress - * @param namespace object name and auth scope, such as for teams and projects + * replace status of the specified ServiceCIDR + * @param name name of the ServiceCIDR * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedIngressStatus(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { - const result = this.api.patchNamespacedIngressStatus(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public replaceServiceCIDRStatus(name: string, body: V1beta1ServiceCIDR, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceServiceCIDRStatus(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } + +} + + + +import { ObservableNodeApi } from './ObservableAPI'; + +import { NodeApiRequestFactory, NodeApiResponseProcessor} from "../apis/NodeApi"; +export class PromiseNodeApi { + private api: ObservableNodeApi + + public constructor( + configuration: Configuration, + requestFactory?: NodeApiRequestFactory, + responseProcessor?: NodeApiResponseProcessor + ) { + this.api = new ObservableNodeApi(configuration, requestFactory, responseProcessor); + } + /** - * partially update the specified NetworkPolicy - * @param name name of the NetworkPolicy - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * get information of a group */ - public patchNamespacedNetworkPolicyWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { - const result = this.api.patchNamespacedNetworkPolicyWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public getAPIGroupWithHttpInfo(_options?: Configuration): Promise> { + const result = this.api.getAPIGroupWithHttpInfo(_options); return result.toPromise(); } /** - * partially update the specified NetworkPolicy - * @param name name of the NetworkPolicy - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + * get information of a group */ - public patchNamespacedNetworkPolicy(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { - const result = this.api.patchNamespacedNetworkPolicy(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public getAPIGroup(_options?: Configuration): Promise { + const result = this.api.getAPIGroup(_options); return result.toPromise(); } + +} + + + +import { ObservableNodeV1Api } from './ObservableAPI'; + +import { NodeV1ApiRequestFactory, NodeV1ApiResponseProcessor} from "../apis/NodeV1Api"; +export class PromiseNodeV1Api { + private api: ObservableNodeV1Api + + public constructor( + configuration: Configuration, + requestFactory?: NodeV1ApiRequestFactory, + responseProcessor?: NodeV1ApiResponseProcessor + ) { + this.api = new ObservableNodeV1Api(configuration, requestFactory, responseProcessor); + } + /** - * read the specified IngressClass - * @param name name of the IngressClass + * create a RuntimeClass + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public readIngressClassWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { - const result = this.api.readIngressClassWithHttpInfo(name, pretty, _options); + public createRuntimeClassWithHttpInfo(body: V1RuntimeClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.createRuntimeClassWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * read the specified IngressClass - * @param name name of the IngressClass + * create a RuntimeClass + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public readIngressClass(name: string, pretty?: string, _options?: Configuration): Promise { - const result = this.api.readIngressClass(name, pretty, _options); + public createRuntimeClass(body: V1RuntimeClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.createRuntimeClass(body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * read the specified Ingress - * @param name name of the Ingress - * @param namespace object name and auth scope, such as for teams and projects + * delete collection of RuntimeClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] */ - public readNamespacedIngressWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise> { - const result = this.api.readNamespacedIngressWithHttpInfo(name, namespace, pretty, _options); + public deleteCollectionRuntimeClassWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionRuntimeClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * read the specified Ingress - * @param name name of the Ingress - * @param namespace object name and auth scope, such as for teams and projects + * delete collection of RuntimeClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] */ - public readNamespacedIngress(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { - const result = this.api.readNamespacedIngress(name, namespace, pretty, _options); + public deleteCollectionRuntimeClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionRuntimeClass(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * read status of the specified Ingress - * @param name name of the Ingress - * @param namespace object name and auth scope, such as for teams and projects + * delete a RuntimeClass + * @param name name of the RuntimeClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] */ - public readNamespacedIngressStatusWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise> { - const result = this.api.readNamespacedIngressStatusWithHttpInfo(name, namespace, pretty, _options); + public deleteRuntimeClassWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteRuntimeClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * read status of the specified Ingress - * @param name name of the Ingress - * @param namespace object name and auth scope, such as for teams and projects + * delete a RuntimeClass + * @param name name of the RuntimeClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] */ - public readNamespacedIngressStatus(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { - const result = this.api.readNamespacedIngressStatus(name, namespace, pretty, _options); + public deleteRuntimeClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteRuntimeClass(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * read the specified NetworkPolicy - * @param name name of the NetworkPolicy - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * get available resources */ - public readNamespacedNetworkPolicyWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise> { - const result = this.api.readNamespacedNetworkPolicyWithHttpInfo(name, namespace, pretty, _options); + public getAPIResourcesWithHttpInfo(_options?: Configuration): Promise> { + const result = this.api.getAPIResourcesWithHttpInfo(_options); return result.toPromise(); } /** - * read the specified NetworkPolicy - * @param name name of the NetworkPolicy - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * get available resources */ - public readNamespacedNetworkPolicy(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { - const result = this.api.readNamespacedNetworkPolicy(name, namespace, pretty, _options); + public getAPIResources(_options?: Configuration): Promise { + const result = this.api.getAPIResources(_options); return result.toPromise(); } /** - * replace the specified IngressClass - * @param name name of the IngressClass - * @param body + * list or watch objects of kind RuntimeClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public replaceIngressClassWithHttpInfo(name: string, body: V1IngressClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replaceIngressClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public listRuntimeClassWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listRuntimeClassWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * replace the specified IngressClass - * @param name name of the IngressClass - * @param body + * list or watch objects of kind RuntimeClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public replaceIngressClass(name: string, body: V1IngressClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replaceIngressClass(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public listRuntimeClass(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listRuntimeClass(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * replace the specified Ingress - * @param name name of the Ingress - * @param namespace object name and auth scope, such as for teams and projects + * partially update the specified RuntimeClass + * @param name name of the RuntimeClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public replaceNamespacedIngressWithHttpInfo(name: string, namespace: string, body: V1Ingress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replaceNamespacedIngressWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public patchRuntimeClassWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + const result = this.api.patchRuntimeClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } /** - * replace the specified Ingress - * @param name name of the Ingress - * @param namespace object name and auth scope, such as for teams and projects + * partially update the specified RuntimeClass + * @param name name of the RuntimeClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public replaceNamespacedIngress(name: string, namespace: string, body: V1Ingress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replaceNamespacedIngress(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public patchRuntimeClass(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + const result = this.api.patchRuntimeClass(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } /** - * replace status of the specified Ingress - * @param name name of the Ingress - * @param namespace object name and auth scope, such as for teams and projects - * @param body + * read the specified RuntimeClass + * @param name name of the RuntimeClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedIngressStatusWithHttpInfo(name: string, namespace: string, body: V1Ingress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replaceNamespacedIngressStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public readRuntimeClassWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { + const result = this.api.readRuntimeClassWithHttpInfo(name, pretty, _options); return result.toPromise(); } /** - * replace status of the specified Ingress - * @param name name of the Ingress - * @param namespace object name and auth scope, such as for teams and projects - * @param body + * read the specified RuntimeClass + * @param name name of the RuntimeClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedIngressStatus(name: string, namespace: string, body: V1Ingress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replaceNamespacedIngressStatus(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public readRuntimeClass(name: string, pretty?: string, _options?: Configuration): Promise { + const result = this.api.readRuntimeClass(name, pretty, _options); return result.toPromise(); } /** - * replace the specified NetworkPolicy - * @param name name of the NetworkPolicy - * @param namespace object name and auth scope, such as for teams and projects + * replace the specified RuntimeClass + * @param name name of the RuntimeClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedNetworkPolicyWithHttpInfo(name: string, namespace: string, body: V1NetworkPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replaceNamespacedNetworkPolicyWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceRuntimeClassWithHttpInfo(name: string, body: V1RuntimeClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceRuntimeClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * replace the specified NetworkPolicy - * @param name name of the NetworkPolicy - * @param namespace object name and auth scope, such as for teams and projects + * replace the specified RuntimeClass + * @param name name of the RuntimeClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedNetworkPolicy(name: string, namespace: string, body: V1NetworkPolicy, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replaceNamespacedNetworkPolicy(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceRuntimeClass(name: string, body: V1RuntimeClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceRuntimeClass(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } @@ -18708,145 +19372,127 @@ export class PromiseNetworkingV1Api { -import { ObservableNetworkingV1alpha1Api } from './ObservableAPI.js'; +import { ObservableOpenidApi } from './ObservableAPI'; -import { NetworkingV1alpha1ApiRequestFactory, NetworkingV1alpha1ApiResponseProcessor} from "../apis/NetworkingV1alpha1Api.js"; -export class PromiseNetworkingV1alpha1Api { - private api: ObservableNetworkingV1alpha1Api +import { OpenidApiRequestFactory, OpenidApiResponseProcessor} from "../apis/OpenidApi"; +export class PromiseOpenidApi { + private api: ObservableOpenidApi public constructor( configuration: Configuration, - requestFactory?: NetworkingV1alpha1ApiRequestFactory, - responseProcessor?: NetworkingV1alpha1ApiResponseProcessor + requestFactory?: OpenidApiRequestFactory, + responseProcessor?: OpenidApiResponseProcessor ) { - this.api = new ObservableNetworkingV1alpha1Api(configuration, requestFactory, responseProcessor); + this.api = new ObservableOpenidApi(configuration, requestFactory, responseProcessor); } /** - * create an IPAddress - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * get service account issuer OpenID JSON Web Key Set (contains public token verification keys) */ - public createIPAddressWithHttpInfo(body: V1alpha1IPAddress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.createIPAddressWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public getServiceAccountIssuerOpenIDKeysetWithHttpInfo(_options?: Configuration): Promise> { + const result = this.api.getServiceAccountIssuerOpenIDKeysetWithHttpInfo(_options); return result.toPromise(); } /** - * create an IPAddress - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * get service account issuer OpenID JSON Web Key Set (contains public token verification keys) */ - public createIPAddress(body: V1alpha1IPAddress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.createIPAddress(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public getServiceAccountIssuerOpenIDKeyset(_options?: Configuration): Promise { + const result = this.api.getServiceAccountIssuerOpenIDKeyset(_options); return result.toPromise(); } - /** - * create a ServiceCIDR - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - */ - public createServiceCIDRWithHttpInfo(body: V1alpha1ServiceCIDR, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.createServiceCIDRWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options); - return result.toPromise(); + +} + + + +import { ObservablePolicyApi } from './ObservableAPI'; + +import { PolicyApiRequestFactory, PolicyApiResponseProcessor} from "../apis/PolicyApi"; +export class PromisePolicyApi { + private api: ObservablePolicyApi + + public constructor( + configuration: Configuration, + requestFactory?: PolicyApiRequestFactory, + responseProcessor?: PolicyApiResponseProcessor + ) { + this.api = new ObservablePolicyApi(configuration, requestFactory, responseProcessor); } /** - * create a ServiceCIDR - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * get information of a group */ - public createServiceCIDR(body: V1alpha1ServiceCIDR, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.createServiceCIDR(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public getAPIGroupWithHttpInfo(_options?: Configuration): Promise> { + const result = this.api.getAPIGroupWithHttpInfo(_options); return result.toPromise(); } /** - * delete collection of IPAddress - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * get information of a group */ - public deleteCollectionIPAddressWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionIPAddressWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public getAPIGroup(_options?: Configuration): Promise { + const result = this.api.getAPIGroup(_options); return result.toPromise(); } + +} + + + +import { ObservablePolicyV1Api } from './ObservableAPI'; + +import { PolicyV1ApiRequestFactory, PolicyV1ApiResponseProcessor} from "../apis/PolicyV1Api"; +export class PromisePolicyV1Api { + private api: ObservablePolicyV1Api + + public constructor( + configuration: Configuration, + requestFactory?: PolicyV1ApiRequestFactory, + responseProcessor?: PolicyV1ApiResponseProcessor + ) { + this.api = new ObservablePolicyV1Api(configuration, requestFactory, responseProcessor); + } + /** - * delete collection of IPAddress + * create a PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public deleteCollectionIPAddress(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionIPAddress(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public createNamespacedPodDisruptionBudgetWithHttpInfo(namespace: string, body: V1PodDisruptionBudget, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.createNamespacedPodDisruptionBudgetWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * delete collection of ServiceCIDR + * create a PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public deleteCollectionServiceCIDRWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionServiceCIDRWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public createNamespacedPodDisruptionBudget(namespace: string, body: V1PodDisruptionBudget, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.createNamespacedPodDisruptionBudget(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * delete collection of ServiceCIDR + * delete collection of PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -18857,68 +19503,66 @@ export class PromiseNetworkingV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionServiceCIDR(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionServiceCIDR(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); - return result.toPromise(); - } - - /** - * delete an IPAddress - * @param name name of the IPAddress - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [body] - */ - public deleteIPAddressWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteIPAddressWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteCollectionNamespacedPodDisruptionBudgetWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedPodDisruptionBudgetWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * delete an IPAddress - * @param name name of the IPAddress + * delete collection of PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteIPAddress(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteIPAddress(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteCollectionNamespacedPodDisruptionBudget(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedPodDisruptionBudget(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * delete a ServiceCIDR - * @param name name of the ServiceCIDR + * delete a PodDisruptionBudget + * @param name name of the PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteServiceCIDRWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteServiceCIDRWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedPodDisruptionBudgetWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedPodDisruptionBudgetWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * delete a ServiceCIDR - * @param name name of the ServiceCIDR + * delete a PodDisruptionBudget + * @param name name of the PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteServiceCIDR(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteServiceCIDR(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedPodDisruptionBudget(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedPodDisruptionBudget(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -18939,7 +19583,8 @@ export class PromiseNetworkingV1alpha1Api { } /** - * list or watch objects of kind IPAddress + * list or watch objects of kind PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -18952,13 +19597,14 @@ export class PromiseNetworkingV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listIPAddressWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { - const result = this.api.listIPAddressWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listNamespacedPodDisruptionBudgetWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listNamespacedPodDisruptionBudgetWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind IPAddress + * list or watch objects of kind PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -18971,52 +19617,53 @@ export class PromiseNetworkingV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listIPAddress(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listIPAddress(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listNamespacedPodDisruptionBudget(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listNamespacedPodDisruptionBudget(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind ServiceCIDR - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * list or watch objects of kind PodDisruptionBudget * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listServiceCIDRWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { - const result = this.api.listServiceCIDRWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listPodDisruptionBudgetForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listPodDisruptionBudgetForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind ServiceCIDR - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * list or watch objects of kind PodDisruptionBudget * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listServiceCIDR(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listServiceCIDR(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listPodDisruptionBudgetForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listPodDisruptionBudgetForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * partially update the specified IPAddress - * @param name name of the IPAddress + * partially update the specified PodDisruptionBudget + * @param name name of the PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -19024,14 +19671,15 @@ export class PromiseNetworkingV1alpha1Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchIPAddressWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { - const result = this.api.patchIPAddressWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public patchNamespacedPodDisruptionBudgetWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + const result = this.api.patchNamespacedPodDisruptionBudgetWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } /** - * partially update the specified IPAddress - * @param name name of the IPAddress + * partially update the specified PodDisruptionBudget + * @param name name of the PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -19039,14 +19687,15 @@ export class PromiseNetworkingV1alpha1Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchIPAddress(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { - const result = this.api.patchIPAddress(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public patchNamespacedPodDisruptionBudget(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + const result = this.api.patchNamespacedPodDisruptionBudget(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } /** - * partially update the specified ServiceCIDR - * @param name name of the ServiceCIDR + * partially update status of the specified PodDisruptionBudget + * @param name name of the PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -19054,14 +19703,15 @@ export class PromiseNetworkingV1alpha1Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchServiceCIDRWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { - const result = this.api.patchServiceCIDRWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public patchNamespacedPodDisruptionBudgetStatusWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + const result = this.api.patchNamespacedPodDisruptionBudgetStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } /** - * partially update the specified ServiceCIDR - * @param name name of the ServiceCIDR + * partially update status of the specified PodDisruptionBudget + * @param name name of the PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -19069,272 +19719,514 @@ export class PromiseNetworkingV1alpha1Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchServiceCIDR(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { - const result = this.api.patchServiceCIDR(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public patchNamespacedPodDisruptionBudgetStatus(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + const result = this.api.patchNamespacedPodDisruptionBudgetStatus(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } /** - * partially update status of the specified ServiceCIDR - * @param name name of the ServiceCIDR + * read the specified PodDisruptionBudget + * @param name name of the PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readNamespacedPodDisruptionBudgetWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise> { + const result = this.api.readNamespacedPodDisruptionBudgetWithHttpInfo(name, namespace, pretty, _options); + return result.toPromise(); + } + + /** + * read the specified PodDisruptionBudget + * @param name name of the PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readNamespacedPodDisruptionBudget(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { + const result = this.api.readNamespacedPodDisruptionBudget(name, namespace, pretty, _options); + return result.toPromise(); + } + + /** + * read status of the specified PodDisruptionBudget + * @param name name of the PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readNamespacedPodDisruptionBudgetStatusWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise> { + const result = this.api.readNamespacedPodDisruptionBudgetStatusWithHttpInfo(name, namespace, pretty, _options); + return result.toPromise(); + } + + /** + * read status of the specified PodDisruptionBudget + * @param name name of the PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readNamespacedPodDisruptionBudgetStatus(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { + const result = this.api.readNamespacedPodDisruptionBudgetStatus(name, namespace, pretty, _options); + return result.toPromise(); + } + + /** + * replace the specified PodDisruptionBudget + * @param name name of the PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchServiceCIDRStatusWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { - const result = this.api.patchServiceCIDRStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public replaceNamespacedPodDisruptionBudgetWithHttpInfo(name: string, namespace: string, body: V1PodDisruptionBudget, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceNamespacedPodDisruptionBudgetWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * partially update status of the specified ServiceCIDR - * @param name name of the ServiceCIDR + * replace the specified PodDisruptionBudget + * @param name name of the PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchServiceCIDRStatus(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { - const result = this.api.patchServiceCIDRStatus(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public replaceNamespacedPodDisruptionBudget(name: string, namespace: string, body: V1PodDisruptionBudget, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceNamespacedPodDisruptionBudget(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * read the specified IPAddress - * @param name name of the IPAddress + * replace status of the specified PodDisruptionBudget + * @param name name of the PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public readIPAddressWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { - const result = this.api.readIPAddressWithHttpInfo(name, pretty, _options); + public replaceNamespacedPodDisruptionBudgetStatusWithHttpInfo(name: string, namespace: string, body: V1PodDisruptionBudget, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceNamespacedPodDisruptionBudgetStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * read the specified IPAddress - * @param name name of the IPAddress + * replace status of the specified PodDisruptionBudget + * @param name name of the PodDisruptionBudget + * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public readIPAddress(name: string, pretty?: string, _options?: Configuration): Promise { - const result = this.api.readIPAddress(name, pretty, _options); + public replaceNamespacedPodDisruptionBudgetStatus(name: string, namespace: string, body: V1PodDisruptionBudget, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceNamespacedPodDisruptionBudgetStatus(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } + +} + + + +import { ObservableRbacAuthorizationApi } from './ObservableAPI'; + +import { RbacAuthorizationApiRequestFactory, RbacAuthorizationApiResponseProcessor} from "../apis/RbacAuthorizationApi"; +export class PromiseRbacAuthorizationApi { + private api: ObservableRbacAuthorizationApi + + public constructor( + configuration: Configuration, + requestFactory?: RbacAuthorizationApiRequestFactory, + responseProcessor?: RbacAuthorizationApiResponseProcessor + ) { + this.api = new ObservableRbacAuthorizationApi(configuration, requestFactory, responseProcessor); + } + /** - * read the specified ServiceCIDR - * @param name name of the ServiceCIDR - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * get information of a group */ - public readServiceCIDRWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { - const result = this.api.readServiceCIDRWithHttpInfo(name, pretty, _options); + public getAPIGroupWithHttpInfo(_options?: Configuration): Promise> { + const result = this.api.getAPIGroupWithHttpInfo(_options); return result.toPromise(); } /** - * read the specified ServiceCIDR - * @param name name of the ServiceCIDR - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * get information of a group */ - public readServiceCIDR(name: string, pretty?: string, _options?: Configuration): Promise { - const result = this.api.readServiceCIDR(name, pretty, _options); + public getAPIGroup(_options?: Configuration): Promise { + const result = this.api.getAPIGroup(_options); return result.toPromise(); } + +} + + + +import { ObservableRbacAuthorizationV1Api } from './ObservableAPI'; + +import { RbacAuthorizationV1ApiRequestFactory, RbacAuthorizationV1ApiResponseProcessor} from "../apis/RbacAuthorizationV1Api"; +export class PromiseRbacAuthorizationV1Api { + private api: ObservableRbacAuthorizationV1Api + + public constructor( + configuration: Configuration, + requestFactory?: RbacAuthorizationV1ApiRequestFactory, + responseProcessor?: RbacAuthorizationV1ApiResponseProcessor + ) { + this.api = new ObservableRbacAuthorizationV1Api(configuration, requestFactory, responseProcessor); + } + /** - * read status of the specified ServiceCIDR - * @param name name of the ServiceCIDR + * create a ClusterRole + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public readServiceCIDRStatusWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { - const result = this.api.readServiceCIDRStatusWithHttpInfo(name, pretty, _options); + public createClusterRoleWithHttpInfo(body: V1ClusterRole, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.createClusterRoleWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * read status of the specified ServiceCIDR - * @param name name of the ServiceCIDR + * create a ClusterRole + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public readServiceCIDRStatus(name: string, pretty?: string, _options?: Configuration): Promise { - const result = this.api.readServiceCIDRStatus(name, pretty, _options); + public createClusterRole(body: V1ClusterRole, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.createClusterRole(body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * replace the specified IPAddress - * @param name name of the IPAddress + * create a ClusterRoleBinding * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceIPAddressWithHttpInfo(name: string, body: V1alpha1IPAddress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replaceIPAddressWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createClusterRoleBindingWithHttpInfo(body: V1ClusterRoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.createClusterRoleBindingWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * replace the specified IPAddress - * @param name name of the IPAddress + * create a ClusterRoleBinding * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceIPAddress(name: string, body: V1alpha1IPAddress, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replaceIPAddress(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createClusterRoleBinding(body: V1ClusterRoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.createClusterRoleBinding(body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * replace the specified ServiceCIDR - * @param name name of the ServiceCIDR + * create a Role + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceServiceCIDRWithHttpInfo(name: string, body: V1alpha1ServiceCIDR, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replaceServiceCIDRWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createNamespacedRoleWithHttpInfo(namespace: string, body: V1Role, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.createNamespacedRoleWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * replace the specified ServiceCIDR - * @param name name of the ServiceCIDR + * create a Role + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceServiceCIDR(name: string, body: V1alpha1ServiceCIDR, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replaceServiceCIDR(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createNamespacedRole(namespace: string, body: V1Role, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.createNamespacedRole(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * replace status of the specified ServiceCIDR - * @param name name of the ServiceCIDR + * create a RoleBinding + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceServiceCIDRStatusWithHttpInfo(name: string, body: V1alpha1ServiceCIDR, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replaceServiceCIDRStatusWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createNamespacedRoleBindingWithHttpInfo(namespace: string, body: V1RoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.createNamespacedRoleBindingWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * replace status of the specified ServiceCIDR - * @param name name of the ServiceCIDR + * create a RoleBinding + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceServiceCIDRStatus(name: string, body: V1alpha1ServiceCIDR, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replaceServiceCIDRStatus(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createNamespacedRoleBinding(namespace: string, body: V1RoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.createNamespacedRoleBinding(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } - -} - - - -import { ObservableNodeApi } from './ObservableAPI.js'; - -import { NodeApiRequestFactory, NodeApiResponseProcessor} from "../apis/NodeApi.js"; -export class PromiseNodeApi { - private api: ObservableNodeApi - - public constructor( - configuration: Configuration, - requestFactory?: NodeApiRequestFactory, - responseProcessor?: NodeApiResponseProcessor - ) { - this.api = new ObservableNodeApi(configuration, requestFactory, responseProcessor); + /** + * delete a ClusterRole + * @param name name of the ClusterRole + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] + */ + public deleteClusterRoleWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteClusterRoleWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); + return result.toPromise(); } /** - * get information of a group + * delete a ClusterRole + * @param name name of the ClusterRole + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] */ - public getAPIGroupWithHttpInfo(_options?: Configuration): Promise> { - const result = this.api.getAPIGroupWithHttpInfo(_options); + public deleteClusterRole(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteClusterRole(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * get information of a group + * delete a ClusterRoleBinding + * @param name name of the ClusterRoleBinding + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] */ - public getAPIGroup(_options?: Configuration): Promise { - const result = this.api.getAPIGroup(_options); + public deleteClusterRoleBindingWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteClusterRoleBindingWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } + /** + * delete a ClusterRoleBinding + * @param name name of the ClusterRoleBinding + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] + */ + public deleteClusterRoleBinding(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteClusterRoleBinding(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); + return result.toPromise(); + } -} - + /** + * delete collection of ClusterRole + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] + */ + public deleteCollectionClusterRoleWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionClusterRoleWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + return result.toPromise(); + } + /** + * delete collection of ClusterRole + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] + */ + public deleteCollectionClusterRole(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionClusterRole(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + return result.toPromise(); + } -import { ObservableNodeV1Api } from './ObservableAPI.js'; + /** + * delete collection of ClusterRoleBinding + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] + */ + public deleteCollectionClusterRoleBindingWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionClusterRoleBindingWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + return result.toPromise(); + } -import { NodeV1ApiRequestFactory, NodeV1ApiResponseProcessor} from "../apis/NodeV1Api.js"; -export class PromiseNodeV1Api { - private api: ObservableNodeV1Api + /** + * delete collection of ClusterRoleBinding + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] + */ + public deleteCollectionClusterRoleBinding(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionClusterRoleBinding(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + return result.toPromise(); + } - public constructor( - configuration: Configuration, - requestFactory?: NodeV1ApiRequestFactory, - responseProcessor?: NodeV1ApiResponseProcessor - ) { - this.api = new ObservableNodeV1Api(configuration, requestFactory, responseProcessor); + /** + * delete collection of Role + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] + */ + public deleteCollectionNamespacedRoleWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedRoleWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + return result.toPromise(); } /** - * create a RuntimeClass - * @param body + * delete collection of Role + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] */ - public createRuntimeClassWithHttpInfo(body: V1RuntimeClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.createRuntimeClassWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public deleteCollectionNamespacedRole(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedRole(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * create a RuntimeClass - * @param body + * delete collection of RoleBinding + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] */ - public createRuntimeClass(body: V1RuntimeClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.createRuntimeClass(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public deleteCollectionNamespacedRoleBindingWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedRoleBindingWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * delete collection of RuntimeClass + * delete collection of RoleBinding + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -19345,60 +20237,76 @@ export class PromiseNodeV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionRuntimeClassWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionRuntimeClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedRoleBinding(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedRoleBinding(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + return result.toPromise(); + } + + /** + * delete a Role + * @param name name of the Role + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] + */ + public deleteNamespacedRoleWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedRoleWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * delete collection of RuntimeClass + * delete a Role + * @param name name of the Role + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionRuntimeClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionRuntimeClass(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteNamespacedRole(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedRole(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * delete a RuntimeClass - * @param name name of the RuntimeClass + * delete a RoleBinding + * @param name name of the RoleBinding + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteRuntimeClassWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteRuntimeClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedRoleBindingWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedRoleBindingWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * delete a RuntimeClass - * @param name name of the RuntimeClass + * delete a RoleBinding + * @param name name of the RoleBinding + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteRuntimeClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteRuntimeClass(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedRoleBinding(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedRoleBinding(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -19419,7 +20327,7 @@ export class PromiseNodeV1Api { } /** - * list or watch objects of kind RuntimeClass + * list or watch objects of kind ClusterRole * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -19432,13 +20340,13 @@ export class PromiseNodeV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listRuntimeClassWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { - const result = this.api.listRuntimeClassWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listClusterRoleWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listClusterRoleWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind RuntimeClass + * list or watch objects of kind ClusterRole * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -19451,342 +20359,169 @@ export class PromiseNodeV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listRuntimeClass(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listRuntimeClass(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); - return result.toPromise(); - } - - /** - * partially update the specified RuntimeClass - * @param name name of the RuntimeClass - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchRuntimeClassWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { - const result = this.api.patchRuntimeClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); - return result.toPromise(); - } - - /** - * partially update the specified RuntimeClass - * @param name name of the RuntimeClass - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchRuntimeClass(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { - const result = this.api.patchRuntimeClass(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); - return result.toPromise(); - } - - /** - * read the specified RuntimeClass - * @param name name of the RuntimeClass - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readRuntimeClassWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { - const result = this.api.readRuntimeClassWithHttpInfo(name, pretty, _options); - return result.toPromise(); - } - - /** - * read the specified RuntimeClass - * @param name name of the RuntimeClass - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readRuntimeClass(name: string, pretty?: string, _options?: Configuration): Promise { - const result = this.api.readRuntimeClass(name, pretty, _options); + public listClusterRole(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listClusterRole(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * replace the specified RuntimeClass - * @param name name of the RuntimeClass - * @param body + * list or watch objects of kind ClusterRoleBinding * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public replaceRuntimeClassWithHttpInfo(name: string, body: V1RuntimeClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replaceRuntimeClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public listClusterRoleBindingWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listClusterRoleBindingWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * replace the specified RuntimeClass - * @param name name of the RuntimeClass - * @param body + * list or watch objects of kind ClusterRoleBinding * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - */ - public replaceRuntimeClass(name: string, body: V1RuntimeClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replaceRuntimeClass(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); - return result.toPromise(); - } - - -} - - - -import { ObservableOpenidApi } from './ObservableAPI.js'; - -import { OpenidApiRequestFactory, OpenidApiResponseProcessor} from "../apis/OpenidApi.js"; -export class PromiseOpenidApi { - private api: ObservableOpenidApi - - public constructor( - configuration: Configuration, - requestFactory?: OpenidApiRequestFactory, - responseProcessor?: OpenidApiResponseProcessor - ) { - this.api = new ObservableOpenidApi(configuration, requestFactory, responseProcessor); - } - - /** - * get service account issuer OpenID JSON Web Key Set (contains public token verification keys) - */ - public getServiceAccountIssuerOpenIDKeysetWithHttpInfo(_options?: Configuration): Promise> { - const result = this.api.getServiceAccountIssuerOpenIDKeysetWithHttpInfo(_options); - return result.toPromise(); - } - - /** - * get service account issuer OpenID JSON Web Key Set (contains public token verification keys) - */ - public getServiceAccountIssuerOpenIDKeyset(_options?: Configuration): Promise { - const result = this.api.getServiceAccountIssuerOpenIDKeyset(_options); - return result.toPromise(); - } - - -} - - - -import { ObservablePolicyApi } from './ObservableAPI.js'; - -import { PolicyApiRequestFactory, PolicyApiResponseProcessor} from "../apis/PolicyApi.js"; -export class PromisePolicyApi { - private api: ObservablePolicyApi - - public constructor( - configuration: Configuration, - requestFactory?: PolicyApiRequestFactory, - responseProcessor?: PolicyApiResponseProcessor - ) { - this.api = new ObservablePolicyApi(configuration, requestFactory, responseProcessor); - } - - /** - * get information of a group - */ - public getAPIGroupWithHttpInfo(_options?: Configuration): Promise> { - const result = this.api.getAPIGroupWithHttpInfo(_options); - return result.toPromise(); - } - - /** - * get information of a group + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public getAPIGroup(_options?: Configuration): Promise { - const result = this.api.getAPIGroup(_options); + public listClusterRoleBinding(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listClusterRoleBinding(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } - -} - - - -import { ObservablePolicyV1Api } from './ObservableAPI.js'; - -import { PolicyV1ApiRequestFactory, PolicyV1ApiResponseProcessor} from "../apis/PolicyV1Api.js"; -export class PromisePolicyV1Api { - private api: ObservablePolicyV1Api - - public constructor( - configuration: Configuration, - requestFactory?: PolicyV1ApiRequestFactory, - responseProcessor?: PolicyV1ApiResponseProcessor - ) { - this.api = new ObservablePolicyV1Api(configuration, requestFactory, responseProcessor); - } - /** - * create a PodDisruptionBudget + * list or watch objects of kind Role * @param namespace object name and auth scope, such as for teams and projects - * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public createNamespacedPodDisruptionBudgetWithHttpInfo(namespace: string, body: V1PodDisruptionBudget, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.createNamespacedPodDisruptionBudgetWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public listNamespacedRoleWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listNamespacedRoleWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * create a PodDisruptionBudget + * list or watch objects of kind Role * @param namespace object name and auth scope, such as for teams and projects - * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public createNamespacedPodDisruptionBudget(namespace: string, body: V1PodDisruptionBudget, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.createNamespacedPodDisruptionBudget(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public listNamespacedRole(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listNamespacedRole(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * delete collection of PodDisruptionBudget + * list or watch objects of kind RoleBinding * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public deleteCollectionNamespacedPodDisruptionBudgetWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedPodDisruptionBudgetWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public listNamespacedRoleBindingWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listNamespacedRoleBindingWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * delete collection of PodDisruptionBudget + * list or watch objects of kind RoleBinding * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] - */ - public deleteCollectionNamespacedPodDisruptionBudget(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedPodDisruptionBudget(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); - return result.toPromise(); - } - - /** - * delete a PodDisruptionBudget - * @param name name of the PodDisruptionBudget - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [body] - */ - public deleteNamespacedPodDisruptionBudgetWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedPodDisruptionBudgetWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); - return result.toPromise(); - } - - /** - * delete a PodDisruptionBudget - * @param name name of the PodDisruptionBudget - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [body] - */ - public deleteNamespacedPodDisruptionBudget(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedPodDisruptionBudget(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); - return result.toPromise(); - } - - /** - * get available resources - */ - public getAPIResourcesWithHttpInfo(_options?: Configuration): Promise> { - const result = this.api.getAPIResourcesWithHttpInfo(_options); - return result.toPromise(); - } - - /** - * get available resources + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public getAPIResources(_options?: Configuration): Promise { - const result = this.api.getAPIResources(_options); + public listNamespacedRoleBinding(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listNamespacedRoleBinding(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind PodDisruptionBudget - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * list or watch objects of kind RoleBinding * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listNamespacedPodDisruptionBudgetWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { - const result = this.api.listNamespacedPodDisruptionBudgetWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listRoleBindingForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listRoleBindingForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind PodDisruptionBudget - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * list or watch objects of kind RoleBinding * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listNamespacedPodDisruptionBudget(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listNamespacedPodDisruptionBudget(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listRoleBindingForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listRoleBindingForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind PodDisruptionBudget + * list or watch objects of kind Role * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -19799,13 +20534,13 @@ export class PromisePolicyV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listPodDisruptionBudgetForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { - const result = this.api.listPodDisruptionBudgetForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listRoleForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listRoleForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind PodDisruptionBudget + * list or watch objects of kind Role * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -19818,14 +20553,74 @@ export class PromisePolicyV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listPodDisruptionBudgetForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listPodDisruptionBudgetForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listRoleForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listRoleForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * partially update the specified PodDisruptionBudget - * @param name name of the PodDisruptionBudget + * partially update the specified ClusterRole + * @param name name of the ClusterRole + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchClusterRoleWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + const result = this.api.patchClusterRoleWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + return result.toPromise(); + } + + /** + * partially update the specified ClusterRole + * @param name name of the ClusterRole + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchClusterRole(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + const result = this.api.patchClusterRole(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + return result.toPromise(); + } + + /** + * partially update the specified ClusterRoleBinding + * @param name name of the ClusterRoleBinding + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchClusterRoleBindingWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + const result = this.api.patchClusterRoleBindingWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + return result.toPromise(); + } + + /** + * partially update the specified ClusterRoleBinding + * @param name name of the ClusterRoleBinding + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchClusterRoleBinding(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + const result = this.api.patchClusterRoleBinding(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + return result.toPromise(); + } + + /** + * partially update the specified Role + * @param name name of the Role * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -19834,106 +20629,202 @@ export class PromisePolicyV1Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedPodDisruptionBudgetWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { - const result = this.api.patchNamespacedPodDisruptionBudgetWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public patchNamespacedRoleWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + const result = this.api.patchNamespacedRoleWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + return result.toPromise(); + } + + /** + * partially update the specified Role + * @param name name of the Role + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchNamespacedRole(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + const result = this.api.patchNamespacedRole(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + return result.toPromise(); + } + + /** + * partially update the specified RoleBinding + * @param name name of the RoleBinding + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchNamespacedRoleBindingWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + const result = this.api.patchNamespacedRoleBindingWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + return result.toPromise(); + } + + /** + * partially update the specified RoleBinding + * @param name name of the RoleBinding + * @param namespace object name and auth scope, such as for teams and projects + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchNamespacedRoleBinding(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + const result = this.api.patchNamespacedRoleBinding(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + return result.toPromise(); + } + + /** + * read the specified ClusterRole + * @param name name of the ClusterRole + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readClusterRoleWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { + const result = this.api.readClusterRoleWithHttpInfo(name, pretty, _options); + return result.toPromise(); + } + + /** + * read the specified ClusterRole + * @param name name of the ClusterRole + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readClusterRole(name: string, pretty?: string, _options?: Configuration): Promise { + const result = this.api.readClusterRole(name, pretty, _options); + return result.toPromise(); + } + + /** + * read the specified ClusterRoleBinding + * @param name name of the ClusterRoleBinding + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readClusterRoleBindingWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { + const result = this.api.readClusterRoleBindingWithHttpInfo(name, pretty, _options); + return result.toPromise(); + } + + /** + * read the specified ClusterRoleBinding + * @param name name of the ClusterRoleBinding + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readClusterRoleBinding(name: string, pretty?: string, _options?: Configuration): Promise { + const result = this.api.readClusterRoleBinding(name, pretty, _options); + return result.toPromise(); + } + + /** + * read the specified Role + * @param name name of the Role + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readNamespacedRoleWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise> { + const result = this.api.readNamespacedRoleWithHttpInfo(name, namespace, pretty, _options); return result.toPromise(); } /** - * partially update the specified PodDisruptionBudget - * @param name name of the PodDisruptionBudget + * read the specified Role + * @param name name of the Role * @param namespace object name and auth scope, such as for teams and projects - * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedPodDisruptionBudget(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { - const result = this.api.patchNamespacedPodDisruptionBudget(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public readNamespacedRole(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { + const result = this.api.readNamespacedRole(name, namespace, pretty, _options); return result.toPromise(); } /** - * partially update status of the specified PodDisruptionBudget - * @param name name of the PodDisruptionBudget + * read the specified RoleBinding + * @param name name of the RoleBinding * @param namespace object name and auth scope, such as for teams and projects - * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedPodDisruptionBudgetStatusWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { - const result = this.api.patchNamespacedPodDisruptionBudgetStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public readNamespacedRoleBindingWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise> { + const result = this.api.readNamespacedRoleBindingWithHttpInfo(name, namespace, pretty, _options); return result.toPromise(); } /** - * partially update status of the specified PodDisruptionBudget - * @param name name of the PodDisruptionBudget + * read the specified RoleBinding + * @param name name of the RoleBinding * @param namespace object name and auth scope, such as for teams and projects - * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedPodDisruptionBudgetStatus(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { - const result = this.api.patchNamespacedPodDisruptionBudgetStatus(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public readNamespacedRoleBinding(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { + const result = this.api.readNamespacedRoleBinding(name, namespace, pretty, _options); return result.toPromise(); } /** - * read the specified PodDisruptionBudget - * @param name name of the PodDisruptionBudget - * @param namespace object name and auth scope, such as for teams and projects + * replace the specified ClusterRole + * @param name name of the ClusterRole + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public readNamespacedPodDisruptionBudgetWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise> { - const result = this.api.readNamespacedPodDisruptionBudgetWithHttpInfo(name, namespace, pretty, _options); + public replaceClusterRoleWithHttpInfo(name: string, body: V1ClusterRole, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceClusterRoleWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * read the specified PodDisruptionBudget - * @param name name of the PodDisruptionBudget - * @param namespace object name and auth scope, such as for teams and projects + * replace the specified ClusterRole + * @param name name of the ClusterRole + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public readNamespacedPodDisruptionBudget(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { - const result = this.api.readNamespacedPodDisruptionBudget(name, namespace, pretty, _options); + public replaceClusterRole(name: string, body: V1ClusterRole, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceClusterRole(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * read status of the specified PodDisruptionBudget - * @param name name of the PodDisruptionBudget - * @param namespace object name and auth scope, such as for teams and projects + * replace the specified ClusterRoleBinding + * @param name name of the ClusterRoleBinding + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public readNamespacedPodDisruptionBudgetStatusWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise> { - const result = this.api.readNamespacedPodDisruptionBudgetStatusWithHttpInfo(name, namespace, pretty, _options); + public replaceClusterRoleBindingWithHttpInfo(name: string, body: V1ClusterRoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceClusterRoleBindingWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * read status of the specified PodDisruptionBudget - * @param name name of the PodDisruptionBudget - * @param namespace object name and auth scope, such as for teams and projects + * replace the specified ClusterRoleBinding + * @param name name of the ClusterRoleBinding + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public readNamespacedPodDisruptionBudgetStatus(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { - const result = this.api.readNamespacedPodDisruptionBudgetStatus(name, namespace, pretty, _options); + public replaceClusterRoleBinding(name: string, body: V1ClusterRoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceClusterRoleBinding(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * replace the specified PodDisruptionBudget - * @param name name of the PodDisruptionBudget + * replace the specified Role + * @param name name of the Role * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -19941,14 +20832,14 @@ export class PromisePolicyV1Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedPodDisruptionBudgetWithHttpInfo(name: string, namespace: string, body: V1PodDisruptionBudget, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replaceNamespacedPodDisruptionBudgetWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceNamespacedRoleWithHttpInfo(name: string, namespace: string, body: V1Role, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceNamespacedRoleWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * replace the specified PodDisruptionBudget - * @param name name of the PodDisruptionBudget + * replace the specified Role + * @param name name of the Role * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -19956,14 +20847,14 @@ export class PromisePolicyV1Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedPodDisruptionBudget(name: string, namespace: string, body: V1PodDisruptionBudget, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replaceNamespacedPodDisruptionBudget(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceNamespacedRole(name: string, namespace: string, body: V1Role, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceNamespacedRole(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * replace status of the specified PodDisruptionBudget - * @param name name of the PodDisruptionBudget + * replace the specified RoleBinding + * @param name name of the RoleBinding * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -19971,14 +20862,14 @@ export class PromisePolicyV1Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedPodDisruptionBudgetStatusWithHttpInfo(name: string, namespace: string, body: V1PodDisruptionBudget, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replaceNamespacedPodDisruptionBudgetStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceNamespacedRoleBindingWithHttpInfo(name: string, namespace: string, body: V1RoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceNamespacedRoleBindingWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * replace status of the specified PodDisruptionBudget - * @param name name of the PodDisruptionBudget + * replace the specified RoleBinding + * @param name name of the RoleBinding * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -19986,8 +20877,8 @@ export class PromisePolicyV1Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedPodDisruptionBudgetStatus(name: string, namespace: string, body: V1PodDisruptionBudget, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replaceNamespacedPodDisruptionBudgetStatus(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceNamespacedRoleBinding(name: string, namespace: string, body: V1RoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceNamespacedRoleBinding(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } @@ -19996,18 +20887,18 @@ export class PromisePolicyV1Api { -import { ObservableRbacAuthorizationApi } from './ObservableAPI.js'; +import { ObservableResourceApi } from './ObservableAPI'; -import { RbacAuthorizationApiRequestFactory, RbacAuthorizationApiResponseProcessor} from "../apis/RbacAuthorizationApi.js"; -export class PromiseRbacAuthorizationApi { - private api: ObservableRbacAuthorizationApi +import { ResourceApiRequestFactory, ResourceApiResponseProcessor} from "../apis/ResourceApi"; +export class PromiseResourceApi { + private api: ObservableResourceApi public constructor( configuration: Configuration, - requestFactory?: RbacAuthorizationApiRequestFactory, - responseProcessor?: RbacAuthorizationApiResponseProcessor + requestFactory?: ResourceApiRequestFactory, + responseProcessor?: ResourceApiResponseProcessor ) { - this.api = new ObservableRbacAuthorizationApi(configuration, requestFactory, responseProcessor); + this.api = new ObservableResourceApi(configuration, requestFactory, responseProcessor); } /** @@ -20031,74 +20922,76 @@ export class PromiseRbacAuthorizationApi { -import { ObservableRbacAuthorizationV1Api } from './ObservableAPI.js'; +import { ObservableResourceV1alpha3Api } from './ObservableAPI'; -import { RbacAuthorizationV1ApiRequestFactory, RbacAuthorizationV1ApiResponseProcessor} from "../apis/RbacAuthorizationV1Api.js"; -export class PromiseRbacAuthorizationV1Api { - private api: ObservableRbacAuthorizationV1Api +import { ResourceV1alpha3ApiRequestFactory, ResourceV1alpha3ApiResponseProcessor} from "../apis/ResourceV1alpha3Api"; +export class PromiseResourceV1alpha3Api { + private api: ObservableResourceV1alpha3Api public constructor( configuration: Configuration, - requestFactory?: RbacAuthorizationV1ApiRequestFactory, - responseProcessor?: RbacAuthorizationV1ApiResponseProcessor + requestFactory?: ResourceV1alpha3ApiRequestFactory, + responseProcessor?: ResourceV1alpha3ApiResponseProcessor ) { - this.api = new ObservableRbacAuthorizationV1Api(configuration, requestFactory, responseProcessor); + this.api = new ObservableResourceV1alpha3Api(configuration, requestFactory, responseProcessor); } /** - * create a ClusterRole + * create a DeviceClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createClusterRoleWithHttpInfo(body: V1ClusterRole, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.createClusterRoleWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createDeviceClassWithHttpInfo(body: V1alpha3DeviceClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.createDeviceClassWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * create a ClusterRole + * create a DeviceClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createClusterRole(body: V1ClusterRole, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.createClusterRole(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createDeviceClass(body: V1alpha3DeviceClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.createDeviceClass(body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * create a ClusterRoleBinding + * create a ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createClusterRoleBindingWithHttpInfo(body: V1ClusterRoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.createClusterRoleBindingWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createNamespacedResourceClaimWithHttpInfo(namespace: string, body: V1alpha3ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.createNamespacedResourceClaimWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * create a ClusterRoleBinding + * create a ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createClusterRoleBinding(body: V1ClusterRoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.createClusterRoleBinding(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createNamespacedResourceClaim(namespace: string, body: V1alpha3ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.createNamespacedResourceClaim(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * create a Role + * create a ResourceClaimTemplate * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -20106,13 +20999,13 @@ export class PromiseRbacAuthorizationV1Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedRoleWithHttpInfo(namespace: string, body: V1Role, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.createNamespacedRoleWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createNamespacedResourceClaimTemplateWithHttpInfo(namespace: string, body: V1alpha3ResourceClaimTemplate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.createNamespacedResourceClaimTemplateWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * create a Role + * create a ResourceClaimTemplate * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -20120,106 +21013,140 @@ export class PromiseRbacAuthorizationV1Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedRole(namespace: string, body: V1Role, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.createNamespacedRole(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createNamespacedResourceClaimTemplate(namespace: string, body: V1alpha3ResourceClaimTemplate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.createNamespacedResourceClaimTemplate(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * create a RoleBinding - * @param namespace object name and auth scope, such as for teams and projects + * create a ResourceSlice * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedRoleBindingWithHttpInfo(namespace: string, body: V1RoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.createNamespacedRoleBindingWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createResourceSliceWithHttpInfo(body: V1alpha3ResourceSlice, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.createResourceSliceWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * create a RoleBinding - * @param namespace object name and auth scope, such as for teams and projects + * create a ResourceSlice * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedRoleBinding(namespace: string, body: V1RoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.createNamespacedRoleBinding(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public createResourceSlice(body: V1alpha3ResourceSlice, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.createResourceSlice(body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * delete a ClusterRole - * @param name name of the ClusterRole + * delete collection of DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteClusterRoleWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteClusterRoleWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteCollectionDeviceClassWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionDeviceClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * delete a ClusterRole - * @param name name of the ClusterRole + * delete collection of DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteClusterRole(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteClusterRole(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteCollectionDeviceClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionDeviceClass(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * delete a ClusterRoleBinding - * @param name name of the ClusterRoleBinding + * delete collection of ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteClusterRoleBindingWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteClusterRoleBindingWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteCollectionNamespacedResourceClaimWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedResourceClaimWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * delete a ClusterRoleBinding - * @param name name of the ClusterRoleBinding + * delete collection of ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteClusterRoleBinding(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteClusterRoleBinding(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteCollectionNamespacedResourceClaim(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedResourceClaim(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * delete collection of ClusterRole + * delete collection of ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -20230,18 +21157,20 @@ export class PromiseRbacAuthorizationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionClusterRoleWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionClusterRoleWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedResourceClaimTemplateWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedResourceClaimTemplateWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * delete collection of ClusterRole + * delete collection of ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -20252,18 +21181,19 @@ export class PromiseRbacAuthorizationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionClusterRole(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionClusterRole(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedResourceClaimTemplate(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedResourceClaimTemplate(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * delete collection of ClusterRoleBinding + * delete collection of ResourceSlice * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -20274,18 +21204,19 @@ export class PromiseRbacAuthorizationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionClusterRoleBindingWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionClusterRoleBindingWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionResourceSliceWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionResourceSliceWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * delete collection of ClusterRoleBinding + * delete collection of ResourceSlice * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -20296,164 +21227,140 @@ export class PromiseRbacAuthorizationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionClusterRoleBinding(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionClusterRoleBinding(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionResourceSlice(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionResourceSlice(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * delete collection of Role - * @param namespace object name and auth scope, such as for teams and projects + * delete a DeviceClass + * @param name name of the DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedRoleWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedRoleWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteDeviceClassWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteDeviceClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * delete collection of Role - * @param namespace object name and auth scope, such as for teams and projects + * delete a DeviceClass + * @param name name of the DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedRole(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedRole(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteDeviceClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteDeviceClass(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * delete collection of RoleBinding + * delete a ResourceClaim + * @param name name of the ResourceClaim * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedRoleBindingWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedRoleBindingWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteNamespacedResourceClaimWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedResourceClaimWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * delete collection of RoleBinding + * delete a ResourceClaim + * @param name name of the ResourceClaim * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedRoleBinding(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedRoleBinding(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteNamespacedResourceClaim(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedResourceClaim(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * delete a Role - * @param name name of the Role + * delete a ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedRoleWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedRoleWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedResourceClaimTemplateWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * delete a Role - * @param name name of the Role + * delete a ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedRole(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedRole(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedResourceClaimTemplate(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedResourceClaimTemplate(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * delete a RoleBinding - * @param name name of the RoleBinding - * @param namespace object name and auth scope, such as for teams and projects + * delete a ResourceSlice + * @param name name of the ResourceSlice * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedRoleBindingWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedRoleBindingWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteResourceSliceWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteResourceSliceWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * delete a RoleBinding - * @param name name of the RoleBinding - * @param namespace object name and auth scope, such as for teams and projects + * delete a ResourceSlice + * @param name name of the ResourceSlice * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedRoleBinding(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedRoleBinding(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteResourceSlice(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteResourceSlice(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -20474,45 +21381,7 @@ export class PromiseRbacAuthorizationV1Api { } /** - * list or watch objects of kind ClusterRole - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - */ - public listClusterRoleWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { - const result = this.api.listClusterRoleWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); - return result.toPromise(); - } - - /** - * list or watch objects of kind ClusterRole - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - */ - public listClusterRole(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listClusterRole(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); - return result.toPromise(); - } - - /** - * list or watch objects of kind ClusterRoleBinding + * list or watch objects of kind DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -20525,13 +21394,13 @@ export class PromiseRbacAuthorizationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listClusterRoleBindingWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { - const result = this.api.listClusterRoleBindingWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listDeviceClassWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listDeviceClassWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind ClusterRoleBinding + * list or watch objects of kind DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -20544,13 +21413,13 @@ export class PromiseRbacAuthorizationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listClusterRoleBinding(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listClusterRoleBinding(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listDeviceClass(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listDeviceClass(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind Role + * list or watch objects of kind ResourceClaim * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. @@ -20564,13 +21433,13 @@ export class PromiseRbacAuthorizationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listNamespacedRoleWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { - const result = this.api.listNamespacedRoleWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listNamespacedResourceClaimWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listNamespacedResourceClaimWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind Role + * list or watch objects of kind ResourceClaim * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. @@ -20584,13 +21453,13 @@ export class PromiseRbacAuthorizationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listNamespacedRole(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listNamespacedRole(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listNamespacedResourceClaim(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listNamespacedResourceClaim(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind RoleBinding + * list or watch objects of kind ResourceClaimTemplate * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. @@ -20604,13 +21473,13 @@ export class PromiseRbacAuthorizationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listNamespacedRoleBindingWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { - const result = this.api.listNamespacedRoleBindingWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listNamespacedResourceClaimTemplateWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listNamespacedResourceClaimTemplateWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind RoleBinding + * list or watch objects of kind ResourceClaimTemplate * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. @@ -20624,13 +21493,13 @@ export class PromiseRbacAuthorizationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listNamespacedRoleBinding(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listNamespacedRoleBinding(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listNamespacedResourceClaimTemplate(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listNamespacedResourceClaimTemplate(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind RoleBinding + * list or watch objects of kind ResourceClaim * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -20643,13 +21512,13 @@ export class PromiseRbacAuthorizationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listRoleBindingForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { - const result = this.api.listRoleBindingForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listResourceClaimForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listResourceClaimForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind RoleBinding + * list or watch objects of kind ResourceClaim * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -20662,13 +21531,13 @@ export class PromiseRbacAuthorizationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listRoleBindingForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listRoleBindingForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listResourceClaimForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listResourceClaimForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind Role + * list or watch objects of kind ResourceClaimTemplate * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -20681,13 +21550,13 @@ export class PromiseRbacAuthorizationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listRoleForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { - const result = this.api.listRoleForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listResourceClaimTemplateForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listResourceClaimTemplateForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind Role + * list or watch objects of kind ResourceClaimTemplate * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -20700,475 +21569,342 @@ export class PromiseRbacAuthorizationV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listRoleForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listRoleForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); - return result.toPromise(); - } - - /** - * partially update the specified ClusterRole - * @param name name of the ClusterRole - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchClusterRoleWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { - const result = this.api.patchClusterRoleWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); - return result.toPromise(); - } - - /** - * partially update the specified ClusterRole - * @param name name of the ClusterRole - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchClusterRole(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { - const result = this.api.patchClusterRole(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); - return result.toPromise(); - } - - /** - * partially update the specified ClusterRoleBinding - * @param name name of the ClusterRoleBinding - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchClusterRoleBindingWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { - const result = this.api.patchClusterRoleBindingWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); - return result.toPromise(); - } - - /** - * partially update the specified ClusterRoleBinding - * @param name name of the ClusterRoleBinding - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchClusterRoleBinding(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { - const result = this.api.patchClusterRoleBinding(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); - return result.toPromise(); - } - - /** - * partially update the specified Role - * @param name name of the Role - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchNamespacedRoleWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { - const result = this.api.patchNamespacedRoleWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); - return result.toPromise(); - } - - /** - * partially update the specified Role - * @param name name of the Role - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchNamespacedRole(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { - const result = this.api.patchNamespacedRole(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); - return result.toPromise(); - } - - /** - * partially update the specified RoleBinding - * @param name name of the RoleBinding - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchNamespacedRoleBindingWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { - const result = this.api.patchNamespacedRoleBindingWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); - return result.toPromise(); - } - - /** - * partially update the specified RoleBinding - * @param name name of the RoleBinding - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchNamespacedRoleBinding(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { - const result = this.api.patchNamespacedRoleBinding(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); - return result.toPromise(); - } - - /** - * read the specified ClusterRole - * @param name name of the ClusterRole - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readClusterRoleWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { - const result = this.api.readClusterRoleWithHttpInfo(name, pretty, _options); + public listResourceClaimTemplateForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listResourceClaimTemplateForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * read the specified ClusterRole - * @param name name of the ClusterRole + * list or watch objects of kind ResourceSlice * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public readClusterRole(name: string, pretty?: string, _options?: Configuration): Promise { - const result = this.api.readClusterRole(name, pretty, _options); + public listResourceSliceWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listResourceSliceWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * read the specified ClusterRoleBinding - * @param name name of the ClusterRoleBinding + * list or watch objects of kind ResourceSlice * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public readClusterRoleBindingWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { - const result = this.api.readClusterRoleBindingWithHttpInfo(name, pretty, _options); + public listResourceSlice(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listResourceSlice(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * read the specified ClusterRoleBinding - * @param name name of the ClusterRoleBinding + * partially update the specified DeviceClass + * @param name name of the DeviceClass + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public readClusterRoleBinding(name: string, pretty?: string, _options?: Configuration): Promise { - const result = this.api.readClusterRoleBinding(name, pretty, _options); + public patchDeviceClassWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + const result = this.api.patchDeviceClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } /** - * read the specified Role - * @param name name of the Role - * @param namespace object name and auth scope, such as for teams and projects + * partially update the specified DeviceClass + * @param name name of the DeviceClass + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public readNamespacedRoleWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise> { - const result = this.api.readNamespacedRoleWithHttpInfo(name, namespace, pretty, _options); + public patchDeviceClass(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + const result = this.api.patchDeviceClass(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } /** - * read the specified Role - * @param name name of the Role + * partially update the specified ResourceClaim + * @param name name of the ResourceClaim * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public readNamespacedRole(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { - const result = this.api.readNamespacedRole(name, namespace, pretty, _options); + public patchNamespacedResourceClaimWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + const result = this.api.patchNamespacedResourceClaimWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } /** - * read the specified RoleBinding - * @param name name of the RoleBinding + * partially update the specified ResourceClaim + * @param name name of the ResourceClaim * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public readNamespacedRoleBindingWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise> { - const result = this.api.readNamespacedRoleBindingWithHttpInfo(name, namespace, pretty, _options); + public patchNamespacedResourceClaim(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + const result = this.api.patchNamespacedResourceClaim(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } /** - * read the specified RoleBinding - * @param name name of the RoleBinding + * partially update status of the specified ResourceClaim + * @param name name of the ResourceClaim * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public readNamespacedRoleBinding(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { - const result = this.api.readNamespacedRoleBinding(name, namespace, pretty, _options); + public patchNamespacedResourceClaimStatusWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + const result = this.api.patchNamespacedResourceClaimStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } /** - * replace the specified ClusterRole - * @param name name of the ClusterRole + * partially update status of the specified ResourceClaim + * @param name name of the ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public replaceClusterRoleWithHttpInfo(name: string, body: V1ClusterRole, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replaceClusterRoleWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public patchNamespacedResourceClaimStatus(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + const result = this.api.patchNamespacedResourceClaimStatus(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } /** - * replace the specified ClusterRole - * @param name name of the ClusterRole + * partially update the specified ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public replaceClusterRole(name: string, body: V1ClusterRole, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replaceClusterRole(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public patchNamespacedResourceClaimTemplateWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + const result = this.api.patchNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } /** - * replace the specified ClusterRoleBinding - * @param name name of the ClusterRoleBinding + * partially update the specified ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public replaceClusterRoleBindingWithHttpInfo(name: string, body: V1ClusterRoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replaceClusterRoleBindingWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public patchNamespacedResourceClaimTemplate(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + const result = this.api.patchNamespacedResourceClaimTemplate(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } /** - * replace the specified ClusterRoleBinding - * @param name name of the ClusterRoleBinding + * partially update the specified ResourceSlice + * @param name name of the ResourceSlice * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public replaceClusterRoleBinding(name: string, body: V1ClusterRoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replaceClusterRoleBinding(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public patchResourceSliceWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + const result = this.api.patchResourceSliceWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } /** - * replace the specified Role - * @param name name of the Role - * @param namespace object name and auth scope, such as for teams and projects + * partially update the specified ResourceSlice + * @param name name of the ResourceSlice * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public replaceNamespacedRoleWithHttpInfo(name: string, namespace: string, body: V1Role, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replaceNamespacedRoleWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public patchResourceSlice(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + const result = this.api.patchResourceSlice(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } /** - * replace the specified Role - * @param name name of the Role - * @param namespace object name and auth scope, such as for teams and projects - * @param body + * read the specified DeviceClass + * @param name name of the DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedRole(name: string, namespace: string, body: V1Role, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replaceNamespacedRole(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public readDeviceClassWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { + const result = this.api.readDeviceClassWithHttpInfo(name, pretty, _options); return result.toPromise(); } /** - * replace the specified RoleBinding - * @param name name of the RoleBinding - * @param namespace object name and auth scope, such as for teams and projects - * @param body + * read the specified DeviceClass + * @param name name of the DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedRoleBindingWithHttpInfo(name: string, namespace: string, body: V1RoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replaceNamespacedRoleBindingWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public readDeviceClass(name: string, pretty?: string, _options?: Configuration): Promise { + const result = this.api.readDeviceClass(name, pretty, _options); return result.toPromise(); } /** - * replace the specified RoleBinding - * @param name name of the RoleBinding + * read the specified ResourceClaim + * @param name name of the ResourceClaim * @param namespace object name and auth scope, such as for teams and projects - * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedRoleBinding(name: string, namespace: string, body: V1RoleBinding, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replaceNamespacedRoleBinding(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public readNamespacedResourceClaimWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise> { + const result = this.api.readNamespacedResourceClaimWithHttpInfo(name, namespace, pretty, _options); return result.toPromise(); } - -} - - - -import { ObservableResourceApi } from './ObservableAPI.js'; - -import { ResourceApiRequestFactory, ResourceApiResponseProcessor} from "../apis/ResourceApi.js"; -export class PromiseResourceApi { - private api: ObservableResourceApi - - public constructor( - configuration: Configuration, - requestFactory?: ResourceApiRequestFactory, - responseProcessor?: ResourceApiResponseProcessor - ) { - this.api = new ObservableResourceApi(configuration, requestFactory, responseProcessor); - } - /** - * get information of a group + * read the specified ResourceClaim + * @param name name of the ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public getAPIGroupWithHttpInfo(_options?: Configuration): Promise> { - const result = this.api.getAPIGroupWithHttpInfo(_options); + public readNamespacedResourceClaim(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { + const result = this.api.readNamespacedResourceClaim(name, namespace, pretty, _options); return result.toPromise(); } /** - * get information of a group + * read status of the specified ResourceClaim + * @param name name of the ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public getAPIGroup(_options?: Configuration): Promise { - const result = this.api.getAPIGroup(_options); + public readNamespacedResourceClaimStatusWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise> { + const result = this.api.readNamespacedResourceClaimStatusWithHttpInfo(name, namespace, pretty, _options); return result.toPromise(); } - -} - - - -import { ObservableResourceV1alpha2Api } from './ObservableAPI.js'; - -import { ResourceV1alpha2ApiRequestFactory, ResourceV1alpha2ApiResponseProcessor} from "../apis/ResourceV1alpha2Api.js"; -export class PromiseResourceV1alpha2Api { - private api: ObservableResourceV1alpha2Api - - public constructor( - configuration: Configuration, - requestFactory?: ResourceV1alpha2ApiRequestFactory, - responseProcessor?: ResourceV1alpha2ApiResponseProcessor - ) { - this.api = new ObservableResourceV1alpha2Api(configuration, requestFactory, responseProcessor); + /** + * read status of the specified ResourceClaim + * @param name name of the ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readNamespacedResourceClaimStatus(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { + const result = this.api.readNamespacedResourceClaimStatus(name, namespace, pretty, _options); + return result.toPromise(); } /** - * create a PodSchedulingContext + * read the specified ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate * @param namespace object name and auth scope, such as for teams and projects - * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedPodSchedulingContextWithHttpInfo(namespace: string, body: V1alpha2PodSchedulingContext, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.createNamespacedPodSchedulingContextWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public readNamespacedResourceClaimTemplateWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise> { + const result = this.api.readNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, pretty, _options); return result.toPromise(); } /** - * create a PodSchedulingContext + * read the specified ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate * @param namespace object name and auth scope, such as for teams and projects - * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedPodSchedulingContext(namespace: string, body: V1alpha2PodSchedulingContext, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.createNamespacedPodSchedulingContext(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public readNamespacedResourceClaimTemplate(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { + const result = this.api.readNamespacedResourceClaimTemplate(name, namespace, pretty, _options); return result.toPromise(); } /** - * create a ResourceClaim - * @param namespace object name and auth scope, such as for teams and projects - * @param body + * read the specified ResourceSlice + * @param name name of the ResourceSlice * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedResourceClaimWithHttpInfo(namespace: string, body: V1alpha2ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.createNamespacedResourceClaimWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public readResourceSliceWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { + const result = this.api.readResourceSliceWithHttpInfo(name, pretty, _options); return result.toPromise(); } /** - * create a ResourceClaim - * @param namespace object name and auth scope, such as for teams and projects - * @param body + * read the specified ResourceSlice + * @param name name of the ResourceSlice * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedResourceClaim(namespace: string, body: V1alpha2ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.createNamespacedResourceClaim(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public readResourceSlice(name: string, pretty?: string, _options?: Configuration): Promise { + const result = this.api.readResourceSlice(name, pretty, _options); return result.toPromise(); } /** - * create ResourceClaimParameters - * @param namespace object name and auth scope, such as for teams and projects + * replace the specified DeviceClass + * @param name name of the DeviceClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedResourceClaimParametersWithHttpInfo(namespace: string, body: V1alpha2ResourceClaimParameters, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.createNamespacedResourceClaimParametersWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceDeviceClassWithHttpInfo(name: string, body: V1alpha3DeviceClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceDeviceClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * create ResourceClaimParameters - * @param namespace object name and auth scope, such as for teams and projects + * replace the specified DeviceClass + * @param name name of the DeviceClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedResourceClaimParameters(namespace: string, body: V1alpha2ResourceClaimParameters, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.createNamespacedResourceClaimParameters(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceDeviceClass(name: string, body: V1alpha3DeviceClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceDeviceClass(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * create a ResourceClaimTemplate + * replace the specified ResourceClaim + * @param name name of the ResourceClaim * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -21176,13 +21912,14 @@ export class PromiseResourceV1alpha2Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedResourceClaimTemplateWithHttpInfo(namespace: string, body: V1alpha2ResourceClaimTemplate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.createNamespacedResourceClaimTemplateWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceNamespacedResourceClaimWithHttpInfo(name: string, namespace: string, body: V1alpha3ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceNamespacedResourceClaimWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * create a ResourceClaimTemplate + * replace the specified ResourceClaim + * @param name name of the ResourceClaim * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -21190,13 +21927,14 @@ export class PromiseResourceV1alpha2Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedResourceClaimTemplate(namespace: string, body: V1alpha2ResourceClaimTemplate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.createNamespacedResourceClaimTemplate(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceNamespacedResourceClaim(name: string, namespace: string, body: V1alpha3ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceNamespacedResourceClaim(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * create ResourceClassParameters + * replace status of the specified ResourceClaim + * @param name name of the ResourceClaim * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -21204,13 +21942,14 @@ export class PromiseResourceV1alpha2Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedResourceClassParametersWithHttpInfo(namespace: string, body: V1alpha2ResourceClassParameters, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.createNamespacedResourceClassParametersWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceNamespacedResourceClaimStatusWithHttpInfo(name: string, namespace: string, body: V1alpha3ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceNamespacedResourceClaimStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * create ResourceClassParameters + * replace status of the specified ResourceClaim + * @param name name of the ResourceClaim * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -21218,278 +21957,204 @@ export class PromiseResourceV1alpha2Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createNamespacedResourceClassParameters(namespace: string, body: V1alpha2ResourceClassParameters, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.createNamespacedResourceClassParameters(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceNamespacedResourceClaimStatus(name: string, namespace: string, body: V1alpha3ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceNamespacedResourceClaimStatus(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * create a ResourceClass + * replace the specified ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createResourceClassWithHttpInfo(body: V1alpha2ResourceClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.createResourceClassWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceNamespacedResourceClaimTemplateWithHttpInfo(name: string, namespace: string, body: V1alpha3ResourceClaimTemplate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * create a ResourceClass + * replace the specified ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createResourceClass(body: V1alpha2ResourceClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.createResourceClass(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceNamespacedResourceClaimTemplate(name: string, namespace: string, body: V1alpha3ResourceClaimTemplate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceNamespacedResourceClaimTemplate(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * create a ResourceSlice + * replace the specified ResourceSlice + * @param name name of the ResourceSlice * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createResourceSliceWithHttpInfo(body: V1alpha2ResourceSlice, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.createResourceSliceWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceResourceSliceWithHttpInfo(name: string, body: V1alpha3ResourceSlice, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceResourceSliceWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * create a ResourceSlice + * replace the specified ResourceSlice + * @param name name of the ResourceSlice * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public createResourceSlice(body: V1alpha2ResourceSlice, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.createResourceSlice(body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceResourceSlice(name: string, body: V1alpha3ResourceSlice, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceResourceSlice(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } - /** - * delete collection of PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] - */ - public deleteCollectionNamespacedPodSchedulingContextWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedPodSchedulingContextWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); - return result.toPromise(); + +} + + + +import { ObservableResourceV1beta1Api } from './ObservableAPI'; + +import { ResourceV1beta1ApiRequestFactory, ResourceV1beta1ApiResponseProcessor} from "../apis/ResourceV1beta1Api"; +export class PromiseResourceV1beta1Api { + private api: ObservableResourceV1beta1Api + + public constructor( + configuration: Configuration, + requestFactory?: ResourceV1beta1ApiRequestFactory, + responseProcessor?: ResourceV1beta1ApiResponseProcessor + ) { + this.api = new ObservableResourceV1beta1Api(configuration, requestFactory, responseProcessor); } /** - * delete collection of PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects + * create a DeviceClass + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public deleteCollectionNamespacedPodSchedulingContext(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedPodSchedulingContext(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public createDeviceClassWithHttpInfo(body: V1beta1DeviceClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.createDeviceClassWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * delete collection of ResourceClaim - * @param namespace object name and auth scope, such as for teams and projects + * create a DeviceClass + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public deleteCollectionNamespacedResourceClaimWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedResourceClaimWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public createDeviceClass(body: V1beta1DeviceClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.createDeviceClass(body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * delete collection of ResourceClaim + * create a ResourceClaim * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public deleteCollectionNamespacedResourceClaim(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedResourceClaim(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public createNamespacedResourceClaimWithHttpInfo(namespace: string, body: V1beta1ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.createNamespacedResourceClaimWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * delete collection of ResourceClaimParameters + * create a ResourceClaim * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public deleteCollectionNamespacedResourceClaimParametersWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedResourceClaimParametersWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public createNamespacedResourceClaim(namespace: string, body: V1beta1ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.createNamespacedResourceClaim(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * delete collection of ResourceClaimParameters + * create a ResourceClaimTemplate * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public deleteCollectionNamespacedResourceClaimParameters(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedResourceClaimParameters(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public createNamespacedResourceClaimTemplateWithHttpInfo(namespace: string, body: V1beta1ResourceClaimTemplate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.createNamespacedResourceClaimTemplateWithHttpInfo(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * delete collection of ResourceClaimTemplate + * create a ResourceClaimTemplate * @param namespace object name and auth scope, such as for teams and projects + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public deleteCollectionNamespacedResourceClaimTemplateWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedResourceClaimTemplateWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public createNamespacedResourceClaimTemplate(namespace: string, body: V1beta1ResourceClaimTemplate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.createNamespacedResourceClaimTemplate(namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * delete collection of ResourceClaimTemplate - * @param namespace object name and auth scope, such as for teams and projects + * create a ResourceSlice + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public deleteCollectionNamespacedResourceClaimTemplate(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedResourceClaimTemplate(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public createResourceSliceWithHttpInfo(body: V1beta1ResourceSlice, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.createResourceSliceWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * delete collection of ResourceClassParameters - * @param namespace object name and auth scope, such as for teams and projects + * create a ResourceSlice + * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public deleteCollectionNamespacedResourceClassParametersWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedResourceClassParametersWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public createResourceSlice(body: V1beta1ResourceSlice, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.createResourceSlice(body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * delete collection of ResourceClassParameters - * @param namespace object name and auth scope, such as for teams and projects + * delete collection of DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -21500,18 +22165,19 @@ export class PromiseResourceV1alpha2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedResourceClassParameters(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedResourceClassParameters(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionDeviceClassWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionDeviceClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * delete collection of ResourceClass + * delete collection of DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -21522,18 +22188,20 @@ export class PromiseResourceV1alpha2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionResourceClassWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionResourceClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionDeviceClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionDeviceClass(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * delete collection of ResourceClass + * delete collection of ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -21544,18 +22212,20 @@ export class PromiseResourceV1alpha2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionResourceClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionResourceClass(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedResourceClaimWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedResourceClaimWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * delete collection of ResourceSlice + * delete collection of ResourceClaim + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -21566,220 +22236,202 @@ export class PromiseResourceV1alpha2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionResourceSliceWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionResourceSliceWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedResourceClaim(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedResourceClaim(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * delete collection of ResourceSlice + * delete collection of ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [body] - */ - public deleteCollectionResourceSlice(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionResourceSlice(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); - return result.toPromise(); - } - - /** - * delete a PodSchedulingContext - * @param name name of the PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [body] - */ - public deleteNamespacedPodSchedulingContextWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedPodSchedulingContextWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); - return result.toPromise(); - } - - /** - * delete a PodSchedulingContext - * @param name name of the PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. - * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. - * @param [body] - */ - public deleteNamespacedPodSchedulingContext(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedPodSchedulingContext(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); - return result.toPromise(); - } - - /** - * delete a ResourceClaim - * @param name name of the ResourceClaim - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteNamespacedResourceClaimWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedResourceClaimWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteCollectionNamespacedResourceClaimTemplateWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedResourceClaimTemplateWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * delete a ResourceClaim - * @param name name of the ResourceClaim + * delete collection of ResourceClaimTemplate * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteNamespacedResourceClaim(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedResourceClaim(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteCollectionNamespacedResourceClaimTemplate(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedResourceClaimTemplate(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * delete ResourceClaimParameters - * @param name name of the ResourceClaimParameters - * @param namespace object name and auth scope, such as for teams and projects + * delete collection of ResourceSlice * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteNamespacedResourceClaimParametersWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedResourceClaimParametersWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteCollectionResourceSliceWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionResourceSliceWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * delete ResourceClaimParameters - * @param name name of the ResourceClaimParameters - * @param namespace object name and auth scope, such as for teams and projects + * delete collection of ResourceSlice * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteNamespacedResourceClaimParameters(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedResourceClaimParameters(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteCollectionResourceSlice(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionResourceSlice(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } /** - * delete a ResourceClaimTemplate - * @param name name of the ResourceClaimTemplate - * @param namespace object name and auth scope, such as for teams and projects + * delete a DeviceClass + * @param name name of the DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedResourceClaimTemplateWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteDeviceClassWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteDeviceClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * delete a ResourceClaimTemplate - * @param name name of the ResourceClaimTemplate - * @param namespace object name and auth scope, such as for teams and projects + * delete a DeviceClass + * @param name name of the DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedResourceClaimTemplate(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedResourceClaimTemplate(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteDeviceClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteDeviceClass(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * delete ResourceClassParameters - * @param name name of the ResourceClassParameters + * delete a ResourceClaim + * @param name name of the ResourceClaim * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedResourceClassParametersWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedResourceClassParametersWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedResourceClaimWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedResourceClaimWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * delete ResourceClassParameters - * @param name name of the ResourceClassParameters + * delete a ResourceClaim + * @param name name of the ResourceClaim * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedResourceClassParameters(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedResourceClassParameters(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedResourceClaim(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedResourceClaim(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * delete a ResourceClass - * @param name name of the ResourceClass + * delete a ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteResourceClassWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteResourceClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedResourceClaimTemplateWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } /** - * delete a ResourceClass - * @param name name of the ResourceClass + * delete a ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteResourceClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteResourceClass(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedResourceClaimTemplate(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedResourceClaimTemplate(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -21789,12 +22441,13 @@ export class PromiseResourceV1alpha2Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteResourceSliceWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteResourceSliceWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteResourceSliceWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteResourceSliceWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -21804,12 +22457,13 @@ export class PromiseResourceV1alpha2Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteResourceSlice(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteResourceSlice(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteResourceSlice(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteResourceSlice(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -21830,8 +22484,7 @@ export class PromiseResourceV1alpha2Api { } /** - * list or watch objects of kind PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects + * list or watch objects of kind DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -21844,14 +22497,13 @@ export class PromiseResourceV1alpha2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listNamespacedPodSchedulingContextWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { - const result = this.api.listNamespacedPodSchedulingContextWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listDeviceClassWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listDeviceClassWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects + * list or watch objects of kind DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. @@ -21864,8 +22516,8 @@ export class PromiseResourceV1alpha2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listNamespacedPodSchedulingContext(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listNamespacedPodSchedulingContext(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listDeviceClass(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listDeviceClass(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } @@ -21884,7 +22536,7 @@ export class PromiseResourceV1alpha2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listNamespacedResourceClaimWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + public listNamespacedResourceClaimWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { const result = this.api.listNamespacedResourceClaimWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } @@ -21904,51 +22556,11 @@ export class PromiseResourceV1alpha2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listNamespacedResourceClaim(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + public listNamespacedResourceClaim(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { const result = this.api.listNamespacedResourceClaim(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } - /** - * list or watch objects of kind ResourceClaimParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - */ - public listNamespacedResourceClaimParametersWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { - const result = this.api.listNamespacedResourceClaimParametersWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); - return result.toPromise(); - } - - /** - * list or watch objects of kind ResourceClaimParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - */ - public listNamespacedResourceClaimParameters(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listNamespacedResourceClaimParameters(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); - return result.toPromise(); - } - /** * list or watch objects of kind ResourceClaimTemplate * @param namespace object name and auth scope, such as for teams and projects @@ -21964,7 +22576,7 @@ export class PromiseResourceV1alpha2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listNamespacedResourceClaimTemplateWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + public listNamespacedResourceClaimTemplateWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { const result = this.api.listNamespacedResourceClaimTemplateWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } @@ -21984,89 +22596,11 @@ export class PromiseResourceV1alpha2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listNamespacedResourceClaimTemplate(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + public listNamespacedResourceClaimTemplate(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { const result = this.api.listNamespacedResourceClaimTemplate(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } - /** - * list or watch objects of kind ResourceClassParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - */ - public listNamespacedResourceClassParametersWithHttpInfo(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { - const result = this.api.listNamespacedResourceClassParametersWithHttpInfo(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); - return result.toPromise(); - } - - /** - * list or watch objects of kind ResourceClassParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - */ - public listNamespacedResourceClassParameters(namespace: string, pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listNamespacedResourceClassParameters(namespace, pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); - return result.toPromise(); - } - - /** - * list or watch objects of kind PodSchedulingContext - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - */ - public listPodSchedulingContextForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { - const result = this.api.listPodSchedulingContextForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); - return result.toPromise(); - } - - /** - * list or watch objects of kind PodSchedulingContext - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - */ - public listPodSchedulingContextForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listPodSchedulingContextForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); - return result.toPromise(); - } - /** * list or watch objects of kind ResourceClaim * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. @@ -22081,7 +22615,7 @@ export class PromiseResourceV1alpha2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listResourceClaimForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + public listResourceClaimForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { const result = this.api.listResourceClaimForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } @@ -22093,134 +22627,20 @@ export class PromiseResourceV1alpha2Api { * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - */ - public listResourceClaimForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listResourceClaimForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); - return result.toPromise(); - } - - /** - * list or watch objects of kind ResourceClaimParameters - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - */ - public listResourceClaimParametersForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { - const result = this.api.listResourceClaimParametersForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); - return result.toPromise(); - } - - /** - * list or watch objects of kind ResourceClaimParameters - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - */ - public listResourceClaimParametersForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listResourceClaimParametersForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); - return result.toPromise(); - } - - /** - * list or watch objects of kind ResourceClaimTemplate - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - */ - public listResourceClaimTemplateForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { - const result = this.api.listResourceClaimTemplateForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); - return result.toPromise(); - } - - /** - * list or watch objects of kind ResourceClaimTemplate - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - */ - public listResourceClaimTemplateForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listResourceClaimTemplateForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); - return result.toPromise(); - } - - /** - * list or watch objects of kind ResourceClass - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset - * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. - * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - */ - public listResourceClassWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { - const result = this.api.listResourceClassWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); - return result.toPromise(); - } - - /** - * list or watch objects of kind ResourceClass - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. - * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. - * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. - * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listResourceClass(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listResourceClass(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listResourceClaimForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listResourceClaimForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind ResourceClassParameters + * list or watch objects of kind ResourceClaimTemplate * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -22233,13 +22653,13 @@ export class PromiseResourceV1alpha2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listResourceClassParametersForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { - const result = this.api.listResourceClassParametersForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listResourceClaimTemplateForAllNamespacesWithHttpInfo(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listResourceClaimTemplateForAllNamespacesWithHttpInfo(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * list or watch objects of kind ResourceClassParameters + * list or watch objects of kind ResourceClaimTemplate * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. @@ -22252,8 +22672,8 @@ export class PromiseResourceV1alpha2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listResourceClassParametersForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { - const result = this.api.listResourceClassParametersForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + public listResourceClaimTemplateForAllNamespaces(allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, pretty?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listResourceClaimTemplateForAllNamespaces(allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, pretty, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } @@ -22271,7 +22691,7 @@ export class PromiseResourceV1alpha2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listResourceSliceWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + public listResourceSliceWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { const result = this.api.listResourceSliceWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } @@ -22290,47 +22710,14 @@ export class PromiseResourceV1alpha2Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */ - public listResourceSlice(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + public listResourceSlice(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { const result = this.api.listResourceSlice(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); return result.toPromise(); } /** - * partially update the specified PodSchedulingContext - * @param name name of the PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchNamespacedPodSchedulingContextWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { - const result = this.api.patchNamespacedPodSchedulingContextWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); - return result.toPromise(); - } - - /** - * partially update the specified PodSchedulingContext - * @param name name of the PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchNamespacedPodSchedulingContext(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { - const result = this.api.patchNamespacedPodSchedulingContext(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); - return result.toPromise(); - } - - /** - * partially update status of the specified PodSchedulingContext - * @param name name of the PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects + * partially update the specified DeviceClass + * @param name name of the DeviceClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -22338,15 +22725,14 @@ export class PromiseResourceV1alpha2Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedPodSchedulingContextStatusWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { - const result = this.api.patchNamespacedPodSchedulingContextStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public patchDeviceClassWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + const result = this.api.patchDeviceClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } /** - * partially update status of the specified PodSchedulingContext - * @param name name of the PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects + * partially update the specified DeviceClass + * @param name name of the DeviceClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed @@ -22354,8 +22740,8 @@ export class PromiseResourceV1alpha2Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedPodSchedulingContextStatus(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { - const result = this.api.patchNamespacedPodSchedulingContextStatus(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + public patchDeviceClass(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + const result = this.api.patchDeviceClass(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } @@ -22370,7 +22756,7 @@ export class PromiseResourceV1alpha2Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedResourceClaimWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + public patchNamespacedResourceClaimWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { const result = this.api.patchNamespacedResourceClaimWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } @@ -22386,43 +22772,11 @@ export class PromiseResourceV1alpha2Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedResourceClaim(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + public patchNamespacedResourceClaim(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { const result = this.api.patchNamespacedResourceClaim(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } - /** - * partially update the specified ResourceClaimParameters - * @param name name of the ResourceClaimParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchNamespacedResourceClaimParametersWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { - const result = this.api.patchNamespacedResourceClaimParametersWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); - return result.toPromise(); - } - - /** - * partially update the specified ResourceClaimParameters - * @param name name of the ResourceClaimParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchNamespacedResourceClaimParameters(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { - const result = this.api.patchNamespacedResourceClaimParameters(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); - return result.toPromise(); - } - /** * partially update status of the specified ResourceClaim * @param name name of the ResourceClaim @@ -22434,7 +22788,7 @@ export class PromiseResourceV1alpha2Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedResourceClaimStatusWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + public patchNamespacedResourceClaimStatusWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { const result = this.api.patchNamespacedResourceClaimStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } @@ -22450,7 +22804,7 @@ export class PromiseResourceV1alpha2Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedResourceClaimStatus(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + public patchNamespacedResourceClaimStatus(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { const result = this.api.patchNamespacedResourceClaimStatus(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } @@ -22466,7 +22820,7 @@ export class PromiseResourceV1alpha2Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedResourceClaimTemplateWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + public patchNamespacedResourceClaimTemplateWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { const result = this.api.patchNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } @@ -22482,73 +22836,11 @@ export class PromiseResourceV1alpha2Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchNamespacedResourceClaimTemplate(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + public patchNamespacedResourceClaimTemplate(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { const result = this.api.patchNamespacedResourceClaimTemplate(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } - /** - * partially update the specified ResourceClassParameters - * @param name name of the ResourceClassParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchNamespacedResourceClassParametersWithHttpInfo(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { - const result = this.api.patchNamespacedResourceClassParametersWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); - return result.toPromise(); - } - - /** - * partially update the specified ResourceClassParameters - * @param name name of the ResourceClassParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchNamespacedResourceClassParameters(name: string, namespace: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { - const result = this.api.patchNamespacedResourceClassParameters(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); - return result.toPromise(); - } - - /** - * partially update the specified ResourceClass - * @param name name of the ResourceClass - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchResourceClassWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { - const result = this.api.patchResourceClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); - return result.toPromise(); - } - - /** - * partially update the specified ResourceClass - * @param name name of the ResourceClass - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. - */ - public patchResourceClass(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { - const result = this.api.patchResourceClass(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); - return result.toPromise(); - } - /** * partially update the specified ResourceSlice * @param name name of the ResourceSlice @@ -22559,7 +22851,7 @@ export class PromiseResourceV1alpha2Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchResourceSliceWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + public patchResourceSliceWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { const result = this.api.patchResourceSliceWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } @@ -22574,52 +22866,28 @@ export class PromiseResourceV1alpha2Api { * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. */ - public patchResourceSlice(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + public patchResourceSlice(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { const result = this.api.patchResourceSlice(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); return result.toPromise(); } /** - * read the specified PodSchedulingContext - * @param name name of the PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readNamespacedPodSchedulingContextWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise> { - const result = this.api.readNamespacedPodSchedulingContextWithHttpInfo(name, namespace, pretty, _options); - return result.toPromise(); - } - - /** - * read the specified PodSchedulingContext - * @param name name of the PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readNamespacedPodSchedulingContext(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { - const result = this.api.readNamespacedPodSchedulingContext(name, namespace, pretty, _options); - return result.toPromise(); - } - - /** - * read status of the specified PodSchedulingContext - * @param name name of the PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects + * read the specified DeviceClass + * @param name name of the DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readNamespacedPodSchedulingContextStatusWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise> { - const result = this.api.readNamespacedPodSchedulingContextStatusWithHttpInfo(name, namespace, pretty, _options); + public readDeviceClassWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { + const result = this.api.readDeviceClassWithHttpInfo(name, pretty, _options); return result.toPromise(); } /** - * read status of the specified PodSchedulingContext - * @param name name of the PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects + * read the specified DeviceClass + * @param name name of the DeviceClass * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readNamespacedPodSchedulingContextStatus(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { - const result = this.api.readNamespacedPodSchedulingContextStatus(name, namespace, pretty, _options); + public readDeviceClass(name: string, pretty?: string, _options?: Configuration): Promise { + const result = this.api.readDeviceClass(name, pretty, _options); return result.toPromise(); } @@ -22629,7 +22897,7 @@ export class PromiseResourceV1alpha2Api { * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readNamespacedResourceClaimWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise> { + public readNamespacedResourceClaimWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise> { const result = this.api.readNamespacedResourceClaimWithHttpInfo(name, namespace, pretty, _options); return result.toPromise(); } @@ -22640,40 +22908,18 @@ export class PromiseResourceV1alpha2Api { * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readNamespacedResourceClaim(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { + public readNamespacedResourceClaim(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { const result = this.api.readNamespacedResourceClaim(name, namespace, pretty, _options); return result.toPromise(); } - /** - * read the specified ResourceClaimParameters - * @param name name of the ResourceClaimParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readNamespacedResourceClaimParametersWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise> { - const result = this.api.readNamespacedResourceClaimParametersWithHttpInfo(name, namespace, pretty, _options); - return result.toPromise(); - } - - /** - * read the specified ResourceClaimParameters - * @param name name of the ResourceClaimParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readNamespacedResourceClaimParameters(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { - const result = this.api.readNamespacedResourceClaimParameters(name, namespace, pretty, _options); - return result.toPromise(); - } - /** * read status of the specified ResourceClaim * @param name name of the ResourceClaim * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readNamespacedResourceClaimStatusWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise> { + public readNamespacedResourceClaimStatusWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise> { const result = this.api.readNamespacedResourceClaimStatusWithHttpInfo(name, namespace, pretty, _options); return result.toPromise(); } @@ -22684,7 +22930,7 @@ export class PromiseResourceV1alpha2Api { * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readNamespacedResourceClaimStatus(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { + public readNamespacedResourceClaimStatus(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { const result = this.api.readNamespacedResourceClaimStatus(name, namespace, pretty, _options); return result.toPromise(); } @@ -22695,7 +22941,7 @@ export class PromiseResourceV1alpha2Api { * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readNamespacedResourceClaimTemplateWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise> { + public readNamespacedResourceClaimTemplateWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise> { const result = this.api.readNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, pretty, _options); return result.toPromise(); } @@ -22706,59 +22952,17 @@ export class PromiseResourceV1alpha2Api { * @param namespace object name and auth scope, such as for teams and projects * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readNamespacedResourceClaimTemplate(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { + public readNamespacedResourceClaimTemplate(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { const result = this.api.readNamespacedResourceClaimTemplate(name, namespace, pretty, _options); return result.toPromise(); } - /** - * read the specified ResourceClassParameters - * @param name name of the ResourceClassParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readNamespacedResourceClassParametersWithHttpInfo(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise> { - const result = this.api.readNamespacedResourceClassParametersWithHttpInfo(name, namespace, pretty, _options); - return result.toPromise(); - } - - /** - * read the specified ResourceClassParameters - * @param name name of the ResourceClassParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readNamespacedResourceClassParameters(name: string, namespace: string, pretty?: string, _options?: Configuration): Promise { - const result = this.api.readNamespacedResourceClassParameters(name, namespace, pretty, _options); - return result.toPromise(); - } - - /** - * read the specified ResourceClass - * @param name name of the ResourceClass - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readResourceClassWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { - const result = this.api.readResourceClassWithHttpInfo(name, pretty, _options); - return result.toPromise(); - } - - /** - * read the specified ResourceClass - * @param name name of the ResourceClass - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - */ - public readResourceClass(name: string, pretty?: string, _options?: Configuration): Promise { - const result = this.api.readResourceClass(name, pretty, _options); - return result.toPromise(); - } - /** * read the specified ResourceSlice * @param name name of the ResourceSlice * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readResourceSliceWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { + public readResourceSliceWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { const result = this.api.readResourceSliceWithHttpInfo(name, pretty, _options); return result.toPromise(); } @@ -22768,164 +22972,42 @@ export class PromiseResourceV1alpha2Api { * @param name name of the ResourceSlice * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */ - public readResourceSlice(name: string, pretty?: string, _options?: Configuration): Promise { + public readResourceSlice(name: string, pretty?: string, _options?: Configuration): Promise { const result = this.api.readResourceSlice(name, pretty, _options); return result.toPromise(); } /** - * replace the specified PodSchedulingContext - * @param name name of the PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - */ - public replaceNamespacedPodSchedulingContextWithHttpInfo(name: string, namespace: string, body: V1alpha2PodSchedulingContext, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replaceNamespacedPodSchedulingContextWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); - return result.toPromise(); - } - - /** - * replace the specified PodSchedulingContext - * @param name name of the PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - */ - public replaceNamespacedPodSchedulingContext(name: string, namespace: string, body: V1alpha2PodSchedulingContext, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replaceNamespacedPodSchedulingContext(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); - return result.toPromise(); - } - - /** - * replace status of the specified PodSchedulingContext - * @param name name of the PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - */ - public replaceNamespacedPodSchedulingContextStatusWithHttpInfo(name: string, namespace: string, body: V1alpha2PodSchedulingContext, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replaceNamespacedPodSchedulingContextStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); - return result.toPromise(); - } - - /** - * replace status of the specified PodSchedulingContext - * @param name name of the PodSchedulingContext - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - */ - public replaceNamespacedPodSchedulingContextStatus(name: string, namespace: string, body: V1alpha2PodSchedulingContext, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replaceNamespacedPodSchedulingContextStatus(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); - return result.toPromise(); - } - - /** - * replace the specified ResourceClaim - * @param name name of the ResourceClaim - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - */ - public replaceNamespacedResourceClaimWithHttpInfo(name: string, namespace: string, body: V1alpha2ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replaceNamespacedResourceClaimWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); - return result.toPromise(); - } - - /** - * replace the specified ResourceClaim - * @param name name of the ResourceClaim - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - */ - public replaceNamespacedResourceClaim(name: string, namespace: string, body: V1alpha2ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replaceNamespacedResourceClaim(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); - return result.toPromise(); - } - - /** - * replace the specified ResourceClaimParameters - * @param name name of the ResourceClaimParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - */ - public replaceNamespacedResourceClaimParametersWithHttpInfo(name: string, namespace: string, body: V1alpha2ResourceClaimParameters, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replaceNamespacedResourceClaimParametersWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); - return result.toPromise(); - } - - /** - * replace the specified ResourceClaimParameters - * @param name name of the ResourceClaimParameters - * @param namespace object name and auth scope, such as for teams and projects - * @param body - * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). - * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. - * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. - */ - public replaceNamespacedResourceClaimParameters(name: string, namespace: string, body: V1alpha2ResourceClaimParameters, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replaceNamespacedResourceClaimParameters(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); - return result.toPromise(); - } - - /** - * replace status of the specified ResourceClaim - * @param name name of the ResourceClaim - * @param namespace object name and auth scope, such as for teams and projects + * replace the specified DeviceClass + * @param name name of the DeviceClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedResourceClaimStatusWithHttpInfo(name: string, namespace: string, body: V1alpha2ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replaceNamespacedResourceClaimStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceDeviceClassWithHttpInfo(name: string, body: V1beta1DeviceClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceDeviceClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * replace status of the specified ResourceClaim - * @param name name of the ResourceClaim - * @param namespace object name and auth scope, such as for teams and projects + * replace the specified DeviceClass + * @param name name of the DeviceClass * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedResourceClaimStatus(name: string, namespace: string, body: V1alpha2ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replaceNamespacedResourceClaimStatus(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceDeviceClass(name: string, body: V1beta1DeviceClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceDeviceClass(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * replace the specified ResourceClaimTemplate - * @param name name of the ResourceClaimTemplate + * replace the specified ResourceClaim + * @param name name of the ResourceClaim * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -22933,14 +23015,14 @@ export class PromiseResourceV1alpha2Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedResourceClaimTemplateWithHttpInfo(name: string, namespace: string, body: V1alpha2ResourceClaimTemplate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replaceNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceNamespacedResourceClaimWithHttpInfo(name: string, namespace: string, body: V1beta1ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceNamespacedResourceClaimWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * replace the specified ResourceClaimTemplate - * @param name name of the ResourceClaimTemplate + * replace the specified ResourceClaim + * @param name name of the ResourceClaim * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -22948,14 +23030,14 @@ export class PromiseResourceV1alpha2Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedResourceClaimTemplate(name: string, namespace: string, body: V1alpha2ResourceClaimTemplate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replaceNamespacedResourceClaimTemplate(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceNamespacedResourceClaim(name: string, namespace: string, body: V1beta1ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceNamespacedResourceClaim(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * replace the specified ResourceClassParameters - * @param name name of the ResourceClassParameters + * replace status of the specified ResourceClaim + * @param name name of the ResourceClaim * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -22963,14 +23045,14 @@ export class PromiseResourceV1alpha2Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedResourceClassParametersWithHttpInfo(name: string, namespace: string, body: V1alpha2ResourceClassParameters, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replaceNamespacedResourceClassParametersWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceNamespacedResourceClaimStatusWithHttpInfo(name: string, namespace: string, body: V1beta1ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceNamespacedResourceClaimStatusWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * replace the specified ResourceClassParameters - * @param name name of the ResourceClassParameters + * replace status of the specified ResourceClaim + * @param name name of the ResourceClaim * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). @@ -22978,36 +23060,38 @@ export class PromiseResourceV1alpha2Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceNamespacedResourceClassParameters(name: string, namespace: string, body: V1alpha2ResourceClassParameters, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replaceNamespacedResourceClassParameters(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceNamespacedResourceClaimStatus(name: string, namespace: string, body: V1beta1ResourceClaim, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceNamespacedResourceClaimStatus(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * replace the specified ResourceClass - * @param name name of the ResourceClass + * replace the specified ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceResourceClassWithHttpInfo(name: string, body: V1alpha2ResourceClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { - const result = this.api.replaceResourceClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceNamespacedResourceClaimTemplateWithHttpInfo(name: string, namespace: string, body: V1beta1ResourceClaimTemplate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceNamespacedResourceClaimTemplateWithHttpInfo(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } /** - * replace the specified ResourceClass - * @param name name of the ResourceClass + * replace the specified ResourceClaimTemplate + * @param name name of the ResourceClaimTemplate + * @param namespace object name and auth scope, such as for teams and projects * @param body * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceResourceClass(name: string, body: V1alpha2ResourceClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { - const result = this.api.replaceResourceClass(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + public replaceNamespacedResourceClaimTemplate(name: string, namespace: string, body: V1beta1ResourceClaimTemplate, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceNamespacedResourceClaimTemplate(name, namespace, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } @@ -23020,7 +23104,7 @@ export class PromiseResourceV1alpha2Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceResourceSliceWithHttpInfo(name: string, body: V1alpha2ResourceSlice, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + public replaceResourceSliceWithHttpInfo(name: string, body: V1beta1ResourceSlice, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { const result = this.api.replaceResourceSliceWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } @@ -23034,7 +23118,7 @@ export class PromiseResourceV1alpha2Api { * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. */ - public replaceResourceSlice(name: string, body: V1alpha2ResourceSlice, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + public replaceResourceSlice(name: string, body: V1beta1ResourceSlice, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { const result = this.api.replaceResourceSlice(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); return result.toPromise(); } @@ -23044,9 +23128,9 @@ export class PromiseResourceV1alpha2Api { -import { ObservableSchedulingApi } from './ObservableAPI.js'; +import { ObservableSchedulingApi } from './ObservableAPI'; -import { SchedulingApiRequestFactory, SchedulingApiResponseProcessor} from "../apis/SchedulingApi.js"; +import { SchedulingApiRequestFactory, SchedulingApiResponseProcessor} from "../apis/SchedulingApi"; export class PromiseSchedulingApi { private api: ObservableSchedulingApi @@ -23079,9 +23163,9 @@ export class PromiseSchedulingApi { -import { ObservableSchedulingV1Api } from './ObservableAPI.js'; +import { ObservableSchedulingV1Api } from './ObservableAPI'; -import { SchedulingV1ApiRequestFactory, SchedulingV1ApiResponseProcessor} from "../apis/SchedulingV1Api.js"; +import { SchedulingV1ApiRequestFactory, SchedulingV1ApiResponseProcessor} from "../apis/SchedulingV1Api"; export class PromiseSchedulingV1Api { private api: ObservableSchedulingV1Api @@ -23126,6 +23210,7 @@ export class PromiseSchedulingV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -23136,8 +23221,8 @@ export class PromiseSchedulingV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionPriorityClassWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionPriorityClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionPriorityClassWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionPriorityClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -23148,6 +23233,7 @@ export class PromiseSchedulingV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -23158,8 +23244,8 @@ export class PromiseSchedulingV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionPriorityClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionPriorityClass(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionPriorityClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionPriorityClass(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -23169,12 +23255,13 @@ export class PromiseSchedulingV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deletePriorityClassWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deletePriorityClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deletePriorityClassWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deletePriorityClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -23184,12 +23271,13 @@ export class PromiseSchedulingV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deletePriorityClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deletePriorityClass(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deletePriorityClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deletePriorityClass(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -23330,9 +23418,9 @@ export class PromiseSchedulingV1Api { -import { ObservableStorageApi } from './ObservableAPI.js'; +import { ObservableStorageApi } from './ObservableAPI'; -import { StorageApiRequestFactory, StorageApiResponseProcessor} from "../apis/StorageApi.js"; +import { StorageApiRequestFactory, StorageApiResponseProcessor} from "../apis/StorageApi"; export class PromiseStorageApi { private api: ObservableStorageApi @@ -23365,9 +23453,9 @@ export class PromiseStorageApi { -import { ObservableStorageV1Api } from './ObservableAPI.js'; +import { ObservableStorageV1Api } from './ObservableAPI'; -import { StorageV1ApiRequestFactory, StorageV1ApiResponseProcessor} from "../apis/StorageV1Api.js"; +import { StorageV1ApiRequestFactory, StorageV1ApiResponseProcessor} from "../apis/StorageV1Api"; export class PromiseStorageV1Api { private api: ObservableStorageV1Api @@ -23517,12 +23605,13 @@ export class PromiseStorageV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteCSIDriverWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCSIDriverWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteCSIDriverWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCSIDriverWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -23532,12 +23621,13 @@ export class PromiseStorageV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteCSIDriver(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCSIDriver(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteCSIDriver(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCSIDriver(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -23547,12 +23637,13 @@ export class PromiseStorageV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteCSINodeWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCSINodeWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteCSINodeWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCSINodeWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -23562,12 +23653,13 @@ export class PromiseStorageV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteCSINode(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCSINode(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteCSINode(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCSINode(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -23578,6 +23670,7 @@ export class PromiseStorageV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -23588,8 +23681,8 @@ export class PromiseStorageV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionCSIDriverWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionCSIDriverWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionCSIDriverWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionCSIDriverWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -23600,6 +23693,7 @@ export class PromiseStorageV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -23610,8 +23704,8 @@ export class PromiseStorageV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionCSIDriver(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionCSIDriver(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionCSIDriver(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionCSIDriver(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -23622,6 +23716,7 @@ export class PromiseStorageV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -23632,8 +23727,8 @@ export class PromiseStorageV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionCSINodeWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionCSINodeWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionCSINodeWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionCSINodeWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -23644,6 +23739,7 @@ export class PromiseStorageV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -23654,8 +23750,8 @@ export class PromiseStorageV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionCSINode(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionCSINode(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionCSINode(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionCSINode(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -23667,6 +23763,7 @@ export class PromiseStorageV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -23677,8 +23774,8 @@ export class PromiseStorageV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedCSIStorageCapacityWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionNamespacedCSIStorageCapacityWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedCSIStorageCapacityWithHttpInfo(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionNamespacedCSIStorageCapacityWithHttpInfo(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -23690,6 +23787,7 @@ export class PromiseStorageV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -23700,8 +23798,8 @@ export class PromiseStorageV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionNamespacedCSIStorageCapacity(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionNamespacedCSIStorageCapacity(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionNamespacedCSIStorageCapacity(namespace: string, pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionNamespacedCSIStorageCapacity(namespace, pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -23712,6 +23810,7 @@ export class PromiseStorageV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -23722,8 +23821,8 @@ export class PromiseStorageV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionStorageClassWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionStorageClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionStorageClassWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionStorageClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -23734,6 +23833,7 @@ export class PromiseStorageV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -23744,8 +23844,8 @@ export class PromiseStorageV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionStorageClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionStorageClass(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionStorageClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionStorageClass(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -23756,6 +23856,7 @@ export class PromiseStorageV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -23766,8 +23867,8 @@ export class PromiseStorageV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionVolumeAttachmentWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionVolumeAttachmentWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionVolumeAttachmentWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionVolumeAttachmentWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -23778,6 +23879,7 @@ export class PromiseStorageV1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -23788,8 +23890,8 @@ export class PromiseStorageV1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionVolumeAttachment(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionVolumeAttachment(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionVolumeAttachment(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionVolumeAttachment(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -23800,12 +23902,13 @@ export class PromiseStorageV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedCSIStorageCapacityWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteNamespacedCSIStorageCapacityWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedCSIStorageCapacityWithHttpInfo(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteNamespacedCSIStorageCapacityWithHttpInfo(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -23816,12 +23919,13 @@ export class PromiseStorageV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteNamespacedCSIStorageCapacity(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteNamespacedCSIStorageCapacity(name, namespace, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteNamespacedCSIStorageCapacity(name: string, namespace: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteNamespacedCSIStorageCapacity(name, namespace, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -23831,12 +23935,13 @@ export class PromiseStorageV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteStorageClassWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteStorageClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteStorageClassWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteStorageClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -23846,12 +23951,13 @@ export class PromiseStorageV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteStorageClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteStorageClass(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteStorageClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteStorageClass(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -23861,12 +23967,13 @@ export class PromiseStorageV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteVolumeAttachmentWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteVolumeAttachmentWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteVolumeAttachmentWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteVolumeAttachmentWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -23876,12 +23983,13 @@ export class PromiseStorageV1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteVolumeAttachment(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteVolumeAttachment(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteVolumeAttachment(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteVolumeAttachment(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -24610,9 +24718,9 @@ export class PromiseStorageV1Api { -import { ObservableStorageV1alpha1Api } from './ObservableAPI.js'; +import { ObservableStorageV1alpha1Api } from './ObservableAPI'; -import { StorageV1alpha1ApiRequestFactory, StorageV1alpha1ApiResponseProcessor} from "../apis/StorageV1alpha1Api.js"; +import { StorageV1alpha1ApiRequestFactory, StorageV1alpha1ApiResponseProcessor} from "../apis/StorageV1alpha1Api"; export class PromiseStorageV1alpha1Api { private api: ObservableStorageV1alpha1Api @@ -24657,6 +24765,7 @@ export class PromiseStorageV1alpha1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -24667,8 +24776,8 @@ export class PromiseStorageV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionVolumeAttributesClassWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionVolumeAttributesClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionVolumeAttributesClassWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionVolumeAttributesClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -24679,6 +24788,7 @@ export class PromiseStorageV1alpha1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -24689,8 +24799,8 @@ export class PromiseStorageV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionVolumeAttributesClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionVolumeAttributesClass(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionVolumeAttributesClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionVolumeAttributesClass(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -24700,12 +24810,13 @@ export class PromiseStorageV1alpha1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteVolumeAttributesClassWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteVolumeAttributesClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteVolumeAttributesClassWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteVolumeAttributesClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -24715,12 +24826,13 @@ export class PromiseStorageV1alpha1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteVolumeAttributesClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteVolumeAttributesClass(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteVolumeAttributesClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteVolumeAttributesClass(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -24861,9 +24973,264 @@ export class PromiseStorageV1alpha1Api { -import { ObservableStoragemigrationApi } from './ObservableAPI.js'; +import { ObservableStorageV1beta1Api } from './ObservableAPI'; + +import { StorageV1beta1ApiRequestFactory, StorageV1beta1ApiResponseProcessor} from "../apis/StorageV1beta1Api"; +export class PromiseStorageV1beta1Api { + private api: ObservableStorageV1beta1Api + + public constructor( + configuration: Configuration, + requestFactory?: StorageV1beta1ApiRequestFactory, + responseProcessor?: StorageV1beta1ApiResponseProcessor + ) { + this.api = new ObservableStorageV1beta1Api(configuration, requestFactory, responseProcessor); + } + + /** + * create a VolumeAttributesClass + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public createVolumeAttributesClassWithHttpInfo(body: V1beta1VolumeAttributesClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.createVolumeAttributesClassWithHttpInfo(body, pretty, dryRun, fieldManager, fieldValidation, _options); + return result.toPromise(); + } + + /** + * create a VolumeAttributesClass + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public createVolumeAttributesClass(body: V1beta1VolumeAttributesClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.createVolumeAttributesClass(body, pretty, dryRun, fieldManager, fieldValidation, _options); + return result.toPromise(); + } + + /** + * delete collection of VolumeAttributesClass + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] + */ + public deleteCollectionVolumeAttributesClassWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionVolumeAttributesClassWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + return result.toPromise(); + } + + /** + * delete collection of VolumeAttributesClass + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [body] + */ + public deleteCollectionVolumeAttributesClass(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionVolumeAttributesClass(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + return result.toPromise(); + } + + /** + * delete a VolumeAttributesClass + * @param name name of the VolumeAttributesClass + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] + */ + public deleteVolumeAttributesClassWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteVolumeAttributesClassWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); + return result.toPromise(); + } + + /** + * delete a VolumeAttributesClass + * @param name name of the VolumeAttributesClass + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it + * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. + * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. + * @param [body] + */ + public deleteVolumeAttributesClass(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteVolumeAttributesClass(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); + return result.toPromise(); + } + + /** + * get available resources + */ + public getAPIResourcesWithHttpInfo(_options?: Configuration): Promise> { + const result = this.api.getAPIResourcesWithHttpInfo(_options); + return result.toPromise(); + } + + /** + * get available resources + */ + public getAPIResources(_options?: Configuration): Promise { + const result = this.api.getAPIResources(_options); + return result.toPromise(); + } + + /** + * list or watch objects of kind VolumeAttributesClass + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + */ + public listVolumeAttributesClassWithHttpInfo(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise> { + const result = this.api.listVolumeAttributesClassWithHttpInfo(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + return result.toPromise(); + } + + /** + * list or watch objects of kind VolumeAttributesClass + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [allowWatchBookmarks] allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. + * @param [_continue] The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. + * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. + * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + * @param [resourceVersion] resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [resourceVersionMatch] resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset + * @param [sendInitialEvents] `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. + * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + * @param [watch] Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + */ + public listVolumeAttributesClass(pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, fieldSelector?: string, labelSelector?: string, limit?: number, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, watch?: boolean, _options?: Configuration): Promise { + const result = this.api.listVolumeAttributesClass(pretty, allowWatchBookmarks, _continue, fieldSelector, labelSelector, limit, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, watch, _options); + return result.toPromise(); + } + + /** + * partially update the specified VolumeAttributesClass + * @param name name of the VolumeAttributesClass + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchVolumeAttributesClassWithHttpInfo(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise> { + const result = this.api.patchVolumeAttributesClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + return result.toPromise(); + } + + /** + * partially update the specified VolumeAttributesClass + * @param name name of the VolumeAttributesClass + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + * @param [force] Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + */ + public patchVolumeAttributesClass(name: string, body: any, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, force?: boolean, _options?: Configuration): Promise { + const result = this.api.patchVolumeAttributesClass(name, body, pretty, dryRun, fieldManager, fieldValidation, force, _options); + return result.toPromise(); + } + + /** + * read the specified VolumeAttributesClass + * @param name name of the VolumeAttributesClass + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readVolumeAttributesClassWithHttpInfo(name: string, pretty?: string, _options?: Configuration): Promise> { + const result = this.api.readVolumeAttributesClassWithHttpInfo(name, pretty, _options); + return result.toPromise(); + } + + /** + * read the specified VolumeAttributesClass + * @param name name of the VolumeAttributesClass + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + */ + public readVolumeAttributesClass(name: string, pretty?: string, _options?: Configuration): Promise { + const result = this.api.readVolumeAttributesClass(name, pretty, _options); + return result.toPromise(); + } + + /** + * replace the specified VolumeAttributesClass + * @param name name of the VolumeAttributesClass + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public replaceVolumeAttributesClassWithHttpInfo(name: string, body: V1beta1VolumeAttributesClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise> { + const result = this.api.replaceVolumeAttributesClassWithHttpInfo(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + return result.toPromise(); + } + + /** + * replace the specified VolumeAttributesClass + * @param name name of the VolumeAttributesClass + * @param body + * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). + * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + * @param [fieldManager] fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + * @param [fieldValidation] fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. + */ + public replaceVolumeAttributesClass(name: string, body: V1beta1VolumeAttributesClass, pretty?: string, dryRun?: string, fieldManager?: string, fieldValidation?: string, _options?: Configuration): Promise { + const result = this.api.replaceVolumeAttributesClass(name, body, pretty, dryRun, fieldManager, fieldValidation, _options); + return result.toPromise(); + } + + +} + + + +import { ObservableStoragemigrationApi } from './ObservableAPI'; -import { StoragemigrationApiRequestFactory, StoragemigrationApiResponseProcessor} from "../apis/StoragemigrationApi.js"; +import { StoragemigrationApiRequestFactory, StoragemigrationApiResponseProcessor} from "../apis/StoragemigrationApi"; export class PromiseStoragemigrationApi { private api: ObservableStoragemigrationApi @@ -24896,9 +25263,9 @@ export class PromiseStoragemigrationApi { -import { ObservableStoragemigrationV1alpha1Api } from './ObservableAPI.js'; +import { ObservableStoragemigrationV1alpha1Api } from './ObservableAPI'; -import { StoragemigrationV1alpha1ApiRequestFactory, StoragemigrationV1alpha1ApiResponseProcessor} from "../apis/StoragemigrationV1alpha1Api.js"; +import { StoragemigrationV1alpha1ApiRequestFactory, StoragemigrationV1alpha1ApiResponseProcessor} from "../apis/StoragemigrationV1alpha1Api"; export class PromiseStoragemigrationV1alpha1Api { private api: ObservableStoragemigrationV1alpha1Api @@ -24943,6 +25310,7 @@ export class PromiseStoragemigrationV1alpha1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -24953,8 +25321,8 @@ export class PromiseStoragemigrationV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionStorageVersionMigrationWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteCollectionStorageVersionMigrationWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionStorageVersionMigrationWithHttpInfo(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteCollectionStorageVersionMigrationWithHttpInfo(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -24965,6 +25333,7 @@ export class PromiseStoragemigrationV1alpha1Api { * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [fieldSelector] A selector to restrict the list of returned objects by their fields. Defaults to everything. * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [labelSelector] A selector to restrict the list of returned objects by their labels. Defaults to everything. * @param [limit] limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. @@ -24975,8 +25344,8 @@ export class PromiseStoragemigrationV1alpha1Api { * @param [timeoutSeconds] Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. * @param [body] */ - public deleteCollectionStorageVersionMigration(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteCollectionStorageVersionMigration(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); + public deleteCollectionStorageVersionMigration(pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, resourceVersionMatch?: string, sendInitialEvents?: boolean, timeoutSeconds?: number, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteCollectionStorageVersionMigration(pretty, _continue, dryRun, fieldSelector, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, labelSelector, limit, orphanDependents, propagationPolicy, resourceVersion, resourceVersionMatch, sendInitialEvents, timeoutSeconds, body, _options); return result.toPromise(); } @@ -24986,12 +25355,13 @@ export class PromiseStoragemigrationV1alpha1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteStorageVersionMigrationWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { - const result = this.api.deleteStorageVersionMigrationWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteStorageVersionMigrationWithHttpInfo(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise> { + const result = this.api.deleteStorageVersionMigrationWithHttpInfo(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -25001,12 +25371,13 @@ export class PromiseStoragemigrationV1alpha1Api { * @param [pretty] If \'true\', then the output is pretty printed. Defaults to \'false\' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). * @param [dryRun] When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed * @param [gracePeriodSeconds] The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + * @param [ignoreStoreReadErrorWithClusterBreakingPotential] if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it * @param [orphanDependents] Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object\'s finalizers list. Either this field or PropagationPolicy may be set, but not both. * @param [propagationPolicy] Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground. * @param [body] */ - public deleteStorageVersionMigration(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { - const result = this.api.deleteStorageVersionMigration(name, pretty, dryRun, gracePeriodSeconds, orphanDependents, propagationPolicy, body, _options); + public deleteStorageVersionMigration(name: string, pretty?: string, dryRun?: string, gracePeriodSeconds?: number, ignoreStoreReadErrorWithClusterBreakingPotential?: boolean, orphanDependents?: boolean, propagationPolicy?: string, body?: V1DeleteOptions, _options?: Configuration): Promise { + const result = this.api.deleteStorageVersionMigration(name, pretty, dryRun, gracePeriodSeconds, ignoreStoreReadErrorWithClusterBreakingPotential, orphanDependents, propagationPolicy, body, _options); return result.toPromise(); } @@ -25225,9 +25596,9 @@ export class PromiseStoragemigrationV1alpha1Api { -import { ObservableVersionApi } from './ObservableAPI.js'; +import { ObservableVersionApi } from './ObservableAPI'; -import { VersionApiRequestFactory, VersionApiResponseProcessor} from "../apis/VersionApi.js"; +import { VersionApiRequestFactory, VersionApiResponseProcessor} from "../apis/VersionApi"; export class PromiseVersionApi { private api: ObservableVersionApi @@ -25260,9 +25631,9 @@ export class PromiseVersionApi { -import { ObservableWellKnownApi } from './ObservableAPI.js'; +import { ObservableWellKnownApi } from './ObservableAPI'; -import { WellKnownApiRequestFactory, WellKnownApiResponseProcessor} from "../apis/WellKnownApi.js"; +import { WellKnownApiRequestFactory, WellKnownApiResponseProcessor} from "../apis/WellKnownApi"; export class PromiseWellKnownApi { private api: ObservableWellKnownApi